/* ── FULL WIDTH RESET ── */
.site-main, .entry-content, #content, #primary, article.page {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* ── TOKENS ── */
:root {
    --navy:      #0b1120;
    --navy2:     #111827;
    --navy3:     #1e293b;
    --gold:      #d4a843;
    --gold2:     #f0c96a;
    --gold3:     rgba(212,168,67,0.12);
    --teal:      #0ea5a0;
    --teal2:     #14b8b3;
    --teal-lt:   rgba(14,165,160,0.1);
    --ink:       #0f172a;
    --mid:       #475569;
    --soft:      #94a3b8;
    --surface:   #ffffff;
    --bg:        #f8fafc;
    --border:    #e2e8f0;
    --r:         16px;
    --r-sm:      10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.how-page {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
    overflow-x: hidden;
    font-size: 16px;
    line-height: 1.7;
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hw-hero {
    background: var(--navy);
    min-height: 88vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Geometric background accents */
.hw-hero::before {
    content: '';
    position: absolute;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
    top: -200px; right: -100px;
    pointer-events: none;
}
.hw-hero::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14,165,160,0.07) 0%, transparent 70%);
    bottom: -150px; left: 5%;
    pointer-events: none;
}

/* Dot grid */
.hw-hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hw-hero-left {
    padding: 6rem 3rem 6rem 5%;
    position: relative;
    z-index: 2;
}

.hw-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold2);
    background: rgba(212,168,67,0.12);
    border: 1px solid rgba(212,168,67,0.25);
    padding: 0.38rem 1rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
}

.hw-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.4rem;
    letter-spacing: -0.02em;
}
.hw-hero h1 em {
    font-style: italic;
    color: var(--gold2);
}

.hw-hero-desc {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.65);
    max-width: 480px;
    margin-bottom: 2.4rem;
    font-weight: 300;
    line-height: 1.75;
}

.hw-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold);
    color: var(--navy);
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.25s;
    box-shadow: 0 4px 20px rgba(212,168,67,0.35);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: var(--gold2);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212,168,67,0.45);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    padding: 0.9rem 1.6rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    background: rgba(255,255,255,0.06);
}

/* Hero right — visual */
.hw-hero-right {
    padding: 4rem 5% 4rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hw-mockup {
    width: 100%;
    max-width: 440px;
    position: relative;
}

/* Browser chrome mockup */
.mock-browser {
    background: #1a2540;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.06);
    position: relative;
}
.mock-bar {
    background: #242f4a;
    padding: 0.65rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mock-dots { display: flex; gap: 5px; }
.mock-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
}
.mock-dot:nth-child(1) { background: #ff5f57; }
.mock-dot:nth-child(2) { background: #ffbd2e; }
.mock-dot:nth-child(3) { background: #28c840; }
.mock-url {
    flex: 1;
    background: rgba(255,255,255,0.07);
    border-radius: 5px;
    height: 22px;
    margin: 0 0.5rem;
    display: flex;
    align-items: center;
    padding: 0 0.8rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
    font-family: monospace;
}

.mock-screen {
    background: #111827;
    padding: 1.5rem;
    position: relative;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Two video tiles */
.mock-videos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}
.mock-vid {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/10;
    background: #1e2d45;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mock-vid-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 0.5rem;
}
.mock-vid-name {
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    color: rgba(255,255,255,0.85);
    font-size: 0.62rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}
.mock-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.mock-avatar2 {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* Whiteboard area */
.mock-board {
    background: #1a2a1a;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    position: relative;
    overflow: hidden;
}
.mock-arabic-text {
    font-size: 1.2rem;
    color: var(--gold2);
    text-align: center;
    letter-spacing: 0.06em;
    font-family: 'Arial', sans-serif;
    direction: rtl;
}
.mock-board-label {
    position: absolute;
    top: 0.4rem; left: 0.6rem;
    font-size: 0.58rem;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Floating badges on mockup */
.mock-badge {
    position: absolute;
    background: rgba(255,255,255,0.97);
    border-radius: 12px;
    padding: 0.55rem 0.9rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}
.mock-badge-icon { font-size: 1rem; }
.mock-badge.b1 { top: -18px; right: -18px; }
.mock-badge.b2 { bottom: -16px; left: -16px; }

/* Pulse dot */
.live-dot {
    width: 8px; height: 8px;
    background: #22c55e;
    border-radius: 50%;
    position: relative;
}
.live-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: rgba(34,197,94,0.3);
    animation: pulse-ring 1.5s ease-out infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2); opacity: 0; }
}

/* ══════════════════════════════════════════
   STEP NUMBERS NAV (horizontal pills)
══════════════════════════════════════════ */
.hw-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    width: 100%;
}
.hw-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.hw-nav-inner::-webkit-scrollbar { display: none; }

.hw-nav-step {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 1.1rem 1.3rem;
    border: none;
    border-bottom: 3px solid transparent;
    background: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--soft);
    white-space: nowrap;
    transition: all 0.2s;
    text-decoration: none;
}
.hw-nav-step:hover { color: var(--ink); background: var(--bg); }
.hw-nav-step.active {
    color: var(--teal);
    border-bottom-color: var(--teal);
    font-weight: 700;
}

.nav-step-num {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--soft);
    flex-shrink: 0;
    transition: all 0.2s;
}
.hw-nav-step.active .nav-step-num {
    background: var(--teal2);
    color: white;
}

/* ══════════════════════════════════════════
   MAIN WRAPPER
══════════════════════════════════════════ */
.hw-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem 5rem;
}

/* ══════════════════════════════════════════
   STEP BLOCKS
══════════════════════════════════════════ */
.hw-step {
    margin-bottom: 6rem;
    scroll-margin-top: 80px;
}
.hw-step:last-child { margin-bottom: 0; }

/* Step label row */
.step-label-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.step-num-big {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: var(--border);
    letter-spacing: -0.03em;
    user-select: none;
    min-width: 80px;
}
.step-label-text {}
.step-tag {
    display: inline-block;
    background: var(--teal-lt);
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.4rem;
}
.step-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--ink);
    line-height: 1.15;
}
.step-title em {
    font-style: italic;
    color: var(--teal);
}

/* Content card */
.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s;
}
.step-card:hover { box-shadow: 0 8px 40px rgba(0,0,0,0.1); }

/* Two-col layout inside card */
.step-card-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 340px;
}
.step-card-inner.flip { direction: rtl; }
.step-card-inner.flip > * { direction: ltr; }

.step-card-body {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.step-card-body p {
    color: var(--mid);
    font-size: 0.97rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.step-card-body p:last-child { margin-bottom: 0; }

.step-card-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

/* Visual BG variants */
.step-card-visual.v-navy {
    background: var(--navy);
}
.step-card-visual.v-teal {
    background: linear-gradient(135deg, #0d4a47, #0ea5a0);
}
.step-card-visual.v-gold {
    background: linear-gradient(135deg, #3d2800, #7a5200);
}
.step-card-visual.v-dark {
    background: linear-gradient(135deg, #1a1f35, #0f1628);
}
.step-card-visual.v-green {
    background: linear-gradient(135deg, #052e16, #14532d);
}
.step-card-visual.v-indigo {
    background: linear-gradient(135deg, #1e1b4b, #312e81);
}

/* Feature list inside cards */
.step-features {
    list-style: none;
    margin-top: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.step-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    font-size: 0.93rem;
    color: var(--mid);
    line-height: 1.6;
}
.step-features li::before {
    content: '';
    width: 18px; height: 18px;
    min-width: 18px;
    background: var(--teal-lt);
    border-radius: 50%;
    border: 2px solid var(--teal2);
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 4.5' stroke='%230ea5a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px;
}
.step-features li strong { color: var(--ink); }

/* ── VISUAL ILLUSTRATIONS ── */

/* Step 1: Booking — calendar visual */
.booking-vis {
    width: 100%;
    max-width: 300px;
}
.cal-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    overflow: hidden;
}
.cal-header {
    background: var(--gold);
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cal-month {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}
.cal-nav { color: var(--navy); font-size: 1.1rem; cursor: pointer; opacity: 0.7; }
.cal-grid {
    display: grid;
    grid-template-columns: repeat(7,1fr);
    gap: 2px;
    padding: 1rem;
}
.cal-day-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-align: center;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.05em;
    padding-bottom: 0.4rem;
}
.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}
.cal-day.empty { opacity: 0; pointer-events: none; }
.cal-day.avail { color: rgba(255,255,255,0.75); }
.cal-day.avail:hover { background: rgba(14,165,160,0.2); color: #fff; }
.cal-day.sel {
    background: var(--teal2);
    color: white;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(14,165,160,0.4);
}
.cal-day.today { border: 1px solid rgba(212,168,67,0.5); color: var(--gold2); }

.cal-time-slots {
    padding: 0 1rem 1rem;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.time-slot {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    padding: 0.3rem 0.7rem;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.15s;
}
.time-slot.active {
    background: var(--gold3);
    border-color: var(--gold);
    color: var(--gold2);
    font-weight: 600;
}

/* Step 2: Teacher matching visual */
.teacher-vis {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 300px;
}
.teacher-card-mini {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.2s;
    cursor: pointer;
}
.teacher-card-mini.matched {
    background: rgba(14,165,160,0.15);
    border-color: rgba(14,165,160,0.4);
    box-shadow: 0 0 0 1px rgba(14,165,160,0.2);
}
.t-ava {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.t-ava.g1 { background: linear-gradient(135deg, var(--gold), #e68a00); }
.t-ava.g2 { background: linear-gradient(135deg, var(--teal), #0d8a86); }
.t-ava.g3 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.t-info { flex: 1; }
.t-name { font-size: 0.82rem; font-weight: 700; color: rgba(255,255,255,0.9); }
.t-spec { font-size: 0.7rem; color: rgba(255,255,255,0.45); margin-top: 1px; }
.t-stars { font-size: 0.65rem; color: var(--gold2); margin-top: 2px; letter-spacing: 1px; }
.t-match-badge {
    background: var(--teal2);
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* Step 3: Zoom session visual */
.session-vis {
    width: 100%;
    max-width: 320px;
}
.zoom-ui {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
}
.zoom-top {
    padding: 0.8rem 1rem;
    background: rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.zoom-title {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
}
.zoom-rec {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.65rem;
    color: #f87171;
    font-weight: 600;
}
.zoom-rec-dot {
    width: 6px; height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.zoom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 8px;
}
.zoom-tile {
    border-radius: 8px;
    aspect-ratio: 16/11;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.zoom-tile.teacher { background: linear-gradient(135deg, #1a3a5c, #0f2640); }
.zoom-tile.student { background: linear-gradient(135deg, #1a2540, #0a1020); }
.zoom-tile-name {
    position: absolute;
    bottom: 4px; left: 5px;
    font-size: 0.58rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    background: rgba(0,0,0,0.45);
    padding: 1px 5px;
    border-radius: 3px;
}
.zoom-face { font-size: 1.6rem; }

.zoom-whiteboard {
    margin: 0 8px 8px;
    background: #0f1f10;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    padding: 0.7rem;
    text-align: center;
}
.zoom-arabic {
    font-size: 1.3rem;
    color: var(--gold2);
    direction: rtl;
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}
.zoom-transliteration {
    font-size: 0.62rem;
    color: rgba(255,255,255,0.35);
    font-style: italic;
}

.zoom-controls {
    padding: 0.7rem 1rem;
    background: rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}
.zoom-ctrl {
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
}
.zoom-ctrl.on { background: rgba(255,255,255,0.1); }
.zoom-ctrl.off { background: #ef4444; }
.zoom-ctrl.end { background: #ef4444; width: 44px; border-radius: 20px; font-size: 0.65rem; color: white; font-weight: 700; }

/* Step 4: Homework visual */
.homework-vis {
    width: 100%;
    max-width: 300px;
}
.hw-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 1.2rem;
}
.hw-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.hw-card-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
}
.hw-due {
    font-size: 0.65rem;
    color: var(--gold2);
    background: rgba(212,168,67,0.15);
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
    font-weight: 600;
}
.hw-items {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.hw-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
}
.hw-item.done { opacity: 0.6; }
.hw-check {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}
.hw-item.done .hw-check {
    background: var(--teal2);
    border-color: var(--teal2);
    color: white;
}
.hw-item-text {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.3;
}
.hw-item.done .hw-item-text { text-decoration: line-through; opacity: 0.6; }
.hw-item-type {
    margin-left: auto;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
    white-space: nowrap;
}
.hw-progress {
    margin-top: 1rem;
}
.hw-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.4rem;
}
.hw-progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}
.hw-progress-fill {
    height: 100%;
    width: 60%;
    background: linear-gradient(90deg, var(--teal), var(--teal2));
    border-radius: 2px;
}

/* Step 5: Support visual */
.support-vis {
    width: 100%;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.chat-bubble {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.chat-bubble.right { flex-direction: row-reverse; }
.chat-ava {
    width: 28px; height: 28px;
    border-radius: 50%;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.chat-ava.teacher-ava { background: linear-gradient(135deg, var(--gold), #c47e00); }
.chat-ava.student-ava { background: linear-gradient(135deg, #6366f1, #4f46e5); }
.chat-msg {
    max-width: 75%;
    padding: 0.55rem 0.8rem;
    border-radius: 12px;
    font-size: 0.72rem;
    line-height: 1.5;
    font-weight: 400;
}
.chat-bubble:not(.right) .chat-msg {
    background: rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.8);
    border-bottom-left-radius: 3px;
}
.chat-bubble.right .chat-msg {
    background: var(--teal2);
    color: white;
    border-bottom-right-radius: 3px;
}
.chat-time { font-size: 0.58rem; color: rgba(255,255,255,0.25); margin-top: 2px; }
.chat-bubble.right .chat-time { text-align: right; }
.chat-typing {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.typing-dots {
    background: rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 0.55rem 0.9rem;
    display: flex;
    gap: 3px;
    align-items: center;
}
.typing-dot {
    width: 5px; height: 5px;
    background: rgba(255,255,255,0.35);
    border-radius: 50%;
    animation: bounce-dot 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes bounce-dot { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-5px)} }

.support-channels {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.4rem;
}
.support-ch {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 0.6rem;
    text-align: center;
}
.support-ch-icon { font-size: 1.1rem; display: block; margin-bottom: 0.25rem; }
.support-ch-label { font-size: 0.6rem; color: rgba(255,255,255,0.4); font-weight: 500; }

/* Step 6: Recording visual */
.rec-vis {
    width: 100%;
    max-width: 300px;
}
.rec-player {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
}
.rec-thumb {
    height: 130px;
    background: linear-gradient(135deg, #0a1628, #1a2a40);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}
.rec-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}
.rec-play-btn {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.2s;
    cursor: pointer;
}
.rec-play-btn:hover { transform: scale(1.1); }
.rec-arabic-preview {
    position: absolute;
    bottom: 0.7rem; left: 0.8rem;
    font-size: 0.8rem;
    color: var(--gold2);
    direction: rtl;
    z-index: 1;
}
.rec-controls {
    padding: 1rem 1.1rem;
}
.rec-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin-bottom: 0.5rem;
}
.rec-timeline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}
.rec-time { font-size: 0.62rem; color: rgba(255,255,255,0.35); white-space: nowrap; }
.rec-bar {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}
.rec-bar-fill {
    height: 100%;
    width: 35%;
    background: var(--gold);
    border-radius: 2px;
    position: relative;
}
.rec-bar-fill::after {
    content: '';
    position: absolute;
    right: -4px; top: -4px;
    width: 10px; height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.rec-bottom-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.rec-ctrl { font-size: 0.9rem; cursor: pointer; color: rgba(255,255,255,0.5); transition: color 0.15s; }
.rec-ctrl:hover { color: rgba(255,255,255,0.9); }
.rec-speed {
    margin-left: auto;
    background: rgba(255,255,255,0.06);
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    font-size: 0.62rem;
    color: rgba(255,255,255,0.5);
    font-weight: 600;
    cursor: pointer;
}

.rec-list {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 0.7rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.rec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    padding: 0.2rem 0;
    transition: color 0.15s;
}
.rec-item:hover { color: rgba(255,255,255,0.75); }
.rec-item.now { color: var(--gold2); font-weight: 600; }
.rec-item-icon { font-size: 0.7rem; }
.rec-item-dur { margin-left: auto; opacity: 0.6; }

/* ══════════════════════════════════════════
   PLATFORM SECTION
══════════════════════════════════════════ */
.hw-platforms {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 4rem 2rem;
    width: 100%;
}
.hw-platforms-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.hw-platforms-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 0.6rem;
}
.hw-platforms-sub {
    text-align: center;
    color: var(--mid);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}
.platform-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 1.6rem 1.2rem;
    text-align: center;
    transition: all 0.2s;
    cursor: default;
}
.platform-card:hover {
    border-color: var(--teal2);
    box-shadow: 0 4px 20px rgba(14,165,160,0.12);
    transform: translateY(-3px);
}
.platform-card .pc-icon { font-size: 2.4rem; margin-bottom: 0.7rem; display: block; }
.platform-card h4 { font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 0.3rem; }
.platform-card p { font-size: 0.82rem; color: var(--soft); }
.platform-badge {
    display: inline-block;
    background: var(--teal-lt);
    color: var(--teal);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-top: 0.5rem;
}

/* ══════════════════════════════════════════
   QUICK FACTS STRIP
══════════════════════════════════════════ */
.hw-facts {
    background: var(--navy);
    padding: 3.5rem 2rem;
    width: 100%;
}
.hw-facts-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}
.fact-item { text-align: center; }
.fact-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gold2);
    line-height: 1;
    margin-bottom: 0.4rem;
}
.fact-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    font-weight: 400;
}

/* ══════════════════════════════════════════
   CTA
══════════════════════════════════════════ */
.hw-cta {
    background: var(--bg);
    padding: 5rem 2rem;
    text-align: center;
    width: 100%;
}
.hw-cta-inner {
    max-width: 620px;
    margin: 0 auto;
}
.hw-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    color: var(--ink);
    margin-bottom: 1rem;
    line-height: 1.15;
}
.hw-cta h2 em { font-style: italic; color: var(--teal); }
.hw-cta p { color: var(--mid); font-size: 1.05rem; margin-bottom: 2.2rem; font-weight: 300; }
.hw-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-teal {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--teal);
    color: white;
    text-decoration: none;
    padding: 0.95rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s;
    box-shadow: 0 4px 18px rgba(14,165,160,0.35);
}
.btn-teal:hover { background: var(--teal2); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(14,165,160,0.45); }

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    padding: 0.95rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--border);
    transition: all 0.2s;
}
.btn-outline-dark:hover { border-color: var(--teal); color: var(--teal); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
    .hw-hero { grid-template-columns: 1fr; min-height: auto; }
    .hw-hero-right { display: none; }
    .hw-hero-left { padding: 4rem 1.5rem 4rem; }
    .step-card-inner { grid-template-columns: 1fr; }
    .step-card-inner.flip { direction: ltr; }
    .step-card-visual { min-height: 260px; padding: 2rem; order: -1; }
    .step-num-big { font-size: 3.5rem; min-width: 60px; }
    .step-title { font-size: 1.5rem; }
    .hw-wrap { padding: 2.5rem 1.2rem 3rem; }
}
@media (max-width: 600px) {
    .hw-hero h1 { font-size: 2rem; }
    .hw-nav-step { padding: 0.9rem 0.8rem; font-size: 0.78rem; }
    .nav-step-num { display: none; }
    .step-label-row { gap: 0.7rem; }
    .step-num-big { font-size: 3rem; min-width: 50px; }
    .hw-facts-inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .platform-grid { grid-template-columns: 1fr 1fr; }
}