/* ==========================================================================
   EMPOWER360 — PROFESSIONAL UI/UX MODERN LIGHT THEME SYSTEM
   ========================================================================== */

:root {
    --e360-emerald-50: #ecfdf5;
    --e360-emerald-100: #d1fae5;
    --e360-emerald-200: #a7f3d0;
    --e360-emerald-400: #34d399;
    --e360-emerald-500: #10b981;
    --e360-emerald-600: #059669;
    --e360-emerald-700: #047857;
    --e360-emerald-900: #064e3b;

    --e360-slate-50: #f8fafc;
    --e360-slate-100: #f1f5f9;
    --e360-slate-200: #e2e8f0;
    --e360-slate-300: #cbd5e1;
    --e360-slate-400: #94a3b8;
    --e360-slate-500: #64748b;
    --e360-slate-600: #475569;
    --e360-slate-700: #334155;
    --e360-slate-800: #1e293b;
    --e360-slate-900: #0f172a;
    --e360-slate-950: #020617;
}

/* Base Light Mode Styles */
html, body {
    background-color: var(--e360-slate-50) !important;
    color: var(--e360-slate-800) !important;
    font-family: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Light Scrollbars */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Typography Hierarchy in Light Mode */
h1, h2, h3, h4, h5, h6 {
    color: var(--e360-slate-900);
    letter-spacing: -0.02em;
}

/* Subtle Card Elevation */
.card-modern {
    background-color: #ffffff;
    border: 1px solid var(--e360-slate-200);
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.05), 0 1px 2px -1px rgb(0 0 0 / 0.05);
    transition: all 0.2s ease-in-out;
}
.card-modern-hover:hover {
    border-color: var(--e360-slate-300);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.05);
    transform: translateY(-2px);
}

/* Empower360 Brand Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--e360-emerald-600);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(5, 150, 105, 0.2);
    transition: all 0.15s ease-in-out;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: var(--e360-emerald-700);
    color: #ffffff !important;
    box-shadow: 0 4px 12px 0 rgba(5, 150, 105, 0.3);
}
.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: var(--e360-slate-700) !important;
    border: 1px solid var(--e360-slate-300);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
    transition: all 0.15s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}
.btn-secondary:hover {
    background-color: var(--e360-slate-50);
    border-color: var(--e360-slate-400);
    color: var(--e360-slate-900) !important;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #dc2626;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px 0 rgba(220, 38, 38, 0.2);
    transition: all 0.15s ease-in-out;
    border: 1px solid transparent;
    cursor: pointer;
}
.btn-danger:hover {
    background-color: #b91c1c;
}

/* Professional Modern Form Controls */
.form-input-modern {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--e360-slate-300);
    border-radius: 0.75rem;
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    color: var(--e360-slate-900);
    transition: all 0.15s ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
}
.form-input-modern:focus {
    outline: none;
    border-color: var(--e360-emerald-500);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}
.form-input-modern::placeholder {
    color: var(--e360-slate-400);
}

/* Clean Tables */
.table-modern {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.table-modern th {
    background-color: var(--e360-slate-50);
    color: var(--e360-slate-500);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--e360-slate-200);
}
.table-modern td {
    padding: 1rem;
    border-bottom: 1px solid var(--e360-slate-100);
    color: var(--e360-slate-700);
    font-size: 0.875rem;
}
.table-modern tr:hover td {
    background-color: #f8fafc;
}

/* Light Theme Navigation & Header */
.nav-header-light {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--e360-slate-200);
}

/* Admin Sidebar Light */
.admin-sidebar-light {
    background-color: #ffffff;
    border-right: 1px solid var(--e360-slate-200);
}

/* Status Badges in Light Mode */
.badge-emerald-light {
    background-color: #ecfdf5 !important;
    color: #065f46 !important;
    border: 1px solid #a7f3d0 !important;
}
.badge-amber-light {
    background-color: #fffbeb !important;
    color: #92400e !important;
    border: 1px solid #fde68a !important;
}
.badge-rose-light {
    background-color: #fff1f2 !important;
    color: #9f1239 !important;
    border: 1px solid #fecdd3 !important;
}
.badge-sky-light {
    background-color: #f0f9ff !important;
    color: #0369a1 !important;
    border: 1px solid #bae6fd !important;
}
.badge-purple-light {
    background-color: #faf5ff !important;
    color: #6b21a8 !important;
    border: 1px solid #e9d5ff !important;
}
.badge-slate-light {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}

/* Referral Milestone Progress Gauge */
.progress-gauge-track {
    background-color: #e2e8f0;
    height: 0.625rem;
    border-radius: 9999px;
    overflow: hidden;
}
.progress-gauge-fill {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    height: 100%;
    border-radius: 9999px;
    transition: width 0.4s ease-in-out;
}

/* ID Card / Member Number Banner Light */
.member-id-card-light {
    background: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.25);
}

/* Hero Live Preview Device / Card Frame */
.hero-preview-window {
    background-color: #ffffff;
    border: 1px solid var(--e360-slate-200);
    border-radius: 1.25rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

/* Step Flow Cards */
.step-card {
    background-color: #ffffff;
    border: 1px solid var(--e360-slate-200);
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.2s ease-in-out;
}
.step-card:hover {
    border-color: var(--e360-emerald-400);
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.08);
    transform: translateY(-2px);
}

/* ============================================================
   HOMEPAGE — LANDING PAGE SPECIFIC STYLES
   ============================================================ */

/* Section Label / Overline */
.hp-section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--e360-emerald-600);
    margin-bottom: 0.625rem;
}

/* Feature Card */
.hp-feature-card {
    background-color: #ffffff;
    border: 1px solid var(--e360-slate-200);
    border-radius: 1.25rem;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}
.hp-feature-card:hover {
    border-color: var(--e360-emerald-200);
    box-shadow: 0 12px 24px -8px rgba(5, 150, 105, 0.12);
    transform: translateY(-3px);
}

/* Why Trust Card */
.hp-trust-card {
    background-color: #ffffff;
    border: 1px solid var(--e360-slate-200);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    height: 100%;
    transition: all 0.2s ease;
}
.hp-trust-card:hover {
    box-shadow: 0 8px 16px -4px rgba(0, 0, 0, 0.08);
    border-color: var(--e360-slate-300);
}

/* Process Step */
.hp-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Hero Member Preview Window */
.hp-preview-card {
    background: #ffffff;
    border: 1px solid var(--e360-slate-200);
    border-radius: 1.5rem;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.08), 0 8px 16px -6px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

/* FAQ Accordion */
.hp-faq-item {
    border-bottom: 1px solid var(--e360-slate-200);
}
.hp-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    text-align: left;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--e360-slate-900);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s ease;
    gap: 1rem;
}
.hp-faq-trigger:hover {
    color: var(--e360-emerald-700);
}
.hp-faq-trigger .hp-faq-icon {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--e360-emerald-50);
    color: var(--e360-emerald-600);
    border: 1px solid var(--e360-emerald-200);
    transition: all 0.2s ease;
}
.hp-faq-trigger[aria-expanded="true"] .hp-faq-icon {
    background-color: var(--e360-emerald-600);
    color: #ffffff;
    transform: rotate(45deg);
}
.hp-faq-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-faq-body.open {
    max-height: 500px;
}
.hp-faq-content {
    padding-bottom: 1.25rem;
    font-size: 0.9rem;
    color: var(--e360-slate-600);
    line-height: 1.7;
}

/* Nav Mobile Drawer */
.hp-mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 50;
}
.hp-mobile-nav.open {
    display: flex;
}
.hp-mobile-nav-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}
.hp-mobile-nav-panel {
    position: relative;
    margin-left: auto;
    width: 18rem;
    max-width: 85vw;
    height: 100%;
    background: #ffffff;
    box-shadow: -8px 0 24px rgba(0,0,0,0.12);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.hp-mobile-nav.open .hp-mobile-nav-panel {
    transform: translateX(0);
}

/* Polished Section Separator */
.hp-section-divider {
    width: 3rem;
    height: 0.25rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--e360-emerald-500), var(--e360-emerald-300));
    margin: 0.75rem auto 0;
}

/* Referral Progress — visual bar */
.hp-referral-track {
    background-color: var(--e360-slate-200);
    height: 0.5rem;
    border-radius: 9999px;
    overflow: hidden;
}
.hp-referral-fill-60 {
    width: 60%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    height: 100%;
    border-radius: 9999px;
}
.hp-referral-fill-100 {
    width: 100%;
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
    height: 100%;
    border-radius: 9999px;
}

/* Icon Circle Chip */
.hp-icon-chip {
    width: 3rem;
    height: 3rem;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Assistance Category Tag */
.hp-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    background-color: var(--e360-slate-100);
    color: var(--e360-slate-700);
    border: 1px solid var(--e360-slate-200);
}

/* ============================================================
   MEDICHAT-INSPIRED STYLING TOKENS & COMPONENTS
   ============================================================ */

:root {
    --mc-teal-primary: #00BBA7;
    --mc-teal-dark: #009e8e;
    --mc-teal-light: #e6fffa;
    --mc-teal-border: #ccfbf1;
    --mc-navy-bg: #16213e;
    --mc-navy-card: #22305a;
}

/* MediChat Signature Elevated Card */
.card-mc {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 1rem;
    border: 1px solid #ccfbf1;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.card-mc:hover {
    transform: scale(1.04);
    box-shadow: 0 25px 35px -5px rgba(0, 187, 167, 0.16), 0 12px 18px -6px rgba(0, 0, 0, 0.06);
    border-color: #99f6e4;
}

/* MediChat Signature Pill Buttons */
.btn-mc-primary {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #00BBA7;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.65rem 1.6rem;
    border-radius: 9999px;
    box-shadow: 0 4px 14px rgba(0, 187, 167, 0.3);
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}
.btn-mc-primary:hover {
    background-color: #009e8e;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 187, 167, 0.4);
}
.btn-mc-primary:active {
    transform: scale(0.98);
}

.btn-mc-secondary {
    position: relative;
    z-index: 10;
    pointer-events: auto !important;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: #0d9488 !important;
    border: 1px solid #2dd4bf;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.65rem 1.6rem;
    border-radius: 9999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}
.btn-mc-secondary:hover {
    background-color: #f0fdfa;
    border-color: #14b8a6;
    color: #0f766e !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 212, 191, 0.15);
}

/* Scroll offset for sticky header anchor navigation */
[id] {
    scroll-margin-top: 5.5rem;
}

/* MediChat Circular Icon Badges */
.icon-mc-pill {
    background-color: #00BBA7;
    color: #ffffff;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 187, 167, 0.32);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.icon-mc-light {
    background-color: #ccfbf1;
    color: #0f766e;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 187, 167, 0.12);
    flex-shrink: 0;
}

/* Foolproof Hero Layout & Member Card */
.hero-member-card {
    background: linear-gradient(135deg, #0f766e 0%, #00BBA7 60%, #047857 100%) !important;
    color: #ffffff !important;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 187, 167, 0.35);
}
.hero-member-card * {
    color: inherit;
}

.hero-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: #e6fffa;
    border: 1px solid #99f6e4;
    color: #0f766e;
    font-weight: 700;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
}


