/* ============================================================
   TECHMED.NG v8.0 — SLEEK EDITION
   Modernized CSS · Glassmorphism · Fluid Typography · 8px Grid
   ============================================================ */

:root {
  /* Brand Core */
  --primary: #1a3a5c;
  --primary-light: #234a75;
  --primary-glow: rgba(26, 58, 92, 0.15);
  --accent: #e8b931;
  --accent-light: #f2d56a;
  --accent-glow: rgba(232, 185, 49, 0.2);

  /* Neutral Scale */
  --text: #0f172a;
  --text-light: #475569;
  --text-muted: #94a3b8;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --border: #e2e8f0;
  --border-subtle: #f1f5f9;

  /* Feedback */
  --success: #10b981;
  --success-soft: #d1fae5;
  --warning: #f59e0b;
  --warning-soft: #fef3c7;
  --danger: #ef4444;
  --danger-soft: #fee2e2;
  --info: #3b82f6;
  --info-soft: #dbeafe;

  /* Elevation */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 0 3px var(--primary-glow);
  --shadow-accent-glow: 0 0 0 3px var(--accent-glow);

  /* Shape */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Motion */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Typography */
  --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Spacing Scale (8px base) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
}

/* ========== DARK MODE ========== */
[data-theme="dark"] {
  --primary: #60a5fa;
  --primary-light: #93c5fd;
  --primary-glow: rgba(96, 165, 250, 0.2);
  --accent: #fbbf24;
  --accent-light: #fcd34d;
  --accent-glow: rgba(251, 191, 36, 0.2);
  --text: #f8fafc;
  --text-light: #cbd5e1;
  --text-muted: #64748b;
  --bg: #0b1120;
  --surface: #111827;
  --surface-raised: #1e293b;
  --border: #1e293b;
  --border-subtle: #0f172a;
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #60a5fa;
    --primary-light: #93c5fd;
    --primary-glow: rgba(96, 165, 250, 0.2);
    --accent: #fbbf24;
    --accent-light: #fcd34d;
    --accent-glow: rgba(251, 191, 36, 0.2);
    --text: #f8fafc;
    --text-light: #cbd5e1;
    --text-muted: #64748b;
    --bg: #0b1120;
    --surface: #111827;
    --surface-raised: #1e293b;
    --border: #1e293b;
    --border-subtle: #0f172a;
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5);
  }
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background var(--transition-slow), color var(--transition-slow);
}

::selection {
  background: var(--accent-glow);
  color: var(--text);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover { color: var(--primary-light); }

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

/* ========== NAVIGATION — GLASSMORPHISM ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: var(--transition);
}

[data-theme="dark"] .nav,
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .nav {
    background: rgba(11, 17, 32, 0.72);
    border-bottom-color: rgba(30, 41, 59, 0.6);
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}
.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  gap: var(--space-8);
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  padding: var(--space-1) 0;
  letter-spacing: -0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width var(--transition-bounce);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: var(--primary) !important;
  padding: var(--space-2) var(--space-5) !important;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-cta::after { display: none !important; }

.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: rotate(15deg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  background: none;
  border: none;
}

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

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--surface);
  z-index: 999;
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  backdrop-filter: blur(30px);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-menu a {
  display: block;
  padding: var(--space-4) 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.mobile-menu a:hover { padding-left: var(--space-2); color: var(--primary); }
.mobile-menu a.active { color: var(--primary); }

.mobile-cta {
  display: block;
  margin-top: var(--space-6);
  background: var(--accent);
  color: var(--primary);
  padding: var(--space-4);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.mobile-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }

/* ========== HERO SECTION — SLEEK ========== */
.hero {
  padding: 140px var(--space-6) var(--space-20);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: var(--space-5);
  color: var(--text);
  letter-spacing: -0.03em;
}

.hero-content .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}

.hero-content .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: -4px; right: -4px;
  height: 10px;
  background: var(--accent-glow);
  border-radius: 4px;
  z-index: -1;
  transform: skewX(-3deg);
}

.hero-content p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: var(--space-8);
  max-width: 520px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.hero-badge:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.hero-badge svg {
  width: 14px; height: 14px;
  color: var(--success);
}

.hero-cta-group {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--surface);
  color: var(--primary);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: -0.01em;
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary:active { transform: translateY(0); }

/* Hero Image */
.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow);
}

.hero-image:hover img { transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02); }

.hero-image .badge-float {
  position: absolute;
  top: -16px; right: -16px;
  background: var(--accent);
  color: var(--primary);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: var(--shadow-lg), var(--shadow-accent-glow);
  animation: float 4s ease-in-out infinite;
  z-index: 2;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

/* ========== PROOF BAR — GLASS ========== */
.proof-bar {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: var(--space-6) var(--space-6);
  position: relative;
  overflow: hidden;
}

.proof-bar::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.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.proof-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

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

.proof-item .number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-1);
  letter-spacing: -0.02em;
}

.proof-item .label {
  font-size: 0.8rem;
  opacity: 0.85;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ========== SECTIONS ========== */
.section {
  padding: var(--space-24) var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== FEATURE CARDS — SLEEK ========== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-5);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-bounce);
}

.feature-card:hover .feature-icon { transform: scale(1.1) rotate(-3deg); }

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text);
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== HOW IT WORKS — STEPS ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-8);
  counter-reset: step;
}

.step-card {
  position: relative;
  padding: var(--space-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-slow);
}

.step-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md), var(--shadow-accent-glow);
  transition: transform var(--transition-bounce);
}

.step-card:hover::before { transform: translateX(-50%) scale(1.15); }

.step-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  transform: translateY(-4px);
}

.step-card h3 {
  margin-top: var(--space-4);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text);
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========== PHILOSOPHY SECTION ========== */
.philosophy-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: var(--space-24) var(--space-6);
  position: relative;
  overflow: hidden;
}

.philosophy-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,185,49,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.philosophy-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.philosophy-content h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-5);
  letter-spacing: -0.02em;
}

.philosophy-content p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

.philosophy-quote {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-6);
  margin-top: var(--space-8);
  font-style: italic;
  font-size: 1.15rem;
  opacity: 0.95;
  line-height: 1.7;
}

.philosophy-quote cite {
  display: block;
  margin-top: var(--space-3);
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  opacity: 0.75;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.philosophy-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow);
}

.philosophy-image:hover img { transform: scale(1.02); }

/* ========== TESTIMONIALS ========== */
.testimonials-section {
  background: var(--surface);
  padding: var(--space-24) var(--space-6);
}

.testimonials-inner { max-width: 1200px; margin: 0 auto; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: all var(--transition-slow);
  position: relative;
}

.testimonial-card::after {
  content: '"';
  position: absolute;
  top: var(--space-4);
  right: var(--space-6);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
  transform: translateY(-4px);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}

.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: var(--shadow-sm);
}

.testimonial-meta h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.testimonial-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.testimonial-score {
  display: inline-block;
  background: var(--accent-glow);
  color: var(--primary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  margin-top: var(--space-1);
  border: 1px solid var(--accent-glow);
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ========== RESULTS SHOWCASE ========== */
.results-showcase {
  background: var(--bg);
  padding: var(--space-24) var(--space-6);
}

.results-inner { max-width: 1200px; margin: 0 auto; text-align: center; }

.results-inner h2 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.results-inner > p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: var(--space-12);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.results-image {
  max-width: 900px;
  margin: 0 auto var(--space-12);
}

.results-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow);
}

.results-image:hover img { transform: scale(1.01); }

.results-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  max-width: 800px;
  margin: 0 auto;
}

.results-stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition);
}

.results-stat:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.results-stat .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
  line-height: 1;
  letter-spacing: -0.03em;
}

.results-stat .label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: var(--space-2);
  font-weight: 500;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: var(--space-24) var(--space-6);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(232,185,49,0.08) 0%, transparent 60%);
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
  position: relative;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: var(--space-8);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
}

/* ========== FOOTER — SLEEK ========== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: var(--space-16) var(--space-6) var(--space-8);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
}

.footer-brand h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.footer-links h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  padding: var(--space-2) 0;
  font-size: 0.875rem;
  color: var(--text-light);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: var(--space-1);
}

.footer-bottom {
  max-width: 1200px;
  margin: var(--space-8) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   PREDICTOR PAGE
   ============================================================ */

.predictor-hero {
  padding: 140px var(--space-6) var(--space-12);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.predictor-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.predictor-hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Form Card */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  max-width: 700px;
  margin: 0 auto var(--space-10);
  box-shadow: var(--shadow-lg);
  transition: box-shadow var(--transition);
}

.form-card:focus-within {
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: var(--space-2);
  color: var(--text);
  letter-spacing: -0.01em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  transition: all var(--transition);
  font-family: var(--font-main);
}

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

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  background: var(--surface);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.toggle-group {
  display: flex;
  gap: var(--space-2);
}

.toggle-btn {
  flex: 1;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  text-align: center;
  color: var(--text-light);
}

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

.toggle-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.grade-selects {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-2);
}

.grade-selects select {
  padding: 12px 8px;
  font-size: 0.85rem;
  text-align: center;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-1);
  font-weight: 500;
}

/* Results */
.results-v2 {
  display: none;
  max-width: 800px;
  margin: 0 auto var(--space-16);
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.results-v2.show { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.result-header {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.result-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: var(--space-1);
  color: var(--text);
}

.result-header .sub {
  color: var(--text-light);
  font-size: 0.9rem;
}

.position-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  margin: var(--space-4) 0 var(--space-2);
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.position-badge.elite { background: var(--info-soft); color: #1e40af; border-color: #bfdbfe; }
.position-badge.strong { background: var(--success-soft); color: #065f46; border-color: #a7f3d0; }
.position-badge.competitive { background: var(--warning-soft); color: #92400e; border-color: #fde68a; }
.position-badge.borderline { background: #ffedd5; color: #9a3412; border-color: #fed7aa; }
.position-badge.below { background: var(--danger-soft); color: #991b1b; border-color: #fecaca; }

[data-theme="dark"] .position-badge.elite { background: #1e3a5f; color: #93c5fd; border-color: #1e40af; }
[data-theme="dark"] .position-badge.strong { background: #064e3b; color: #6ee7b7; border-color: #059669; }
[data-theme="dark"] .position-badge.competitive { background: #78350f; color: #fcd34d; border-color: #b45309; }
[data-theme="dark"] .position-badge.borderline { background: #7c2d12; color: #fdba74; border-color: #c2410c; }
[data-theme="dark"] .position-badge.below { background: #7f1d1d; color: #fca5a5; border-color: #dc2626; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .position-badge.elite { background: #1e3a5f; color: #93c5fd; border-color: #1e40af; }
  :root:not([data-theme="light"]) .position-badge.strong { background: #064e3b; color: #6ee7b7; border-color: #059669; }
  :root:not([data-theme="light"]) .position-badge.competitive { background: #78350f; color: #fcd34d; border-color: #b45309; }
  :root:not([data-theme="light"]) .position-badge.borderline { background: #7c2d12; color: #fdba74; border-color: #c2410c; }
  :root:not([data-theme="light"]) .position-badge.below { background: #7f1d1d; color: #fca5a5; border-color: #dc2626; }
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.score-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition);
}

.score-box:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.score-box .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: var(--space-1);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score-box .value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.info-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--primary);
  letter-spacing: -0.01em;
}

.target-line {
  padding: var(--space-2) 0;
  font-size: 0.9rem;
  color: var(--text);
  border-bottom: 1px dashed var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.target-line:last-child { border-bottom: none; }

.cluster-bars {
  display: flex;
  height: 36px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-6);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: inset var(--shadow-xs);
}

.cluster-bar {
  height: 100%;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.cluster-bar.elite { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.cluster-bar.strong { background: linear-gradient(135deg, #10b981, #059669); }
.cluster-bar.competitive { background: linear-gradient(135deg, #f59e0b, #d97706); }
.cluster-bar.borderline { background: linear-gradient(135deg, #f97316, #ea580c); }
.cluster-bar.below { background: linear-gradient(135deg, #ef4444, #dc2626); }

.analysis-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.analysis-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  color: var(--primary);
}

.analysis-box pre {
  white-space: pre-wrap;
  font-family: var(--font-main);
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text);
}

.whatsapp-cta {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: white;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.whatsapp-cta:hover { transform: translateY(-2px); }

.whatsapp-text { flex: 1; }
.whatsapp-text h4 { font-size: 1.05rem; margin-bottom: var(--space-1); font-weight: 700; }
.whatsapp-text p { font-size: 0.875rem; opacity: 0.9; }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: white;
  color: #128c7e;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  border: none;
  cursor: pointer;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   CUTOFFS PAGE
   ============================================================ */

.cutoffs-hero {
  padding: 140px var(--space-6) var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cutoffs-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.cutoffs-hero p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.search-box {
  max-width: 500px;
  margin: 0 auto var(--space-10);
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 16px 24px;
  padding-left: 52px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  background: var(--surface);
  color: var(--text);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.search-box input::placeholder { color: var(--text-muted); }

.search-box input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--shadow-glow), var(--shadow-md);
}

.search-box svg {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 20px; height: 20px;
}

.table-wrap {
  max-width: 1200px;
  margin: 0 auto var(--space-16);
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
}

th {
  background: var(--primary);
  color: white;
  padding: 16px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
  text-transform: uppercase;
}

th:first-child { border-radius: var(--radius-xl) 0 0 0; }
th:last-child { border-radius: 0 var(--radius-xl) 0 0; }

td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text);
  transition: background var(--transition-fast);
}

tr:hover td { background: var(--bg); }
tr:last-child td { border-bottom: none; }
tr:last-child td:first-child { border-radius: 0 0 0 var(--radius-xl); }
tr:last-child td:last-child { border-radius: 0 0 var(--radius-xl) 0; }

.tier-badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
}

.tier-elite { background: var(--danger-soft); color: #991b1b; border-color: #fecaca; }
.tier-premium { background: #ffedd5; color: #9a3412; border-color: #fed7aa; }
.tier-standard { background: var(--warning-soft); color: #92400e; border-color: #fde68a; }
.tier-accessible { background: var(--success-soft); color: #065f46; border-color: #a7f3d0; }

[data-theme="dark"] .tier-elite { background: #7f1d1d; color: #fca5a5; border-color: #991b1b; }
[data-theme="dark"] .tier-premium { background: #7c2d12; color: #fdba74; border-color: #9a3412; }
[data-theme="dark"] .tier-standard { background: #78350f; color: #fcd34d; border-color: #92400e; }
[data-theme="dark"] .tier-accessible { background: #064e3b; color: #6ee7b7; border-color: #065f46; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .tier-elite { background: #7f1d1d; color: #fca5a5; border-color: #991b1b; }
  :root:not([data-theme="light"]) .tier-premium { background: #7c2d12; color: #fdba74; border-color: #9a3412; }
  :root:not([data-theme="light"]) .tier-standard { background: #78350f; color: #fcd34d; border-color: #92400e; }
  :root:not([data-theme="light"]) .tier-accessible { background: #064e3b; color: #6ee7b7; border-color: #065f46; }
}

/* Policy Section */
.policy-section {
  max-width: 1200px;
  margin: 0 auto var(--space-16);
  padding: 0 var(--space-6);
}

.policy-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.policy-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.policy-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

.policy-card ul { list-style: none; padding: 0; }

.policy-card li {
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.7;
}

.policy-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ============================================================
   MATERIALS PAGE
   ============================================================ */

.materials-hero {
  padding: 140px var(--space-6) var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.materials-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.materials-tabs {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-10);
  flex-wrap: wrap;
}

.materials-tab {
  padding: 10px 24px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  color: var(--text-light);
}

.materials-tab:hover { border-color: var(--primary-light); color: var(--primary); }

.materials-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-6);
  max-width: 1200px;
  margin: 0 auto var(--space-16);
  padding: 0 var(--space-6);
}

.material-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.material-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: transparent;
}

.material-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.material-card:hover img { transform: scale(1.05); }

.material-card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.material-card-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text);
  letter-spacing: -0.01em;
}

.material-card-body p {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: var(--space-4);
  line-height: 1.7;
  flex: 1;
}

.material-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.material-price span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.whatsapp-buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  margin-top: auto;
}

.whatsapp-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  filter: brightness(1.05);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-hero {
  padding: 140px var(--space-6) var(--space-12);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto var(--space-20);
  padding: 0 var(--space-6);
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow);
}

.about-image:hover img { transform: perspective(1000px) rotateY(2deg) scale(1.02); }

.about-content h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.about-content p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: var(--space-4);
  line-height: 1.8;
}

/* Founder Section */
.founder-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  max-width: 1200px;
  margin: 0 auto var(--space-20);
}

.founder-section .meet-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: var(--space-2);
}

.founder-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-8);
  letter-spacing: -0.02em;
}

.founder-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-12);
  align-items: start;
}

.founder-photo-wrap {
  position: relative;
}

.founder-photo {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
}

.founder-photo-wrap:hover .founder-photo { transform: scale(1.02); }

.founder-photo-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--primary);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  letter-spacing: 0.02em;
}

.founder-story p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.founder-story .highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  margin: var(--space-6) 0;
  box-shadow: var(--shadow-md);
}

.founder-story .highlight-box h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.founder-story .highlight-box ul { list-style: none; padding: 0; margin: 0; }

.founder-story .highlight-box li {
  padding: var(--space-2) 0;
  padding-left: var(--space-5);
  position: relative;
  font-size: 0.875rem;
  line-height: 1.6;
}

.founder-story .highlight-box li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(232,185,49,0.3);
}

.founder-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}

.founder-social a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: all var(--transition);
}

.founder-social a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   TESTIMONIALS & RECORDS PAGE
   ============================================================ */

.testimonials-hero {
  padding: 140px var(--space-6) var(--space-8);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.flagship-story {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius-xl);
  padding: var(--space-12);
  max-width: 1200px;
  margin: 0 auto var(--space-16);
  box-shadow: var(--shadow-lg), var(--shadow-accent-glow);
}

.flagship-story h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-6);
  text-align: center;
  letter-spacing: -0.02em;
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.flagship-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
}

.flagship-image:hover img { transform: scale(1.02); }

.flagship-text p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.flagship-text .quote {
  border-left: 3px solid var(--accent);
  padding-left: var(--space-5);
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   BRAND HERO
   ============================================================ */

.brand-hero {
  padding: 140px var(--space-6) var(--space-20);
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.brand-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-5);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.brand-hero .tagline {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: var(--space-10);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.brand-mission {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  max-width: 900px;
  margin: 0 auto var(--space-10);
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.brand-mission p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.brand-mission p:last-child { margin-bottom: 0; }

.brand-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  max-width: 1000px;
  margin: 0 auto var(--space-16);
}

.brand-pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  text-align: center;
  transition: all var(--transition-slow);
}

.brand-pillar:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.brand-pillar .icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-bounce);
}

.brand-pillar:hover .icon { transform: scale(1.1) rotate(-5deg); }

.brand-pillar h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-2);
  color: var(--text);
  letter-spacing: -0.01em;
}

.brand-pillar p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   QUIZ SECTION
   ============================================================ */

.quiz-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: var(--space-24) var(--space-6);
  position: relative;
  overflow: hidden;
}

.quiz-section::before {
  content: '';
  position: absolute;
  top: -30%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,185,49,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.quiz-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.quiz-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.quiz-content p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: var(--space-6);
  line-height: 1.8;
}

.quiz-content .quiz-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.quiz-content .quiz-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.9rem;
}

.quiz-content .quiz-feature svg {
  width: 20px; height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.quiz-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-slow);
}

.quiz-image:hover img { transform: perspective(1000px) rotateY(-3deg) scale(1.02); }

/* ============================================================
   UNIVERSITY LOGOS
   ============================================================ */

.uni-logos-section {
  padding: var(--space-16) var(--space-6);
  max-width: 1200px;
  margin: 0 auto;
}

.uni-logos-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.uni-logos-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.uni-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: var(--space-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.uni-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition);
  cursor: pointer;
  aspect-ratio: 1;
}

.uni-logo-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.uni-logo-item span {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
  line-height: 1.3;
}

/* ============================================================
   RECORDS SNIPPET
   ============================================================ */

.records-snippet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-10);
  max-width: 800px;
  margin: 0 auto var(--space-16);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.records-snippet:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.records-snippet h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.records-snippet p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: var(--space-6);
  line-height: 1.7;
}

.records-snippet .record-highlight {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent);
  color: var(--primary);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: var(--space-5);
  box-shadow: var(--shadow-sm);
  letter-spacing: -0.01em;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-group .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-group .reveal:nth-child(2) { transition-delay: 100ms; }
.reveal-group .reveal:nth-child(3) { transition-delay: 200ms; }
.reveal-group .reveal:nth-child(4) { transition-delay: 300ms; }
.reveal-group .reveal:nth-child(5) { transition-delay: 400ms; }
.reveal-group .reveal:nth-child(6) { transition-delay: 500ms; }

/* ========== SPINNER ========== */
.spin {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: var(--space-2);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; gap: var(--space-10); text-align: center; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-badges { justify-content: center; }
  .hero-cta-group { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image .badge-float { right: 20px; }

  .philosophy-inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .about-grid { grid-template-columns: 1fr; gap: var(--space-10); }
  .founder-grid { grid-template-columns: 1fr; text-align: center; }
  .founder-photo-wrap { max-width: 280px; margin: 0 auto; }
  .flagship-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .quiz-inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .quiz-image { order: -1; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 2rem; }
  .section-header h2 { font-size: 1.75rem; }
  .form-row { grid-template-columns: 1fr; }
  .grade-selects { grid-template-columns: repeat(3, 1fr); }
  .score-grid { grid-template-columns: 1fr; }
  .whatsapp-cta { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .proof-bar-inner { flex-direction: column; gap: var(--space-4); }
  .results-stats { grid-template-columns: 1fr 1fr; }
  .brand-hero h1 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.75rem; }
  .hero-badge { font-size: 0.7rem; padding: var(--space-1) var(--space-3); }
  .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 0.875rem; }
  .form-card { padding: var(--space-6); }
  .grade-selects { grid-template-columns: repeat(2, 1fr); }
  .results-stats { grid-template-columns: 1fr; }
  .nav { padding: 0 var(--space-4); height: 60px; }
  .mobile-menu { top: 60px; }
  .hero { padding-top: 120px; }
}
