:root {
  /* Core Colors */
  --primary: #462C7D;
  --secondary: #831C91;
  --accent: #D552A3;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F9FA;
  --bg-tertiary: #E9ECEF;
  --text-primary: #212529;
  --text-secondary: #6C757D;
  --border: #DEE2E6;
  
  /* Gamification Colors */
  --xp-color: #FFD166;
  --streak-color: #EF476F;
  --level-color: #118AB2;
  --success: #06D6A0;
  --danger: #EF476F;
  
  /* Typography */
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  
  /* Utilities */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(70, 44, 125, 0.1);
}

[data-theme="dark"] {
  --primary: #5C3D9F;
  --secondary: #A62EAC;
  --accent: #E86FB8;
  --bg-primary: #121212;
  --bg-secondary: #1E1E1E;
  --bg-tertiary: #2D2D2D;
  --text-primary: #F8F9FA;
  --text-secondary: #ADB5BD;
  --border: #343A40;
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.3);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--text-primary); background: var(--bg-primary); line-height: 1.6; transition: background-color 0.3s, color 0.3s; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: var(--primary); }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3 { color: #fff; }
a { color: var(--accent); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary); }

/* Layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; border-radius: var(--radius-md); font-weight: 600; cursor: pointer; transition: all 0.3s; border: none; font-family: var(--font-body); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--secondary); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-danger { background: var(--danger); color: white; }
.btn-glass { background: rgba(255,255,255,0.15); color: white; border: 2px solid rgba(255,255,255,0.3); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,0.25); color: white; }
.btn-white { background: white; color: var(--primary); }
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Navbar */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 1rem 0; background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); z-index: 1000; border-bottom: 1px solid var(--border); transition: all 0.3s; }
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
[data-theme="dark"] .navbar { background: rgba(18,18,18,0.92); }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; letter-spacing: -0.5px; }
.logo span { color: var(--accent); }
.nav-menu { display: flex; gap: 1.75rem; align-items: center; }
.nav-link { color: var(--text-primary); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-link:hover, .nav-link.active-link { color: var(--primary); font-weight: 600; }
.theme-toggle { background: transparent; border: 1px solid var(--border); border-radius: 50%; width: 38px; height: 38px; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-primary); transition: all 0.2s; }
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: transparent; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { padding: 8rem 0 5rem; min-height: 90vh; display: flex; align-items: center; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(145deg, rgba(10,5,25,0.88) 0%, rgba(70,44,125,0.75) 60%, rgba(131,28,145,0.6) 100%); pointer-events: none; z-index: 1; }
.hero-content { max-width: 800px; margin: 0 auto; text-align: center; }
.hero-badge { display: inline-block; padding: 0.4rem 1.1rem; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); border-radius: 100px; color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 1.5rem; backdrop-filter: blur(6px); }
.hero-title { font-size: 3.75rem; margin-bottom: 1.5rem; color: white; line-height: 1.1; }
.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.78); margin-bottom: 2.5rem; max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-stats { display: flex; justify-content: center; gap: 3rem; margin-top: 4rem; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; align-items: center; }
.hero-stat-num { font-size: 2.5rem; font-weight: 800; color: white; font-family: var(--font-heading); }
.hero-stat-label { color: rgba(255,255,255,0.65); font-weight: 500; font-size: 0.875rem; }
/* Page hero (inner pages) */
.page-hero { min-height: 240px; display: flex; align-items: flex-end; padding-bottom: 3rem; padding-top: 6rem; position: relative; overflow: hidden; }
.page-hero .container { padding-top: 1rem; }
/* Section badge */
.section-badge { display: inline-block; padding: 0.35rem 1rem; background: rgba(70,44,125,0.1); border: 1px solid rgba(70,44,125,0.2); border-radius: 100px; color: var(--primary); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 1rem; }
/* CTA section */
.cta-section { position: relative; overflow: hidden; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(145deg, rgba(10,5,25,0.94) 0%, rgba(70,44,125,0.88) 60%, rgba(131,28,145,0.82) 100%); pointer-events: none; z-index: 1; }
/* Hover lift */
.hover-lift { transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s; }
.hover-lift:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(70,44,125,0.18); }

/* Cards Grid */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }

/* Course Card */
.course-card { background: var(--bg-primary); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.course-img { height: 180px; background-size: cover; background-position: center; position: relative; }
.course-badge { position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,0.7); color: white; padding: 0.25rem 0.75rem; border-radius: var(--radius-xl); font-size: 0.875rem; font-weight: 600; backdrop-filter: blur(4px); }
.course-body { padding: 1.5rem; }
.course-title { font-size: 1.25rem; margin-bottom: 0.5rem; }
.course-desc { color: var(--text-secondary); font-size: 0.875rem; margin-bottom: 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course-meta { display: flex; justify-content: space-between; font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); }
.course-footer { display: flex; justify-content: space-between; align-items: center; }
.course-price { font-weight: 700; color: var(--primary); font-size: 1.125rem; }

/* Quiz Engine */
.quiz-container { max-width: 900px; margin: 6rem auto 2rem; background: var(--bg-primary); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); }
.quiz-start-screen { padding: 4rem 2rem; text-align: center; }
.quiz-categories { display: flex; justify-content: center; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.quiz-cat-btn { padding: 1.5rem; border: 2px solid var(--border); border-radius: var(--radius-lg); background: transparent; cursor: pointer; transition: all 0.3s; width: 150px; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.quiz-cat-btn:hover { border-color: var(--primary); background: rgba(70, 44, 125, 0.05); transform: translateY(-5px); }
.cat-icon { font-size: 2.5rem; }
.quiz-toolbar { display: flex; justify-content: space-between; padding: 1rem 2rem; background: var(--bg-secondary); border-bottom: 1px solid var(--border); align-items: center; }
.quiz-timer { font-family: monospace; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.timer-danger { color: var(--danger); animation: pulse 1s infinite; }
.quiz-layout { display: flex; min-height: 400px; }
.quiz-question-panel { flex: 1; padding: 2rem; border-right: 1px solid var(--border); }
.quiz-nav-panel { width: 250px; padding: 2rem; background: var(--bg-secondary); display: flex; flex-wrap: wrap; gap: 0.5rem; align-content: flex-start; }
.question-header { display: flex; justify-content: space-between; margin-bottom: 1.5rem; align-items: center; }
.question-num { font-weight: 600; color: var(--text-secondary); }
.badge-mc { background: #e0f2fe; color: #0284c7; padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600; }
.badge-tf { background: #fef08a; color: #a16207; padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600; }
.badge-fill { background: #fce7f3; color: #be185d; padding: 0.25rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.75rem; font-weight: 600; }
.question-text { font-size: 1.25rem; font-weight: 500; margin-bottom: 2rem; }
.options-grid { display: grid; gap: 1rem; }
.quiz-option { padding: 1rem 1.5rem; text-align: left; background: var(--bg-secondary); border: 2px solid var(--border); border-radius: var(--radius-md); font-size: 1rem; cursor: pointer; transition: all 0.2s; color: var(--text-primary); font-family: var(--font-body); }
.quiz-option:hover { border-color: var(--primary); }
.quiz-option.selected { background: rgba(70, 44, 125, 0.1); border-color: var(--primary); }
.fill-input { width: 100%; padding: 1rem; border: 2px solid var(--border); border-radius: var(--radius-md); font-size: 1.125rem; background: var(--bg-secondary); color: var(--text-primary); }
.fill-input:focus { outline: none; border-color: var(--primary); }
.nav-btn { width: 40px; height: 40px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-primary); cursor: pointer; font-weight: 600; color: var(--text-primary); transition: all 0.2s; }
.nav-btn.answered { background: var(--accent); color: white; border-color: var(--accent); }
.nav-btn.active { border-color: var(--primary); border-width: 2px; transform: scale(1.1); }
.quiz-controls { padding: 1.5rem 2rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; }
.quiz-results { padding: 4rem 2rem; text-align: center; }
.result-emoji { font-size: 4rem; margin-bottom: 1rem; }
.result-score { font-size: 4rem; font-weight: 800; color: var(--primary); margin: 1rem 0 2rem; }
.result-details { display: flex; justify-content: center; gap: 2rem; margin-bottom: 3rem; }
.result-item { display: flex; flex-direction: column; }
.result-item span { color: var(--text-secondary); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px; }
.result-item strong { font-size: 1.5rem; color: var(--text-primary); }

/* Progress Dashboard */
.progress-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; max-width: 1000px; margin: 6rem auto 2rem; }
.pg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.stat-card { background: var(--bg-primary); padding: 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); text-align: center; box-shadow: var(--shadow-sm); }
.stat-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.stat-value { font-size: 2rem; font-weight: 700; color: var(--primary); font-family: var(--font-heading); }
.stat-label { color: var(--text-secondary); font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px; }
.xp-bar { height: 8px; background: var(--bg-tertiary); border-radius: 4px; margin-top: 1rem; overflow: hidden; }
.xp-fill { height: 100%; background: linear-gradient(90deg, var(--accent), var(--primary)); }
.pg-section { background: var(--bg-primary); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.skills-chart { display: grid; gap: 1rem; }
.skill-row { display: flex; align-items: center; gap: 1rem; }
.skill-name { width: 100px; font-weight: 500; }
.skill-bar { flex: 1; height: 24px; background: var(--bg-tertiary); border-radius: var(--radius-sm); overflow: hidden; }
.skill-fill { height: 100%; background: var(--level-color); display: flex; align-items: center; padding-left: 0.5rem; color: white; font-size: 0.75rem; font-weight: bold; }
.weekly-chart { display: flex; align-items: flex-end; justify-content: space-between; height: 200px; padding-top: 2rem; }
.chart-col { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; width: 40px; height: 100%; justify-content: flex-end; }
.chart-bar { width: 100%; background: var(--primary); border-radius: var(--radius-sm) var(--radius-sm) 0 0; position: relative; transition: height 1s ease-out; }
.chart-bar span { position: absolute; top: -25px; left: 50%; transform: translateX(-50%); font-size: 0.75rem; color: var(--text-secondary); font-weight: 600; }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1.5rem; text-align: center; }
.badge-item { padding: 1.5rem 1rem; border-radius: var(--radius-lg); border: 2px solid var(--border); }
.badge-item.earned { background: rgba(255, 209, 102, 0.1); border-color: var(--xp-color); }
.badge-item.locked { opacity: 0.5; filter: grayscale(100%); }
.badge-icon { font-size: 3rem; display: block; margin-bottom: 0.5rem; }
.badge-name { font-size: 0.875rem; font-weight: 600; }
.activity-row { display: flex; gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.activity-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); margin-top: 6px; }
.activity-body { flex: 1; }
.activity-meta { text-align: right; font-size: 0.875rem; color: var(--text-secondary); display: flex; flex-direction: column; gap: 0.25rem; }
.activity-xp { color: var(--success); font-weight: 700; }

/* Leaderboard */
.lb-container { max-width: 800px; margin: 6rem auto 2rem; }
.lb-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: var(--bg-primary); border: 1px solid var(--border); border-radius: var(--radius-md); margin-bottom: 0.5rem; }
.lb-row.top-three { padding: 1.5rem; transform: scale(1.02); box-shadow: var(--shadow-md); margin-bottom: 1rem; border-color: var(--xp-color); }
.lb-rank { font-size: 1.5rem; font-weight: 700; width: 40px; text-align: center; }
.lb-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-tertiary); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--primary); }
.lb-info { flex: 1; display: flex; flex-direction: column; }
.lb-name { font-weight: 700; font-size: 1.125rem; }
.lb-program { font-size: 0.875rem; color: var(--text-secondary); }
.lb-stats { display: flex; gap: 1.5rem; font-weight: 600; }
.lb-level { padding: 0.25rem 0.75rem; background: var(--primary); color: white; border-radius: var(--radius-xl); font-size: 0.875rem; font-weight: 700; }

/* Toasts */
#toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 9999; display: flex; flex-direction: column; gap: 1rem; }
.toast { background: var(--bg-primary); color: var(--text-primary); padding: 1rem 1.5rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; border-left: 4px solid var(--primary); }
.toast-xp { border-left-color: var(--xp-color); }
.toast-badge { border-left-color: var(--accent); }
.toast-level { border-left-color: var(--level-color); }

/* Pricing */
.pricing-section { padding: 6rem 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; align-items: center; max-width: 1000px; margin: 0 auto; }
.price-card { background: var(--bg-primary); padding: 2.5rem 2rem; border-radius: var(--radius-xl); border: 1px solid var(--border); text-align: center; position: relative; }
.price-card.popular { background: linear-gradient(145deg, var(--primary), var(--secondary)); border-color: transparent; box-shadow: 0 20px 60px rgba(70,44,125,0.4); transform: scale(1.06); color: white; }
.price-card.popular h3, .price-card.popular .price-num { color: white; }
.price-card.popular .price-per { color: rgba(255,255,255,0.7); }
.popular-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--xp-color); color: #4a3000; padding: 0.3rem 1.1rem; border-radius: 100px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.price-icon { width: 60px; height: 60px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.price-badge { display: inline-block; padding: 0.25rem 0.85rem; border-radius: 100px; font-size: 0.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.price-name { font-size: 1.6rem; margin-bottom: 1rem; }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 0.25rem; margin-bottom: 2rem; }
.price-currency { font-size: 1rem; font-weight: 600; color: var(--text-secondary); }
.price-num { font-size: 2.75rem; font-weight: 800; color: var(--primary); font-family: var(--font-heading); line-height: 1; }
.price-per { font-size: 0.9rem; color: var(--text-secondary); }
.price-features { list-style: none; margin-bottom: 2rem; text-align: left; display: flex; flex-direction: column; gap: 0.6rem; }
.price-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--text-secondary); }
.price-card.popular .price-features li { color: rgba(255,255,255,0.85); }
/* Filter tabs */
.filter-tabs { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.filter-tab { padding: 0.55rem 1.3rem; border-radius: 100px; border: 2px solid var(--border); background: transparent; color: var(--text-secondary); font-weight: 600; font-size: 0.875rem; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); }
.filter-tab:hover { border-color: var(--primary); color: var(--primary); }
.filter-tab.active { background: var(--primary); border-color: var(--primary); color: white; }
/* Course card improvements */
.course-level { position: absolute; bottom: 1rem; left: 1rem; background: rgba(0,0,0,0.6); color: white; padding: 0.2rem 0.6rem; border-radius: 100px; font-size: 0.75rem; font-weight: 600; backdrop-filter: blur(4px); }
.meta-item { display: flex; align-items: center; gap: 0.3rem; }
/* Testimonials */
.testimonial-card { background: var(--bg-primary); padding: 2rem; border-radius: var(--radius-xl); border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.testimonial-quote { margin-bottom: -0.5rem; }
.testimonial-text { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; margin-top: auto; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; color: white; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-score { font-size: 0.8rem; color: var(--accent); font-weight: 600; }
/* FAQ */
.faq-list { border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; background: var(--bg-primary); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-question { width: 100%; text-align: left; padding: 1.25rem 1.5rem; background: transparent; border: none; font-size: 1rem; font-weight: 600; color: var(--text-primary); cursor: pointer; font-family: var(--font-body); display: flex; justify-content: space-between; align-items: center; transition: background 0.2s; }
.faq-question::after { content: '+'; font-size: 1.4rem; color: var(--primary); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-question::after { transform: rotate(45deg); }
.faq-question:hover { background: var(--bg-secondary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 1.5rem 1.25rem; color: var(--text-secondary); line-height: 1.7; }
/* Footer */
.footer { background: linear-gradient(145deg, #1a0f2e, var(--primary)); color: white; padding: 4rem 0 1.5rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo.footer-logo { color: white; margin-bottom: 1rem; display: inline-block; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9rem; line-height: 1.6; }
.footer-links h4, .footer-contact h4 { color: white; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.9rem; padding: 0.3rem 0; transition: color 0.2s; }
.footer-links a:hover { color: white; }
.footer-contact p { color: rgba(255,255,255,0.65); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.75rem; }
.footer-contact a { color: rgba(255,255,255,0.65); font-size: 0.875rem; word-break: break-all; }
.footer-contact a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; text-align: center; color: rgba(255,255,255,0.45); font-size: 0.85rem; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 2.4rem; }
  .quiz-layout { flex-direction: column; }
  .quiz-nav-panel { width: 100%; border-top: 1px solid var(--border); }
  .nav-menu { display: none; position: fixed; top: 70px; left: 0; width: 100%; background: var(--bg-primary); flex-direction: column; padding: 1.5rem; gap: 1rem; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); z-index: 999; }
  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }
  .price-card.popular { transform: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}
