/* =====================================================
   CheckBodyMind — Body Health Assessment
   Main Stylesheet
   ===================================================== */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap");

/* =====================================================
   CSS Variables
   ===================================================== */
:root {
  --primary: #1a3a5c;
  --primary-dark: #0f2440;
  --primary-light: #2a5280;
  --accent: #00c2b8;
  --accent-dark: #009e96;
  --cta: #f7a034;
  --cta-dark: #e08a1a;
  --cta-hover: #f8b254;
  --text: #2d3748;
  --text-light: #718096;
  --text-white: #ffffff;
  --bg: #ffffff;
  --bg-section: #f7fafc;
  --bg-dark: #1a3a5c;
  --border: #e2e8f0;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-md: rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* =====================================================
   Typography
   ===================================================== */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
  color: var(--primary);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
}
h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
}
h4 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
}

p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
}

/* =====================================================
   Utility Classes
   ===================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--dark {
  background: var(--bg-dark);
  color: white;
}

.section--dark h2,
.section--dark h3,
.section--dark p {
  color: white;
}

.section--gray {
  background: var(--bg-section);
}

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

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--cta);
  color: white;
  border-color: var(--cta);
}

.btn-primary:hover {
  background: var(--cta-dark);
  border-color: var(--cta-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247, 160, 52, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background: white;
  color: var(--primary);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.1rem;
}

/* =====================================================
   Header & Navigation
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.header.scrolled {
  background: white;
  box-shadow: 0 2px 20px var(--shadow-md);
  padding: 14px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  transition: color var(--transition);
  flex-shrink: 0;
}

.header.scrolled .logo {
  color: var(--primary);
}

.logo svg {
  width: 36px;
  height: 36px;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-link:hover {
  color: white;
}
.nav-link:hover::after {
  width: 100%;
}

.header.scrolled .nav-link {
  color: var(--text);
}
.header.scrolled .nav-link:hover {
  color: var(--primary);
}

.header-cta {
  flex-shrink: 0;
}

.header-cta .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all var(--transition);
}

.header.scrolled .hamburger span {
  background: var(--primary);
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/images/banner-hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 58, 92, 0.65);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  color: white;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-fine-print {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-stat-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.hero-stat-icon svg {
  width: 20px;
  height: 20px;
}

.hero-stat-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-stat-text span {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* =====================================================
   What We Assess Section
   ===================================================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 16px;
}

.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid var(--border);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px var(--shadow-md);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* =====================================================
   Split / Image+Text Sections
   ===================================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse > * {
  direction: ltr;
}

.split-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.split-image:hover img {
  transform: scale(1.04);
}

.split-content {
  padding: 16px 0;
}

.split-content h2 {
  margin-bottom: 20px;
}

.split-content p {
  color: var(--text-light);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

/* =====================================================
   How It Works
   ===================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  position: relative;
  margin-top: 16px;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(to right, var(--accent), var(--primary));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 24px;
  box-shadow: 0 4px 16px rgba(0, 194, 184, 0.35);
}

.step h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* =====================================================
   CTA Banner
   ===================================================== */
.cta-banner {
  text-align: center;
  padding: 100px 24px;
}

.cta-banner h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-nav h4 {
  color: white;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  font-family: "Inter", sans-serif;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-disclaimer {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 700px;
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

/* =====================================================
   Quiz Page
   ===================================================== */
.quiz-page {
  min-height: 100vh;
  padding: 100px 24px 60px;
  background: var(--bg-section);
}

.quiz-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.quiz-header {
  text-align: center;
  margin-bottom: 40px;
}

.quiz-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.quiz-header p {
  color: var(--text-light);
}

.progress-bar-wrapper {
  margin-bottom: 40px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(to right, var(--accent), var(--primary));
  border-radius: 100px;
  transition: width 0.4s ease;
}

.question-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid var(--border);
}

.question-text {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 32px;
  line-height: 1.4;
}

.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-section);
  user-select: none;
}

.option:hover {
  border-color: var(--accent);
  background: rgba(0, 194, 184, 0.06);
  color: var(--primary);
}

.option.selected {
  border-color: var(--primary);
  background: rgba(26, 58, 92, 0.06);
  color: var(--primary);
}

.option-circle {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all var(--transition);
  position: relative;
}

.option.selected .option-circle {
  border-color: var(--primary);
  background: var(--primary);
}

.option.selected .option-circle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  gap: 16px;
}

.btn-back {
  background: none;
  border: 2px solid var(--border);
  color: var(--text-light);
  padding: 12px 24px;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.95rem;
}

.btn-back:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-next {
  background: var(--cta);
  color: white;
  border: 2px solid var(--cta);
  padding: 14px 36px;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1rem;
  opacity: 0.5;
  pointer-events: none;
}

.btn-next.active {
  opacity: 1;
  pointer-events: all;
}

.btn-next.active:hover {
  background: var(--cta-dark);
  border-color: var(--cta-dark);
  transform: translateY(-2px);
}

/* =====================================================
   Results Page
   ===================================================== */
.results-page {
  min-height: 100vh;
  padding: 100px 24px 60px;
  background: var(--bg-section);
}

.results-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.result-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: 0 4px 24px var(--shadow);
  text-align: center;
  border: 1px solid var(--border);
}

.result-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.result-badge.green {
  background: #e6f7f0;
  color: #1a7a4a;
}
.result-badge.yellow {
  background: #fff8e6;
  color: #a66a00;
}
.result-badge.red {
  background: #fde8e8;
  color: #c0392b;
}

.result-headline {
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
  color: var(--primary);
}

.result-score-bar {
  max-width: 480px;
  margin: 32px auto;
}

.score-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.score-track {
  height: 12px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 100px;
  transition: width 1s ease;
}

.score-fill.green {
  background: linear-gradient(to right, #52c41a, #1a7a4a);
}
.score-fill.yellow {
  background: linear-gradient(to right, #faad14, #d48806);
}
.score-fill.red {
  background: linear-gradient(to right, #ff7875, #c0392b);
}

.result-description {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.result-cta {
  margin-bottom: 40px;
}

.result-meaning {
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 32px;
  text-align: left;
  margin-top: 40px;
  border: 1px solid var(--border);
}

.result-meaning h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  text-align: center;
}

.result-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.result-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.result-bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.result-bullet-icon.green {
  background: #e6f7f0;
  color: #1a7a4a;
}
.result-bullet-icon.yellow {
  background: #fff8e6;
  color: #a66a00;
}
.result-bullet-icon.red {
  background: #fde8e8;
  color: #c0392b;
}

.retake-link {
  display: block;
  margin-top: 32px;
  color: var(--text-light);
  font-size: 0.9rem;
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: all var(--transition);
}

.retake-link:hover {
  color: var(--primary);
  text-decoration-color: var(--primary);
}

/* =====================================================
   About Page
   ===================================================== */
.page-hero {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  padding: 140px 24px 80px;
  text-align: center;
  color: white;
}

.page-hero h1 {
  color: white;
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 16px;
}

.principle-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: 0 4px 20px var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}

.principle-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(
    135deg,
    rgba(0, 194, 184, 0.15),
    rgba(26, 58, 92, 0.15)
  );
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.principle-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.principle-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.principle-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* =====================================================
   Contact Page
   ===================================================== */
.contact-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

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

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

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: white;
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 194, 184, 0.12);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--bg-section);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 40px;
}

.contact-info svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-info a {
  color: var(--primary);
  font-weight: 600;
  transition: color var(--transition);
}

.contact-info a:hover {
  color: var(--accent);
}

.success-msg {
  display: none;
  background: #e6f7f0;
  border: 1px solid #52c41a;
  border-radius: var(--radius);
  padding: 20px 24px;
  color: #1a7a4a;
  font-weight: 500;
  margin-top: 16px;
  align-items: center;
  gap: 12px;
}

/* =====================================================
   Legal Pages (Privacy, Cookie, Terms)
   ===================================================== */
.legal-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
  color: var(--primary);
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 28px 0 12px;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-weight: 700;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--text-light);
  margin-bottom: 16px;
}

.legal-content ul li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--bg-section);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 40px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* =====================================================
   Cookie Consent Banner
   ===================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: white;
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
  padding: 20px 24px;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.cookie-text {
  flex: 1;
  min-width: 240px;
}

.cookie-text p {
  font-size: 0.88rem;
  color: var(--text);
  margin: 0;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-text a:hover {
  color: var(--accent);
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie {
  padding: 10px 24px;
  border-radius: 50px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-cookie-reject {
  background: white;
  color: var(--text);
  border-color: var(--border);
}

.btn-cookie-reject:hover {
  border-color: var(--text);
  color: var(--text);
}

.btn-cookie-accept {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-cookie-accept:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* =====================================================
   Responsive — Tablet
   ===================================================== */
@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-section.reverse {
    direction: ltr;
  }

  .steps-grid::before {
    display: none;
  }

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

/* =====================================================
   Responsive — Mobile
   ===================================================== */
@media (max-width: 640px) {
  .section {
    padding: 60px 0;
  }

  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .result-card {
    padding: 36px 24px;
  }

  .question-card {
    padding: 28px 20px;
  }

  .quiz-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-back,
  .btn-next {
    text-align: center;
    width: 100%;
    justify-content: center;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
  }

  .btn-cookie {
    flex: 1;
    text-align: center;
  }

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

  .cta-banner {
    padding: 70px 24px;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Question transition */
.question-slide {
  animation: fadeInUp 0.4s ease forwards;
}
