/* =========================
   CSS CUSTOM PROPERTIES
   Light & Dark Mode
========================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700;1,800&family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --col-cream:     #faf7f0;
  --col-warm:      #f5f0e8;
  --col-card:      #ffffff;
  --col-gold:      #e8a800;
  --col-gold-soft: rgba(232,168,0,0.14);
  --col-green-it:  #009246;
  --col-red-it:    #ce2b37;

  --bg-page:       #faf7f0;
  --bg-section-alt:#f5f0e8;
  --bg-card:       rgba(255,255,255,0.85);
  --bg-card-solid: #ffffff;
  --bg-navbar:     rgba(250,247,240,0.72);
  --bg-ribbon:     rgba(255,255,255,0.88);
  --bg-chat-user:  #1c1c1c;
  --bg-chat-bot:   #fff8ec;
  --bg-streak-box: #e8e3d8;
  --bg-badge-item: rgba(255,255,255,0.95);
  --bg-lux-user:   #ffffff;
  --bg-active-user:#fff8dc;
  --bg-faq-item:   rgba(255,255,255,0.85);
  --bg-testimonial:rgba(255,255,255,0.85);
  --bg-exam-map:   rgba(255,255,255,0.7);

  --bg-dark-section: #1a1208;
  --bg-dark-card:    rgba(255,255,255,0.06);
  --text-dark-section: #f5f0e5;
  --text-dark-muted:   #9a8f7e;

  --text-primary:   #1a1208;
  --text-secondary: #6b5f4e;
  --text-muted:     #8a7d6c;
  --text-strong:    #2a1f10;
  --text-nav:       #5a4f40;

  --border-card:     rgba(0,0,0,0.07);
  --border-navbar:   rgba(0,0,0,0.08);
  --border-faq:      rgba(0,0,0,0.07);
  --border-lux-card: rgba(0,0,0,0.07);
  --border-ribbon:   rgba(0,0,0,0.06);

  --shadow-card:     0 8px 32px rgba(30,20,0,0.07);
  --shadow-navbar:   0 4px 24px rgba(30,20,0,0.06);
  --shadow-member:   0 20px 50px rgba(30,20,0,0.10);

  --grid-line:       rgba(180,140,60,0.07);
  --divider-color:   rgba(232,168,0,0.15);

  --theme-toggle-bg:     rgba(0,0,0,0.06);
  --theme-toggle-border: rgba(0,0,0,0.1);
  --theme-toggle-color:  #4a3f2e;

  --faq-answer-color: #6b5f4e;
  --lux-xp-bg:        linear-gradient(135deg,#1a1208,#0f0a03);
  --bg-active-xp:     #1a1208;

  --section-num-color: rgba(180,140,60,0.13);
  --section-num-stroke: rgba(180,140,60,0.18);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;
}

[data-theme="dark"] {
  --bg-page:       #0d0b07;
  --bg-section-alt:#111007;
  --bg-card:       rgba(255,255,255,0.05);
  --bg-card-solid: #1c1a14;
  --bg-navbar:     rgba(13,11,7,0.75);
  --bg-ribbon:     rgba(28,26,18,0.90);
  --bg-chat-user:  #e8a800;
  --bg-chat-bot:   #1a1810;
  --bg-streak-box: #2a2510;
  --bg-badge-item: rgba(255,255,255,0.07);
  --bg-lux-user:   #1c1a10;
  --bg-active-user:#2a2000;
  --bg-faq-item:   rgba(255,255,255,0.04);
  --bg-testimonial:rgba(255,255,255,0.04);
  --bg-exam-map:   rgba(255,255,255,0.04);

  --bg-dark-section: #0d0b07;
  --bg-dark-card:    rgba(255,255,255,0.06);
  --text-dark-section: #f0ece0;
  --text-dark-muted:   #8a7d6c;

  --text-primary:   #f0ece0;
  --text-secondary: #9a8a70;
  --text-muted:     #8a7a60;
  --text-strong:    #e8e0cc;
  --text-nav:       #c0b090;

  --border-card:     rgba(255,255,255,0.08);
  --border-navbar:   rgba(255,255,255,0.08);
  --border-faq:      rgba(255,255,255,0.07);
  --border-lux-card: rgba(255,255,255,0.07);
  --border-ribbon:   rgba(255,255,255,0.06);

  --shadow-card:     0 8px 32px rgba(0,0,0,0.35);
  --shadow-navbar:   0 4px 24px rgba(0,0,0,0.40);
  --shadow-member:   0 20px 50px rgba(0,0,0,0.50);

  --grid-line:       rgba(255,220,100,0.04);
  --divider-color:   rgba(232,168,0,0.08);

  --theme-toggle-bg:     rgba(255,255,255,0.08);
  --theme-toggle-border: rgba(255,255,255,0.12);
  --theme-toggle-color:  #d0c090;

  --faq-answer-color: #9a8a70;
  --lux-xp-bg:        linear-gradient(135deg,#1a1810,#0d0b07);
  --bg-active-xp:     #0d0b07;

  --section-num-color: rgba(232,168,0,0.06);
  --section-num-stroke: rgba(232,168,0,0.08);
}

/* =========================
   RESET & BASE
========================= */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none !important;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.35s ease;
  /* Add top padding for sticky header */
  padding-top: 80px;
}

h1,h2,h3,h4,h5,h6 { font-family: var(--font-body); }

/* =========================
   STICKY HEADER — FIX
========================= */

.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  padding: 12px 0;
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.sticky-header .container {
  /* override z-index for header container */
}

/* When scrolled - add glassy blur */
.sticky-header.scrolled {
  background: var(--bg-navbar);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 4px 32px rgba(30,20,0,0.10);
  border-bottom: 1px solid var(--border-navbar);
}

[data-theme="dark"] .sticky-header.scrolled {
  background: rgba(13,11,7,0.82);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.navbar {
  width: 100%;
  background: var(--bg-navbar);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: 999px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-navbar);
  box-shadow: var(--shadow-navbar);
  transition: background 0.3s, border-color 0.3s;
}

/* Make header always glassy blur */
.sticky-header .navbar {
  /* always glassy */
}

.skill-pass-logo { width: 80px; }
[data-theme="dark"] .skill-pass-logo { filter: brightness(0) invert(1); }

.nav-links { display: flex; gap: 34px; font-size: 14px; }
.nav-links a {
  text-decoration: none;
  color: var(--text-nav);
  font-weight: 600;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--text-primary); }

.navbar-right { display: flex; align-items: center; gap: 8px; }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  border: 1px solid var(--theme-toggle-border);
  border-radius: 999px;
  background: var(--theme-toggle-bg);
  overflow: hidden;
  flex-shrink: 0;
}
.lang-btn {
  background: none;
  border: none;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--theme-toggle-color);
  transition: background 0.2s, color 0.2s;
  border-radius: 999px;
}
.lang-btn.active { background: var(--col-gold); color: #111; }

/* Theme toggle */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--theme-toggle-border);
  background: var(--theme-toggle-bg);
  color: var(--theme-toggle-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.2s;
  flex-shrink: 0;
  position: relative;
}
.theme-toggle:hover { transform: scale(1.06); }
.theme-icon { position: absolute; display: flex; align-items: center; justify-content: center; transition: opacity 0.2s, transform 0.3s; }
.theme-icon-sun  { opacity: 1; transform: rotate(0deg) scale(1); }
.theme-icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.7); }
[data-theme="dark"] .theme-icon-sun  { opacity: 0; transform: rotate(90deg) scale(0.7); }
[data-theme="dark"] .theme-icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

.waitlist-btn {
  background: var(--text-primary);
  color: var(--bg-page);
  border: none;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  transition: background 0.3s, color 0.3s, transform 0.3s;
}
.waitlist-btn:hover { transform: translateY(-2px); }

/* =========================
   CUSTOM CURSOR
========================= */

#cursor-ring {
  position: fixed; top: 0; left: 0;
  width: 40px; height: 40px;
  border: 2px solid var(--col-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width 0.25s, height 0.25s, background 0.25s, border-color 0.25s, opacity 0.2s;
}
#cursor-dot {
  position: fixed; top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--col-gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, background 0.25s;
}
#cursor-label {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(16px,16px);
  background: #111;
  color: var(--col-gold);
  font-family: var(--font-body);
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  border: 1px solid rgba(232,168,0,0.3);
}
[data-theme="dark"] #cursor-label { background: var(--col-gold); color: #111; }
body.cursor-hover #cursor-ring { width: 60px; height: 60px; background: rgba(232,168,0,0.09); }
body.cursor-btn #cursor-ring   { width: 72px; height: 72px; background: rgba(232,168,0,0.14); border-width: 2.5px; }
body.cursor-btn #cursor-label  { opacity: 1; }

/* =========================
   SCROLL PROGRESS BAR
========================= */

#scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--col-gold);
  z-index: 100000;
  transition: width 0.1s linear;
}

/* =========================
   SECTION REVEAL
========================= */

.section-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.section-reveal.revealed { opacity: 1; transform: translateY(0); }

/* =========================
   SECTION NUMBER WATERMARK
========================= */

.section-number {
  position: absolute; top: 40px; right: 40px;
  font-size: 120px; font-weight: 900;
  color: var(--section-num-color);
  line-height: 1;
  pointer-events: none;
  z-index: 1;
  font-family: var(--font-display);
  letter-spacing: -8px;
  -webkit-text-stroke: 1px var(--section-num-stroke);
}

/* =========================
   CONTAINER
========================= */

.container {
  width: 90%;
  max-width: 1280px;
  margin: auto;
  position: relative;
  z-index: 2;
}

/* =========================
   HERO SECTION
========================= */

.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--bg-page);
  padding-bottom: 80px;
  transition: background 0.3s;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 70px 70px;
}
.hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  left: 50%; top: -250px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(232,168,0,0.15) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}
.bg-circle {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.15;
  animation: floatCircle 10s ease-in-out infinite;
}
.circle-1 { width: 250px; height: 250px; background: var(--col-gold); top: 100px; left: -80px; }
.circle-2 { width: 180px; height: 180px; background: #ffbf3c; right: 120px; top: 200px; }

.hero-main-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-top: 60px;
}
.hero-left { flex: 1; max-width: 580px; }
.hero-right { flex: 1; display: flex; justify-content: flex-end; }

.top-badge {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(232,168,0,0.10);
  border: 1px solid rgba(232,168,0,0.28);
  color: var(--text-primary);
  font-size: 14px; font-weight: 600;
  margin-bottom: 30px;
}

/* ── FIXED HERO H1 STRUCTURE ── */
.hero h1 {
  font-size: 72px;
  line-height: 1.05;
  letter-spacing: -4px;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-primary);
  font-family: var(--font-body);
  /* Allow natural line breaking */
  display: block;
}

/* "Pass the Italian" — first line */
.h1-line1 {
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

/* "smarter." — always on its own line, gold italic, no cutting */
.h1-smarter {
  display: block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--col-gold);
  animation: heroFloat 4s ease-in-out infinite;
  line-height: 1.1;
  margin-top: 2px;
}

/* ── HERO LICENSE FLIP — Fixed, no cut ── */
.hero-license-flip {
  display: block;
  position: relative;
  height: 1.05em;
  overflow: hidden;
  margin-bottom: 0;
  /* min-width removed — let it be block so it doesn't cut */
}

.license-slide {
  display: block;
  position: absolute;
  left: 0; top: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--col-gold);
  font-family: var(--font-display);
  font-style: italic;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
  white-space: nowrap;
  line-height: 1;
}
.license-slide.active {
  opacity: 1;
  transform: translateY(0);
}
.license-slide.exit {
  opacity: 0;
  transform: translateY(-110%);
}

.hero p {
  font-size: 18px; line-height: 1.8;
  color: var(--text-secondary);
  max-width: 520px; margin-bottom: 36px;
}
.hero-main-btn {
  background: var(--text-primary);
  color: var(--bg-page);
  border: none;
  padding: 18px 36px;
  border-radius: 999px;
  font-size: 16px; font-weight: 700;
  font-family: var(--font-body);
  transition: background 0.3s, color 0.3s, transform 0.35s;
}
.hero-main-btn:hover { transform: translateY(-4px); }
.hero-screen-image { width: 45%; }

/* Language Slider */
.language-section { margin-top: 20px; }
.language-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 580px;
  border-radius: 60px;
}
.language-slider::before, .language-slider::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 60px; z-index: 3;
  pointer-events: none;
}
.language-slider::before { left: 0; background: linear-gradient(to right, var(--bg-page), transparent); }
.language-slider::after  { right: 0; background: linear-gradient(to left, var(--bg-page), transparent); }
.slider-track {
  display: flex; gap: 12px; width: max-content;
  animation: scrollLanguages 30s linear infinite;
  padding: 8px 0;
}
.language-pill {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  font-size: 14px; font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
  box-shadow: var(--shadow-card);
  transition: background 0.3s, transform 0.3s;
}
.language-pill:hover { transform: translateY(-2px); }

/* =========================
   WORLD RIBBON
========================= */

.world-ribbon-section {
  position: relative; z-index: 50;
  padding: 24px 0 40px;
  background: var(--bg-page);
  transition: background 0.3s;
}
.world-ribbon {
  width: fit-content; max-width: 100%;
  margin: auto;
  display: flex; align-items: center; gap: 18px;
  padding: 16px 18px;
  border-radius: 999px;
  background: var(--bg-ribbon);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-ribbon);
  box-shadow: 0 20px 60px rgba(30,20,0,0.08), inset 0 1px 0 rgba(255,255,255,0.7);
  transition: background 0.3s, border-color 0.3s;
}
.world-ribbon-intro { display: flex; align-items: center; gap: 12px; padding-right: 8px; }
.world-ribbon-dot { width: 10px; height: 10px; border-radius: 999px; background: #22c55e; box-shadow: 0 0 14px rgba(34,197,94,0.7); flex-shrink: 0; }
.world-ribbon-intro span { font-size: 14px; font-weight: 700; color: var(--text-primary); white-space: nowrap; }
.world-ribbon-flags { display: flex; align-items: center; gap: 12px; }
.world-flag-chip {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  transition: transform 0.35s, box-shadow 0.3s;
  white-space: nowrap;
}
.world-flag-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.world-flag-chip img { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
.world-flag-chip strong { display: block; font-size: 14px; font-weight: 800; color: var(--text-primary); line-height: 1.1; }
.world-flag-chip small { display: block; font-size: 12px; color: var(--text-secondary); margin-top: 3px; }
.active-world-chip { background: rgba(232,168,0,0.12); border-color: rgba(232,168,0,0.28); }
.italy-world-chip { position: relative; }
.italy-world-chip::after {
  content: ""; position: absolute; top: 10px; right: 10px;
  width: 7px; height: 7px; border-radius: 999px;
  background: #22c55e; box-shadow: 0 0 12px rgba(34,197,94,0.9);
}

/* =========================
   COMPARISON SECTION — FIXED ICON ALIGNMENT
========================= */

.comparison-section {
  position: relative;
  padding: 110px 0;
  background: var(--bg-dark-section);
  overflow: hidden;
  transition: background 0.3s;
}
.comparison-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,240,180,0.05) 1px, transparent 1px);
  background-size: 22px 22px; z-index: 0;
}
.comparison-glow {
  position: absolute; width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,168,0,0.14) 0%, transparent 70%);
  left: 50%; top: -250px; transform: translateX(-50%);
  filter: blur(50px);
}
.comparison-badge {
  display: inline-flex; padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: var(--col-gold); font-size: 13px; font-weight: 700; letter-spacing: 1px;
  margin-bottom: 28px;
}
.comparison-section h2 {
  font-size: 56px; line-height: 1; letter-spacing: -3px; font-weight: 800;
  color: var(--text-dark-section); margin-bottom: 24px;
}
.comparison-section h2 .accent-italic {
  font-family: var(--font-display); font-style: italic; color: var(--col-gold);
}
.comparison-text { font-size: 18px; line-height: 1.8; color: var(--text-dark-muted); max-width: 720px; margin-bottom: 50px; }

.comparison-table {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 28px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* FIXED: use 3 cols with proper center alignment for icon columns */
.table-head, .table-row {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  padding: 24px 28px;
  align-items: center;
}

.table-head {
  font-size: 12px; text-transform: uppercase; letter-spacing: 2px;
  color: #666;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Center the header column labels */
.table-col-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-row {
  font-size: 16px;
  color: var(--text-dark-section);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s;
}
.table-row:hover { background: rgba(255,255,255,0.03); }
.table-row:last-child { border-bottom: none; }

.table-feature {
  font-size: 16px;
  color: var(--text-dark-section);
  /* text aligned left, icon columns centered */
}

/* check/cross are now spans inside center-flex divs */
.check, .cross {
  width: 38px; height: 38px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
}
.check { background: var(--col-gold); color: #111; }
.cross { color: #555; }
.light { color: #aaa; }

/* =========================
   LICENSE SECTION
========================= */

.license-section {
  position: relative; padding: 110px 0;
  background: var(--bg-section-alt);
  overflow: hidden; transition: background 0.3s;
}
.license-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px),
                    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 70px 70px;
}
.license-top { max-width: 760px; margin-bottom: 70px; }
.license-badge {
  display: inline-flex; padding: 10px 18px; border-radius: 999px;
  background: rgba(232,168,0,0.12); border: 1px solid rgba(232,168,0,0.25);
  color: #7a5800; font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 28px;
}
[data-theme="dark"] .license-badge { color: var(--col-gold); }
.license-top h2 { font-size: 64px; line-height: 1; letter-spacing: -3px; font-weight: 800; color: var(--text-primary); margin-bottom: 24px; }
.license-top h2 .accent-italic { font-family: var(--font-display); font-style: italic; color: var(--col-gold); }
.license-top p { font-size: 18px; line-height: 1.9; color: var(--text-secondary); }
.license-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.modern-license-card {
  position: relative; background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 34px; padding: 34px; overflow: hidden;
  backdrop-filter: blur(18px);
  transition: background 0.3s, border-color 0.3s, transform 0.45s;
  min-height: 430px; box-shadow: var(--shadow-card);
}
.modern-license-card:hover { transform: translateY(-10px); }
.card-glow {
  position: absolute; width: 240px; height: 240px; border-radius: 999px;
  top: -100px; right: -80px; opacity: 0.12; filter: blur(20px);
  animation: floatBlob 7s ease-in-out infinite;
}
.yellow-glow { background: var(--col-gold); }
.red-glow    { background: #e63c3c; }
.blue-glow   { background: #4f8dff; }
.license-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; position: relative; z-index: 2; }
.license-mini-tag { padding: 10px 16px; border-radius: 999px; background: var(--col-gold); color: #111; font-size: 11px; font-weight: 800; letter-spacing: 1px; }
.dark-tag { background: #1a1208; color: white; }
[data-theme="dark"] .dark-tag { background: #f0ece0; color: #111; }
.blue-tag { background: #3b82f6; color: white; }
.license-emoji { width: 76px; height: 76px; border-radius: 24px; background: var(--bg-card-solid); display: flex; align-items: center; justify-content: center; font-size: 34px; }
.modern-license-card h3 { font-size: 44px; line-height: 1; letter-spacing: -2px; font-weight: 800; margin-bottom: 22px; color: var(--text-primary); }
.modern-license-card p { font-size: 17px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 30px; }
.license-features { display: flex; flex-direction: column; gap: 14px; margin-bottom: 34px; }
.license-features div { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.license-footer { padding-top: 22px; border-top: 1px solid var(--border-card); font-size: 15px; font-weight: 700; color: var(--text-secondary); }

/* =========================
   PATENTE JOURNEY
========================= */

.patente-journey {
  position: relative; padding: 110px 0;
  background: var(--bg-dark-section);
  overflow: hidden; transition: background 0.3s;
}
.patente-journey::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,240,180,0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}
.pj-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.pj-badge {
  display: inline-flex; padding: 10px 18px; border-radius: 999px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10);
  color: var(--col-gold); font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 28px;
}
.pj-copy h2 { font-size: 56px; line-height: 1; letter-spacing: -3px; font-weight: 800; color: var(--text-dark-section); margin-bottom: 24px; }
.pj-copy h2 .accent-italic { font-family: var(--font-display); font-style: italic; color: var(--col-gold); }
.pj-copy p { font-size: 18px; line-height: 1.8; color: var(--text-dark-muted); margin-bottom: 36px; }
.pj-steps { display: flex; flex-direction: column; gap: 20px; }
.pj-step { display: flex; align-items: flex-start; gap: 18px; }
.pj-step-num {
  width: 40px; height: 40px; border-radius: 14px; background: var(--col-gold);
  color: #111; font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pj-step-text strong { display: block; font-size: 16px; font-weight: 700; color: var(--text-dark-section); margin-bottom: 4px; }
.pj-step-text span { font-size: 14px; color: var(--text-dark-muted); line-height: 1.6; }

/* Patente Card */
.pj-card-wrap { display: flex; align-items: center; justify-content: center; perspective: 1000px; }
.patente-card {
  width: 380px; height: 240px; border-radius: 18px;
  position: relative; transform-style: preserve-3d;
  animation: cardFloat 6s ease-in-out infinite;
}
@keyframes cardFloat {
  0%,100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50%      { transform: rotateY(8deg) rotateX(-4deg) translateY(-16px); }
}
.patente-card-face {
  position: absolute; inset: 0; border-radius: 18px; overflow: hidden;
  background: linear-gradient(135deg,#1a6b2f 0%,#0d3d1a 40%,#d4980a 100%);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1), inset 0 1px 0 rgba(255,255,255,0.15);
}
.patente-card-face::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(255,255,255,0.08) 0%,transparent 50%,rgba(0,0,0,0.2) 100%);
}
.card-tricolor { position: absolute; top: 0; left: 0; width: 100%; height: 6px; display: flex; }
.card-tricolor span { flex: 1; }
.card-tricolor span:nth-child(1) { background: #009246; }
.card-tricolor span:nth-child(2) { background: #fff; }
.card-tricolor span:nth-child(3) { background: #ce2b37; }
.card-hologram {
  position: absolute; bottom: 16px; right: 16px; width: 50px; height: 50px;
  border-radius: 10px;
  background: conic-gradient(from 0deg,#e8a800,#ff6464,#3b82f6,#22c55e,#e8a800);
  opacity: 0.7; animation: hologramSpin 4s linear infinite; filter: blur(0.5px);
}
@keyframes hologramSpin { from{filter:hue-rotate(0deg) blur(.5px)} to{filter:hue-rotate(360deg) blur(.5px)} }
.card-eu-stars { position: absolute; top: 14px; left: 16px; font-size: 10px; letter-spacing: 2px; color: var(--col-gold); opacity: 0.9; }
.card-flag { position: absolute; top: 10px; right: 16px; font-size: 22px; }
.card-title { position: absolute; top: 38px; left: 16px; color: rgba(255,255,255,.5); font-size: 9px; font-weight: 700; letter-spacing: 2px; }
.card-big-title { position: absolute; top: 52px; left: 16px; color: #fff; font-size: 22px; font-weight: 900; letter-spacing: 1px; }
.card-chip {
  position: absolute; top: 80px; left: 16px; width: 44px; height: 34px; border-radius: 7px;
  background: linear-gradient(135deg,#c49010,#e8a800,#a87000);
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; gap: 2px; padding: 4px;
}
.card-chip-line { background: rgba(0,0,0,.15); border-radius: 1px; }
.card-chip-line.wide { grid-column: span 3; }
.card-name { position: absolute; bottom: 52px; left: 16px; color: rgba(255,255,255,.95); font-weight: 800; font-size: 14px; letter-spacing: 0.5px; }
.card-details { position: absolute; bottom: 16px; left: 16px; display: flex; gap: 28px; }
.card-detail-item label { display: block; font-size: 8px; color: rgba(255,255,255,.5); letter-spacing: 1px; font-weight: 700; }
.card-detail-item span { display: block; font-size: 11px; color: rgba(255,255,255,.9); font-weight: 700; }
.card-category-badge {
  position: absolute; top: 80px; right: 16px;
  background: rgba(232,168,0,.2); border: 1px solid rgba(232,168,0,.4);
  border-radius: 12px; padding: 8px 14px; text-align: center;
  backdrop-filter: blur(10px);
}
.card-category-badge .cat-label { display: block; font-size: 8px; color: rgba(255,255,255,.6); letter-spacing: 2px; margin-bottom: 2px; }
.card-category-badge .cat-value { display: block; font-size: 26px; color: var(--col-gold); font-weight: 900; line-height: 1; }
.card-mag-strip { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right,#333,#555,#333); opacity: 0.6; }

/* =========================
   SKILLBOT SECTION
========================= */

.skillbot-section {
  position: relative; padding: 110px 0;
  background: var(--bg-section-alt);
  overflow: hidden; transition: background 0.3s;
}
.skillbot-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px,transparent 1px),
                    linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size: 70px 70px;
}
.skillbot-glow {
  position: absolute; width: 600px; height: 600px;
  background: radial-gradient(circle,rgba(232,168,0,0.18),transparent 70%);
  left: -200px; top: 50%; transform: translateY(-50%);
  filter: blur(40px); pointer-events: none;
}
.skillbot-container { display: grid; grid-template-columns: 1fr 520px; gap: 80px; align-items: center; position: relative; z-index: 2; }
.skillbot-tag {
  display: inline-flex; padding: 10px 18px; border-radius: 999px;
  background: rgba(232,168,0,0.12); border: 1px solid rgba(232,168,0,0.25);
  color: #7a5800; font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 28px;
}
[data-theme="dark"] .skillbot-tag { color: var(--col-gold); }
.skillbot-left h2 { font-size: 62px; line-height: 1; letter-spacing: -3px; font-weight: 800; color: var(--text-primary); margin-bottom: 28px; }
.skillbot-left p { font-size: 18px; line-height: 1.9; color: var(--text-secondary); max-width: 520px; margin-bottom: 36px; }
.skillbot-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.skillbot-list li { color: var(--text-strong); font-size: 18px; position: relative; padding-left: 28px; font-weight: 500; }
.skillbot-list li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 999px; background: var(--col-gold); }
.chat-card {
  background: var(--bg-card); backdrop-filter: blur(20px);
  border: 1px solid var(--border-card); border-radius: 36px; padding: 28px;
  box-shadow: var(--shadow-card); transition: background 0.3s;
}
.chat-header { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--border-card); margin-bottom: 26px; }
.bot-avatar { width: 58px; height: 58px; border-radius: 18px; background: var(--col-gold); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.chat-header h3 { font-size: 26px; color: var(--text-primary); margin-bottom: 4px; font-weight: 800; }
.chat-header span { font-size: 14px; color: var(--text-secondary); }
.chat-body { display: flex; flex-direction: column; gap: 18px; }
.message { max-width: 88%; padding: 18px 22px; border-radius: 24px; font-size: 16px; line-height: 1.7; }
.user-msg { background: var(--bg-chat-user); color: #fff; align-self: flex-start; border-top-left-radius: 10px; }
[data-theme="dark"] .user-msg { color: #111; }
.bot-msg { background: var(--bg-chat-bot); color: var(--text-strong); align-self: flex-end; border-top-right-radius: 10px; border: 1px solid var(--border-card); }
.small { max-width: 65%; }
.typing { display: flex; align-items: center; gap: 6px; padding: 16px 20px; background: var(--bg-chat-bot); border-radius: 20px; width: max-content; border: 1px solid var(--border-card); }
.typing span { width: 8px; height: 8px; border-radius: 999px; background: #bbb; animation: typing 1.4s infinite; }
.typing span:nth-child(2) { animation-delay: 0.2s; }
.typing span:nth-child(3) { animation-delay: 0.4s; }

/* =========================
   GAMIFICATION
========================= */

.lux-game-section {
  position: relative; padding: 110px 0;
  background: var(--bg-page);
  overflow: hidden; transition: background 0.3s;
}
.lux-game-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px,transparent 1px),
                    linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size: 70px 70px; opacity: 0.55;
}
.lux-top { max-width: 760px; margin-bottom: 70px; }
.lux-section-badge {
  display: inline-flex; padding: 10px 18px; border-radius: 999px;
  background: rgba(232,168,0,0.12); border: 1px solid rgba(232,168,0,0.25);
  color: #7a5800; font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 28px;
}
[data-theme="dark"] .lux-section-badge { color: var(--col-gold); }
.lux-top h2 { font-size: 64px; line-height: 1; letter-spacing: -3px; font-weight: 800; color: var(--text-primary); margin-bottom: 24px; }
.lux-top h2 .accent-italic { font-family: var(--font-display); font-style: italic; color: var(--col-gold); }
.lux-top p { font-size: 18px; line-height: 1.9; color: var(--text-secondary); max-width: 700px; }
.lux-grid-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; grid-template-areas: "xp streak" "badges leaderboard"; gap: 28px; }
.lux-card {
  position: relative; background: var(--bg-card); backdrop-filter: blur(20px);
  border: 1px solid var(--border-lux-card); border-radius: 34px; padding: 34px;
  overflow: hidden; box-shadow: var(--shadow-card);
  transition: background 0.3s, border-color 0.3s, transform 0.45s;
}
.lux-card:hover { transform: translateY(-8px); }
.xp-lux-card { grid-area: xp; min-height: 300px; background: var(--lux-xp-bg); color: white; }
.streak-lux-card { grid-area: streak; }
.badges-lux-card { display: flex; flex-direction: column; justify-content: center; }
.leaderboard-lux-card { grid-area: leaderboard; }
.lux-orb { position: absolute; width: 260px; height: 260px; border-radius: 999px; background: radial-gradient(circle,rgba(232,168,0,0.35),transparent 70%); right: -100px; top: -100px; filter: blur(20px); animation: floatBlob 8s ease infinite; }
.lux-card-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; opacity: 0.7; margin-bottom: 24px; color: var(--text-secondary); }
.xp-lux-card .lux-card-label { color: rgba(255,255,255,.7); }
.lux-level-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.xp-lux-card h3 { font-size: 88px; line-height: 1; font-weight: 800; margin-bottom: 10px; color: white; }
.xp-lux-card p { font-size: 18px; opacity: 0.8; color: white; }
.lux-medal { width: 90px; height: 90px; border-radius: 999px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; font-size: 42px; border: 1px solid rgba(255,255,255,.1); animation: floatCardIcon 4s ease-in-out infinite; }
.lux-progress { width: 100%; height: 14px; background: rgba(255,255,255,.08); border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.lux-progress-fill { width: 84%; height: 100%; background: var(--col-gold); border-radius: 999px; animation: xpMove 4s ease infinite; }
.lux-progress-info { display: flex; justify-content: space-between; font-size: 14px; opacity: 0.7; color: white; }
.streak-number { font-size: 90px; line-height: 1; font-weight: 800; margin-bottom: 12px; color: var(--text-primary); }
.streak-text { font-size: 16px; color: var(--text-secondary); margin-bottom: 34px; }
.lux-streak-days { display: flex; gap: 10px; }
.streak-box { width: 48px; height: 48px; border-radius: 16px; background: var(--bg-streak-box); transition: background 0.3s; }
.streak-active { background: var(--text-primary); }
.streak-glow { background: var(--col-gold); box-shadow: 0 0 30px rgba(232,168,0,.45); animation: pulseGlow 2s ease infinite; }
.lux-badges { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 6px; }
.lux-badge-item {
  padding: 18px; border-radius: 18px; background: var(--bg-badge-item);
  border: 1px solid var(--border-card); font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; min-height: 72px;
  transition: background 0.3s, transform 0.3s; color: var(--text-primary);
}
.lux-badge-item:hover { transform: translateY(-4px); }
.leaderboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.leaderboard-icon { font-size: 24px; }
.lux-users { display: flex; flex-direction: column; gap: 14px; }
.lux-user { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-radius: 20px; background: var(--bg-lux-user); border: 1px solid var(--border-card); transition: background 0.3s, transform 0.3s; color: var(--text-primary); }
.lux-user:hover { transform: translateX(4px); }
.active-user { background: var(--bg-active-user); border: 1px solid rgba(232,168,0,.3); }
.user-left { display: flex; align-items: center; gap: 14px; font-weight: 700; }
.rank { width: 36px; height: 36px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; }
.gold-rank   { background: var(--col-gold); color: #111; }
.silver-rank { background: #dfe4ea; color: #333; }
.bronze-rank { background: #ffbf7a; color: #333; }
.xp-score { font-size: 14px; font-weight: 700; color: var(--text-secondary); }

/* =========================
   STATS STRIP
========================= */

.culture-strip {
  position: relative; padding: 80px 0;
  background: var(--bg-dark-section);
  overflow: hidden; transition: background 0.3s;
}
.culture-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.culture-stat { text-align: center; flex: 1; }
.culture-stat-num { font-size: 56px; font-weight: 900; color: var(--col-gold); line-height: 1; font-family: var(--font-display); font-style: italic; }
.culture-stat-label { font-size: 15px; color: var(--text-dark-muted); margin-top: 8px; font-weight: 600; letter-spacing: 0.5px; }
.culture-divider { width: 1px; height: 80px; background: rgba(255,255,255,0.10); flex-shrink: 0; }

/* =========================
   COMMUNITY SECTION
========================= */

.community-section {
  position: relative; padding: 120px 0;
  background: var(--bg-section-alt);
  overflow: hidden; transition: background 0.3s;
}
.community-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px,transparent 1px),
                    linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size: 70px 70px;
}
.community-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 120px; align-items: center; }
.community-mini { font-size: 12px; font-weight: 700; letter-spacing: 4px; color: var(--text-muted); margin-bottom: 30px; }
.community-layout h2 { font-size: 80px; line-height: 0.9; letter-spacing: -6px; color: var(--text-primary); font-weight: 800; margin-bottom: 30px; max-width: 580px; }
.community-layout h2 .accent-italic { font-family: var(--font-display); font-style: italic; color: var(--col-gold); }
.community-layout p { font-size: 18px; line-height: 1.9; color: var(--text-secondary); max-width: 500px; margin-bottom: 44px; }
.community-active { display: flex; align-items: center; gap: 22px; }
.active-users { display: flex; }
.active-users img { width: 50px; height: 50px; border-radius: 999px; object-fit: cover; border: 3px solid var(--bg-section-alt); margin-left: -14px; box-shadow: 0 10px 30px rgba(0,0,0,0.10); }
.active-users img:first-child { margin-left: 0; }
.community-active span { font-size: 16px; font-weight: 700; color: var(--text-primary); }
.community-conversation { position: relative; height: 520px; }
.chat-float {
  position: absolute; background: var(--bg-card); backdrop-filter: blur(24px);
  border: 1px solid var(--border-card); box-shadow: var(--shadow-card);
  transition: background 0.3s, border-color 0.3s;
}
.big-chat { width: 480px; padding: 36px; border-radius: 40px; left: 20px; top: 120px; }
.chat-head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.chat-head h4 { font-size: 26px; line-height: 1; color: var(--text-primary); margin-bottom: 6px; font-weight: 800; }
.chat-head span { font-size: 14px; color: var(--text-secondary); font-weight: 600; }
.big-chat > p { font-size: 22px; line-height: 1.6; color: var(--text-primary); letter-spacing: -0.5px; }
.mini-chat { width: 280px; padding: 22px; border-radius: 28px; display: flex; align-items: center; gap: 18px; }
.green-chat { right: 20px; top: 30px; }
.blue-chat  { right: 60px; bottom: 40px; }
.mini-chat h5 { font-size: 18px; color: var(--text-primary); margin-bottom: 4px; font-weight: 800; }
.mini-chat span { font-size: 14px; color: var(--text-secondary); }
.chat-dot { width: 14px; height: 14px; border-radius: 999px; flex-shrink: 0; }
.chat-dot-red   { background: #e63c3c; }
.chat-dot-green { background: #22c55e; }
.chat-dot-blue  { background: #3b82f6; }

/* =========================
   EXAM CENTERS — REALISTIC MAP
========================= */

.exam-centers-section {
  padding: 110px 0;
  background: var(--bg-page);
  position: relative; transition: background 0.3s;
}
.exam-centers-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px,transparent 1px),
                    linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size: 70px 70px;
}
.exam-header { text-align: center; max-width: 760px; margin: 0 auto 60px; position: relative; z-index: 2; }
.exam-badge {
  display: inline-flex; padding: 10px 20px; border-radius: 999px;
  background: rgba(232,168,0,0.12); border: 1px solid rgba(232,168,0,0.25);
  font-size: 13px; font-weight: 700; letter-spacing: 1px; color: #7a5800; margin-bottom: 24px;
}
[data-theme="dark"] .exam-badge { color: var(--col-gold); }
.exam-header h2 { font-size: 56px; line-height: 1.1; letter-spacing: -3px; font-weight: 800; color: var(--text-primary); margin-bottom: 20px; }
.exam-header h2 .accent-italic { font-family: var(--font-display); font-style: italic; color: var(--col-gold); }
.exam-header p { font-size: 18px; color: var(--text-secondary); line-height: 1.7; }
.exam-map-wrapper { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 40px; align-items: center; position: relative; z-index: 2; }

/* REALISTIC MAP CONTAINER */
.realistic-map-container {
  border-radius: 28px;
  overflow: hidden;
  background: #0d1117;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
}

.map-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.map-header-left { flex: 1; }

.map-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 8px 16px;
  max-width: 340px;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 500;
}

.map-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.map-badge-live {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,0.15);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: #22c55e;
}

.live-dot {
  width: 7px; height: 7px;
  border-radius: 999px;
  background: #22c55e;
  animation: pulseGlow 1.5s ease infinite;
  display: inline-block;
}

.map-zoom-btns {
  display: flex;
  gap: 4px;
}
.map-zoom-btns button {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 18px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.map-zoom-btns button:hover { background: rgba(255,255,255,0.12); }

.map-world-bg {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.world-map-svg {
  width: 100%;
  height: 100%;
}

/* Map info panel overlay */
.map-info-panel {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(13,17,23,0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 14px 18px;
  min-width: 220px;
}

.map-info-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin-bottom: 12px;
}

.map-info-cities {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.map-city-chip {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}

.map-city-chip.active-chip {
  background: rgba(232,168,0,0.2);
  border-color: rgba(232,168,0,0.4);
  color: #e8a800;
}

.exam-city-list { display: flex; flex-direction: column; gap: 18px; }
.city-item {
  background: var(--bg-card); backdrop-filter: blur(12px);
  border: 1px solid var(--border-card); border-radius: 24px; padding: 18px 24px;
  display: flex; justify-content: space-between; font-weight: 600;
  color: var(--text-primary);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow-card);
}
.city-item:hover { transform: translateX(8px); border-color: rgba(232,168,0,0.4); box-shadow: 0 8px 24px rgba(232,168,0,0.10); }
.city-item span:first-child { font-weight: 800; }
.city-item span:last-child { color: var(--text-secondary); font-size: 14px; }

/* =========================
   TESTIMONIALS SECTION — section number 11
========================= */

.testimonials-section {
  padding: 110px 0;
  background: var(--bg-section-alt);
  text-align: center;
  position: relative;
  transition: background 0.3s;
}
.testimonials-badge {
  display: inline-block; padding: 10px 18px; border-radius: 999px;
  background: rgba(232,168,0,0.12); border: 1px solid rgba(232,168,0,0.25);
  font-size: 13px; font-weight: 700; color: #7a5800; margin-bottom: 24px;
}
[data-theme="dark"] .testimonials-badge { color: var(--col-gold); }
.testimonials-section h2 { font-size: 56px; letter-spacing: -3px; font-weight: 800; color: var(--text-primary); margin-bottom: 50px; }
.testimonials-section h2 .stars-display { font-size: 28px; display: block; margin-top: 12px; color: var(--col-gold); letter-spacing: 4px; }
.testimonials-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; }
.testimonial-card {
  background: var(--bg-testimonial); backdrop-filter: blur(12px);
  border: 1px solid var(--border-card); border-radius: 32px; padding: 32px 28px;
  text-align: left; transition: transform 0.4s; box-shadow: var(--shadow-card);
}
.testimonial-card:hover { transform: translateY(-10px); }
.testimonial-card p { font-size: 17px; line-height: 1.6; color: var(--text-primary); margin-bottom: 24px; font-weight: 500; }
.testimonial-author { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.testimonial-author strong { font-size: 16px; color: var(--text-primary); }
.testimonial-author span   { font-size: 13px; color: var(--text-secondary); }
.testimonial-stars { color: var(--col-gold); font-size: 16px; letter-spacing: 3px; }

/* =========================
   ROAD RULES SECTION
========================= */

.road-rules-section {
  position: relative; padding: 110px 0;
  background: var(--bg-dark-section);
  overflow: hidden; transition: background 0.3s;
}
.road-rules-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,240,180,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.road-rules-glow { position: absolute; width: 600px; height: 600px; background: radial-gradient(circle,rgba(232,168,0,0.12),transparent 70%); right: -200px; top: 50%; transform: translateY(-50%); filter: blur(60px); pointer-events: none; }
.road-rules-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.road-rules-copy h2 { font-size: 56px; line-height: 1; letter-spacing: -3px; font-weight: 800; color: var(--text-dark-section); margin-bottom: 20px; }
.road-rules-copy h2 .accent-italic { font-family: var(--font-display); font-style: italic; color: var(--col-gold); }
.road-rules-copy p { font-size: 18px; line-height: 1.8; color: var(--text-dark-muted); margin-bottom: 40px; }
.road-rules-label { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.10); color: var(--col-gold); font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 28px; }
.signs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.sign-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.09);
  border-radius: 24px; padding: 24px; text-align: center;
  transition: background 0.3s, transform 0.4s;
}
.sign-card:hover { background: rgba(255,255,255,0.09); transform: translateY(-6px); }
.sign-icon { font-size: 40px; margin-bottom: 14px; line-height: 1; }
.sign-name { font-size: 13px; font-weight: 700; color: var(--text-dark-section); margin-bottom: 4px; letter-spacing: 0.5px; }
.sign-desc { font-size: 12px; color: var(--text-dark-muted); line-height: 1.5; }

/* =========================
   TEAM SECTION
========================= */

.studio-team-section {
  position: relative; padding: 110px 0;
  background: var(--bg-section-alt);
  overflow: hidden; transition: background 0.3s;
}
.studio-team-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px,transparent 1px),
                    linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size: 70px 70px; opacity: 0.5;
}
.team-glow { position: absolute; width: 700px; height: 700px; border-radius: 999px; background: radial-gradient(circle,rgba(232,168,0,0.14),transparent 70%); left: -250px; top: -250px; filter: blur(90px); }
.team-top { position: relative; z-index: 2; margin-bottom: 80px; }
.team-badge { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: rgba(232,168,0,0.12); border: 1px solid rgba(232,168,0,0.25); color: #7a5800; font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 28px; }
[data-theme="dark"] .team-badge { color: var(--col-gold); }
.team-heading-row { display: flex; justify-content: space-between; gap: 60px; }
.team-heading-row h2 { font-size: 72px; line-height: 0.95; letter-spacing: -4px; font-weight: 800; color: var(--text-primary); max-width: 680px; }
.team-heading-row h2 .accent-italic { font-family: var(--font-display); font-style: italic; color: var(--col-gold); }
.team-heading-row p { max-width: 420px; font-size: 18px; line-height: 1.8; color: var(--text-secondary); padding-top: 12px; }
.team-category { position: relative; z-index: 2; margin-top: 70px; }
.team-category h3 { font-size: 32px; font-weight: 800; color: var(--text-primary); margin-bottom: 30px; }
.team-grid { display: grid; gap: 24px; }
.leadership-grid { grid-template-columns: repeat(2,1fr); }
.technical-grid  { grid-template-columns: repeat(3,1fr); }
.studio-member-card { position: relative; height: 520px; border-radius: 30px; overflow: hidden; background: #ddd; transition: transform 0.45s; box-shadow: var(--shadow-member); }
.studio-member-card:hover { transform: translateY(-10px); }
.studio-member-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.studio-member-card:hover img { transform: scale(1.06); }
.studio-member-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,0.02),rgba(0,0,0,0.65)); z-index: 1; }
.member-info {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 3;
  background: var(--bg-card); border: 1px solid rgba(255,255,255,.25);
  border-radius: 22px; padding: 18px 20px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(18px); box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: background 0.3s;
}
.member-info h4 { font-size: 20px; font-weight: 800; color: var(--text-primary); margin-bottom: 4px; }
.member-info p  { font-size: 14px; font-weight: 600; color: var(--text-secondary); }
[data-theme="dark"] .member-info { background: rgba(20,20,20,0.96); border-color: rgba(255,255,255,.10); }
[data-theme="dark"] .member-info h4 { color: #f0ece0; }
[data-theme="dark"] .member-info p  { color: #888; }

/* =========================
   FAQ SECTION
========================= */

.faq-section {
  position: relative; padding: 110px 0;
  background: var(--bg-page);
  overflow: hidden; transition: background 0.3s;
}
.faq-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px,transparent 1px),
                    linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size: 70px 70px;
}
.faq-container { position: relative; z-index: 2; }
.faq-top { text-align: center; max-width: 760px; margin: 0 auto 70px; }
.faq-badge { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: rgba(232,168,0,0.12); border: 1px solid rgba(232,168,0,0.25); color: #7a5800; font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 28px; }
[data-theme="dark"] .faq-badge { color: var(--col-gold); }
.faq-top h2 { font-size: 56px; line-height: 1; letter-spacing: -3px; font-weight: 800; color: var(--text-primary); margin-bottom: 24px; }
.faq-top h2 .accent-italic { font-family: var(--font-display); font-style: italic; color: var(--col-gold); }
.faq-top p { font-size: 18px; line-height: 1.8; color: var(--text-secondary); }
.faq-wrapper { display: flex; flex-direction: column; gap: 20px; }
.faq-item { background: var(--bg-faq-item); backdrop-filter: blur(18px); border: 1px solid var(--border-faq); border-radius: 28px; overflow: hidden; transition: background 0.3s, border-color 0.3s, transform 0.4s; box-shadow: var(--shadow-card); }
.faq-item:hover { transform: translateY(-4px); }
.faq-question { width: 100%; background: none; border: none; padding: 28px 30px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-body); font-size: 20px; font-weight: 700; color: var(--text-primary); text-align: left; }
.faq-icon { width: 42px; height: 42px; border-radius: 999px; background: var(--col-gold); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 500; color: #111; transition: transform 0.3s; flex-shrink: 0; }
.faq-answer { display: none; }
.faq-answer p { padding: 0 30px 30px; font-size: 17px; line-height: 1.8; color: var(--faq-answer-color); }
.active-faq .faq-answer { display: block; }
.active-faq .faq-icon { transform: rotate(45deg); }

/* =========================
   WAITLIST SECTION — FIXED AVATARS
========================= */

.waitlist-section {
  position: relative; padding: 120px 0;
  background: var(--bg-dark-section);
  overflow: hidden; transition: background 0.3s;
}
.waitlist-glow { position: absolute; width: 700px; height: 700px; background: radial-gradient(circle,rgba(232,168,0,0.18),transparent 70%); left: 50%; top: -300px; transform: translateX(-50%); filter: blur(60px); }
.waitlist-container { position: relative; z-index: 2; }
.waitlist-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 40px; padding: 80px 60px; text-align: center; backdrop-filter: blur(18px);
}
.waitlist-tag { display: inline-flex; padding: 10px 18px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.10); color: white; font-size: 13px; font-weight: 700; letter-spacing: 1px; margin-bottom: 30px; }
.waitlist-card h2 { font-size: 64px; line-height: 1; letter-spacing: -3px; font-weight: 800; color: white; margin-bottom: 24px; }
.waitlist-card h2 .accent-italic { font-family: var(--font-display); font-style: italic; color: var(--col-gold); }
.waitlist-card p { font-size: 18px; line-height: 1.8; color: #9a8a70; max-width: 720px; margin: 0 auto 40px; }
.waitlist-form { max-width: 620px; margin: auto; background: rgba(250,247,240,0.95); padding: 8px; border-radius: 999px; display: flex; gap: 10px; }
.waitlist-form input { flex: 1; border: none; outline: none; padding: 0 22px; font-size: 16px; background: none; font-family: var(--font-body); color: #111; }
.waitlist-form button { background: var(--col-gold); border: none; padding: 18px 28px; border-radius: 999px; font-size: 15px; font-weight: 700; font-family: var(--font-body); color: #111; transition: transform 0.3s; flex-shrink: 0; }
.waitlist-form button:hover { transform: scale(1.03); }

/* FIXED: Real dummy avatar images */
.waitlist-users { margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 16px; color: #9a8a70; }
.wait-avatars { display: flex; }
.wait-avatar-img {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 3px solid rgba(255,255,255,0.15);
  margin-left: -12px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.wait-avatar-img:first-child { margin-left: 0; }
.waitlist-users span { font-size: 15px; font-weight: 600; }

/* =========================
   FOOTER — FIXED LOGO
========================= */

.footer {
  position: relative; background: #0a0800; padding: 80px 0 40px; overflow: hidden;
}
.footer::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,240,180,0.05) 1px,transparent 1px); background-size: 18px 18px; opacity: 0.4; }
.footer-container { position: relative; z-index: 2; }
.footer-top { display: flex; justify-content: space-between; gap: 80px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand { max-width: 360px; }

/* FIXED: Use actual logo image instead of icon + text */
.footer-logo {
  margin-bottom: 24px;
}
.footer-logo-img {
  width: 110px;
  /* invert to white for dark footer */
  filter: brightness(0) invert(1);
}

.footer-brand p { font-size: 16px; line-height: 1.8; color: #7a6a50; }
.footer-links { display: flex; gap: 80px; }
.footer-column { display: flex; flex-direction: column; gap: 14px; }
.footer-column h4 { font-size: 16px; font-weight: 700; color: white; margin-bottom: 10px; }
.footer-column a { text-decoration: none; color: #7a6a50; font-size: 15px; transition: color 0.3s; }
.footer-column a:hover { color: var(--col-gold); }
.footer-bottom { padding-top: 30px; display: flex; justify-content: space-between; align-items: center; color: #5a4e38; font-size: 14px; }
.footer-socials { display: flex; gap: 24px; }
.footer-socials a { text-decoration: none; color: #5a4e38; transition: color 0.3s; }
.footer-socials a:hover { color: var(--col-gold); }

/* =========================
   KEYFRAME ANIMATIONS
========================= */

@keyframes scrollLanguages { from{transform:translateX(0)} to{transform:translateX(-50%)} }
@keyframes floatCircle { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-30px)} }
@keyframes heroFloat    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
@keyframes typing       { 0%,80%,100%{transform:scale(.7);opacity:.4} 40%{transform:scale(1);opacity:1} }
@keyframes floatBlob    { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-20px)} }
@keyframes floatCardIcon{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes xpMove       { 0%{width:78%} 50%{width:84%} 100%{width:78%} }
@keyframes pulseGlow    { 0%,100%{opacity:1} 50%{opacity:0.5} }

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px) {
   
  .hero-main-layout { flex-direction: column; text-align: center; }
  .hero-left { text-align: center; max-width: 100%; }
  .hero-right { justify-content: center; margin-top: 40px; }
  .hero h1 { font-size: 58px; }
  .hero-license-flip { height: 1.0em; }
  .skillbot-container { grid-template-columns: 1fr; gap: 60px; }
  .license-cards { grid-template-columns: 1fr; }
  .lux-grid-layout { grid-template-columns: 1fr; grid-template-areas: "xp" "streak" "badges" "leaderboard"; }
  .testimonials-grid { grid-template-columns: repeat(2,1fr); }
  .exam-map-wrapper { grid-template-columns: 1fr; }
  .community-layout { grid-template-columns: 1fr; gap: 80px; }
  .community-layout h2 { font-size: 64px; letter-spacing: -5px; }
  .pj-inner { grid-template-columns: 1fr; gap: 60px; }
  .road-rules-inner { grid-template-columns: 1fr; gap: 60px; }
  .footer-top { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
}

@media(max-width:980px) {
  .technical-grid { grid-template-columns: repeat(2,1fr); }
  .culture-inner { flex-wrap: wrap; gap: 30px; }
}

@media(max-width:768px) {
  .nav-links { display: none; }
  .hero h1 { font-size: 44px; letter-spacing: -2px; }
  .hero-license-flip { height: 1em; }
  .comparison-section h2 { font-size: 40px; }
  .skillbot-left h2 { font-size: 40px; }
  .license-top h2 { font-size: 42px; }
  .exam-header h2 { font-size: 38px; }
  .community-layout h2 { font-size: 48px; letter-spacing: -3px; }
  .lux-top h2 { font-size: 42px; }
  .faq-top h2 { font-size: 42px; }
  .team-heading-row { flex-direction: column; }
  .team-heading-row h2 { font-size: 56px; }
  .leadership-grid, .technical-grid { grid-template-columns: 1fr; }
  .studio-member-card { height: 480px; }
  .waitlist-card h2 { font-size: 42px; }
  .waitlist-card { padding: 50px 28px; border-radius: 30px; }
  .waitlist-form { flex-direction: column; border-radius: 28px; }
  .waitlist-form button { width: 100%; }
  .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
  .world-ribbon { width: 100%; border-radius: 34px; flex-direction: column; align-items: flex-start; }
  .world-ribbon-flags { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .pj-copy h2 { font-size: 40px; }
  .patente-card { width: 320px; height: 200px; }
  .card-big-title { font-size: 18px; }
  .community-conversation { height: auto; display: flex; flex-direction: column; gap: 24px; }
  .chat-float { position: relative !important; width: 100% !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; }
  .section-number { font-size: 80px; right: 20px; }
  .culture-stat-num { font-size: 40px; }
  .road-rules-copy h2 { font-size: 40px; }
  .signs-grid { grid-template-columns: repeat(2,1fr); }
  .table-head, .table-row { grid-template-columns: 1fr 90px 90px; }
}

@media(max-width:480px) {
  .hero h1 { font-size: 36px; line-height: 1.2; }
  .hero-license-flip { height: 0.95em; }
  .comparison-section h2 { font-size: 34px; }
  .license-top h2, .lux-top h2, .faq-top h2 { font-size: 34px; }
  .modern-license-card h3 { font-size: 30px; }
  .waitlist-card h2 { font-size: 34px; }
  .navbar-right { gap: 6px; }
  .waitlist-btn { padding: 10px 16px; font-size: 13px; }
  .patente-card { width: 280px; height: 176px; }
  .card-big-title { font-size: 16px; }
  .section-number { font-size: 60px; right: 16px; top: 20px; }
  .lang-btn { padding: 7px 10px; font-size: 11px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .signs-grid { grid-template-columns: 1fr; }
  .table-head, .table-row { grid-template-columns: 1fr 70px 70px; padding: 16px 16px; }
}