  /* ── HERO ──
     Deliberately dark by design in both themes (see CLAUDE.md "Theming & Color Tokens") - uses
     --surface-band rather than --surface-page, so it stays a raised, distinguishable band in
     dark mode instead of blending into the page background. --surface-band (not --surface-inverse,
     which is a lighter navy used for button/badge fills elsewhere) so this full-bleed section keeps
     reading as a deep, near-black navy rather than a washed-out blue panel. */
  .hero {
    min-height: 100vh;
    background: var(--surface-band);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 5vw 60px;
  }

  .hero-bg-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .hero-bg-art img { width: 100%; height: 100%; object-fit: cover; }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
  }

  .hero-text h1 {
    font-family: 'Noto Naskh Arabic', serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-on-inverse);
    margin-bottom: 1.2rem;
  }

  .hero-text h1 span {
    color: var(--brand-hover);
    font-style: italic;
    display: inline-block;
  }

  .hero-text p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.85;
    margin-bottom: 2.2rem;
    max-width: 480px;
  }

  .hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

  .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--brand-hover);
    color: var(--text-on-brand);
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(201,150,12,0.35);
  }
  .btn-primary:hover { background: var(--brand-hover); transform: translateY(-2px); box-shadow: 0 6px 28px rgba(201,150,12,0.45); }

  .btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent;
    color: var(--text-on-inverse);
    border: 1.5px solid rgba(255,255,255,0.35);
    padding: 13px 28px;
    border-radius: 50px;
    font-family: 'Noto Naskh Arabic', serif;
    font-size: 1rem;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
  }
  .btn-secondary:hover { border-color: var(--brand-hover); background: rgba(201,150,12,0.08); }

  .hero-stats {
    display: flex; gap: 2rem; margin-top: 2.8rem;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 2rem;
  }

  .stat-item { text-align: center; }
  .stat-number { font-size: 1.8rem; font-weight: 700; color: var(--brand-hover); display: block; }
  .stat-label { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-top: 2px; }

  /* Hero visual card - the mock session cards float on the always-dark hero, so their translucent
     white/gold overlays are invariant across themes by construction (rgba over a fixed dark base),
     same reasoning as the footer's tokens in Home.Master. */
  .hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .session-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(201,150,12,0.22);
    border-radius: 20px;
    padding: 22px 24px;
    backdrop-filter: blur(6px);
    animation: float 6s ease-in-out infinite;
  }

  .session-card:nth-child(2) { animation-delay: -2s; margin-right: 40px; }
  .session-card:nth-child(3) { animation-delay: -4s; margin-right: -20px; }

  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }

  .card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }

  .avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 700; color: var(--text-on-brand);
    flex-shrink: 0;
  }

  .avatar.gold { background: var(--brand-hover); }
  /* Decorative, always-light chip on the permanently-dark hero card - not theme-aware by design,
     same reasoning as the session-card's translucent overlays above. */
  .avatar.cream { background: #f0e8d4; }
  .avatar.teal { background: #6ecfba; }

  .card-name { font-size: 0.95rem; font-weight: 600; color: var(--text-on-inverse); }
  .card-sub { font-size: 0.78rem; color: rgba(255,255,255,0.5); margin-top: 1px; }

  .card-badge {
    margin-right: auto;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
  }
  .badge-green { background: rgba(110,207,186,0.18); color: #6ecfba; }
  .badge-gold { background: rgba(201,150,12,0.2); color: var(--brand-hover); }
  .badge-muted { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.45); }

  .card-info { display: flex; gap: 16px; }
  .info-item { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: rgba(255,255,255,0.55); }
  .info-item i { color: var(--brand-ink); font-size: 0.7rem; }

  .rating-stars { color: var(--brand-hover); font-size: 0.75rem; letter-spacing: 1px; }

  /* ── SECTION SHARED ── */
  section { padding: 90px 5vw; }

  .section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    /* Brand-hued wash/border: kept as literal rgba tied to --brand's fixed RGB, unchanged across
       themes, so no dark-mode counterpart is needed. */
    background: rgba(201,150,12,0.1);
    border: 1px solid rgba(201,150,12,0.3);
    color: var(--brand-ink);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
  }

  .section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--text-heading);
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 560px;
  }

  .section-header { text-align: center; margin-bottom: 60px; }
  .section-header .section-sub { margin: 0 auto; }

  /* ── HOW IT WORKS ── */
  .how-section { background: var(--surface-card); }

  .steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
  }

  .steps-grid::before {
    content: '';
    position: absolute;
    top: 60px; right: 16.67%; left: 16.67%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brand-wash), transparent);
    pointer-events: none;
  }

  .step-card {
    text-align: center;
    padding: 40px 32px;
    position: relative;
  }

  .step-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--surface-inverse);
    color: var(--brand-hover);
    font-size: 1.3rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    border: 3px solid var(--surface-sunken);
    box-shadow: 0 0 0 4px rgba(12,30,60,0.08);
  }

  .step-icon {
    width: 52px; height: 52px;
    background: var(--surface-page);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
    color: var(--brand-ink);
  }

  .step-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-heading); margin-bottom: 10px; }
  .step-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.75; }

  /* ── FEATURES ── */
  .features-section { background: var(--surface-page); }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .feature-card {
    background: var(--surface-card);
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(201,150,12,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
  }

  .feature-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 80px; height: 80px;
    background: radial-gradient(circle at top right, rgba(201,150,12,0.07), transparent 70%);
    border-radius: 0 20px 0 100%;
  }

  .feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 48px rgba(12,30,60,0.14); }

  .feat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--surface-inverse);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--brand-hover);
    margin-bottom: 18px;
  }

  .feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-heading); margin-bottom: 10px; }
  .feature-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; }

  /* ── ROLES ── */
  .roles-section { background: var(--surface-band); }
  .roles-section .section-title { color: var(--text-on-inverse); }
  .roles-section .section-sub { color: rgba(255,255,255,0.55); }

  .roles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 860px;
    margin: 0 auto;
  }

  .role-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,150,12,0.25);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s, border-color 0.25s;
    display: block;
  }

  .role-card:hover {
    background: rgba(201,150,12,0.08);
    border-color: var(--brand);
    transform: translateY(-4px);
  }

  .role-icon-wrap {
    width: 72px; height: 72px;
    border-radius: 20px;
    background: rgba(201,150,12,0.15);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--brand-hover);
    border: 1px solid rgba(201,150,12,0.3);
  }

  .role-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-on-inverse); margin-bottom: 10px; }
  .role-card p { font-size: 0.92rem; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 24px; }

  .role-btn {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--brand);
    color: var(--text-on-brand);
    padding: 10px 26px;
    border-radius: 50px;
    font-size: 0.9rem; font-weight: 700;
    transition: background 0.2s;
  }
  .role-card:hover .role-btn { background: var(--brand-hover); }

  /* ── TESTIMONIALS ── */
  .testimonials-section { background: var(--surface-page); }

  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
  }

  .testimonial-card {
    background: var(--surface-card);
    border-radius: 20px;
    padding: 28px 26px;
    box-shadow: var(--shadow-card);
    border-top: 3px solid var(--brand);
    position: relative;
  }

  .testimonial-card .quote-mark {
    position: absolute;
    top: 18px; left: 22px;
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: var(--brand-wash);
    line-height: 1;
    pointer-events: none;
  }

  .testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--text-muted);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
  }

  .testimonial-footer { display: flex; align-items: center; gap: 12px; }

  .testimonial-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem; color: var(--text-on-brand);
    flex-shrink: 0;
  }

  .t-name { font-size: 0.9rem; font-weight: 700; color: var(--text-heading); }
  .t-role { font-size: 0.78rem; color: var(--text-muted); margin-top: 1px; }

  /* ── CTA SECTION ── */
  .cta-section {
    background: var(--surface-band);
    text-align: center;
    padding: 100px 5vw;
    position: relative;
    overflow: hidden;
  }

  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center bottom, rgba(201,150,12,0.12) 0%, transparent 65%);
    pointer-events: none;
  }

  .cta-section h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-on-inverse);
    margin-bottom: 1rem;
    position: relative;
  }

  .cta-section p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto; margin-right: auto;
  }

  .cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

  /* ── Inline style variants ──
     .hero/.roles-section are always-dark surfaces regardless of site theme, so these
     brand-hue/white-alpha overlays stay invariant literals - see the comments above. */
  .hero .section-tag { background: rgba(201,150,12,0.12); color: var(--brand-hover); }
  .roles-section .section-tag { background: rgba(201,150,12,0.12); color: var(--brand-hover); }
  .roles-section .section-sub { color: rgba(255,255,255,0.55); }
  .section-tag i { font-size: 0.7rem; }
  .role-btn i { font-size: 0.8rem; }
  .avatar.cream { color: #5c4a2a; }
  .testimonial-stars { margin-right: auto; color: var(--brand); font-size: 0.8rem; }
  /* Decorative avatar accent colors - fixed, high-contrast fill+text pairs that don't need to
     track the site theme (same treatment as .avatar.gold/.avatar.teal above). */
  .testimonial-avatar.gold { background: #e8b84b; }
  .testimonial-avatar.teal { background: #6ecfba; color: #083d30; }
  .testimonial-avatar.lavender { background: #adb5e8; color: #1a2060; }

  @media (max-width: 768px) {
    .hero-content { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { display: none; }
    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }
    .roles-grid { grid-template-columns: 1fr; }
  }
