/* =============================================
   BEAM Academy - Shared Styles
   Extracted from subject pages & homepage
   ============================================= */

/* Font Fallbacks (CLS prevention) */
@font-face {
    font-family: 'Fraunces-fallback';
    src: local('Georgia');
    ascent-override: 95%;
    descent-override: 25%;
    line-gap-override: 0%;
    size-adjust: 105%;
}

@font-face {
    font-family: 'Bricolage-fallback';
    src: local('system-ui');
    ascent-override: 90%;
    descent-override: 22%;
    size-adjust: 102%;
}

/* =====================
   CSS VARIABLES
   ===================== */
:root {
    /* Purple Scale */
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --purple-300: #d8b4fe;
    --purple-400: #c084fc;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --purple-700: #7c3aed;
    --purple-800: #6b21a8;
    --purple-900: #581c87;

    /* Gray Scale */
    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-900: #18181b;
    --white: #ffffff;

    /* Accent */
    --accent-warm: #f59e0b;
    --accent-warm-light: #fbbf24;

    /* Spacing (8px base) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.5rem;
    --space-6: 2rem;
    --space-8: 3rem;
    --space-10: 4rem;
    --space-12: 6rem;
    --space-16: 8rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-purple: 0 8px 30px rgba(124, 58, 237, 0.2);

    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Fluid Type Scale */
    --text-xs: clamp(0.833rem, 0.79rem + 0.21vw, 0.96rem);
    --text-sm: clamp(0.938rem, 0.88rem + 0.29vw, 1.1rem);
    --text-base: clamp(1.063rem, 0.98rem + 0.41vw, 1.313rem);
    --text-lg: clamp(1.2rem, 1.09rem + 0.55vw, 1.5rem);
    --text-xl: clamp(1.35rem, 1.2rem + 0.75vw, 1.75rem);
    --text-2xl: clamp(1.52rem, 1.32rem + 1vw, 2.1rem);
    --text-3xl: clamp(1.71rem, 1.44rem + 1.35vw, 2.5rem);
    --text-4xl: clamp(1.93rem, 1.56rem + 1.85vw, 3.25rem);
    --text-5xl: clamp(2.17rem, 1.68rem + 2.45vw, 3.75rem);
    --text-hero: clamp(2.75rem, 2rem + 3.75vw, 5rem);

    /* Line Height */
    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.65;

    /* Letter Spacing */
    --tracking-tight: -0.025em;
    --tracking-normal: 0;
    --tracking-wide: 0.05em;

    /* Fonts */
    --font-display: 'Fraunces', 'Fraunces-fallback', Georgia, serif;
    --font-body: 'Bricolage Grotesque', 'Bricolage-fallback', 'Outfit', system-ui, sans-serif;

    /* Focus */
    --focus-ring: 0 0 0 3px rgba(124, 58, 237, 0.4);
}

/* =====================
   RESET & BASE
   ===================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* Touch target accessibility (44px minimum) */
a, button, [role="button"],
input[type="submit"], input[type="button"], input[type="reset"],
.btn, .nav-link, .nav-cta, .mobile-toggle {
    min-height: 44px;
    min-width: 44px;
}

input, textarea, select, button {
    font-size: 16px;
    min-height: 44px;
    touch-action: manipulation;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

p {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--gray-900);
}

h1 { font-size: var(--text-5xl); font-weight: 700; }
h2 { font-size: var(--text-4xl); font-weight: 600; }
h3 { font-size: var(--text-2xl); font-weight: 600; }

h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: var(--leading-snug);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* =====================
   LAYOUT
   ===================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =====================
   UTILITY BAR
   ===================== */
.utility-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-2) 0;
    font-size: var(--text-sm);
}

.utility-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--white);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 500;
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
    transition: background var(--transition-fast);
    min-height: 44px;
}

.phone-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.phone-link svg {
    flex-shrink: 0;
}

/* =====================
   NAVIGATION
   ===================== */
.nav {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav .logo { color: var(--purple-700); }
.nav .nav-link { color: var(--gray-600); }
.nav .nav-link:hover { color: var(--purple-700); }
.nav .nav-cta { background: var(--purple-700); border: none; }
.nav .nav-cta:hover { background: var(--purple-800); }

.nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple-700);
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    transition: color 0.3s ease;
}

.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: rotate(15deg) scale(1.1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    padding: 8px 4px;
    border-radius: 6px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--purple-700); }

.nav-cta {
    background: var(--purple-700);
    color: white;
    padding: 12px 24px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-cta:hover {
    background: var(--purple-800);
    transform: translateY(-1px);
}

/* Subjects Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--gray-200);
    padding: 12px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--gray-700);
    border-radius: var(--radius-md);
    transition: all 0.15s ease;
}

.nav-dropdown-menu a:hover {
    background: var(--purple-50);
    color: var(--purple-700);
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 8px 0;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.mobile-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
    position: fixed;
    top: 116px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-700);
    display: block;
    padding: 8px 0;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--purple-700);
    color: white;
    border: 3px solid var(--gray-900);
    box-shadow: 4px 4px 0 var(--gray-900);
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn-primary:hover {
    background: var(--purple-600);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--gray-900);
}

.btn-primary:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--gray-900);
}

.btn-lime {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4) var(--space-6);
    background: var(--purple-700);
    color: white;
    font-family: var(--font-body);
    font-size: var(--text-lg);
    font-weight: 600;
    border: 3px solid var(--gray-900);
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--gray-900);
    transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.btn-lime:hover {
    background: var(--purple-600);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--gray-900);
}

.btn-lime:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--gray-900);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    border-color: var(--purple-300);
    color: var(--purple-700);
    background: var(--purple-50);
    transform: translateY(-2px);
}

/* =====================
   HERO SECTION
   ===================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-16) 0 var(--space-12);
    background: var(--purple-50);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 70%;
    background: radial-gradient(ellipse, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-grain {
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%25" height="100%25" filter="url(%23n)"/></svg>');
    opacity: 0.04;
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    animation: fadeInUp 0.8s ease;
}

.hero-category {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--tracking-wide);
    color: var(--purple-600);
    background: var(--purple-100);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    border: 1px solid var(--purple-200);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: var(--text-hero);
    font-weight: 700;
    font-variation-settings: 'WONK' 1, 'SOFT' 50;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--gray-900);
    transform: rotate(-4deg);
    transform-origin: left center;
    margin-bottom: var(--space-6);
}

.hero h1 span {
    color: var(--purple-600);
}

.hero-description {
    font-family: var(--font-body);
    font-size: var(--text-xl);
    line-height: var(--leading-normal);
    color: var(--gray-600);
    max-width: 50ch;
    margin-bottom: var(--space-8);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.hero-testimonial {
    margin-top: 24px;
    padding: 12px 20px;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--gray-600);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.hero-testimonial .testimonial-star {
    background: var(--accent-warm);
    color: var(--gray-900);
    padding: 4px 10px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
}

.hero-visual {
    position: relative;
    animation: fadeIn 1s ease 0.3s both;
    margin-right: -40px;
}

.hero-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--purple-600);
    margin-bottom: 4px;
}

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

/* =====================
   SECTION STYLES
   ===================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 600;
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-tight);
    color: var(--gray-900);
    margin-bottom: var(--space-6);
}

.section-title span {
    color: var(--purple-700);
}

.section-description {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    line-height: var(--leading-normal);
    color: var(--gray-500);
}

/* =====================
   PAIN POINTS SECTION
   ===================== */
.pain-points {
    background: var(--white);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.pain-card {
    padding: 32px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.pain-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.pain-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.pain-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: var(--leading-normal);
}

/* =====================
   APPROACH SECTION
   ===================== */
.approach-section {
    background: var(--purple-50);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.approach-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.12);
    border-color: var(--purple-200);
}

.approach-icon {
    width: 64px;
    height: 64px;
    background: var(--purple-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.approach-card h3,
.approach-card h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.approach-card p {
    font-size: var(--text-sm);
    color: var(--gray-500);
    line-height: var(--leading-normal);
}

/* =====================
   CURRICULUM / TOPICS
   ===================== */
.topics-section {
    background: var(--white);
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.topic-category {
    background: var(--gray-50);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--gray-200);
}

.topic-category h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.topic-category h3 .icon {
    width: 40px;
    height: 40px;
    background: var(--purple-100);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.topic-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.topic-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-600);
    font-size: var(--text-base);
}

.topic-list li::before {
    content: '\2713';
    color: var(--purple-600);
    font-weight: 600;
}

/* Topic cards (physics/chemistry style) */
.topic-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--purple-200);
}

.topic-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.topic-card p {
    color: var(--gray-600);
    font-size: var(--text-base);
}

.topic-badge {
    display: inline-block;
    background: var(--purple-100);
    color: var(--purple-700);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* =====================
   TUTOR CARDS
   ===================== */
.tutors-section {
    background: var(--gray-50);
}

.tutors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.tutor-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s ease;
}

.tutor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(124, 58, 237, 0.12);
    border-color: var(--purple-200);
}

.tutor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--purple-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
    color: var(--purple-600);
    font-weight: 700;
    font-family: var(--font-display);
}

.tutor-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.tutor-role {
    font-size: var(--text-sm);
    color: var(--purple-600);
    font-weight: 500;
    margin-bottom: 16px;
}

.tutor-credentials {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tutor-credentials li {
    font-size: var(--text-sm);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tutor-credentials li::before {
    content: '\2713';
    color: var(--purple-600);
    font-weight: 600;
    font-size: 0.85rem;
}

/* =====================
   RESULTS / STATS
   ===================== */
.results-section {
    background: var(--white);
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.result-stat {
    text-align: center;
    padding: 32px;
    background: var(--purple-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--purple-100);
}

.result-stat .stat-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--purple-600);
    margin-bottom: 8px;
}

.result-stat .stat-label {
    font-size: var(--text-sm);
    color: var(--gray-600);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
}

.testimonial-card blockquote {
    font-size: var(--text-base);
    color: var(--gray-700);
    line-height: var(--leading-normal);
    margin-bottom: 16px;
    font-style: italic;
}

.testimonial-author {
    font-size: var(--text-sm);
    color: var(--gray-500);
    font-weight: 500;
}

/* =====================
   HOW IT WORKS
   ===================== */
.how-it-works {
    background: var(--gray-50);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.how-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.how-icon {
    width: 48px;
    height: 48px;
    background: var(--purple-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.how-item h3 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.how-item p {
    font-size: var(--text-sm);
    color: var(--gray-500);
}

/* =====================
   PRICING
   ===================== */
.pricing-section {
    background: var(--white);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid var(--gray-200);
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    background: var(--white);
    border-color: var(--purple-300);
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.15);
    transform: scale(1.02);
}

.pricing-card h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.pricing-amount {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--purple-600);
    margin-bottom: 8px;
}

.pricing-period {
    font-size: var(--text-sm);
    color: var(--gray-500);
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: var(--text-sm);
    color: var(--gray-600);
}

.pricing-features li::before {
    content: '\2713';
    color: var(--purple-600);
    font-weight: 600;
    flex-shrink: 0;
}

/* =====================
   FAQ
   ===================== */
.faq-section {
    background: var(--gray-50);
}

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--gray-900);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question:hover {
    color: var(--purple-700);
}

.faq-icon {
    font-size: 1.25rem;
    color: var(--purple-600);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 32px 24px;
    color: var(--gray-600);
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
}

/* =====================
   CTA SECTION
   ===================== */
.cta-section {
    background: linear-gradient(135deg, var(--purple-700), var(--purple-800));
    color: white;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-4);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    background: white;
    color: var(--purple-700);
    border: 3px solid var(--gray-900);
    box-shadow: 4px 4px 0 var(--gray-900);
}

.cta-section .btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--gray-900);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

/* =====================
   CONTACT SECTION
   ===================== */
.contact {
    background: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--gray-900);
    margin-bottom: 24px;
}

.contact-info > p {
    color: var(--gray-600);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--purple-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item-label {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-item-value {
    font-size: 1.1rem;
    color: var(--gray-900);
}

.form-trust-signal {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, rgba(124, 58, 237, 0.04) 100%);
    border-radius: 12px;
    margin-top: 24px;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.form-trust-signal .trust-rating {
    background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
    color: white;
    padding: 6px 12px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.form-trust-signal .trust-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.4;
}

.form-trust-signal .trust-text strong {
    color: var(--purple-700);
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.contact-form-subtitle {
    color: var(--gray-500);
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-input,
.form-textarea,
.form-select {
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-800);
    transition: all 0.2s ease;
    background: var(--white);
    min-height: 44px;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--purple-500);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-submit {
    width: 100%;
    justify-content: center;
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-top: 8px;
}

.form-next-step {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-top: 4px;
}

/* =====================
   FOOTER
   ===================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 60px 0 30px;
}

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

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--gray-400);
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--purple-600), var(--purple-700));
    transform: translateY(-2px);
}

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    color: var(--gray-400);
    transition: color 0.2s ease;
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple-400);
    transition: width 200ms ease;
}

.footer-link:hover {
    color: var(--purple-400);
}

.footer-link:hover::after {
    width: 100%;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a:hover {
    color: var(--purple-400);
}

/* =====================
   ANIMATIONS
   ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 1024px) {
    .hero-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-visual {
        margin-right: 0;
    }

    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .results-stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .utility-bar .container {
        justify-content: center;
    }

    .phone-link {
        flex: 1;
        justify-content: center;
        max-width: 280px;
    }

    .nav-links { display: none; }
    .mobile-toggle { display: flex; }

    section { padding: 60px 0; }

    .hero {
        padding: var(--space-12) 0 var(--space-8);
    }

    .hero h1 {
        transform: rotate(-2deg);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-lime {
        width: 100%;
        text-align: center;
    }

    .pain-grid,
    .topics-grid,
    .approach-grid,
    .how-grid {
        grid-template-columns: 1fr;
    }

    .results-stats {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .form-trust-signal {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-testimonial {
        flex-direction: column;
        text-align: center;
    }
}

/* =====================
   MODULE LIST (subject hero cards)
   ===================== */
.module-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.module-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--purple-50);
    border-radius: 8px;
    font-size: var(--text-base);
    color: var(--gray-800);
}

.module-badge {
    background: var(--purple-600);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}
