:root {
    --aqua: #06B6D4;
    --aqua-dark: #0891B2;
    --aqua-light: #ECFEFF;
    --purple: #7C3AED;
    --purple-light: #A78BFA;
    --purple-soft: #F5F3FF;
    --dark: #0F172A;
    --gray: #64748B;
    --light: #F8FAFC;
    --white: #FFFFFF;
    --radius: 14px;
    --shadow: 0 8px 32px rgba(6, 182, 212, 0.08);
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    color: var(--dark);
    line-height: 1.65;
    background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aqua-dark); text-decoration: none; }
a:hover { color: var(--purple); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }

/* Flow decoration */
.flow-bg {
    position: relative;
    overflow: hidden;
}
.flow-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 182, 212, 0.12);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    min-height: 76px;
}
.logo {
    display: flex; align-items: center; gap: 0.65rem;
    font-family: var(--font-head); font-weight: 700; font-size: 1.3rem;
    color: var(--dark);
}
.logo-stream {
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, var(--aqua) 0%, var(--purple) 100%);
    position: relative;
    overflow: hidden;
}
.logo-stream::after {
    content: '';
    position: absolute; inset: 8px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 6px;
    border-top-color: transparent;
    transform: rotate(-45deg);
}
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a { color: var(--dark); font-weight: 500; font-size: 0.95rem; }
.main-nav a.active { color: var(--aqua-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.8rem 1.6rem; border-radius: var(--radius);
    font-weight: 600; font-size: 0.95rem; border: 2px solid transparent;
    cursor: pointer; transition: all 0.25s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--aqua), var(--aqua-dark));
    color: white;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(6, 182, 212, 0.35);
    color: white;
}
.btn-secondary {
    background: var(--purple); color: white;
}
.btn-secondary:hover { background: #6D28D9; color: white; }
.btn-outline {
    background: transparent; border-color: var(--aqua); color: var(--aqua-dark);
}
.btn-outline:hover { background: var(--aqua-light); color: var(--aqua-dark); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; }

/* Hero */
.hero {
    padding: 4.5rem 0 5.5rem;
    background: linear-gradient(165deg, var(--white) 0%, var(--aqua-light) 45%, var(--purple-soft) 100%);
    overflow: hidden;
    position: relative;
}
.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--aqua), var(--purple-light), var(--aqua));
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero h1 {
    font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.85rem);
    line-height: 1.12; margin-bottom: 1.25rem;
}
.hero h1 span {
    background: linear-gradient(135deg, var(--aqua-dark), var(--purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-lead { font-size: 1.125rem; color: var(--gray); margin-bottom: 1.5rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-img {
    border-radius: var(--radius); box-shadow: var(--shadow);
    overflow: hidden; border: 1px solid rgba(6, 182, 212, 0.15);
}
.hero-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Trust bar */
.trust-bar {
    background: linear-gradient(90deg, var(--dark), #1E293B);
    color: white; padding: 0.8rem 0;
    font-size: 0.875rem; text-align: center;
}
.trust-bar span { margin: 0 1rem; opacity: 0.92; }

/* Domain callout */
.domain-callout { padding: 2.5rem 0; background: var(--light); }
.callout-box {
    padding: 2rem 2.25rem; background: white; border-radius: var(--radius);
    border-left: 4px solid var(--aqua);
    box-shadow: var(--shadow);
    position: relative;
}
.callout-box::before {
    content: '';
    position: absolute; top: 0; right: 0; width: 120px; height: 100%;
    background: linear-gradient(135deg, transparent, rgba(124, 58, 237, 0.04));
    border-radius: 0 var(--radius) var(--radius) 0;
}
.callout-box h2 { font-family: var(--font-head); font-size: 1.35rem; margin-bottom: 0.75rem; }

/* Stats */
.stats-section { padding: 3.5rem 0; }
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat-card {
    text-align: center; padding: 1.75rem 1.25rem;
    background: white; border-radius: var(--radius);
    border: 1px solid rgba(6, 182, 212, 0.12);
    transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.stat-num {
    font-family: var(--font-head); font-size: 2rem; font-weight: 700;
    background: linear-gradient(135deg, var(--aqua-dark), var(--purple));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 0.875rem; color: var(--gray); margin-top: 0.5rem; }

/* Cards */
.section { padding: 4rem 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 2.5rem; }
.section-header h2 { font-family: var(--font-head); font-size: 2rem; margin-bottom: 0.75rem; }
.section-header p { color: var(--gray); }
.cards-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.card {
    background: white; border-radius: var(--radius); overflow: hidden;
    border: 1px solid rgba(6, 182, 212, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(124, 58, 237, 0.15);
}
.card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-body h3 { font-family: var(--font-head); margin-bottom: 0.5rem; color: var(--dark); }
.card-body p { font-size: 0.95rem; color: var(--gray); }

/* Stream steps */
.stream-steps {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem;
}
.stream-step {
    text-align: center; padding: 1.5rem 0.75rem;
    background: white; border-radius: var(--radius);
    border-top: 3px solid var(--aqua);
    position: relative;
}
.stream-step:nth-child(even) { border-top-color: var(--purple-light); }
.step-num {
    width: 40px; height: 40px; margin: 0 auto 0.75rem;
    background: linear-gradient(135deg, var(--aqua), var(--purple));
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.875rem; font-family: var(--font-head);
}
.stream-step h3 { font-size: 0.9rem; margin-bottom: 0.35rem; font-family: var(--font-head); }
.stream-step p { font-size: 0.8rem; color: var(--gray); }

/* Programs preview */
.programs-preview { background: var(--aqua-light); }
.program-list { display: grid; gap: 1rem; max-width: 820px; margin: 0 auto; }
.program-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.35rem 1.75rem; background: white; border-radius: var(--radius);
    border: 1px solid rgba(6, 182, 212, 0.12);
    transition: border-color 0.2s;
}
.program-item:hover { border-color: var(--purple-light); }
.program-item h3 { font-size: 1rem; font-family: var(--font-head); }
.program-item span { color: var(--aqua-dark); font-weight: 600; font-size: 0.875rem; }

/* FAQ mini */
.faq-mini { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(6, 182, 212, 0.15); padding: 1.25rem 0; }
.faq-item h3 { font-size: 1rem; margin-bottom: 0.5rem; font-family: var(--font-head); }
.faq-item p { color: var(--gray); font-size: 0.95rem; }

/* Disclaimer box */
.disclaimer-box {
    background: var(--purple-soft);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--radius); padding: 1.25rem 1.5rem;
    font-size: 0.9rem; color: #5B21B6; margin: 2rem 0;
}

/* CTA section */
.cta-section {
    padding: 4.5rem 0; text-align: center;
    background: linear-gradient(135deg, var(--aqua-dark), var(--purple));
    color: white; position: relative; overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-family: var(--font-head); font-size: 2rem; margin-bottom: 1rem; }
.cta-section p { opacity: 0.92; margin-bottom: 1.5rem; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta-section .btn-primary {
    background: white; color: var(--purple);
}
.cta-section .btn-primary:hover { color: var(--aqua-dark); }

/* Page hero */
.page-hero {
    padding: 3.25rem 0;
    background: linear-gradient(165deg, var(--aqua-light), var(--purple-soft));
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--aqua), var(--purple-light)) 1;
}
.page-hero h1 { font-family: var(--font-head); font-size: 2.25rem; margin-bottom: 0.75rem; }
.page-hero p { color: var(--gray); max-width: 640px; }

/* Content prose */
.prose { max-width: 800px; }
.prose h2 { font-family: var(--font-head); margin: 2rem 0 1rem; font-size: 1.5rem; }
.prose h3 { margin: 1.5rem 0 0.75rem; font-size: 1.15rem; font-family: var(--font-head); }
.prose p { margin-bottom: 1rem; color: #334155; }
.prose ul { margin: 1rem 0 1rem 1.5rem; }
.prose li { margin-bottom: 0.5rem; }

/* Programs page */
.program-card {
    display: grid; grid-template-columns: 280px 1fr; gap: 2rem;
    padding: 2rem 0; border-bottom: 1px solid rgba(6, 182, 212, 0.12);
}
.program-card:last-child { border-bottom: none; }
.program-card img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.program-card h2 { font-family: var(--font-head); font-size: 1.35rem; margin-bottom: 0.75rem; }
.program-price { color: var(--purple); font-weight: 700; margin-top: 1rem; }

/* Services grid */
.services-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.service-card {
    padding: 2rem; background: white; border-radius: var(--radius);
    border: 1px solid rgba(6, 182, 212, 0.1);
    transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: var(--shadow); }
.service-card img { border-radius: var(--radius); margin-bottom: 1rem; aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.service-card h3 { font-family: var(--font-head); margin-bottom: 0.75rem; }
.service-price { font-weight: 700; color: var(--aqua-dark); margin-top: 1rem; }

/* About layout */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start;
}
.about-img img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Contact */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
}
.contact-form label { display: block; font-weight: 500; margin-bottom: 0.35rem; font-size: 0.9rem; }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: 0.75rem 1rem; border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 10px; font-family: inherit; font-size: 1rem; margin-bottom: 1rem;
    transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; border-color: var(--aqua);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .checkbox-label {
    display: flex; align-items: flex-start; gap: 0.5rem;
    font-size: 0.875rem; margin-bottom: 1rem;
}
.contact-form input[type="checkbox"] { width: auto; margin-top: 0.2rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-msg { padding: 1rem; border-radius: 10px; margin-bottom: 1rem; }
.form-msg.success { background: #ECFEFF; color: #0E7490; border: 1px solid var(--aqua); }
.form-msg.error { background: #FEF2F2; color: #991B1B; }
.contact-info img { border-radius: var(--radius); margin-top: 1.5rem; aspect-ratio: 16/10; object-fit: cover; width: 100%; }

/* FAQ full */
.faq-full .faq-item { padding: 1.5rem 0; }
.faq-full h2 { font-size: 1.1rem; margin-bottom: 0.75rem; font-family: var(--font-head); }

/* Legal pages */
.legal-content { padding: 3rem 0 4rem; }
.legal-content h1 { font-family: var(--font-head); font-size: 2rem; margin-bottom: 1.5rem; }
.legal-content h2 { font-family: var(--font-head); font-size: 1.25rem; margin: 2rem 0 0.75rem; }
.legal-content p, .legal-content li { margin-bottom: 0.75rem; color: #334155; line-height: 1.7; }
.legal-content ul { margin-left: 1.5rem; }

/* Footer */
.site-footer {
    background: var(--dark); color: #CBD5E1; padding: 3rem 0 2rem;
    border-top: 3px solid var(--aqua);
}
.footer-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
    margin-bottom: 2rem;
}
.footer-brand strong { color: white; font-family: var(--font-head); font-size: 1.1rem; }
.footer-brand p { font-size: 0.875rem; margin-top: 0.5rem; opacity: 0.85; }
.footer-links, .footer-legal { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-legal a { color: #94A3B8; font-size: 0.9rem; }
.footer-links a:hover, .footer-legal a:hover { color: var(--aqua); }
.footer-contact { font-size: 0.875rem; }
.footer-contact a { color: var(--aqua); }
.footer-disclaimer {
    font-size: 0.8rem; opacity: 0.75; padding: 1.25rem;
    background: rgba(255,255,255,0.04); border-radius: var(--radius);
    margin-bottom: 1rem; line-height: 1.6;
}
.footer-copy { font-size: 0.8rem; opacity: 0.6; text-align: center; }

/* 404 */
.error-page {
    min-height: 60vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 4rem 1rem;
    background: linear-gradient(165deg, var(--aqua-light), var(--white));
}
.error-page h1 { font-family: var(--font-head); font-size: 2.5rem; margin-bottom: 1rem; }
.error-page p { color: var(--gray); margin-bottom: 2rem; }

/* Cookie banner */
.cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
    background: var(--dark); color: white; padding: 1.25rem;
    box-shadow: 0 -4px 24px rgba(6, 182, 212, 0.15);
    border-top: 2px solid var(--aqua);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
    max-width: 1140px; margin: 0 auto;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.cookie-inner p { font-size: 0.9rem; flex: 1; min-width: 200px; }
.cookie-inner a { color: var(--aqua); }
.cookie-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-btns .btn-outline { border-color: #64748B; color: white; }

/* Responsive */
@media (max-width: 900px) {
    .hero-grid, .about-grid, .contact-grid, .cards-grid, .services-grid, .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stream-steps { grid-template-columns: repeat(2, 1fr); }
    .program-card { grid-template-columns: 1fr; }
    .main-nav {
        display: none; position: absolute; top: 76px; left: 0; right: 0;
        background: white; flex-direction: column; padding: 1rem;
        border-bottom: 1px solid rgba(6, 182, 212, 0.12);
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: flex; }
    .nav-toggle { display: flex; }
}
