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

:root {
    --bg:          #0A0E14;
    --fg:          #FFFFFF;
    --gold:        #FFD700;
    --cyan:        #00CED1;
    --blue:        #4A90FF;
    --green:       #00E676;
    --orange:      #FF7043;
    --purple:      #AB47BC;
    --surface:     #121820;
    --surface-lt:  #1A2330;
    --muted:       #8892A0;
    --border:      #2D3748;
    --radius:      16px;
    --radius-sm:   10px;
    --transition:  0.2s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--fg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.8; }
img { max-width: 100%; display: block; }

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--surface { background: var(--surface); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--muted); }

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; font-size: 1rem; font-weight: 600;
    border-radius: 100px; border: none; cursor: pointer;
    transition: all var(--transition); text-decoration: none;
}
.btn--gold { background: var(--gold); color: var(--bg); }
.btn--gold:hover { opacity: 0.9; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn--outline:hover { border-color: var(--gold); color: var(--fg); }
.btn--dark { background: var(--fg); color: var(--bg); border-radius: 14px; }
.btn--dark:hover { opacity: 0.9; }

/* ===== Nav ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    border-bottom: 1px solid var(--border);
    background: rgba(10, 14, 20, 0.8); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__brand { font-size: 1.25rem; font-weight: 700; color: var(--gold); text-decoration: none; }
.nav__links { display: flex; gap: 24px; list-style: none; }
.nav__links a { font-size: 0.9rem; color: var(--muted); text-decoration: none; transition: color var(--transition); }
.nav__links a:hover { color: var(--fg); }
.nav__cta { font-size: 0.9rem; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--fg); border-radius: 2px; margin: 5px 0; }

/* ===== Hero ===== */
.hero { position: relative; padding: 140px 0 100px; text-align: center; overflow: hidden; }
.hero__glow {
    position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
    width: 400px; height: 400px; border-radius: 50%;
    background: rgba(255, 215, 0, 0.08); filter: blur(100px); pointer-events: none;
}
.hero__content { position: relative; max-width: 720px; margin: 0 auto; }
.hero h1 { font-size: 4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.hero h1 .gradient {
    background: linear-gradient(135deg, var(--gold), var(--cyan), var(--blue));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero__sub { font-size: 1.15rem; color: var(--muted); max-width: 580px; margin: 24px auto 40px; line-height: 1.7; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== Subject Cards ===== */
.subjects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.subject-card {
    border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
    background: var(--surface); transition: all 0.3s ease;
}
.subject-card:hover { transform: translateY(-4px); border-color: rgba(255, 215, 0, 0.3); }
.subject-card__icon { font-family: monospace; font-size: 2rem; font-weight: 700; margin-bottom: 12px; }
.subject-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.subject-card__tagline { font-size: 0.85rem; color: var(--muted); margin-bottom: 12px; }
.subject-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.subject-card__topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic-tag { font-size: 0.75rem; padding: 4px 12px; border-radius: 100px; background: var(--surface-lt); color: var(--muted); }

.color-gold { color: var(--gold); }
.color-blue { color: var(--blue); }
.color-green { color: var(--green); }
.color-orange { color: var(--orange); }
.color-purple { color: var(--purple); }

/* ===== How It Works ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.step__number {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; background: var(--gold);
    color: var(--bg); font-size: 1.25rem; font-weight: 700; margin: 0 auto 16px;
}
.step h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ===== Features Grid ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
    border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
    background: var(--surface);
}
.feature-card__icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ===== Parents/Teachers ===== */
.parents { text-align: center; }
.parents__intro { max-width: 640px; margin: 0 auto 40px; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.parents__intro .highlight { color: var(--gold); font-weight: 600; }
.parents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.parents-card {
    border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
    background: var(--surface);
}
.parents-card__icon { font-size: 1.75rem; margin-bottom: 12px; }
.parents-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.parents-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 800px; margin: 0 auto; }
.price-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; background: var(--surface); }
.price-card--featured { border-color: var(--gold); background: rgba(255, 215, 0, 0.03); }
.price-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.price-card__amount { font-size: 2.75rem; font-weight: 800; }
.price-card__period { font-size: 0.9rem; color: var(--muted); }
.price-card__desc { font-size: 0.9rem; color: var(--muted); margin: 8px 0 24px; }
.price-card__btn {
    display: block; text-align: center; padding: 14px; border-radius: 100px;
    font-weight: 600; text-decoration: none; margin-bottom: 24px; transition: opacity var(--transition);
}
.price-card__btn:hover { opacity: 0.9; }
.price-card__btn--gold { background: var(--gold); color: var(--bg); }
.price-card__btn--muted { background: var(--surface-lt); color: var(--fg); }
.price-card ul { list-style: none; }
.price-card li { font-size: 0.9rem; padding: 6px 0; display: flex; align-items: start; gap: 10px; }
.price-card li .check { color: var(--green); }
.price-card li .dash { color: var(--muted); }

.edu-banner {
    border: 1px solid var(--border); border-radius: var(--radius); padding: 36px;
    background: var(--surface); text-align: center; max-width: 800px; margin: 48px auto 0;
}
.edu-banner h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.edu-banner p { color: var(--muted); font-size: 0.95rem; margin-bottom: 16px; }

/* ===== QuickTutor Coming Soon ===== */
.coming-soon {
    text-align: center; border: 1px solid var(--border); border-radius: var(--radius);
    padding: 48px 32px; background: var(--surface); max-width: 700px; margin: 0 auto;
}
.coming-soon__badge {
    display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--cyan); background: rgba(0, 206, 209, 0.1);
    padding: 6px 18px; border-radius: 100px; margin-bottom: 20px;
}
.coming-soon h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 12px; }
.coming-soon p { color: var(--muted); max-width: 520px; margin: 0 auto; line-height: 1.7; }

/* ===== Download CTA ===== */
.download { text-align: center; }
.download__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.download__note { font-size: 0.8rem; color: var(--muted); opacity: 0.7; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 64px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand p { font-size: 0.9rem; color: var(--muted); margin-top: 12px; }
.footer__address { font-size: 0.8rem; line-height: 1.7; }
.footer__email { font-size: 0.8rem; margin-top: 8px; }
.footer__col h4 { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }
.footer__col ul { list-style: none; }
.footer__col li { margin-bottom: 10px; }
.footer__col a { font-size: 0.9rem; color: var(--muted); text-decoration: none; }
.footer__col a:hover { color: var(--fg); }
.footer__bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; font-size: 0.85rem; color: var(--muted); }

/* ===== Legal Pages ===== */
.legal { padding: 120px 0 80px; }
.legal__content { max-width: 720px; margin: 0 auto; }
.legal__content h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 8px; }
.legal__content .date { font-size: 0.9rem; color: var(--muted); margin-bottom: 48px; }
.legal__content h2 { font-size: 1.25rem; font-weight: 700; margin-top: 40px; margin-bottom: 12px; }
.legal__content h3 { font-size: 1rem; font-weight: 600; margin-top: 20px; margin-bottom: 8px; }
.legal__content p, .legal__content li { color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.legal__content ul { padding-left: 20px; margin-bottom: 12px; }
.legal__content li { margin-bottom: 8px; }

/* ===== Contact Page ===== */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }
.contact-card {
    border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
    background: var(--surface);
}
.contact-card__icon { font-size: 2rem; margin-bottom: 16px; }
.contact-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.faq { border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; background: var(--surface); }
.faq h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; }
.faq__item { margin-bottom: 24px; }
.faq__item:last-child { margin-bottom: 0; }
.faq__item h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.faq__item p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .subjects-grid, .features-grid, .parents-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav__links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px 24px; gap: 12px; }
    .nav__links.active { display: flex; }
    .nav__toggle { display: block; }
    .hero { padding: 110px 0 72px; }
    .hero h1 { font-size: 2.5rem; }
    .section { padding: 72px 0; }
    .section-header h2 { font-size: 2rem; }
    .subjects-grid, .features-grid, .parents-grid, .steps-grid, .contact-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .download__btns { flex-direction: column; align-items: center; }
}
