/* ============================================================
   MindBridge Nigeria — Core Stylesheet
   Aesthetic: Warm Editorial — soft terracotta + deep teal
   Fonts: Playfair Display (headings) + DM Sans (body)
============================================================ */

/* ---- CUSTOM PROPERTIES ---- */
:root {
    --teal-dark:    #0D4F4A;
    --teal:         #167B74;
    --teal-mid:     #1E9C93;
    --teal-light:   #D4EFED;
    --teal-pale:    #EFF8F7;

    --terracotta:   #C7522A;
    --terra-light:  #F4E0D6;
    --terra-pale:   #FDF5F1;

    --gold:         #D4A843;
    --gold-light:   #FBF3E0;

    --ink:          #1A1A2E;
    --ink-mid:      #374151;
    --ink-soft:     #6B7280;
    --ink-faint:    #9CA3AF;
    --border:       #E5E7EB;
    --border-mid:   #D1D5DB;

    --white:        #FFFFFF;
    --off-white:    #FAFAF8;
    --surface:      #F8F7F4;

    --success:      #16A34A;
    --success-bg:   #DCFCE7;
    --warning:      #D97706;
    --warning-bg:   #FEF3C7;
    --danger:       #DC2626;
    --danger-bg:    #FEE2E2;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    --radius-sm:    6px;
    --radius:       12px;
    --radius-lg:    20px;
    --radius-xl:    32px;
    --radius-full:  999px;

    --shadow-xs:    0 1px 2px rgba(0,0,0,0.06);
    --shadow-sm:    0 2px 8px rgba(0,0,0,0.08);
    --shadow:       0 4px 20px rgba(0,0,0,0.10);
    --shadow-lg:    0 8px 40px rgba(0,0,0,0.12);
    --shadow-xl:    0 20px 60px rgba(0,0,0,0.16);

    --transition:   0.22s ease;
    --nav-height:   70px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--ink-mid);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.2;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; }
em { font-style: italic; color: var(--teal); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ---- LAYOUT ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 96px 0;
}
.section-alt {
    background: var(--surface);
}
.section-dark {
    background: var(--teal-dark);
    color: var(--white);
}
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}
.section-header p {
    font-size: 1.1rem;
    color: var(--ink-soft);
}
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal);
    background: var(--teal-pale);
    border: 1px solid var(--teal-light);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.section-dark .section-label {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.85);
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1;
}
.btn-lg  { padding: 15px 32px; font-size: 1.05rem; }
.btn-xl  { padding: 18px 40px; font-size: 1.1rem; }
.btn-sm  { padding: 8px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
    background: var(--teal);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(22,123,116,0.3);
}
.btn-primary:hover {
    background: var(--teal-dark);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(22,123,116,0.4);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    border: 2px solid var(--teal);
    color: var(--teal);
    background: transparent;
}
.btn-outline:hover {
    background: var(--teal);
    color: var(--white);
}

.btn-ghost {
    color: var(--ink-mid);
    border: 1.5px solid var(--border-mid);
    background: var(--white);
}
.btn-ghost:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.btn-ghost-light {
    color: rgba(255,255,255,0.9);
    border: 1.5px solid rgba(255,255,255,0.4);
    background: transparent;
}
.btn-ghost-light:hover {
    border-color: var(--white);
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #b91c1c; color: var(--white); }

.btn-warning { background: var(--warning); color: var(--white); }
.btn-text { background: none; color: var(--teal); padding: 4px 0; font-weight: 600; }
.btn-text:hover { color: var(--teal-dark); }
.btn-text-inline { background: none; color: var(--teal); font-weight: 600; padding: 0; display: inline; font-size: inherit; }
.btn-text-inline:hover { color: var(--teal-dark); text-decoration: underline; }

/* ---- ALERTS ---- */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}
.alert i { font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.alert-error   { background: var(--danger-bg);  color: #991b1b; border: 1px solid #fca5a5; }
.alert-success { background: var(--success-bg); color: #166534; border: 1px solid #86efac; }
.alert-warning { background: var(--warning-bg); color: #92400e; border: 1px solid #fde68a; }
.alert-info    { background: var(--teal-pale);  color: var(--teal-dark); border: 1px solid var(--teal-light); }
.alert-big { align-items: flex-start; gap: 16px; padding: 20px; }
.alert-big i { font-size: 2rem; }

/* ---- FORMS ---- */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
}
.form-label-link {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--teal);
}
.input-wrap {
    position: relative;
}
.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-faint);
    font-size: 1rem;
    pointer-events: none;
}
.input-wrap input,
.input-wrap select {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border: 1.5px solid var(--border-mid);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--white);
    transition: all var(--transition);
    outline: none;
}
.input-wrap input:focus,
.input-wrap select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(22,123,116,0.12);
}
.input-wrap input::placeholder { color: var(--ink-faint); }
.input-toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--ink-faint);
    font-size: 1.1rem;
    padding: 4px;
}
.input-toggle-password:hover { color: var(--teal); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 580px) { .form-row { grid-template-columns: 1fr; } }

.form-checkbox { margin-bottom: 16px; }
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--ink-mid);
    line-height: 1.5;
}
.checkbox-label input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-mid);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    margin-top: 2px;
}
.checkbox-label input:checked + .checkbox-custom {
    background: var(--teal);
    border-color: var(--teal);
}
.checkbox-label input:checked + .checkbox-custom::after {
    content: '';
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.form-divider {
    text-align: center;
    position: relative;
    margin: 24px 0 20px;
    color: var(--ink-faint);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}
.form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border);
    z-index: 0;
}
.form-divider span {
    position: relative;
    z-index: 1;
    background: var(--white);
    padding: 0 16px;
}

/* Password strength */
.password-strength {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: -12px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    color: var(--ink-soft);
}
.pw-bar {
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
}
.pw-fill {
    height: 100%;
    width: 0;
    border-radius: var(--radius-full);
    transition: all 0.3s ease;
}

/* Info box */
.info-box {
    display: flex;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.info-box i { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.info-box-blue { background: var(--teal-pale); color: var(--teal-dark); border: 1px solid var(--teal-light); }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    height: var(--nav-height);
    transition: box-shadow var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-mark {
    width: 36px;
    height: 36px;
    background: var(--teal);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
}
.logo-mark-lg { width: 52px; height: 52px; font-size: 1.6rem; border-radius: 16px; }
.logo-text { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.logo-text-lg { font-size: 1.6rem; }
.logo-text strong { color: var(--teal); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
}
.nav-link {
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-mid);
    transition: all var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--teal);
    background: var(--teal-pale);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.nav-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-mid);
    color: var(--ink-mid);
    font-size: 1.1rem;
    position: relative;
    transition: all var(--transition);
}
.nav-icon-btn:hover { border-color: var(--teal); color: var(--teal); }
.notif-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid white;
}

/* User Menu / Avatar */
.nav-user-menu { position: relative; }
.nav-avatar-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 4px 4px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-mid);
    background: var(--white);
    transition: all var(--transition);
}
.nav-avatar-btn:hover { border-color: var(--teal); }
.nav-avatar-btn img, .nav-avatar-btn .avatar-initials {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
}
.nav-avatar-btn i { font-size: 0.85rem; color: var(--ink-soft); }
.user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 100;
}
.nav-user-menu.open .user-dropdown { display: block; }
.dropdown-header {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.dropdown-header strong { font-size: 0.95rem; color: var(--ink); }
.role-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    text-transform: capitalize;
}
.role-badge.role-client    { background: var(--teal-pale); color: var(--teal-dark); }
.role-badge.role-therapist { background: var(--terra-light); color: var(--terracotta); }
.role-badge.role-admin,
.role-badge.role-super_admin { background: var(--gold-light); color: #92400e; }
.dropdown-links { padding: 8px 0; }
.dropdown-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 0.9rem;
    color: var(--ink-mid);
    transition: all var(--transition);
}
.dropdown-links a:hover { background: var(--surface); color: var(--teal); }
.dropdown-footer {
    padding: 8px 0;
    border-top: 1px solid var(--border);
}
.logout-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 0.9rem;
    color: var(--danger);
    transition: all var(--transition);
}
.logout-link:hover { background: var(--danger-bg); color: var(--danger); }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all 0.3s;
}
.mobile-nav {
    display: none;
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 16px 24px 24px;
}
.mobile-nav ul li a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--ink-mid);
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}
.mobile-nav .mobile-cta {
    display: inline-block;
    margin-top: 16px;
    background: var(--teal);
    color: white !important;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    border-bottom: none !important;
    font-weight: 600;
}

/* ============================================================
   HERO
============================================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--nav-height);
    background: var(--off-white);
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}
.hero-shape-1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--teal-light), transparent 70%);
    top: -200px; right: -100px;
}
.hero-shape-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--terra-light), transparent 70%);
    bottom: -100px; left: -100px;
}
.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--border-mid) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
}
.hero-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--teal-pale);
    border: 1px solid var(--teal-light);
    color: var(--teal-dark);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}
.hero-badge i { color: var(--teal); }
.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--ink);
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--ink-soft);
    margin-bottom: 40px;
    max-width: 480px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-item strong { font-size: 1.5rem; font-weight: 700; color: var(--teal); font-family: var(--font-display); }
.trust-item span { font-size: 0.8rem; color: var(--ink-soft); }
.trust-divider { width: 1px; height: 40px; background: var(--border-mid); }

/* Hero Card Stack */
.hero-visual { position: relative; height: 480px; }
.hero-card-stack { position: relative; height: 100%; }
.preview-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 20px;
    transition: transform 0.3s ease;
}
.preview-card:hover { transform: translateY(-4px); }
.therapist-preview {
    display: flex;
    align-items: center;
    gap: 16px;
    top: 60px;
    left: 0;
    right: 60px;
    flex-wrap: nowrap;
}
.preview-avatar { position: relative; flex-shrink: 0; }
.avatar-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-light), var(--terra-light));
}
.online-dot {
    position: absolute;
    bottom: 2px; right: 2px;
    width: 12px; height: 12px;
    background: #22c55e;
    border-radius: 50%;
    border: 2px solid white;
}
.preview-info { flex: 1; }
.preview-info strong { display: block; font-size: 0.95rem; color: var(--ink); margin-bottom: 2px; }
.preview-info span { font-size: 0.8rem; color: var(--ink-soft); }
.preview-stars { font-size: 0.85rem; color: var(--gold); margin-top: 4px; }
.preview-stars small { color: var(--ink-soft); }
.modes-preview {
    display: flex;
    gap: 10px;
    bottom: 140px;
    right: 0;
    left: 60px;
}
.mode-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink-soft);
}
.mode-item.active {
    background: var(--teal);
    color: white;
    border-color: var(--teal);
}
.mood-preview {
    bottom: 20px;
    left: 20px;
    right: 100px;
}
.mood-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 12px;
}
.mood-emojis {
    display: flex;
    gap: 10px;
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.mood-emojis .active { transform: scale(1.3); filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15)); }
.mood-preview small { color: var(--ink-faint); font-size: 0.8rem; }

/* ============================================================
   HOW IT WORKS
============================================================ */
.steps-grid {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}
.step-card {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    position: relative;
    transition: all var(--transition);
}
.step-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--teal-light);
    line-height: 1;
    margin-bottom: 12px;
}
.step-icon {
    width: 52px;
    height: 52px;
    background: var(--teal-pale);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--teal);
    margin-bottom: 16px;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.step-arrow { color: var(--border-mid); font-size: 1.4rem; flex-shrink: 0; }
.steps-cta { display: flex; align-items: center; gap: 24px; justify-content: center; }

/* ============================================================
   SESSION TYPES
============================================================ */
.formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.format-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: all var(--transition);
}
.format-card:hover {
    border-color: var(--teal);
    box-shadow: var(--shadow);
}
.format-featured {
    border-color: var(--teal);
    box-shadow: 0 8px 32px rgba(22,123,116,0.15);
    transform: scale(1.02);
}
.format-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}
.format-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.format-video { background: var(--teal-pale); color: var(--teal); }
.format-chat  { background: var(--terra-light); color: var(--terracotta); }
.format-call  { background: var(--gold-light); color: var(--gold); }
.format-card h3 { margin-bottom: 12px; }
.format-card p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 20px; }
.format-features { margin-bottom: 24px; }
.format-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--ink-mid);
    padding: 4px 0;
}
.format-features li i { color: var(--teal); font-size: 0.9rem; }
.format-price { font-size: 0.85rem; color: var(--ink-soft); }
.format-price strong { color: var(--ink); font-size: 1rem; }

/* ============================================================
   SPECIALIZATIONS
============================================================ */
.spec-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}
.spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 1.5px solid var(--border-mid);
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink-mid);
    background: var(--white);
    transition: all var(--transition);
}
.spec-chip:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: var(--teal-pale);
    transform: translateY(-2px);
}
.spec-chip i { color: var(--teal); }
.spec-footer { text-align: center; }

/* ============================================================
   PRICING
============================================================ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.plan-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    position: relative;
    transition: all var(--transition);
}
.plan-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.plan-featured {
    border-color: var(--teal);
    box-shadow: 0 8px 32px rgba(22,123,116,0.15);
    background: var(--teal-pale);
}
.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--terracotta);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}
.plan-name { font-size: 0.9rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; }
.plan-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--ink); margin-bottom: 24px; }
.plan-price span { font-size: 1rem; color: var(--ink-soft); font-family: var(--font-body); font-weight: 400; }
.plan-features { margin-bottom: 32px; }
.plan-features li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid var(--border); }
.plan-features li i { color: var(--teal); flex-shrink: 0; }
.plan-features li:last-child { border-bottom: none; }
.pricing-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.pricing-note i { color: var(--teal); }

/* ============================================================
   WHY US
============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.why-points { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.why-point {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.why-point > i {
    width: 44px;
    height: 44px;
    background: var(--teal-pale);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--teal);
    flex-shrink: 0;
}
.why-point strong { display: block; font-size: 1rem; color: var(--ink); margin-bottom: 4px; }
.why-point p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.why-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.stat-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--transition);
}
.stat-card:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.stat-card i { font-size: 1.6rem; color: var(--teal); margin-bottom: 8px; display: block; }
.stat-card strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); }
.stat-card span { font-size: 0.8rem; color: var(--ink-soft); }
.why-crisis-box {
    background: var(--danger-bg);
    border: 1px solid #fca5a5;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.why-crisis-box i { font-size: 1.8rem; color: var(--danger); flex-shrink: 0; }
.why-crisis-box strong { display: block; font-size: 0.95rem; color: #991b1b; }
.why-crisis-box p { font-size: 0.85rem; color: #991b1b; margin: 2px 0 0; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 16px; }
.testimonial-card blockquote {
    font-size: 0.95rem;
    color: var(--ink-mid);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 0.9rem; color: var(--ink); }
.testimonial-author span { font-size: 0.8rem; color: var(--ink-faint); }

/* ============================================================
   THERAPIST CTA
============================================================ */
.therapist-cta-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--teal-pale);
    border: 1.5px solid var(--teal-light);
    border-radius: var(--radius-xl);
    padding: 64px;
}
.therapist-cta-content h2 { margin-bottom: 16px; }
.therapist-cta-content p { color: var(--ink-soft); margin-bottom: 24px; }
.therapist-perks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.therapist-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--ink-mid);
}
.therapist-perks li i { color: var(--teal); font-size: 1.1rem; }
.therapist-earnings-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}
.earnings-label { font-size: 0.8rem; font-weight: 600; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.earnings-amount { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--teal); margin-bottom: 4px; }
.earnings-basis { font-size: 0.8rem; color: var(--ink-faint); margin-bottom: 20px; }
.earnings-bar { height: 8px; background: var(--border); border-radius: var(--radius-full); overflow: hidden; margin-bottom: 12px; }
.earnings-fill { height: 100%; background: var(--teal); border-radius: var(--radius-full); }
.earnings-split { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--ink-soft); }
.earnings-split strong { color: var(--ink); }

/* ============================================================
   FINAL CTA
============================================================ */
.final-cta-inner {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}
.section-dark h2, .section-dark p { color: rgba(255,255,255,0.9); }
.section-dark h2 em { color: var(--teal-mid); }
.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin: 40px 0 16px; }
.final-cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}
.final-cta-note i { color: rgba(255,255,255,0.5); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.75);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
}
.footer-brand { display: flex; flex-direction: column; gap: 0; }
.footer-logo { margin-bottom: 16px; }
.footer-logo .logo-mark { background: var(--teal-mid); }
.footer-logo .logo-text { color: white; }
.footer-tagline { font-size: 0.9rem; color: rgba(255,255,255,0.5); margin-bottom: 24px; }
.footer-social { display: flex; gap: 12px; margin-bottom: 32px; }
.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--teal-mid); color: var(--teal-mid); }
.footer-crisis {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(220,38,38,0.15);
    border: 1px solid rgba(220,38,38,0.3);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.85rem;
}
.footer-crisis i { color: #f87171; }
.footer-crisis a { color: #f87171; font-weight: 600; }
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.footer-col h4 { color: white; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; font-family: var(--font-body); }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px;
}
.footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    flex-wrap: wrap;
}
.footer-ndpr { display: flex; align-items: center; gap: 8px; }
.footer-ndpr i { color: var(--teal-mid); }

/* ============================================================
   CRISIS MODAL
============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
}
.crisis-modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-xl);
}
.crisis-icon {
    font-size: 3rem;
    color: var(--danger);
    margin-bottom: 16px;
    animation: pulse 1.5s ease infinite;
}
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.1)} }
.crisis-modal h2 { margin-bottom: 12px; }
.crisis-modal p { color: var(--ink-soft); margin-bottom: 28px; }
.crisis-options { display: flex; flex-direction: column; gap: 12px; }
.modal-close {
    position: absolute;
    top: 20px; right: 20px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--surface);
    color: var(--ink-soft);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}
.modal-close:hover { background: var(--border-mid); }

/* ============================================================
   AUTH PAGES
============================================================ */
.page-auth body, .auth-main { background: var(--off-white); }
.auth-main { min-height: 100vh; padding-top: var(--nav-height); display: flex; align-items: center; }
.auth-container {
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: calc(100vh - var(--nav-height));
    max-width: 960px;
    margin: 0 auto;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: var(--white);
    margin: 32px auto;
}
.auth-container-wide { max-width: 1100px; grid-template-columns: 380px 1fr; }

.auth-panel-visual {
    background: linear-gradient(160deg, var(--teal-dark) 0%, var(--teal) 60%, var(--teal-mid) 100%);
    padding: 60px 40px;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}
.auth-visual-content { display: flex; flex-direction: column; gap: 0; }
.auth-brand { margin-bottom: 48px; }
.auth-brand .logo-mark { background: rgba(255,255,255,0.2); }
.auth-brand .logo-text { color: white; }
.auth-quote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: white;
    line-height: 1.4;
    font-style: italic;
    margin-bottom: 12px;
}
.auth-quote-attr { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 48px; }
.auth-visual-features { display: flex; flex-direction: column; gap: 16px; }
.auth-feature { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.auth-feature i { width: 32px; height: 32px; background: rgba(255,255,255,0.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.auth-panel-heading { font-size: 1.8rem; color: white; margin-bottom: 8px; }
.auth-panel-sub { color: rgba(255,255,255,0.6); font-size: 0.9rem; margin-bottom: 40px; }

.auth-panel-form { padding: 60px 48px; overflow-y: auto; }
.auth-form-wrap { max-width: 400px; }
.auth-title { font-size: 1.8rem; margin-bottom: 8px; }
.auth-subtitle { color: var(--ink-soft); margin-bottom: 28px; }
.auth-form { margin-bottom: 16px; }
.auth-divider { text-align: center; position: relative; margin: 20px 0; color: var(--ink-faint); font-size: 0.85rem; }
.auth-divider::before { content:''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.auth-divider span { position: relative; background: var(--white); padding: 0 14px; }
.auth-switch { text-align: center; font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.auth-crisis-link { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; font-size: 0.85rem; color: var(--ink-soft); }
.auth-crisis-link i { color: var(--danger); }

/* Role toggle */
.role-toggle {
    display: flex;
    background: var(--surface);
    border-radius: var(--radius-full);
    padding: 4px;
    margin-bottom: 28px;
}
.role-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all var(--transition);
}
.role-btn.active {
    background: var(--white);
    color: var(--teal);
    box-shadow: var(--shadow-sm);
}
.role-btn:hover:not(.active) { color: var(--ink); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; gap: 48px; padding: 60px 24px 80px; }
    .hero-visual { height: 320px; }
    .why-grid { grid-template-columns: 1fr; gap: 48px; }
    .formats-grid { grid-template-columns: 1fr; }
    .format-featured { transform: scale(1); }
    .plans-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .therapist-cta-box { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
    .auth-container { grid-template-columns: 1fr; }
    .auth-panel-visual { display: none; }
    .auth-panel-form { padding: 40px 32px; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-actions .btn { display: none; }
    .hamburger { display: flex; }
    .mobile-nav { display: block; }
    .navbar.mobile-open .mobile-nav { display: block; }
    .steps-grid { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .hero-trust { flex-wrap: wrap; gap: 16px; }
    .section { padding: 64px 0; }
    .auth-container { margin: 0; border-radius: 0; box-shadow: none; }
    .auth-panel-form { padding: 32px 24px; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .final-cta-actions { flex-direction: column; align-items: center; }
    .footer-links { grid-template-columns: 1fr; }
    .therapist-cta-box { padding: 28px 20px; }
}
