/* =================================================================
   ENGLISH PARTNER — AI BASICS COURSE LANDING
   Light theme · Blue primary · Coral accent · Green success
================================================================= */

:root {
    /* Brand — English Partner × ForgeMind (Navy + Red on White) */
    --brand-primary: #15397F;      /* EP Navy (primary) */
    --brand-primary-dark: #0F2A5F;
    --brand-primary-light: #2E5BAA;
    --brand-red: #E50914;          /* FM / EP Red (CTA + accent) */
    --brand-red-dark: #B3060F;
    --brand-red-light: #FF3B47;
    --accent-blue: #2E5BAA;        /* light-blue echo */
    --accent-purple: #8B5CF6;
    --brand-success: #10B981;
    --brand-warning: #F59E0B;

    /* Light Mode Surfaces */
    --bg-0: #FFFFFF;               /* Page */
    --bg-1: #F8FAFC;               /* Subtle surface */
    --bg-2: #F1F5F9;               /* Elevated */
    --bg-3: #E2E8F0;               /* Higher */
    --surface: rgba(15, 23, 42, 0.02);
    --surface-hi: rgba(15, 23, 42, 0.05);
    --border: #E5E7EB;
    --border-hi: #CBD5E1;

    /* Text — Light Mode optimized */
    --text-0: #0A0F1E;             /* Crisp near-black for headlines */
    --text-1: #111827;             /* Strong heading */
    --text-2: #1F2937;             /* Body (gray-800, strong for readability) */
    --text-3: #374151;             /* Muted (gray-700) */
    --text-4: #4B5563;             /* Faint (gray-600) */

    /* Effects — signature navy+red gradients */
    --grad-primary: linear-gradient(135deg, #15397F 0%, #2E5BAA 100%);
    --grad-red: linear-gradient(135deg, #E50914 0%, #B3060F 100%);
    --grad-brand: linear-gradient(135deg, #E50914 0%, #15397F 100%);
    --grad-text: linear-gradient(135deg, #E50914 0%, #15397F 100%);
    --grad-accent: linear-gradient(135deg, #E50914 0%, #15397F 100%);
    --grad-glow: radial-gradient(circle at center, rgba(229, 9, 20, 0.12) 0%, transparent 70%);
    --grad-dark: linear-gradient(180deg, rgba(21, 57, 127, 0.04) 0%, transparent 100%);

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 20px 50px rgba(21, 57, 127, 0.15);
    --shadow-accent: 0 12px 30px rgba(229, 9, 20, 0.28);
    --shadow-glow: 0 0 20px rgba(21, 57, 127, 0.18);
    --shadow-blue: 0 12px 30px rgba(21, 57, 127, 0.22);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Legacy Aliases for backward compatibility */
    --brand-1: var(--brand-primary);
    --brand-1-dark: var(--brand-primary-dark);
    --brand-1-light: var(--brand-primary-light);
    --brand-2: var(--brand-red);
    --brand-2-dark: var(--brand-red-dark);
    --brand-3: var(--brand-success);
    --brand-4: var(--brand-warning);
    --grad-cool: var(--grad-primary);
    --grad-warm: var(--grad-red);
    --forge-red: var(--brand-red);
    --forge-ink: var(--text-0);
}

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: rgba(21, 57, 127, 0.18); color: var(--text-0); }

html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; overflow-x: clip; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-0);
    color: var(--text-2);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(229, 9, 20, 0.06), transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(21, 57, 127, 0.06), transparent 70%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }

/* ===== Inline monochrome icons ===== */
.icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.15em;
}
.icon-inline { display: inline-block; }
.icon-sm { width: 14px; height: 14px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 26px; height: 26px; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ===== Cursor Glow ===== */
.cursor-glow {
    position: fixed;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.08), transparent 65%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    transition: opacity 0.3s ease;
    will-change: transform;
    mix-blend-mode: multiply;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s var(--ease);
}

.logo:hover { transform: scale(1.03); }

.logo-img {
    height: 38px;
    width: auto;
    display: block;
    background: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.navbar.scrolled .logo-img {
    height: 34px;
    transition: height 0.3s var(--ease);
}

/* Navbar collab lockup: EP logo + handshake + FM logo grouped on the left */
.nav-collab {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.nav-logo-link {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s var(--ease);
}
.nav-logo-link:hover { transform: translateY(-1px); }

.logo-img-ep-nav {
    height: 56px;
    width: auto;
    display: block;
    background: #fff;
    padding: 6px 12px;
    border-radius: 12px;
    box-shadow: 0 1px 5px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: all 0.3s var(--ease);
}

.nav-logo-cross {
    display: inline-flex;
    align-items: center;
    color: var(--brand-red);
    opacity: 0.75;
    line-height: 0;
}
.nav-logo-cross svg {
    width: 20px;
    height: 20px;
    display: block;
}

.navbar.scrolled .logo-img-ep-nav { height: 48px; padding: 5px 10px; }
.navbar.scrolled .nav-logo-cross svg { width: 18px; height: 18px; }

.logo-img-footer {
    height: 44px;
    width: auto;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    transition: all 0.3s var(--ease);
    display: block;
}

.logo-img-ep {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.08);
}

.logo-img-footer:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.24);
    transform: translateY(-1px);
}

.logo-img-ep:hover {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.14);
}

/* Footer variant of ForgeMind lockup — sits on navy bg, needs light text */
.forgemind-lockup-footer {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    padding: 6px 12px 6px 6px;
    gap: 9px;
    white-space: nowrap;
}
.forgemind-lockup-footer:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 6px 20px rgba(229, 9, 20, 0.18);
}
.forgemind-lockup-footer .fm-logo-box {
    width: 44px;
    height: 44px;
}
.forgemind-lockup-footer .fm-logo-svg {
    width: 44px;
    height: 44px;
}
.forgemind-lockup-footer .fm-word {
    color: #fff;
    font-size: 1rem;
    white-space: nowrap;
}
.forgemind-lockup-footer .fm-word-accent {
    color: var(--brand-red-light);
}
.forgemind-lockup-footer .fm-sub {
    color: rgba(255, 255, 255, 0.62);
    white-space: nowrap;
    font-size: 0.62rem;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    transition: transform 0.3s var(--ease);
}
.footer-logo-link:hover { transform: translateY(-1px); }

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    color: var(--text-3);
    font-size: 0.92rem;
    font-weight: 500;
    transition: all 0.25s var(--ease);
    position: relative;
}

.nav-links a:hover { color: var(--text-0); }

/* ---- Tamil / EN toggle button ---- */
.translate-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    background: transparent;
    color: var(--brand-primary);
    border: 1.5px solid var(--brand-primary);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--ease);
    white-space: nowrap;
    flex-shrink: 0;
}

.translate-btn:hover {
    background: var(--brand-primary);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-blue);
}

.translate-btn.is-tamil {
    background: var(--brand-primary);
    color: #fff;
}

.translate-icon {
    font-size: 1rem;
    line-height: 1;
}

/* Hide Google Translate's own top bar — we drive it with our button */
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-te-menu-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.skiptranslate > iframe {
    display: none !important;
}

/* ---- end translate styles ---- */

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background: var(--brand-red);
    color: white;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: var(--shadow-accent);
    transition: all 0.3s var(--ease);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(229, 9, 20, 0.35);
    background: var(--brand-red-dark);
}

.cta-arrow { transition: transform 0.3s var(--ease); }
.nav-cta:hover .cta-arrow { transform: translateX(4px); }

.nav-cta-mobile {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--brand-red);
    color: white;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    box-shadow: var(--shadow-accent);
    white-space: nowrap;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-cta-mobile svg { display: none; }

.nav-cta-mobile:active {
    transform: scale(0.96);
    background: var(--brand-red-dark);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: var(--bg-3);
    border: 1px solid var(--border-hi);
    padding: 10px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-1);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}

.mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
    position: relative;
    padding: 140px 0 48px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at center, white 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, white 30%, transparent 75%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.6;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--brand-red);
    top: -150px;
    left: -100px;
    opacity: 0.08;
    animation: drift 18s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--brand-primary);
    top: 30%;
    right: -100px;
    opacity: 0.08;
    animation: drift 22s ease-in-out infinite reverse;
}

.orb-3 {
    width: 320px;
    height: 320px;
    background: var(--brand-primary-light);
    bottom: 0;
    left: 30%;
    opacity: 0.07;
    animation: drift 25s ease-in-out infinite;
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -40px) scale(1.1); }
    66% { transform: translate(-40px, 60px) scale(0.95); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 14px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-3);
    box-shadow: 0 0 10px var(--brand-3);
    animation: pulse 2s ease-in-out infinite;
    position: relative;
}

.badge-pulse::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--brand-3);
    opacity: 0.4;
    animation: ping 2s ease-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes ping {
    0% { transform: scale(0.5); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

.hero-title {
    font-family: 'Poppins', 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 5.3vw, 4.3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--text-0);
    margin-bottom: 28px;
}

.title-highlight {
    position: relative;
    display: inline-block;
    padding: 0 6px;
}

.highlight-bg {
    position: absolute;
    inset: 5% -2% 8% -2%;
    background: var(--grad-accent);
    border-radius: 6px;
    transform: skew(-3deg);
    z-index: -1;
}

.highlight-text {
    color: white;
    position: relative;
}

.title-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-2);
    margin-bottom: 36px;
    max-width: 560px;
    line-height: 1.7;
}


.hero-cta {
    display: flex;
    gap: 14px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border: none;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--grad-red);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #E50914 0%, #15397F 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.btn-primary > * { position: relative; z-index: 1; }

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(229, 9, 20, 0.35);
}

.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
    background: transparent;
    color: var(--text-2);
    border: 1.5px solid var(--border-hi);
}

.btn-ghost:hover {
    background: rgba(15, 23, 42, 0.03);
    border-color: var(--text-0);
    color: var(--text-0);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ===== Hero Meta Strip ===== */
.hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 18px 24px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 110px;
}

.meta-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.03);
    border-radius: 10px;
    border: 1px solid var(--border);
    color: var(--brand-primary);
}
.meta-icon .icon { width: 22px; height: 22px; }

.meta-value {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-0);
    line-height: 1.2;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-3);
    margin-top: 2px;
}

.meta-divider {
    width: 1px;
    height: 36px;
    background: var(--border);
}

/* ===== Hero Visual ===== */
.hero-visual {
    position: relative;
    height: 540px;
}

.visual-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.brain-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
}

.brain-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px dashed rgba(229, 9, 20, 0.3);
    animation: rotate 20s linear infinite;
}

.brain-ring.ring-2 {
    inset: 20px;
    border-color: rgba(59, 130, 246, 0.35);
    animation-direction: reverse;
    animation-duration: 25s;
}

.brain-ring.ring-3 {
    inset: 40px;
    border-color: rgba(15, 23, 42, 0.09);
    animation-duration: 30s;
}

@keyframes rotate { to { transform: rotate(360deg); } }

.brain-center {
    position: absolute;
    inset: 60px;
    background: var(--grad-primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow: 0 0 80px rgba(229, 9, 20, 0.4), inset 0 0 30px rgba(255,255,255,0.15);
    animation: brainPulse 3s ease-in-out infinite;
}

.brain-center.fm-hero-wrap {
    inset: 40px;
    background: transparent;
    border-radius: 50%;
    overflow: visible;
    box-shadow: none;
    animation: fmHeroFloat 6s ease-in-out infinite;
    z-index: 2;
}

/* Glow / aura layers behind the hero logo */
.brain-core::before,
.brain-core::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Inner soft red-to-navy radial disc */
.brain-core::before {
    width: 260px;
    height: 260px;
    margin: -130px 0 0 -130px;
    background:
        radial-gradient(circle at 50% 50%,
            rgba(229, 9, 20, 0.28) 0%,
            rgba(229, 9, 20, 0.14) 35%,
            rgba(21, 57, 127, 0.10) 65%,
            rgba(21, 57, 127, 0) 80%);
    filter: blur(6px);
    animation: logoAuraPulse 5s ease-in-out infinite;
}

/* Outer wide aura halo */
.brain-core::after {
    width: 420px;
    height: 420px;
    margin: -210px 0 0 -210px;
    background:
        radial-gradient(circle at 50% 50%,
            rgba(229, 9, 20, 0.18) 0%,
            rgba(245, 158, 11, 0.10) 28%,
            rgba(21, 57, 127, 0.12) 55%,
            rgba(21, 57, 127, 0) 75%);
    filter: blur(28px);
    animation: logoHaloDrift 9s ease-in-out infinite;
}

@keyframes logoAuraPulse {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.08); }
}

@keyframes logoHaloDrift {
    0%, 100% { opacity: 0.7; transform: scale(1) rotate(0deg); }
    50%      { opacity: 1;   transform: scale(1.12) rotate(12deg); }
}

.fm-hero-logo {
    width: 100%;
    height: 100%;
    filter: none;
}

@keyframes brainPulse {
    0%, 100% { box-shadow: 0 0 70px rgba(229, 9, 20, 0.35), inset 0 0 30px rgba(255,255,255,0.15); }
    50% { box-shadow: 0 0 110px rgba(229, 9, 20, 0.55), inset 0 0 40px rgba(255,255,255,0.25); }
}

@keyframes fmHeroPulse {
    0%, 100% { box-shadow: 0 0 70px rgba(229, 9, 20, 0.28), 0 0 140px rgba(229, 9, 20, 0.18); }
    50% { box-shadow: 0 0 110px rgba(229, 9, 20, 0.5), 0 0 200px rgba(229, 9, 20, 0.28); }
}

@keyframes fmHeroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ===== Tool orbits ===== */
.tool-orbits {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 460px;
    height: 460px;
    pointer-events: none;
    z-index: 1;
}

.tool-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1.5px dashed rgba(21, 57, 127, 0.18);
}

.tool-orbit.orbit-inner {
    width: 320px;
    height: 320px;
    margin: -160px 0 0 -160px;
    animation: orbitSpin 26s linear infinite;
    border-color: rgba(229, 9, 20, 0.22);
}

.tool-orbit.orbit-outer {
    width: 460px;
    height: 460px;
    margin: -230px 0 0 -230px;
    animation: orbitSpin 40s linear infinite reverse;
}

@keyframes orbitSpin { to { transform: rotate(360deg); } }

.tool-chip {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    display: grid;
    place-items: center;
    pointer-events: auto;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}

.orbit-inner .tool-chip {
    transform: rotate(var(--a)) translateX(160px) rotate(calc(var(--a) * -1));
    animation: chipCounter 26s linear infinite reverse;
}

.orbit-outer .tool-chip {
    width: 48px;
    height: 48px;
    margin: -24px 0 0 -24px;
    transform: rotate(var(--a)) translateX(230px) rotate(calc(var(--a) * -1));
    animation: chipCounter 40s linear infinite;
}

@keyframes chipCounter { to { transform: rotate(calc(var(--a) - 360deg)) translateX(var(--r, 160px)) rotate(calc(360deg - var(--a))); } }

/* Per-orbit radius tokens so the counter-rotate animation uses the right distance */
.orbit-inner .tool-chip { --r: 160px; }
.orbit-outer .tool-chip { --r: 230px; }

.tool-chip img {
    width: 62%;
    height: 62%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
}

.tool-chip:hover {
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15), var(--shadow-md);
}

.tool-chip::after {
    content: attr(data-name);
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: var(--brand-1);
    padding: 3px 8px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s var(--ease);
}

.tool-chip:hover::after { opacity: 1; }

.tool-orbits:hover .tool-orbit,
.tool-orbits:hover .tool-chip { animation-play-state: paused; }

.float-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    box-shadow: var(--shadow-md);
    width: 230px;
    animation: floatY 4s ease-in-out infinite;
}

.card-prompt { top: 30px; left: 0; animation-delay: 0s; border-left: 3px solid var(--brand-primary); }
.card-output { bottom: 30px; right: 0; animation-delay: 1.5s; border-left: 3px solid var(--accent-blue); }

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.card-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-3);
    letter-spacing: 0.1em;
}

.tag-ai { color: var(--brand-primary); }

.status-good {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: var(--brand-3);
    font-weight: 700;
}
.status-good .icon { width: 12px; height: 12px; stroke-width: 2.4; }

.card-typing {
    color: var(--brand-primary);
    font-size: 0.8rem;
    letter-spacing: 2px;
    animation: typingDots 1.4s ease-in-out infinite;
}

@keyframes typingDots {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.card-body {
    font-size: 0.85rem;
    color: var(--text-1);
    line-height: 1.5;
}

.float-tag {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-1);
    box-shadow: var(--shadow-sm);
    animation: floatY 3s ease-in-out infinite;
}
.float-tag .icon { width: 14px; height: 14px; }

.tag-ethics { top: 0; right: 30px; animation-delay: 0.5s; }
.tag-tools { top: 50%; left: -10px; animation-delay: 1s; }
.tag-image { bottom: 80px; left: 60px; animation-delay: 2s; }

/* ===== Student Photos (beside subtitle, mobile only) ===== */
.hero-mid-row { display: block; }

.sph-hero-wrap {
    display: none;
    position: relative;
}

.sph-card {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(21, 57, 127, 0.14);
    transition: left 0.75s cubic-bezier(0.4, 0, 0.2, 1),
                top 0.75s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.75s cubic-bezier(0.4, 0, 0.2, 1),
                height 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.sph-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.sph-card.is-main {
    left: 0;
    top: 0;
    width: calc(60% - 5px);
    height: 100%;
    z-index: 2;
}

.sph-card.is-side-top {
    left: calc(60% + 5px);
    top: 0;
    width: calc(40% - 5px);
    height: calc(50% - 5px);
    z-index: 1;
}

.sph-card.is-side-bottom {
    left: calc(60% + 5px);
    top: calc(50% + 5px);
    width: calc(40% - 5px);
    height: calc(50% - 5px);
    z-index: 1;
}

.student-photo-badge {
    position: absolute;
    bottom: 10px;
    left: 8px;
    right: 8px;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    opacity: 1;
}

.sph-card.is-main .student-photo-badge {
    font-size: 0.68rem;
    padding: 6px 10px;
    opacity: 1;
}

.sph-card.is-side-top .student-photo-badge,
.sph-card.is-side-bottom .student-photo-badge {
    opacity: 0;
}

/* ===== Marquee (tool icons) ===== */
.hero-marquee {
    position: relative;
    margin-top: 48px;
    overflow-x: clip;
    overflow-y: visible;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 44px 0 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.marquee-fade {
    position: absolute;
    top: 0; bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}
.marquee-fade-left  { left: 0;  background: linear-gradient(90deg, var(--bg-0), transparent); }
.marquee-fade-right { right: 0; background: linear-gradient(270deg, var(--bg-0), transparent); }

.marquee-track {
    display: flex;
    align-items: center;
    gap: 56px;
    animation: marquee 32s linear infinite;
    white-space: nowrap;
    width: max-content;
    will-change: transform;
    transform: translateZ(0);
}

.hero-marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-tool {
    position: relative;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 8px 22px rgba(21, 57, 127, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(15, 23, 42, 0.04);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
    flex-shrink: 0;
}

.marquee-tool img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.3s var(--ease);
    pointer-events: none;
}

/* Per-icon scale compensation — source PNGs have uneven transparent padding,
   so we normalize their rendered visual size here. */
.marquee-tool img[src$="grammarly.png"],
.marquee-tool img[src$="gtranslate.png"],
.marquee-tool img[src$="excalidraw.png"],
.marquee-tool img[src$="copilot.png"],
.marquee-tool img[src$="gemini.png"],
.marquee-tool img[src$="dalle.png"] { transform: scale(1.2); }

.marquee-tool img[src$="notebooklm.png"],
.marquee-tool img[src$="canva.png"] { transform: scale(0.92); }

.marquee-tool:hover {
    transform: translateY(-6px) scale(1.1);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(229, 9, 20, 0.5);
    box-shadow:
        0 14px 32px rgba(229, 9, 20, 0.22),
        0 0 0 1px rgba(229, 9, 20, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    z-index: 5;
}

/* Tooltip on hover */
.marquee-tool::after {
    content: attr(data-name);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    padding: 6px 14px;
    background: var(--brand-2);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
    box-shadow: 0 6px 18px rgba(229, 9, 20, 0.45), 0 0 0 1px rgba(15, 23, 42, 0.05) inset;
    z-index: 6;
}

.marquee-tool::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--brand-2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease);
    z-index: 6;
}

.marquee-tool:hover::after,
.marquee-tool:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track { animation-duration: 90s; }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-33.3333%); }
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 20px;
}
.section-eyebrow .icon { width: 14px; height: 14px; }

.section-eyebrow.light {
    background: rgba(255,255,255,0.18);
    color: white;
    border-color: rgba(255,255,255,0.35);
}

.section-title {
    font-family: 'Poppins', 'Space Grotesk', sans-serif;
    font-size: clamp(1.85rem, 3.8vw, 2.9rem);
    font-weight: 700;
    color: var(--text-0);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-wrap: balance;
}

.section-title-light { color: white; }
.title-gradient-light {
    background: linear-gradient(135deg, #FFD89B 0%, #FBBF24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-2);
    line-height: 1.7;
}

/* ===== Message Section ===== */
.message-section {
    padding: 64px 0;
    position: relative;
}

.message-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 60px 50px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.message-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(229, 9, 20, 0.08), transparent 60%);
    pointer-events: none;
}

.message-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--brand-primary);
    color: white;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 32px;
    position: relative;
    box-shadow: var(--shadow-accent);
}
.message-label .icon { width: 14px; height: 14px; }
.eq-result .icon { width: 16px; height: 16px; margin-left: 6px; vertical-align: -0.2em; }

.message-equations {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 36px;
    position: relative;
}

.equation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.1rem, 2.2vw, 1.55rem);
    font-weight: 600;
}

.eq-term {
    padding: 10px 20px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-2);
    box-shadow: var(--shadow-xs);
}

.term-glow {
    background: var(--brand-primary);
    border-color: transparent;
    color: white;
    box-shadow: var(--shadow-accent);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.eq-op, .eq-equals {
    color: var(--text-3);
    font-weight: 400;
    font-size: 1.5rem;
}

.eq-result {
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.result-bad {
    background: rgba(229, 9, 20, 0.1);
    border: 1px solid rgba(229, 9, 20, 0.3);
    color: #FF4D4D;
    text-decoration: line-through;
    text-decoration-color: rgba(255, 77, 77, 0.5);
}

.result-good {
    background: var(--grad-accent);
    color: white;
    box-shadow: var(--shadow-accent);
}

.message-tagline {
    font-size: 1.1rem;
    color: var(--text-2);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.message-tagline strong {
    color: var(--text-0);
    background: linear-gradient(180deg, transparent 60%, rgba(229, 9, 20, 0.4) 60%);
    padding: 0 4px;
}

/* ===== Honest Framing (WILL / NOT) ===== */
.honest-section { padding: 96px 0 80px; background: var(--bg-0); position: relative; }

/* ===== Spoken English (combo other half) ===== */
.english-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%);
    position: relative;
    overflow: hidden;
}

.english-carousel {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 640px;
    margin: 0 auto;
}

.english-arrow {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-0);
    color: var(--text-0);
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
    box-shadow: var(--shadow-xs);
}

.english-arrow:hover {
    background: var(--brand-1);
    border-color: var(--brand-1);
    color: #fff;
    transform: scale(1.08);
    box-shadow: var(--shadow-blue);
}

.english-arrow:active { transform: scale(0.97); }

.english-arrow .icon {
    width: 20px;
    height: 20px;
}

.english-rail {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.english-track {
    display: flex;
    transition: transform 0.45s var(--ease);
}

.english-card {
    flex: 0 0 100%;
    background: var(--bg-0);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.english-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-red));
    opacity: 0.85;
}

.english-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--brand-primary-light);
    box-shadow: 0 20px 40px rgba(21, 57, 127, 0.14);
}

.english-card-featured {
    background: linear-gradient(160deg, rgba(37, 211, 102, 0.08) 0%, var(--bg-0) 70%);
    border-color: rgba(37, 211, 102, 0.35);
}

.english-card-featured::before {
    background: linear-gradient(90deg, #25D366, #128C7E);
    opacity: 1;
}

.english-card-featured .english-card-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.18), rgba(18, 140, 126, 0.12));
    color: #128C7E;
}

.english-card-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-4);
    letter-spacing: 0.14em;
}

.english-card-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(21, 57, 127, 0.1), rgba(229, 9, 20, 0.08));
    color: var(--brand-primary);
    margin-bottom: 6px;
}

.english-card-icon .icon {
    width: 24px;
    height: 24px;
    stroke-width: 2;
}

.english-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-0);
    margin: 0;
    line-height: 1.3;
}

.english-card p {
    color: var(--text-3);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.english-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
}

.english-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(21, 57, 127, 0.22);
    cursor: pointer;
    transition: background 0.3s var(--ease), width 0.3s var(--ease), transform 0.3s var(--ease);
}

.english-dot:hover {
    background: rgba(21, 57, 127, 0.45);
    transform: scale(1.15);
}

.english-dot.active {
    width: 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand-1, var(--brand-primary)), var(--brand-2, var(--brand-red)));
}

.english-dot:focus-visible {
    outline: 2px solid var(--brand-1, var(--brand-primary));
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .english-section { padding: 56px 0; }
    .english-card { padding: 24px 22px; }

    .english-arrow {
        width: 40px;
        height: 40px;
    }

    .english-carousel { gap: 10px; }
}

.honest-grid {
    display: grid;
    grid-template-columns: 1fr minmax(220px, 260px) 1fr;
    align-items: stretch;
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto;
}

/* Center "VS" divider with embedded core-idea equations */
.honest-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.vs-line {
    width: 2px;
    background: linear-gradient(180deg, transparent, var(--border-hi), transparent);
    height: 24px;
    flex-shrink: 0;
}

.vs-equation {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    box-shadow: var(--shadow-xs);
}

.vs-eq-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-2);
    margin-bottom: 6px;
}

.vs-eq-term {
    padding: 2px 8px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-1);
}

.vs-eq-term-glow {
    background: var(--brand-primary);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 8px rgba(229, 9, 20, 0.4);
}

.vs-eq-op {
    color: var(--text-3);
    font-weight: 400;
    font-size: 1rem;
}

.vs-eq-result {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
}

.vs-eq-result .icon {
    width: 14px;
    height: 14px;
}

.vs-eq-bad {
    background: rgba(229, 9, 20, 0.06);
    border-color: rgba(229, 9, 20, 0.25);
}
.vs-eq-bad .vs-eq-result { color: #FF6B6B; }

.vs-eq-good {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.3);
}
.vs-eq-good .vs-eq-result { color: #34D399; }

.vs-badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--bg-1);
    border: 2px solid var(--border-hi);
    display: grid;
    place-items: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-0);
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-md);
    background-image:
        radial-gradient(circle at 30% 30%, rgba(16, 185, 129, 0.12), transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(229, 9, 20, 0.12), transparent 60%);
    position: relative;
}

.vs-badge::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px dashed var(--border-hi);
    opacity: 0.7;
    animation: vsRotate 18s linear infinite;
}

@keyframes vsRotate {
    to { transform: rotate(360deg); }
}

.honest-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.honest-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.honest-card {
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
}

.honest-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
}

.honest-will::before { background: linear-gradient(90deg, #10B981, #34D399); }
.honest-not::before  { background: linear-gradient(90deg, #E50914, #FF6B6B); }

.honest-will {
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.02) 100%);
}
.honest-will:hover {
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(16, 185, 129, 0.1);
}

.honest-not {
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.08) 0%, rgba(15, 23, 42, 0.02) 100%);
}
.honest-not:hover {
    border-color: rgba(229, 9, 20, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(229, 9, 20, 0.1);
}

.honest-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--border);
}

.honest-icon {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    line-height: 1;
}
.honest-icon .icon { width: 24px; height: 24px; }
.honest-will .honest-icon { background: rgba(16, 185, 129, 0.12); color: #10B981; }
.honest-not  .honest-icon { background: rgba(229, 9, 20, 0.12); color: var(--brand-red); }

.honest-header h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-0);
    margin: 0;
}

.honest-will .honest-header h3 strong { color: #10B981; text-shadow: 0 0 10px rgba(16, 185, 129, 0.25); }
.honest-not  .honest-header h3 strong { color: var(--brand-red); text-shadow: 0 0 10px rgba(229, 9, 20, 0.25); }

.honest-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.honest-list li {
    position: relative;
    padding-left: 28px;
    color: var(--text-2);
    line-height: 1.6;
    font-size: 0.98rem;
}

.honest-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-size: contain;
            mask-size: contain;
}

.honest-will .honest-list li::before {
    color: #10B981;
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
}
.honest-not  .honest-list li::before {
    color: var(--brand-2);
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
            mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='18' y1='6' x2='6' y2='18'/><line x1='6' y1='6' x2='18' y2='18'/></svg>");
}

@media (max-width: 900px) {
    .honest-section { padding: 56px 0; }
    .honest-grid { grid-template-columns: 1fr; gap: 16px; }
    .honest-card { padding: 28px 22px; }
    .honest-vs { flex-direction: column; padding: 4px 0; gap: 10px; max-width: 420px; margin: 0 auto; }
    .vs-line { width: 2px; height: 16px; background: linear-gradient(180deg, transparent, var(--border-hi), transparent); }
    .vs-badge { width: 52px; height: 52px; font-size: 1rem; }
    .vs-equation { padding: 12px 14px; }
    .vs-eq-line, .vs-eq-result { font-size: 0.9rem; }
}

/* ===== Objectives ===== */
.objectives-section { padding: 68px 0; background: var(--bg-1); }

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.objective-card {
    position: relative;
    padding: 36px 28px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.objective-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.objective-card:hover::before { transform: scaleX(1); }

.obj-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--brand-2);
    font-weight: 700;
    margin-bottom: 16px;
}

.obj-icon {
    font-size: 2.4rem;
    margin-bottom: 18px;
    display: inline-grid;
    place-items: center;
    width: 64px;
    height: 64px;
    background: var(--bg-2);
    border-radius: 16px;
    transition: all 0.4s var(--ease);
}

.objective-card:hover .obj-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--grad-primary);
}

.objective-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 12px;
}

.objective-card p {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.65;
}

/* ===== Journey / Timeline ===== */
.journey-section { padding: 68px 0; }

.journey-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 0;
}

.phase-card {
    align-self: start;
    padding: 32px 28px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--grad-primary);
}

.phase-card.phase-2::before { background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark)); }
.phase-card.phase-3::before { background: var(--grad-accent); }

.phase-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.phase-marker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.phase-week {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-primary);
}

.phase-days {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-2);
    padding: 4px 10px;
    background: var(--bg-2);
    border-radius: 6px;
    font-weight: 600;
}

.phase-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 0;
}

.phase-content p {
    font-size: 0.95rem;
    color: var(--text-2);
    line-height: 1.65;
    margin-bottom: 16px;
}

.phase-units { display: flex; gap: 8px; flex-wrap: wrap; }

.phase-details {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    transition: max-height 0.4s var(--ease), opacity 0.3s var(--ease), margin-top 0.4s var(--ease);
}

.phase-card.is-open .phase-details {
    max-height: 400px;
    opacity: 1;
    margin-top: 16px;
}

.phase-toggle {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    background: none;
    border: none;
    color: var(--brand-primary);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: color 0.2s var(--ease);
}
.phase-toggle:hover { color: var(--brand-primary-light); }
.phase-toggle-caret {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--ease);
}
.phase-card.is-open .phase-toggle-caret { transform: rotate(180deg); }

.unit-pill {
    padding: 5px 12px;
    background: var(--bg-2);
    border: 1px solid rgba(229, 9, 20, 0.2);
    color: var(--brand-1);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.pill-special {
    background: var(--grad-accent);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

.phase-connector {
    align-self: start;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 40px;
    height: 90px;
}

.connector-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-primary), transparent);
    opacity: 0.4;
}

.connector-arrow {
    position: absolute;
    color: var(--brand-primary);
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--bg-0);
    padding: 0 8px;
}

/* Day Strip */
.day-strip {
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.day-strip-label {
    text-align: center;
    color: var(--text-3);
    font-size: 0.85rem;
    margin-bottom: 24px;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.day-dots {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.day-dot {
    flex: 1;
    min-width: 48px;
    aspect-ratio: 1;
    max-width: 60px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s var(--ease);
    border: 1px solid transparent;
    box-shadow: var(--shadow-xs);
}

.day-dot.u1 { background: linear-gradient(135deg, #1A1A1A, #0A0A0A); border: 1px solid rgba(229, 9, 20, 0.3); }
.day-dot.u2 { background: linear-gradient(135deg, #2A2A2A, #1A1A1A); border: 1px solid rgba(229, 9, 20, 0.2); }
.day-dot.u3 { background: linear-gradient(135deg, #E50914, #B3060F); }
.day-dot.u4 { background: linear-gradient(135deg, #2A2A2A, #1A1A1A); border: 1px solid var(--brand-primary); }

.day-dot.day-final {
    background: var(--grad-primary);
    box-shadow: var(--shadow-accent);
    transform: scale(1.1);
}

.day-dot:hover {
    transform: translateY(-6px) scale(1.12);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

.day-dot::after {
    content: attr(data-info);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #1A1A1A;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s var(--ease);
    box-shadow: var(--shadow-md);
    z-index: 5;
}

.day-dot:hover::after {
    opacity: 1;
    bottom: calc(100% + 8px);
}

.day-legend {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-2);
    font-weight: 500;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

.legend-color.u1 { background: #333; border: 1px solid rgba(15, 23, 42, 0.06); }
.legend-color.u2 { background: #444; border: 1px solid rgba(15, 23, 42, 0.12); }
.legend-color.u3 { background: var(--brand-primary); }
.legend-color.u4 { background: var(--brand-primary-light); }

/* ===== Curriculum ===== */
.curriculum-section { padding: 68px 0; background: var(--bg-1); }

/* Curriculum: side-by-side layout (left selector, right detail panel) */
.curriculum-layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 24px;
    align-items: start;
}

.unit-tabs-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 100px;
}

.unit-tab {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-3);
    text-align: left;
    transition: all 0.35s var(--ease);
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.unit-tab::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--grad-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s var(--ease);
}

.unit-tab:hover {
    border-color: var(--brand-primary-light);
    color: var(--text-0);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.unit-tab:hover .tab-arrow { transform: translateX(2px); opacity: 1; }

.unit-tab.active {
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary) 100%);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(21, 57, 127, 0.28);
    transform: translateX(0);
}

.unit-tab.active::before { transform: scaleY(1); background: var(--brand-red); width: 5px; }

.tab-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand-primary);
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.03);
    border-radius: 10px;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}

.unit-tab.active .tab-num {
    background: rgba(255, 255, 255, 0.18);
    color: white;
}

.tab-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.tab-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.98rem;
    line-height: 1.3;
    color: inherit;
}

.tab-days {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    opacity: 0.75;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.tab-arrow {
    font-size: 1.1rem;
    opacity: 0.4;
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
}

.unit-tab.active .tab-arrow { opacity: 1; transform: translateX(2px); }

.unit-panel {
    min-width: 0;
}

.unit-content {
    display: none;
    animation: fadeUp 0.4s var(--ease);
}

.unit-content.active { display: block; }

.cv-node { display: none; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.unit-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.unit-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.unit-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.08), transparent 70%);
    pointer-events: none;
}

.unit-info { position: relative; }

.unit-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--bg-2);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-1);
    margin-bottom: 18px;
    font-family: 'JetBrains Mono', monospace;
}

.unit-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 16px;
    line-height: 1.2;
}

.unit-desc {
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.unit-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.stat-num {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: var(--grad-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    color: var(--text-3);
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-block {
    padding: 20px 22px;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease);
}

.detail-block:hover {
    background: var(--bg-1);
    border-color: var(--brand-primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.detail-block h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 12px;
}
.detail-block h4 .icon { width: 16px; height: 16px; color: var(--brand-primary); }
.detail-outcome h4 .icon { color: var(--brand-3); }

.detail-block ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-block li {
    color: var(--text-2);
    font-size: 0.92rem;
    padding-left: 22px;
    position: relative;
    line-height: 1.5;
}

.detail-block li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--brand-1);
    border-radius: 50%;
}

.detail-outcome {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.detail-outcome li::before { background: var(--brand-3); }

/* ===== Teaching ===== */
.teaching-section { padding: 68px 0; }

.teaching-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.teaching-block { position: relative; }

.block-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--text-0);
    line-height: 1.2;
    margin: 14px 0 14px;
    letter-spacing: -0.02em;
}

.block-desc {
    color: var(--text-2);
    margin-bottom: 32px;
    line-height: 1.7;
}

.method-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.method-list li {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-xs);
}

.method-list li:hover {
    border-color: var(--brand-1);
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
}

.method-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    background: var(--brand-primary);
    color: white;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(229, 9, 20, 0.25);
}
.method-icon .icon { width: 22px; height: 22px; }

.method-list h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 4px;
}

.method-list p {
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.5;
}

.assessment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.assess-card {
    padding: 22px 20px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.assess-card:hover {
    border-color: var(--brand-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.assess-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: var(--brand-2);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.assess-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 6px;
}

.assess-card p {
    color: var(--text-2);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ===== Trainers ===== */
.trainers-section { padding: 68px 0; }

/* 4-column single-row grid */
.trainer-profile-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.trainer-profile-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(21, 57, 127, 0.08), 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
    width: 100%;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
    position: relative;
}

.trainer-profile-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-2) 0%, var(--brand-1) 100%);
}

.trainer-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(21, 57, 127, 0.14), 0 4px 16px rgba(229,9,20,0.07);
}

/* Photo */
.trainer-profile-photo-col {
    position: relative;
    flex: none;
    height: 210px;
    background: linear-gradient(160deg, #0F2A5F 0%, #15397F 60%, #1e4fa3 100%);
}

.trainer-profile-photo {
    width: 100%;
    height: 100%;
}

.trainer-profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.trainer-profile-photo img.face-focus {
    object-position: 50% 12%;
}

.trainer-profile-card--ai .trainer-profile-photo img.face-focus {
    object-position: 50% 5%;
}

.trainer-profile-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--brand-2);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(229,9,20,0.35);
}

/* Info below photo */
.trainer-profile-info {
    flex: 1;
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
}

.trainer-profile-eyebrow {
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-2);
    margin-bottom: 6px;
}

.trainer-profile-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-1);
    line-height: 1.15;
    margin-bottom: 0;
}

.trainer-profile-divider {
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-2), var(--brand-1));
    border-radius: 999px;
    margin: 12px 0;
}

.trainer-profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.trainer-profile-tag {
    padding: 4px 10px;
    background: rgba(21, 57, 127, 0.06);
    border: 1px solid rgba(21, 57, 127, 0.14);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--brand-1);
    letter-spacing: 0.02em;
}

/* AI card tags use red tint */
.trainer-profile-card--ai .trainer-profile-tag {
    background: rgba(229, 9, 20, 0.05);
    border-color: rgba(229, 9, 20, 0.18);
    color: var(--brand-red-dark);
}

@media (max-width: 860px) {
    .trainer-profile-wrap {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .trainer-profile-wrap {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .trainer-profile-photo-col { height: 160px; }
    .trainer-profile-info { padding: 14px 14px 16px; }
    .trainer-profile-name { font-size: 1rem; }
    .trainer-profile-divider { margin: 8px 0; }
    .trainer-profile-tag { font-size: 0.6rem; padding: 3px 8px; }
}

/* AI trainer card variant — ForgeMind red accent instead of navy/red mix */
.trainer-profile-card--ai::before {
    background: linear-gradient(90deg, var(--brand-1) 0%, var(--brand-2) 100%);
}

.trainer-profile-badge--ai {
    background: var(--brand-1);
    box-shadow: 0 4px 12px rgba(21, 57, 127, 0.35);
}

.trainer-profile-eyebrow--ai {
    color: var(--brand-1);
}

/* Placeholder photo: shown when image hasn't loaded yet */
.trainer-profile-photo--placeholder {
    background: linear-gradient(160deg, #E50914 0%, #15397F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.trainer-profile-photo--placeholder img {
    /* fade in once loaded; stays transparent if src is missing */
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.trainer-profile-photo--placeholder img.loaded {
    opacity: 1;
}

/* SVG silhouette shown while/if image is absent */
.trainer-profile-photo--placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 140' fill='rgba(255,255,255,0.18)'%3E%3Cellipse cx='60' cy='48' rx='28' ry='28'/%3E%3Cpath d='M4 140c0-30.9 25.1-56 56-56s56 25.1 56 56'/%3E%3C/svg%3E") center 40% / 55% no-repeat;
    pointer-events: none;
    z-index: 0;
}

.trainer-profile-photo--placeholder img {
    position: relative;
    z-index: 1;
}

/* Trainer photo — clickable */
.trainer-profile-photo img {
    cursor: zoom-in;
}

/* ===== Trainer Lightbox ===== */
.trainer-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease);
}

.trainer-lightbox.is-open {
    opacity: 1;
    pointer-events: all;
}

.trainer-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.trainer-lightbox-box {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: var(--radius-xl, 20px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 380px;
    width: calc(100% - 40px);
    box-shadow: 0 32px 80px rgba(10,10,10,0.45);
    transform: scale(0.92) translateY(16px);
    transition: transform 0.28s var(--ease-bounce, cubic-bezier(.34,1.56,.64,1));
}

.trainer-lightbox.is-open .trainer-lightbox-box {
    transform: scale(1) translateY(0);
}

.trainer-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10,10,10,0.55);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.18s;
}

.trainer-lightbox-close:hover { background: rgba(10,10,10,0.8); }
.trainer-lightbox-close svg { stroke: #fff; stroke-width: 2.2; fill: none; }

.trainer-lightbox-img-wrap {
    width: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trainer-lightbox-img {
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.trainer-lightbox-info {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.trainer-lightbox-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-2);
}

.trainer-lightbox-eyebrow.is-ep { color: var(--brand-1); }

.trainer-lightbox-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--forge-ink, #0a0a0a);
    line-height: 1.2;
}

.trainer-lightbox-badge-wrap {
    display: flex;
    gap: 6px;
}

.trainer-lightbox-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--brand-1);
    color: #fff;
}

.trainer-lightbox-badge.is-ai { background: var(--brand-2); }

.trainer-lightbox-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.trainer-lightbox-tag {
    padding: 4px 10px;
    background: rgba(21, 57, 127, 0.07);
    border: 1px solid rgba(21, 57, 127, 0.14);
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--brand-1);
}

/* ===== Who This Is For ===== */
.for-section {
    padding: 80px 0;
    background: #F8FAFC;
    overflow: hidden;
}

.for-marquee {
    position: relative;
    margin-top: 48px;
    overflow: hidden;
}

.for-fade {
    position: absolute;
    top: 0; bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.for-fade-left  { left: 0;  background: linear-gradient(90deg, #F8FAFC, transparent); }
.for-fade-right { right: 0; background: linear-gradient(270deg, #F8FAFC, transparent); }

.for-marquee-track {
    display: flex;
    gap: 24px;
    animation: for-slide 28s linear infinite;
    width: max-content;
    padding: 16px 0 24px;
}

.for-marquee:hover .for-marquee-track { animation-play-state: paused; }

.for-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0;
    text-align: left;
    box-shadow: 0 4px 20px rgba(21, 57, 127, 0.06);
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    width: 280px;
    flex-shrink: 0;
}

.for-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(21, 57, 127, 0.13);
}

.for-card-media {
    width: 100%;
    height: 180px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bg-2);
}

.for-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.for-card:hover .for-card-media img {
    transform: scale(1.08);
}

.for-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 24px 20px 28px;
}

.for-card-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-2);
}

.for-card-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-1);
    line-height: 1.25;
    margin: 0;
}

.for-card-desc {
    font-size: 0.875rem;
    color: #6B7280;
    line-height: 1.65;
    margin: 0;
}

@keyframes for-slide {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .for-marquee-track { animation-duration: 80s; }
}

/* ===== Outcome ===== */
.outcome-section {
    padding: 68px 0;
    background: linear-gradient(135deg, #050505 0%, #0A0A0A 50%, #171717 100%);
    position: relative;
    overflow: hidden;
}

.outcome-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.outcome-card {
    display: flex;
    gap: 14px;
    padding: 24px;
    background: rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease);
}

.outcome-card:hover {
    background: rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
}

.outcome-check {
    width: 34px;
    height: 34px;
    background: var(--brand-primary);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(229, 9, 20, 0.4);
}
.outcome-check .icon { width: 18px; height: 18px; stroke-width: 2.4; }

.outcome-card p {
    color: white;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

/* ===== Audience ===== */
.audience-section { padding: 68px 0; background: var(--bg-1); }

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.audience-card {
    padding: 36px 28px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xs);
}

.audience-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand-primary);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease);
    transform-origin: left;
}

.audience-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.audience-card:hover::after { transform: scaleX(1); }

.audience-emoji {
    font-size: 2.4rem;
    margin-bottom: 18px;
    display: inline-grid;
    place-items: center;
    width: 68px;
    height: 68px;
    background: var(--bg-2);
    border-radius: 18px;
    transition: all 0.4s var(--ease);
}

.audience-card:hover .audience-emoji {
    transform: scale(1.1) rotate(-8deg);
    background: var(--brand-primary);
}

.audience-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 12px;
}

.audience-card p {
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ===== FAQ ===== */
.faq-section { padding: 68px 0; }

.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s var(--ease);
    box-shadow: var(--shadow-xs);
}

.faq-item:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-md);
    background: rgba(15, 23, 42, 0.03);
}

.faq-q {
    width: 100%;
    background: transparent;
    border: none;
    padding: 22px 26px;
    text-align: left;
    color: var(--text-0);
    font-size: 1.02rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: color 0.25s var(--ease);
}

.faq-q:hover { color: var(--brand-primary); }

.faq-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 1.3rem;
    color: var(--brand-primary);
    transition: all 0.3s var(--ease);
    flex-shrink: 0;
    font-weight: 500;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: var(--grad-accent);
    color: white;
    border-color: transparent;
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
    padding: 0 26px;
}

.faq-item.active .faq-a {
    max-height: 300px;
    padding: 0 26px 22px;
}

.faq-a p {
    color: var(--text-2);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===== Final CTA ===== */
.cta-section { padding: 72px 0 88px; }

.cta-card {
    position: relative;
    padding: 80px 60px;
    background: linear-gradient(135deg, #15397F 0%, #0F2A5F 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    overflow: hidden;
    text-align: center;
    box-shadow: 0 30px 80px rgba(21, 57, 127, 0.28);
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.25), transparent 60%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.cta-content { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 28px;
}
.cta-eyebrow .icon { width: 14px; height: 14px; }

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.cta-title .title-gradient {
    background: linear-gradient(135deg, #FFD89B 0%, #FF6B35 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.cta-outcomes {
    list-style: none;
    padding: 0;
    margin: 0 auto 32px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
    max-width: 760px;
    text-align: left;
}

.cta-outcomes li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.4;
}

.cta-outcomes .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--brand-3, #10B981);
    stroke: currentColor;
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 640px) {
    .cta-outcomes {
        grid-template-columns: 1fr;
        gap: 10px;
        max-width: 360px;
    }
}

.cta-benefits {
    margin: 0 auto 28px;
    max-width: 880px;
    text-align: left;
}

.cta-benefits-title {
    text-align: center;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0 0 20px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 18px;
}

.cta-benefits-title::before,
.cta-benefits-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35));
}
.cta-benefits-title::before { right: 100%; transform: scaleX(-1); }
.cta-benefits-title::after { left: 100%; }

.cta-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 40px;
}

.cta-benefits-col {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 22px;
    backdrop-filter: blur(6px);
}

.cta-benefits-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-4, #F59E0B);
    margin-bottom: 14px;
}

.cta-benefits-col .cta-outcomes {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 0;
    max-width: none;
}

.cta-benefits-col .cta-outcomes li {
    align-items: flex-start;
    line-height: 1.5;
}

.cta-benefits-col .cta-outcomes .icon {
    margin-top: 3px;
}

.cta-closer {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
    margin: 0 0 22px;
    letter-spacing: 0.01em;
}

.cta-map-block {
    margin-top: 36px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.cta-map-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 600;
}

.cta-map-header svg { flex-shrink: 0; color: var(--brand-4, #F59E0B); }

.cta-map-directions {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: var(--brand-red);
    color: #fff;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.2s var(--ease), transform 0.2s var(--ease);
    white-space: nowrap;
}
.cta-map-directions:hover {
    background: var(--brand-red-dark);
    transform: translateY(-1px);
}

.cta-map-frame {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.1);
}
.cta-map-frame iframe { display: block; }

.cta-map-address {
    margin-top: 12px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}
.cta-map-address strong {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
}

@media (max-width: 700px) {
    .cta-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .cta-benefits-col { padding: 18px 18px; }
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-card .btn-ghost {
    background: rgba(15, 23, 42, 0.07);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-card .btn-ghost:hover {
    background: rgba(15, 23, 42, 0.12);
    border-color: white;
    color: white;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px 12px 14px;
    background: #25D366;
    color: white;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: all 0.3s var(--ease);
    animation: bobble 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 35px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg { width: 22px; height: 22px; fill: white; display: block; }
.whatsapp-float-icon { display: inline-flex; align-items: center; justify-content: center; }
.whatsapp-float-bubble { display: none; }

@keyframes bobble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

/* ===== Footer ===== */
.footer {
    padding: 70px 0 32px;
    background: linear-gradient(180deg, #15397F 0%, #0F2A5F 100%);
    color: rgba(255, 255, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .logo { color: white; }
.footer-brand .logo-accent { color: var(--brand-primary); }

.footer-brand p {
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.6;
    max-width: 320px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
}

.footer-col h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.92rem;
    transition: color 0.25s var(--ease);
}

.footer-col a:hover { color: var(--brand-red-light); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
}

.footer-tagline {
    color: var(--brand-2);
    font-weight: 700;
}

/* ===== Unit Connection Flow ===== */
.flow-section {
    padding: 68px 0;
    background:
        linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 100%);
    position: relative;
    overflow: hidden;
}

.flow-chain {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 0;
    align-items: stretch;
}

.chain-node {
    padding: 32px 24px 28px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s var(--ease);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.chain-node::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--grad-primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease);
}

.chain-node:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.chain-node:hover::before { transform: scaleY(1); }

.chain-node-final::before {
    background: var(--grad-accent);
    transform: scaleY(1);
}

.chain-badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-2);
    color: var(--brand-primary);
    border: 1px solid rgba(229, 9, 20, 0.3);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.chain-badge-final {
    background: var(--brand-primary);
    color: white;
    border-color: transparent;
}

.chain-arrow-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--brand-2);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.chain-node h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 10px;
    line-height: 1.3;
}

.chain-node p {
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.6;
}

.chain-link {
    width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--brand-1);
    font-size: 1.3rem;
    opacity: 0.6;
}

.chain-link::before {
    content: '→';
    font-weight: 700;
    animation: chainPulse 2s ease-in-out infinite;
}

@keyframes chainPulse {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(3px); }
}

/* ===== Student Spotlight ===== */
.spotlight-section {
    padding: 68px 0;
    background: var(--bg-0);
    position: relative;
    overflow: hidden;
}

.spotlight-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.spotlight-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(229, 9, 20, 0.1);
    color: var(--brand-primary);
    border: 1px solid rgba(229, 9, 20, 0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.spotlight-label .icon { width: 14px; height: 14px; }

.spotlight-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 24px;
    line-height: 1.1;
}

.spotlight-desc {
    color: var(--text-2);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.spotlight-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.spot-feat {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-1);
}

.feat-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-primary);
}

.spotlight-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
}

.spotlight-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-2);
    border: 1px solid var(--border);
    transition: all 0.5s var(--ease);
}

.card-main { transform: translateY(-20px); }
.card-sub { transform: translateY(20px); }

.spotlight-card:hover {
    transform: scale(1.02) translateY(0);
    z-index: 10;
    border-color: var(--brand-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.spotlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s var(--ease);
}

.spotlight-card:hover .spotlight-img {
    filter: brightness(1.1) contrast(1.05);
}

/* Red Branding Overlay */
.spotlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(229, 9, 20, 0.4) 0%, transparent 40%);
    opacity: 0.6;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.spotlight-card:hover::after {
    opacity: 0.8;
}

.spotlight-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: rgba(5, 5, 5, 0.7);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    z-index: 2;
}

.spotlight-caption h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.spotlight-caption p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    line-height: 1.4;
}

.spot-red-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}

.spotlight-card:hover .spot-red-glow { opacity: 1; }

@media (max-width: 1024px) {
    .spotlight-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .spotlight-features { align-items: center; }
    .card-main, .card-sub { transform: none; }
}

@media (max-width: 480px) {
    .spotlight-visual { grid-template-columns: 1fr; }
}

/* ===== AI Tools Showcase — Compact Horizontal Rail ===== */

.tools-section { padding: 0 0 68px; }

.tools-rail-wrap {
    position: relative;
    margin: 0 -24px 56px;
    padding: 0;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.tools-rail {
    display: flex;
    gap: 14px;
    padding: 14px 0 22px;
    width: max-content;
    animation: toolsMarquee 55s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

.tools-rail-wrap:hover .tools-rail,
.tools-rail:focus-within { animation-play-state: paused; }

@keyframes toolsMarquee {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .tools-rail { animation-duration: 180s; }
}

.tool-card {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 16px 16px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.35s var(--ease);
    box-shadow: var(--shadow-xs);
    position: relative;
}

.tool-card:hover {
    transform: translateY(-6px);
    border-color: var(--brand-1-light);
    box-shadow: var(--shadow-md);
}

.tool-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--bg-1);
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    flex-shrink: 0;
    transition: transform 0.35s var(--ease);
}

.tool-card:hover .tool-icon { transform: scale(1.08) rotate(-4deg); }

.tool-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Featured tool (NotebookLM star tool) */
.tool-card-featured {
    background: linear-gradient(155deg, rgba(66, 133, 244, 0.1), rgba(229, 9, 20, 0.1) 70%, rgba(15, 23, 42, 0.03));
    border: 1.5px solid rgba(229, 9, 20, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.tool-card-featured:hover {
    border-color: rgba(66, 133, 244, 0.6);
    box-shadow: 0 14px 36px rgba(66, 133, 244, 0.18);
}

.tool-card-featured .tool-icon {
    background: rgba(15, 23, 42, 0.05);
    border-color: rgba(15, 23, 42, 0.09);
}

.tool-pill-new {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 999px;
    background: var(--grad-warm);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: var(--shadow-xs);
}
.tool-pill-new .icon { width: 11px; height: 11px; }

.tool-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-0);
    line-height: 1.25;
    margin-top: 4px;
}

.tool-card p {
    color: var(--text-2);
    font-size: 0.8rem;
    line-height: 1.45;
    flex: 1;
}

.tool-tag {
    display: inline-block;
    padding: 3px 9px;
    background: var(--bg-2);
    color: var(--brand-1);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.03em;
    width: fit-content;
}

/* Rail nav buttons */
.tools-rail-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-3);
    border: 1px solid var(--border-hi);
    color: var(--brand-1);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 4;
    transition: all 0.25s var(--ease);
    padding: 0 0 4px;
}

.tools-rail-btn:hover {
    background: var(--brand-1);
    color: white;
    border-color: var(--brand-1);
    transform: translateY(-50%) scale(1.05);
}

.tools-rail-btn:disabled {
    opacity: 0;
    pointer-events: none;
}

.tools-rail-prev { left: 4px; }
.tools-rail-next { right: 4px; }

@media (max-width: 768px) {
    .tools-rail-btn { display: none; }
    .tool-card { flex: 0 0 180px; padding: 14px 14px 12px; }
}

/* Teaching Tips */
.teaching-tips {
    padding: 40px 36px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.tips-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-0);
    text-align: center;
    margin-bottom: 28px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.tip-card {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    align-items: flex-start;
    transition: all 0.3s var(--ease);
}

.tip-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-1);
    box-shadow: var(--shadow-sm);
}

.tip-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--grad-primary);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(21, 57, 127, 0.25);
}

.tip-card p {
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.55;
}

.tip-card p strong { color: var(--text-0); }

.tip-card-highlight {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(229, 9, 20, 0.05) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

.tip-card-highlight .tip-num { background: var(--grad-warm); }

/* ===== Student Activities ===== */
.activities-section {
    padding: 68px 0;
    background: var(--bg-1);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.activity-col {
    padding: 28px 24px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    transition: all 0.35s var(--ease);
    position: relative;
    overflow: hidden;
}

.activity-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}

.activity-col:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.activity-col:hover::before { transform: scaleX(1); }

.activity-col:nth-child(2)::before,
.activity-col:nth-child(4)::before { background: var(--grad-accent); }

.activity-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px dashed var(--border);
}

.activity-emoji {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: var(--bg-2);
    border-radius: 12px;
    transition: transform 0.3s var(--ease);
}

.activity-col:hover .activity-emoji { transform: scale(1.1) rotate(-6deg); }

.activity-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-0);
    line-height: 1.25;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.activity-list li {
    color: var(--text-2);
    font-size: 0.92rem;
    line-height: 1.55;
    padding-left: 22px;
    position: relative;
}

.activity-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border: 2px solid var(--brand-1);
    border-radius: 50%;
    background: var(--bg-1);
}

.activity-col:nth-child(2) .activity-list li::before,
.activity-col:nth-child(4) .activity-list li::before {
    border-color: var(--brand-2);
}

/* Highlighted main-focus activity column */
.activity-col-main {
    background: linear-gradient(180deg, rgba(229, 9, 20, 0.08), rgba(15, 23, 42, 0.02) 60%);
    border-color: rgba(229, 9, 20, 0.2);
}
.activity-col-main::before { transform: scaleX(1); background: var(--grad-primary); }
.activity-col-main .activity-emoji { background: rgba(21, 57, 127, 0.1); }

.activity-pill {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--grad-primary);
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    vertical-align: middle;
}

/* ===== Final Project ===== */
.project-section { padding: 68px 0; }

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 52px;
}

@media (max-width: 1100px) {
    .project-grid { grid-template-columns: repeat(2, 1fr); }
}

.project-option {
    padding: 36px 28px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.4s var(--ease);
    position: relative;
    box-shadow: var(--shadow-xs);
}

.project-option:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.project-option-featured {
    background: linear-gradient(135deg, #E50914 0%, #050505 100%);
    border-color: var(--brand-primary-light);
    box-shadow: var(--shadow-accent);
    transform: scale(1.04);
    position: relative;
    overflow: hidden;
}

.project-option-featured::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.07), transparent 60%);
    pointer-events: none;
}

.project-option-featured:hover { transform: scale(1.04) translateY(-8px); }

.project-option.project-option-featured .project-icon {
    color: #ffffff;
    position: relative;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.25));
}

.project-option.project-option-featured h3 {
    color: #ffffff;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.project-option.project-option-featured p {
    color: rgba(255, 255, 255, 0.95);
    position: relative;
}

.project-badge {
    display: inline-block;
    padding: 5px 12px;
    background: var(--bg-2);
    color: var(--brand-1);
    border: 1px solid rgba(21, 57, 127, 0.2);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    position: relative;
}

.project-option-featured .project-badge {
    background: var(--brand-primary-light);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.project-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 18px;
    background: rgba(229, 9, 20, 0.1);
    color: var(--brand-primary);
    border: 1px solid rgba(229, 9, 20, 0.2);
    transition: transform 0.4s var(--ease);
}
.project-icon .icon { width: 28px; height: 28px; }

.project-option:hover .project-icon { transform: scale(1.15) rotate(-5deg); }

.project-option h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 12px;
}

.project-option p {
    color: var(--text-2);
    font-size: 0.93rem;
    line-height: 1.65;
}

/* Project note — single-line summary that replaced the old 4-card requirements block */
.project-note {
    margin: 32px auto 0;
    max-width: 820px;
    text-align: center;
    color: var(--text-2);
    font-size: 1rem;
    line-height: 1.7;
    padding: 20px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.project-note strong { color: var(--text-1); font-weight: 600; }

/* Requirements — friendly, casual tone */
.project-requirements {
    padding: 40px 44px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: var(--shadow-xs);
}

.req-label {
    display: inline-block;
    padding: 7px 16px;
    background: var(--brand-primary);
    color: white;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 14px;
    box-shadow: var(--shadow-accent);
}

.req-intro {
    color: var(--text-2);
    font-size: 0.98rem;
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 620px;
}

.req-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.req-item {
    display: flex;
    gap: 16px;
    padding: 20px 22px;
    background: rgba(15, 23, 42, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease);
}

.req-item:hover {
    transform: translateY(-3px);
    border-color: var(--brand-1);
    box-shadow: var(--shadow-sm);
}

.req-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--grad-primary);
    color: white;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.25);
}

.req-item h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-0);
    margin-bottom: 5px;
}

.req-item p {
    color: var(--text-2);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ===== Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { height: 480px; max-width: 480px; margin: 0 auto; }

    .journey-flow { grid-template-columns: 1fr; gap: 12px; }
    .phase-connector { transform: rotate(90deg); padding: 8px 0; }

    .unit-card { padding: 32px 28px; }
    .curriculum-layout { grid-template-columns: 1fr; gap: 18px; }
    .unit-tabs-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; }
    .unit-tabs-side .unit-tab { flex: 1 1 calc(50% - 4px); padding: 14px 16px; }
    .unit-tabs-side .tab-arrow { display: none; }

    .teaching-grid { grid-template-columns: 1fr; gap: 60px; }

    .footer-top { grid-template-columns: 1fr; gap: 40px; }

    .flow-chain {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .chain-link { display: none; }

    .project-grid { grid-template-columns: 1fr; gap: 18px; }
    .project-option-featured { transform: scale(1); }
    .project-option-featured:hover { transform: translateY(-8px); }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-cta-mobile { display: inline-flex; }
    .mobile-toggle { display: flex; }
    .nav-content { gap: 8px; }

    .nav-links.mobile-open {
        display: flex;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid var(--border-hi);
        box-shadow: var(--shadow-lg);
        gap: 20px;
        z-index: 100;
    }

    .hero { padding: 88px 0 40px; }
    .meta-divider { display: none; }

    /* Hero: full-width single column, photos beside subtitle only */
    .hero-visual { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 0; }
    .hero-content { animation: none; }

    /* Collab strip + badge on one row */
    .hero-top-row {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 16px;
    }
    .hero-badge { margin-bottom: 0; }

    /* Shrink collab strip + badge */
    .collab-strip { font-size: 0.65rem; gap: 4px; padding: 6px 10px; flex-wrap: nowrap; }
    .collab-brand { font-size: 0.68rem; }
    .collab-logo-mini { height: 14px; width: 14px; }
    .collab-x svg { width: 12px; height: 12px; }
    .hero-badge { font-size: 0.62rem; padding: 4px 10px; }
    .badge-pulse { width: 6px; height: 6px; }
    .sph-card.is-main .student-photo-badge { font-size: 0.48rem; padding: 3px 5px; left: 4px; right: 4px; }

    /* Title full width */
    .hero-title { font-size: 1.5rem; }

    /* Subtitle + photos side by side */
    .hero-mid-row {
        display: flex;
        gap: 10px;
        align-items: stretch;
        margin-bottom: 20px;
        overflow: hidden;
    }
    .hero-mid-row .hero-subtitle { flex: 1; min-width: 0; margin-bottom: 0; font-size: 0.8rem; }
    .sph-hero-wrap { display: block; flex: 0 0 145px; min-height: 180px; overflow: hidden; }

    /* Compact marquee for the freed-up space */
    .hero-marquee { margin-top: 48px; padding: 48px 0 20px; }
    .marquee-track { gap: 32px; }
    .marquee-tool { width: 44px; height: 44px; border-radius: 12px; }
    .marquee-tool img { width: 26px; height: 26px; }

    .cursor-glow { display: none; }

    .message-card { padding: 40px 24px; }
    .equation {
        flex-direction: column;
        gap: 8px;
        font-size: 1rem;
    }
    .equation .eq-term, .equation .eq-result { width: fit-content; }
    .eq-op, .eq-equals { font-size: 1.2rem; }

    .objectives-grid { grid-template-columns: 1fr; }

    .day-dots { gap: 5px; }
    .day-dot { min-width: 36px; max-width: 44px; font-size: 0.78rem; border-radius: 8px; }

    .unit-tabs-side .unit-tab { flex: 1 1 100%; }

    .assessment-grid { grid-template-columns: 1fr; }

    .cta-card { padding: 50px 28px; }
    .cta-buttons { flex-direction: column; }
    .cta-buttons .btn { width: 100%; justify-content: center; }

    .footer-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .footer-bottom { flex-direction: column; text-align: center; padding-bottom: 72px; }

    .section-header { margin-bottom: 32px; }

    .whatsapp-float {
        bottom: 18px;
        right: 18px;
        padding: 0;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        justify-content: center;
        gap: 0;
        overflow: visible;
        background: radial-gradient(circle at 30% 30%, #3ee57e 0%, #25D366 55%, #10a84f 100%);
        box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.55);
        animation: waFloatPulse 2.2s ease-in-out infinite, bobble 2.5s ease-in-out infinite;
    }
    .whatsapp-float-label { display: none; }
    .whatsapp-float svg { width: 28px; height: 28px; }
    .whatsapp-float-icon::before {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 50%;
        border: 2px solid rgba(37, 211, 102, 0.55);
        animation: waFloatRing 2.2s ease-out infinite;
        pointer-events: none;
    }
    .whatsapp-float-bubble {
        display: inline-block;
        position: absolute;
        bottom: calc(100% + 10px);
        right: 0;
        background: linear-gradient(135deg, #25D366 0%, #10a84f 100%);
        color: #fff;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        padding: 7px 12px;
        border-radius: 12px;
        white-space: nowrap;
        box-shadow: 0 6px 18px rgba(16, 168, 79, 0.45), 0 0 14px rgba(37, 211, 102, 0.35);
        animation: waBubbleFloat 2.8s ease-in-out infinite;
        opacity: 0;
        transform: translateY(6px);
        pointer-events: none;
        transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
    }
    body.scrolled-past-hero .whatsapp-float-bubble {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
    .whatsapp-float-bubble::after {
        content: "";
        position: absolute;
        top: 100%;
        right: 18px;
        width: 0;
        height: 0;
        border: 6px solid transparent;
        border-top-color: #10a84f;
    }

    @keyframes waFloatPulse {
        0%, 100% { box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.55); }
        50%      { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.65), 0 0 0 14px rgba(37, 211, 102, 0); }
    }
    @keyframes waFloatRing {
        0%   { transform: scale(0.9); opacity: 0.8; }
        100% { transform: scale(1.5); opacity: 0; }
    }
    @keyframes waBubbleFloat {
        0%, 100% { transform: translateY(0); }
        50%      { transform: translateY(-3px); }
    }

    .flow-chain { grid-template-columns: 1fr; }
    .tool-card { flex: 0 0 170px; padding: 14px 14px 12px; }
    .activities-grid { grid-template-columns: 1fr; }
    .teaching-tips { padding: 28px 22px; }
    .project-requirements { padding: 28px 22px; }
    .req-items { grid-template-columns: 1fr; }

    /* Mobile performance: stop heavy GPU animations that cause scroll jank */
    .orb { animation: none !important; filter: blur(60px); }
    .orbit-ring { animation: none !important; }
    .orbit-particle { display: none; }
    .float-card { animation: none !important; }
    .brain-core { animation: none !important; }
    .cta-glow { animation: none !important; }
    .chain-link { animation: none !important; }

    /* Defer offscreen sections so scrolling repaints less */
    section { content-visibility: auto; contain-intrinsic-size: 900px; }

    /* Lighter blur on nav (backdrop-filter is expensive on mobile GPUs) */
    .navbar.scrolled, .nav-links.mobile-open {
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
    }

    /* Faster reveal animation so multiple simultaneous reveals don't stack */
    .reveal { transition: opacity 0.3s ease, transform 0.3s ease; }
}

/* ===== Curriculum — Mobile Accordion (≤768px only) ===== */
@media (max-width: 768px) {
    /* Timeline container */
    .curriculum-section .curriculum-layout {
        display: block;
        position: relative;
        padding-left: 56px;
    }

    /* Vertical line along the left */
    .curriculum-section .curriculum-layout::before {
        content: '';
        position: absolute;
        left: 19px;
        top: 16px;
        bottom: 16px;
        width: 2px;
        background: linear-gradient(to bottom, var(--brand-red), var(--brand-1));
        border-radius: 2px;
    }

    .curriculum-section .unit-tabs-side { display: none; }

    .curriculum-section .unit-content {
        display: block;
        animation: none;
        margin-bottom: 14px;
        position: relative;
    }

    /* Circle node on the timeline line */
    .curriculum-section .cv-node {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        left: -56px;
        top: 14px;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--bg-1);
        border: 2px solid var(--brand-red);
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.72rem;
        font-weight: 700;
        color: var(--brand-red);
        z-index: 2;
        transition: background 0.3s var(--ease), color 0.3s var(--ease);
    }

    .curriculum-section .unit-content.mobile-open .cv-node {
        background: var(--brand-red);
        color: #fff;
    }

    .curriculum-section .unit-card {
        display: block;
        padding: 16px 18px;
        border-radius: 14px;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        position: relative;
    }

    .curriculum-section .unit-card::before { display: none; }

    /* Card header: tag → days → title stacked */
    .curriculum-section .unit-info {
        display: flex;
        flex-direction: column;
        padding-right: 32px;
        position: relative;
    }

    .curriculum-section .unit-tag {
        order: 1;
        margin-bottom: 5px;
        font-size: 0.68rem;
        padding: 4px 10px;
    }

    /* Days always visible above the title */
    .curriculum-section .unit-stat {
        order: 2;
        display: flex;
        align-items: center;
        gap: 6px;
        padding-top: 0;
        border-top: none;
        margin-bottom: 6px;
    }

    .curriculum-section .unit-stat .stat-num {
        font-size: 0.82rem;
        font-weight: 700;
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        -webkit-text-fill-color: unset;
        color: var(--text-3);
        line-height: 1.4;
    }

    .curriculum-section .unit-stat .stat-label { font-size: 0.78rem; }

    .curriculum-section .unit-title {
        order: 3;
        font-size: 1.05rem;
        margin-bottom: 0;
        line-height: 1.35;
    }

    .curriculum-section .unit-desc { order: 4; }

    /* Collapsed: hide desc and details */
    .curriculum-section .unit-content .unit-desc,
    .curriculum-section .unit-content .unit-details { display: none; }

    /* Expanded: show desc and details */
    .curriculum-section .unit-content.mobile-open .unit-desc {
        display: block;
        margin-top: 12px;
        margin-bottom: 12px;
        font-size: 0.93rem;
    }

    .curriculum-section .unit-content.mobile-open .unit-details {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Chevron */
    .curriculum-section .unit-card::after {
        content: '';
        position: absolute;
        top: 20px;
        right: 18px;
        width: 9px;
        height: 9px;
        border-right: 2px solid var(--text-2);
        border-bottom: 2px solid var(--text-2);
        transform: rotate(45deg);
        transition: transform 0.3s var(--ease);
        pointer-events: none;
    }

    .curriculum-section .unit-content.mobile-open .unit-card::after {
        transform: rotate(-135deg);
        top: 24px;
    }
}

/* Disable sticky-hover lifts on touch devices */
@media (hover: none) {
    .tool-card:hover, .activity-card:hover, .audience-card:hover,
    .outcome-card:hover, .objective-card:hover, .phase-card:hover,
    .project-option:hover, .unit-tab:hover, .float-card:hover,
    .teaching-card:hover, .assessment-card:hover {
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .hero-title { font-size: 1.3rem; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; justify-content: center; }

    /* Reduce staggered offset on very small screens */
    .card-1 { transform: translateY(10px); }
    .card-3 { transform: translateY(20px); }
}

/* =================================================================
   CO-BRAND — English Partner × ForgeMind AI
================================================================= */

/* Navbar right-side cluster: ForgeMind lockup + CTA */
.nav-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

/* ForgeMind lockup: logo + wordmark stacked (logo left, text stacked right) */
.forgemind-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.05), rgba(10, 10, 10, 0.04));
    border: 1px solid rgba(229, 9, 20, 0.14);
    transition: all 0.3s var(--ease);
}

.forgemind-lockup:hover {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.08), rgba(10, 10, 10, 0.06));
    border-color: rgba(229, 9, 20, 0.32);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(229, 9, 20, 0.14);
}

.fm-logo-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(229, 9, 20, 0.22));
}

.fm-logo-svg {
    width: 44px;
    height: 44px;
    display: block;
}

/* Blink animation for the inline nav SVG (rendered via external stylesheet) */
@keyframes fmBlink {
    0%, 38%, 46%, 100% { transform: scaleY(1); }
    41%, 43% { transform: scaleY(0.05); }
}
.fm-blink {
    animation: fmBlink 2.8s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center;
}

/* Wordmark: "ForgeMindAI" with AI in brand red, subtitle below */
.fm-wordmark {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    gap: 3px;
}

.fm-word {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--forge-ink);
    letter-spacing: -0.01em;
    line-height: 1;
}

.fm-word-accent {
    color: var(--forge-red);
    margin-left: 1px;
}

.fm-sub {
    font-size: 0.66rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-3);
}

.navbar.scrolled .fm-logo-box {
    width: 40px;
    height: 40px;
    transition: all 0.3s var(--ease);
}
.navbar.scrolled .fm-logo-svg {
    width: 40px;
    height: 40px;
    transition: all 0.3s var(--ease);
}
.navbar.scrolled .fm-word { font-size: 0.98rem; }

/* Hero collab strip — sits above the hero badge */
.collab-strip {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 8px 16px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.06), rgba(21, 57, 127, 0.06));
    border: 1px solid rgba(229, 9, 20, 0.18);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-2);
}

.collab-label {
    color: var(--text-3);
    letter-spacing: 0.01em;
}

.collab-brands {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.collab-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: 0.01em;
}

.collab-brand-forgemind {
    color: var(--forge-red);
    transition: color 0.2s var(--ease);
}

.collab-brand-forgemind:hover { color: var(--brand-2-dark); }

.collab-x {
    display: inline-flex;
    align-items: center;
    color: var(--brand-red);
    opacity: 0.75;
    line-height: 0;
}
.collab-x svg {
    width: 18px;
    height: 18px;
    display: block;
}

.collab-logo-mini {
    height: 20px;
    width: 20px;
    display: inline-block;
    vertical-align: middle;
}

/* Footer co-brand lockup */
.logo-collab-footer {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
    margin-bottom: 18px;
}

.logo-collab-footer .logo-cross {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.75);
    line-height: 0;
}
.logo-collab-footer .logo-cross svg {
    width: 26px;
    height: 26px;
    display: block;
}


.footer-link-forgemind {
    color: #ff6b75;
    font-weight: 600;
    border-bottom: 1px dashed rgba(255, 107, 117, 0.4);
    transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.footer-link-forgemind:hover {
    color: #ff8a92;
    border-bottom-color: rgba(255, 138, 146, 0.7);
}

.footer-address {
    font-style: normal;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #25D366;
    font-size: 0.85rem;
    font-weight: 600;
    transition: opacity 0.2s var(--ease);
}
.footer-wa-link:hover { opacity: 0.8; }

/* Responsive tightening */
@media (max-width: 900px) {
    .forgemind-lockup { padding: 4px 8px 4px 4px; gap: 7px; }
    .fm-word { font-size: 0.92rem; }
    .fm-sub { display: none; }
    .nav-right { gap: 10px; }
}

@media (max-width: 768px) {
    .collab-strip {
        font-size: 0.72rem;
        padding: 7px 12px;
        gap: 6px;
        flex-wrap: nowrap;
    }
    .logo-img-forgemind { height: 38px; width: 38px; }
    .logo-collab-footer .logo-cross svg { width: 22px; height: 22px; }
    .fm-logo-box { width: 34px; height: 34px; }
    .fm-logo-svg { width: 34px; height: 34px; }
    .logo-img-ep-nav { height: 40px; padding: 4px 8px; }
    .nav-logo-cross { display: none; }
    .nav-collab { gap: 8px; }
    .forgemind-lockup { padding: 2px 8px 2px 2px; gap: 6px; }
    .fm-word { font-size: 0.82rem; }
    .fm-sub { display: none; }
    .mobile-toggle { padding: 8px; }
    .mobile-toggle span { width: 18px; }

    /* Prevent logos growing on scroll — clamp scrolled sizes to mobile defaults */
    .navbar.scrolled .logo-img-ep-nav { height: 40px; padding: 4px 8px; }
    .navbar.scrolled .fm-logo-box { width: 34px; height: 34px; }
    .navbar.scrolled .fm-logo-svg { width: 34px; height: 34px; }
    .navbar.scrolled .fm-word { font-size: 0.82rem; }
}

@media (max-width: 420px) {
    .logo-img-ep-nav { height: 36px; padding: 3px 6px; }
    .fm-logo-box { width: 30px; height: 30px; }
    .fm-logo-svg { width: 30px; height: 30px; }
    .nav-collab { gap: 6px; }
    .fm-word { font-size: 0.75rem; }
    .forgemind-lockup { padding: 2px 7px 2px 2px; gap: 5px; }
    .nav-cta-mobile { padding: 7px 11px; font-size: 0.72rem; }
    .nav-content { gap: 6px; }
    .navbar.scrolled .logo-img-ep-nav { height: 36px; padding: 3px 6px; }
    .navbar.scrolled .fm-logo-box { width: 30px; height: 30px; }
    .navbar.scrolled .fm-logo-svg { width: 30px; height: 30px; }
    .navbar.scrolled .fm-word { font-size: 0.75rem; }
    /* On very small screens hide the label, show only the Tamil glyph */
    .translate-btn .translate-label { display: none; }
    .translate-btn { padding: 6px 10px; }
}

@media (max-width: 360px) {
    .fm-wordmark { display: none; }
    .forgemind-lockup { padding: 2px; }
}

@media (max-width: 480px) {
    .logo-collab-footer { gap: 8px; }
    .logo-collab-footer .logo-img-forgemind { height: 48px; width: 48px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.footer-link-ep {
    color: #A8C3FF;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(168, 195, 255, 0.4);
    transition: all 0.2s var(--ease);
}

.footer-link-ep:hover {
    color: white;
    text-decoration-color: white;
}

/* ===== Syllabus button + PDF modal ===== */
.syllabus-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
}

.syllabus-btn,
.syllabus-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.syllabus-btn .icon,
.syllabus-download .icon {
    width: 16px;
    height: 16px;
}

.pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: stretch;
    justify-content: center;
    padding: 4vh 4vw;
}
.pdf-modal.is-open { display: flex; }

.pdf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.pdf-modal-inner {
    position: relative;
    width: min(100%, 1060px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    background: var(--bg-1);
    border: 1px solid var(--border-hi);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    animation: pdfModalIn 0.28s var(--ease);
}

@keyframes pdfModalIn {
    from { transform: translateY(16px) scale(0.98); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.pdf-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    flex-shrink: 0;
}

.pdf-modal-titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pdf-modal-eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
}
.pdf-modal-titles h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-0);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pdf-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    font-size: 0.85rem;
}
.pdf-download .icon { width: 16px; height: 16px; }

.pdf-modal-close {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-1);
    cursor: pointer;
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pdf-modal-close:hover {
    background: rgba(229, 9, 20, 0.12);
    border-color: rgba(229, 9, 20, 0.4);
    color: var(--text-0);
}
.pdf-modal-close .icon { width: 18px; height: 18px; }

.pdf-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-0);
    min-height: 0;
}

.pdf-modal-frame {
    width: 100%;
    flex: 1;
    min-height: 320px;
    border: 0;
    background: #1a1a1a;
}

.pdf-modal-fallback {
    padding: 10px 16px;
    font-size: 0.82rem;
    color: var(--text-3);
    text-align: center;
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}
.pdf-modal-fallback a {
    color: var(--brand-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pdf-modal-fallback a:hover { color: var(--brand-primary-light); }

body.pdf-modal-open { overflow: hidden; }

@media (max-width: 720px) {
    .pdf-modal { padding: 0; }
    .pdf-modal-inner { max-height: 100vh; width: 100%; border-radius: 0; border: 0; }
    .pdf-modal-header { padding: 12px 14px; gap: 10px; }
    .pdf-modal-titles h3 { font-size: 0.95rem; }
    .pdf-download { padding: 8px 12px; font-size: 0.78rem; }
    .pdf-download .label { display: none; }
}
