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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --bg-input: #1a1a25;
    --text-primary: #f0f0f5;
    --text-secondary: #8b8b9e;
    --text-muted: #5a5a6e;
    --accent-1: #6366f1;
    --accent-2: #06b6d4;
    --accent-3: #8b5cf6;
    --gradient-main: linear-gradient(135deg, #6366f1, #06b6d4);
    --gradient-accent: linear-gradient(135deg, #8b5cf6, #6366f1);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(99, 102, 241, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.15);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* ===== GLOBAL SPLASH GRADIENT — single fixed layer behind everything ===== */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 15% 10%,  rgba(99, 102, 241, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 85% 20%,  rgba(6, 182, 212, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 70% 55% at 50% 55%,  rgba(139, 92, 246, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 80% 60% at 10% 80%,  rgba(6, 182, 212, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 85%,  rgba(99, 102, 241, 0.12) 0%, transparent 55%);
    pointer-events: none;
    z-index: -1;
}

/* Remove per-section glow containers — not needed with the global layer */
.section-bg-glows { display: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== GRADIENT TEXT ===== */
.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.45);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
}

.btn-ghost:hover {
    border-color: var(--border-hover);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== SECTION UTILITIES ===== */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: var(--gradient-glow);
    border: 1px solid var(--border-hover);
    color: var(--accent-1);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    /* Higher than mobile menu (10000) */
    padding: 16px 0;
    background: transparent;
    backdrop-filter: blur(0px) saturate(1);
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(1.5);
    padding: 12px 0;
}

.navbar.scrolled::after {
    opacity: 1;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-accent {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
    padding: 10px 24px;
    border-radius: var(--radius-md);
    background: var(--gradient-main);
    color: white;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

/* Nav right wrapper */
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.lang-toggle:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
    background: rgba(99, 102, 241, 0.05);
}

.lang-active-flag {
    display: flex;
    align-items: center;
    line-height: 1;
}

.lang-active-flag svg {
    border-radius: 2px;
    display: block;
}

.lang-chevron {
    transition: transform 0.3s ease;
    opacity: 0.5;
}

.lang-dropdown.open+.lang-toggle .lang-chevron,
.lang-switcher:has(.lang-dropdown.open) .lang-chevron {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.97);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.lang-option.active {
    color: var(--accent-1);
    background: var(--gradient-glow);
}

.lang-flag {
    display: flex;
    align-items: center;
    line-height: 1;
}

.lang-flag svg {
    border-radius: 2px;
    display: block;
}

.lang-check {
    margin-left: auto;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: var(--accent-2);
}

.lang-option.active .lang-check {
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO badge update ===== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-2);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 8px var(--accent-2);
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

/* hero-badge now defined above */

.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Hero trust line */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-item svg {
    color: var(--accent-2);
    flex-shrink: 0;
}

/* Larger hero CTA */
.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Visual — card stack */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease 0.3s both;
}

.hero-card-stack {
    position: relative;
    width: 320px;
    height: 380px;
}

.hero-card {
    position: absolute;
    background: rgba(22, 22, 31, 0.92);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.hero-card-main {
    width: 300px;
    padding: 24px;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-glow);
    border: 1px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    flex-shrink: 0;
}

.hc-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.hc-role {
    font-size: 11px;
    color: var(--text-muted);
}

.hc-badge-green {
    margin-left: auto;
    font-size: 11px;
    color: #34d399;
    font-weight: 600;
}

.hc-subject {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.hc-subject-thumb {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--gradient-glow);
    border: 1px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    flex-shrink: 0;
}

.hc-subject-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.hc-subject-pub {
    font-size: 11px;
    color: var(--text-muted);
}

.hc-progress-wrap { margin-bottom: 14px; }

.hc-progress-top {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.hc-pct {
    font-weight: 700;
    color: var(--accent-1);
}

.hc-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}

.hc-progress-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 3px;
}

.hc-cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.hc-cat {
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-1);
    background: rgba(99,102,241,0.1);
    border: 1px solid rgba(99,102,241,0.2);
    padding: 2px 8px;
    border-radius: 100px;
}

/* Quiz card */
.hero-card-quiz {
    width: 200px;
    padding: 14px 16px;
    top: 0;
    right: -20px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.hcq-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: rgba(251,191,36,0.1);
    border: 1px solid rgba(251,191,36,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    flex-shrink: 0;
}

.hcq-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
}

.hcq-score {
    font-size: 11px;
    color: var(--text-muted);
}

/* Enroll card */
.hero-card-enroll {
    width: 220px;
    padding: 14px 16px;
    bottom: 20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 3;
    animation: float 6s ease-in-out infinite 3s;
}

.hce-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.hce-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.hce-sub {
    font-size: 11px;
    color: var(--text-muted);
}

/* ===== CATEGORY TICKER ===== */
.category-ticker-wrap {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: transparent;
}

.category-ticker {
    overflow: hidden;
    margin-bottom: 12px;
}

.category-ticker:last-of-type {
    margin-bottom: 0;
}

.ticker-track {
    display: flex;
    gap: 12px;
    width: max-content;
    animation: ticker-ltr 40s linear infinite;
}

.ticker-reverse .ticker-track {
    animation: ticker-rtl 45s linear infinite;
}

@keyframes ticker-ltr {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes ticker-rtl {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.category-ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid;
    transition: var(--transition);
    cursor: default;
}

.pill-blue   { color: #93c5fd; background: rgba(59,130,246,0.08); border-color: rgba(59,130,246,0.2); }
.pill-violet { color: #c4b5fd; background: rgba(139,92,246,0.08); border-color: rgba(139,92,246,0.2); }
.pill-cyan   { color: #67e8f9; background: rgba(6,182,212,0.08);  border-color: rgba(6,182,212,0.2); }
.pill-green  { color: #6ee7b7; background: rgba(16,185,129,0.08); border-color: rgba(16,185,129,0.2); }
.pill-orange { color: #fcd34d; background: rgba(245,158,11,0.08); border-color: rgba(245,158,11,0.2); }
.pill-pink   { color: #f9a8d4; background: rgba(236,72,153,0.08); border-color: rgba(236,72,153,0.2); }

.ticker-fade-left,
.ticker-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    pointer-events: none;
    z-index: 2;
}

.ticker-fade-left {
    left: 0;
    background: linear-gradient(to right, #0a0a0f 0%, transparent 100%);
}

.ticker-fade-right {
    right: 0;
    background: linear-gradient(to left, #0a0a0f 0%, transparent 100%);
}

/* ===== FOR WHO ===== */
.for-who {
    padding: 120px 0;
    position: relative;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.who-card {
    position: relative;
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.who-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.who-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.who-card-featured {
    border-color: rgba(99,102,241,0.3);
    background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(6,182,212,0.03) 100%);
    box-shadow: 0 0 40px rgba(99,102,241,0.08);
}

.who-card-featured:hover {
    border-color: rgba(99,102,241,0.5);
    box-shadow: 0 0 60px rgba(99,102,241,0.15);
}

.who-featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-main);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.who-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border: 1px solid;
}

.who-icon-student {
    background: rgba(99,102,241,0.1);
    border-color: rgba(99,102,241,0.2);
    color: var(--accent-1);
}

.who-icon-publisher {
    background: rgba(6,182,212,0.1);
    border-color: rgba(6,182,212,0.2);
    color: var(--accent-2);
}

.who-icon-org {
    background: rgba(139,92,246,0.1);
    border-color: rgba(139,92,246,0.2);
    color: var(--accent-3);
}

.who-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.who-card h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.who-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.who-perks {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

.who-perks li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.who-perks li svg {
    color: var(--accent-2);
    flex-shrink: 0;
    margin-top: 1px;
}

.who-cta {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 0;
    transition: var(--transition);
    border-bottom: 2px solid transparent;
}

.who-cta-student {
    color: var(--accent-1);
    border-bottom-color: rgba(99,102,241,0.3);
}

.who-cta-student:hover {
    border-bottom-color: var(--accent-1);
}

.who-cta-publisher {
    color: var(--accent-2);
    border-bottom-color: rgba(6,182,212,0.3);
}

.who-cta-publisher:hover {
    border-bottom-color: var(--accent-2);
}

.who-cta-org {
    color: var(--accent-3);
    border-bottom-color: rgba(139,92,246,0.3);
}

.who-cta-org:hover {
    border-bottom-color: var(--accent-3);
}

/* ===== STEPS CTA ===== */
.steps-cta {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-inner {
    text-align: center;
    padding: 64px 40px;
    background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(6,182,212,0.05) 100%);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: var(--radius-xl);
    opacity: 0;
    transform: translateY(30px);
    position: relative;
    z-index: 1;
}

.cta-inner.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-inner h2 {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.cta-inner p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== FEATURES ===== */
.features {
    padding: 120px 0;
    position: relative;
}

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

.feature-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gradient-glow);
    border: 1px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-1);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

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

.step-card {
    position: relative;
    padding: 40px 32px;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
}

.step-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    font-size: 56px;
    font-weight: 900;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    margin-bottom: 20px;
    line-height: 1;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-line {
    position: absolute;
    top: 50%;
    right: -16px;
    width: 32px;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0.3;
}

.step-card:last-child .step-line {
    display: none;
}

/* ===== DOWNLOAD ===== */
.download {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* (Global glow containers will be injected here) */


.download-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.download-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.download-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.download-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gradient-glow);
    border: 1px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.download-store {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-top: 2px;
}

.download-arrow {
    color: var(--text-muted);
    transition: var(--transition);
}

.download-card:hover .download-arrow {
    color: var(--accent-1);
    transform: translate(4px, -4px);
}

/* ===== PUBLISHERS ===== */
.publishers {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.publishers-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.publishers-info {
    opacity: 0;
    transform: translateX(-30px);
}

.publishers-info.visible {
    opacity: 1;
    transform: translateX(0);
}

.publishers-info h2 {
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.publishers-info>p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
}

.publisher-perks {
    list-style: none;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.publisher-perks li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.perk-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
    flex-shrink: 0;
}

/* Dashboard Preview */
.publishers-visual {
    opacity: 0;
    transform: translateX(30px);
}

.publishers-visual.visible {
    opacity: 1;
    transform: translateX(0);
}

.dash-preview {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.dash-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.dash-dots {
    display: flex;
    gap: 6px;
}

.dash-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dash-dots span:nth-child(1) {
    background: #ff5f57;
}

.dash-dots span:nth-child(2) {
    background: #febc2e;
}

.dash-dots span:nth-child(3) {
    background: #28c840;
}

.dash-title {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.dash-body {
    display: flex;
    min-height: 260px;
}

.dash-sidebar {
    width: 160px;
    padding: 16px 12px;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.dash-menu-item.active {
    background: var(--gradient-glow);
    color: var(--accent-1);
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.dash-main {
    flex: 1;
    padding: 20px;
}

.dash-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.dash-stat {
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: center;
}

.dash-stat-num {
    display: block;
    font-size: 18px;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dash-stat-label {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
}

.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}

.dash-bar {
    flex: 1;
    height: var(--h);
    background: var(--gradient-main);
    border-radius: 4px 4px 0 0;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.dash-bar:hover {
    opacity: 1;
}

/* ===== CONTACT ===== */
.contact {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

.contact-form {
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    opacity: 0;
    transform: translateY(30px);
}

.contact-form.visible {
    opacity: 1;
    transform: translateY(0);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 14px;
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b8b9e' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-loader svg {
    animation: spin 1s linear infinite;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(30px);
}

.contact-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.info-card:hover {
    border-color: var(--border-hover);
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: var(--gradient-glow);
    border: 1px solid var(--border-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-1);
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.info-card p {
    font-size: 13px;
    color: var(--text-secondary);
}

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

.social-link {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--border-hover);
    color: var(--accent-1);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 0;
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
    position: relative;
}

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

.footer-brand p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-links-group h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links-group a {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    padding: 4px 0;
    transition: var(--transition);
}

.footer-links-group a:hover {
    color: var(--accent-1);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-muted);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

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

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    transform: translateY(120px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        max-width: 100%;
        margin: 0 auto 32px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-card-stack {
        width: 300px;
        height: 340px;
    }

    .hero-card-main {
        width: 260px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .who-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .step-line {
        display: none;
    }

    .publishers-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .lang-active-text {
        display: none;
    }

    .lang-toggle {
        padding: 8px 10px;
    }

    .navbar.mobile-menu-open .lang-switcher {
        display: none;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.75);
        backdrop-filter: blur(20px) saturate(1.5);
        padding: 32px 24px;
        gap: 8px;
        z-index: 10000;
        border-bottom: 1px solid var(--border-color);
        animation: slideDownFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active li {
        width: 100%;
        text-align: left;
    }

    .nav-links.active a {
        font-size: 18px;
        font-weight: 600;
        color: var(--text-primary);
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        display: block;
    }

    .nav-links.active li:last-child a {
        border-bottom: none;
    }

    .nav-mobile-cta {
        display: block !important;
        margin-top: 24px;
        width: 100%;
    }

    .mobile-cta-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        width: 100%;
    }

    .mobile-cta-grid .btn {
        padding: 14px 10px;
        font-size: 15px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 8px;
        border-radius: var(--radius-sm);
        flex: 1;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 34px;
        margin-bottom: 16px;
    }

    .hero-card-quiz,
    .hero-card-enroll {
        display: none;
    }

    .hero-card-stack {
        width: 280px;
        height: 280px;
    }

    .hero-card-main {
        width: 260px;
        top: 20px;
    }

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

    .for-who,
    .publishers,
    .how-it-works,
    .contact,
    .cta-banner {
        padding: 80px 0;
    }

    .cta-inner {
        padding: 40px 24px;
    }

    .contact-form {
        padding: 20px;
    }

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

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

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        margin: 16px auto 0;
    }

    .footer-links-group {
        text-align: center;
    }
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}