/* ============================================
   RPG SKILLS — Layout
   ============================================ */

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-narrow {
  max-width: 900px;
}

/* SECTION */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-alt {
  background: var(--dark2);
}

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

.section-header p {
  margin-left: auto;
  margin-right: auto;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: visible;
  padding: 120px var(--space-xl) 80px;
  background: var(--dark);
}

.hero-bg,
.hero-stars,
.hero-runes,
.hero-particles,
.rpg-vignette,
.hero-fade,
.magic-circle {
  clip-path: inset(0);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(212,136,28,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 30% 60%, rgba(212,136,28,.04) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 70% 70%, rgba(212,136,28,.05) 0%, transparent 50%);
}

.hero-bg .g1 {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse 70% 50% at 50% 25%, rgba(212,136,28,.06) 0%, transparent 65%);
}

.hero-bg .g2 {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,136,28,.06) 0%, transparent 55%);
  top: -250px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-bg .g3 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,136,28,.04) 0%, transparent 55%);
  bottom: -100px;
  right: -100px;
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

.hero-stars::before,
.hero-stars::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  animation: twinkle 5s ease-in-out infinite alternate;
}

.hero-stars::before {
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(212,136,28,.8) 0%, transparent 100%),
    radial-gradient(1px 1px at 28% 55%, rgba(212,136,28,.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 48% 30%, rgba(255,255,255,.4) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 68% 12%, rgba(212,136,28,.65) 0%, transparent 100%),
    radial-gradient(1px 1px at 82% 50%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 18% 78%, rgba(212,136,28,.45) 0%, transparent 100%),
    radial-gradient(1px 1px at 58% 72%, rgba(255,255,255,.25) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 36% 88%, rgba(212,136,28,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 88% 28%, rgba(255,255,255,.35) 0%, transparent 100%),
    radial-gradient(2px 2px at 52% 6%, rgba(212,136,28,.85) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 76% 85%, rgba(212,136,28,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 5% 40%, rgba(212,136,28,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 94% 65%, rgba(212,136,28,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 42% 95%, rgba(212,136,28,.35) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 8% 92%, rgba(255,255,255,.3) 0%, transparent 100%);
}

.hero-stars::after {
  background-image:
    radial-gradient(1px 1px at 7% 32%, rgba(212,136,28,.6) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 32% 15%, rgba(255,255,255,.35) 0%, transparent 100%),
    radial-gradient(2px 2px at 60% 40%, rgba(212,136,28,.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 78% 20%, rgba(255,255,255,.3) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 44% 62%, rgba(212,136,28,.55) 0%, transparent 100%),
    radial-gradient(1px 1px at 10% 65%, rgba(255,255,255,.25) 0%, transparent 100%),
    radial-gradient(1px 1px at 70% 48%, rgba(212,136,28,.45) 0%, transparent 100%),
    radial-gradient(1.5px 1.5px at 91% 10%, rgba(212,136,28,.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 45%, rgba(212,136,28,.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 80%, rgba(255,255,255,.2) 0%, transparent 100%);
  animation: twinkle 3.5s ease-in-out infinite alternate-reverse;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-badge {
  margin-bottom: var(--space-lg);
}

.hero-title {
  margin-bottom: var(--space-lg);
  color: #fff;
  -webkit-text-stroke: 0.5px #000;
  text-shadow:
    0 0 30px rgba(200,130,30,.25),
    0 0 60px rgba(200,130,30,.1);
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-title .letter {
  display: inline-block;
  animation: letterWave 2.5s ease-in-out infinite;
}

.hero-title .letter.space {
  width: 0.35em;
}

.hero-title .letter:nth-child(1)  { animation-delay: 0s; }
.hero-title .letter:nth-child(2)  { animation-delay: 0.1s; }
.hero-title .letter:nth-child(3)  { animation-delay: 0.2s; }
.hero-title .letter:nth-child(4)  { animation-delay: 0.3s; }
.hero-title .letter:nth-child(5)  { animation-delay: 0.45s; }
.hero-title .letter:nth-child(6)  { animation-delay: 0.55s; }
.hero-title .letter:nth-child(7)  { animation-delay: 0.65s; }
.hero-title .letter:nth-child(8)  { animation-delay: 0.75s; }
.hero-title .letter:nth-child(9)  { animation-delay: 0.85s; }
.hero-title .letter:nth-child(10) { animation-delay: 0.95s; }
.hero-title .letter:nth-child(11) { animation-delay: 1.05s; }

@keyframes letterWave {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.hero-title .hl {
  color: var(--gold);
}

.hero-subtitle {
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-line {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.hero-line-intro {
  font-weight: 400;
  color: var(--text-muted);
  font-style: italic;
}

.hero-line-imagine {
  font-weight: 600;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: var(--space-lg);
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-xl);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(0.9rem, 1.6vw, 1rem);
  font-weight: 500;
  color: var(--text-body);
  padding: 12px 24px;
  background: linear-gradient(135deg, rgba(212,136,28,0.06) 0%, rgba(212,136,28,0.02) 100%);
  border: 1px solid rgba(212,136,28,0.12);
  border-radius: var(--radius-full);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: featureSlideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--delay);
  transition: all 0.3s ease;
}

.hero-feature-item:hover {
  background: linear-gradient(135deg, rgba(212,136,28,0.12) 0%, rgba(212,136,28,0.04) 100%);
  border-color: rgba(212,136,28,0.25);
  transform: translateY(-2px) scale(1);
  box-shadow: 0 4px 20px rgba(212,136,28,0.1);
}

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

.hero-feature-item strong {
  color: var(--gold);
}

.hero-line-challenge {
  font-weight: 400;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.8;
}

.hero-line-challenge .text-gold {
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  display: inline-block;
  margin-top: 4px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gold);
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
  text-shadow: 0 0 30px rgba(212,136,28,.3);
  animation: taglineGlow 3s ease-in-out infinite;
}

@keyframes taglineGlow {
  0%, 100% { text-shadow: 0 0 20px rgba(212,136,28,.2); }
  50% { text-shadow: 0 0 40px rgba(212,136,28,.4), 0 0 80px rgba(212,136,28,.15); }
}

.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(212,136,28,.1);
}

.hero-social-item {
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.hero-social-item strong {
  color: var(--gold);
  font-weight: 600;
}

.hero-social-divider {
  color: var(--text-dim);
  font-size: var(--fs-xs);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-lg) var(--space-3xl);
  margin-top: var(--space-3xl);
}

.hero-stat {
  text-align: center;
  min-width: 0;
  transition: transform 0.2s ease;
}

.hero-stat:hover {
  transform: translateY(-4px);
}

.hero-stat:hover .hero-stat-number {
  text-shadow: 0 0 20px rgba(212,136,28,.5);
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 10px rgba(212,136,28,.25);
}

.hero-stat-icon {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-xs);
  opacity: 0.6;
}

.hero-stat-label {
  font-size: var(--fs-2xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  margin-top: var(--space-xs);
}

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

.grid-classes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

/* FEATURES SPLIT */
.features-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

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

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

.features-text {
  max-width: 500px;
}

.features-visual {
  background: linear-gradient(135deg, #150a08, #0e0808);
  border: 1px solid rgba(212,136,28,.09);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.features-visual::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,136,28,.2), transparent);
}

/* LOOP DIAGRAM (agora extensão de Progressão Completa) */
.loop-extension {
  margin-top: var(--space-xl);
}
.loop-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  padding: var(--space-xl);
}

.loop-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.loop-step-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  border-radius: 50%;
  background: rgba(212,136,28,.06);
  border: 2px solid rgba(212,136,28,.12);
}

.loop-step-label {
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--text-body);
}

.loop-arrow {
  font-size: 1.5rem;
  color: var(--text-dim);
}

/* WINDOW MOCKUP */
/* ===== RPG SKILLS WINDOW (estilo da janela do mod) ===== */
.window-mockup {
  background: linear-gradient(180deg, #0b0e1c 0%, #080a14 100%);
  border: 1px solid rgba(212,136,28,0.35);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.03);
  position: relative;
}

.window-mockup::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10px 10px, rgba(212,136,28,0.5) 1.5px, transparent 2px),
    radial-gradient(circle at calc(100% - 10px) 10px, rgba(212,136,28,0.5) 1.5px, transparent 2px),
    radial-gradient(circle at 10px calc(100% - 10px), rgba(212,136,28,0.5) 1.5px, transparent 2px),
    radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), rgba(212,136,28,0.5) 1.5px, transparent 2px);
}

.window-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #161b30, #0d1120);
  border-bottom: 1px solid rgba(212,136,28,0.25);
}

.window-logo {
  font-size: 1.1rem;
  filter: drop-shadow(0 0 6px rgba(212,136,28,0.6));
}

.window-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

.window-version {
  font-size: 0.7rem;
  color: var(--gold);
  background: rgba(212,136,28,0.12);
  border: 1px solid rgba(212,136,28,0.3);
  border-radius: 999px;
  padding: 1px 8px;
}

.window-keyhint {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.window-keyhint kbd {
  display: inline-block;
  background: #1c2236;
  border: 1px solid rgba(255,255,255,0.15);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 0 6px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #fff;
}

.window-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 12px 0;
  background: #0a0d18;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.window-tab {
  appearance: none;
  cursor: pointer;
  border: 1px solid transparent;
  border-bottom: none;
  background: #11152a;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.window-tab .wt-ico { font-size: 0.95rem; }

.window-tab:hover { color: #fff; background: #161b30; }

.window-tab.active {
  background: linear-gradient(180deg, #1b2138, #121629);
  color: var(--gold);
  border-color: rgba(212,136,28,0.4);
  box-shadow: 0 -2px 10px rgba(212,136,28,0.15);
}

.window-body {
  padding: 22px 24px;
  min-height: 340px;
  background:
    radial-gradient(circle at 50% 0%, rgba(212,136,28,0.05), transparent 60%),
    #0a0d18;
}

/* STATUS */
.win-status { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; }
.win-player { display: flex; gap: 12px; align-items: center; }
.win-avatar {
  width: 56px; height: 56px; flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(212,136,28,0.12);
  border: 1px solid rgba(212,136,28,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.win-player-name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.win-lvl { color: var(--gold); font-size: 0.78rem; margin-left: 6px; }
.win-xpbar {
  height: 8px; background: #05070f; border-radius: 4px;
  margin: 6px 0 4px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06);
}
.win-xpfill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #f0b24a);
  box-shadow: 0 0 10px rgba(212,136,28,0.6);
}
.win-xptext { font-size: 0.72rem; color: var(--text-muted); }
.win-label {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-dim); margin-bottom: 8px;
}
.win-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.win-chip {
  font-size: 0.72rem; color: var(--text-body);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px; padding: 4px 9px;
}
.win-chip.blue { border-color: rgba(96,165,250,0.4); color: #cfe0ff; }
.win-chip.gold { border-color: rgba(212,136,28,0.4); color: var(--gold); }

/* CLASSES */
.win-points {
  font-size: 0.85rem; color: var(--text-muted);
  background: rgba(212,136,28,0.08);
  border: 1px solid rgba(212,136,28,0.25);
  border-radius: 8px; padding: 8px 12px; margin-bottom: 12px;
}
.win-points b { color: var(--gold); font-size: 1rem; }
.win-class-list { display: flex; flex-direction: column; gap: 8px; }
.win-class-row {
  display: flex; align-items: center; gap: 12px;
  background: #0e1224;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 10px 12px;
  transition: border-color 0.2s, transform 0.2s;
}
.win-class-row:hover { border-color: rgba(212,136,28,0.4); transform: translateX(2px); }
.win-class-icon {
  width: 40px; height: 40px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--gold);
  background: rgba(212,136,28,0.1); border-radius: 8px;
}
.win-class-info { flex: 1; min-width: 0; }
.win-class-name { font-weight: 600; color: #fff; font-size: 0.88rem; }
.win-class-lvl { font-size: 0.72rem; color: var(--gold); margin-left: 6px; }
.win-class-lvl.blue { color: #60a5fa; }
.win-class-lvl.dim { color: var(--text-dim); }
.win-class-bonus { font-size: 0.72rem; color: var(--text-muted); margin-top: 2px; }
.win-plus {
  flex: 0 0 auto; cursor: pointer;
  background: linear-gradient(180deg, var(--gold), #c2761a);
  color: #1a1205; font-weight: 800; font-size: 0.9rem;
  border: none; border-radius: 6px; width: 34px; height: 30px;
  transition: filter 0.2s, transform 0.1s;
}
.win-plus:hover { filter: brightness(1.12); }
.win-plus:active { transform: scale(0.94); }

/* SHOP */
.win-shop-section { margin-bottom: 12px; }
.win-sub { color: var(--text-dim); font-size: 0.68rem; text-transform: none; letter-spacing: 0; margin-left: 4px; }
.win-buff-row { display: flex; gap: 8px; }
.win-buff {
  cursor: pointer; flex: 1;
  background: #0e1224; color: #fff;
  border: 1px solid rgba(212,136,28,0.3); border-radius: 8px;
  padding: 10px; font-weight: 700; font-size: 0.95rem;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  transition: all 0.2s;
}
.win-buff:hover { background: rgba(212,136,28,0.12); border-color: var(--gold); }
.win-coin { font-size: 0.68rem; color: var(--gold); font-weight: 600; }
.win-shop-item {
  display: flex; align-items: center; gap: 12px;
  background: #0e1224; border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px; padding: 10px 12px; margin-bottom: 8px;
}
.win-shop-icon {
  width: 38px; height: 38px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; background: rgba(212,136,28,0.1); border-radius: 8px;
}
.win-shop-info { flex: 1; min-width: 0; }
.win-shop-name { font-weight: 600; color: #fff; font-size: 0.85rem; }
.win-shop-desc { font-size: 0.7rem; color: var(--text-muted); }
.win-cost {
  flex: 0 0 auto; color: var(--gold); font-weight: 700; font-size: 0.82rem;
  background: rgba(212,136,28,0.1); border: 1px solid rgba(212,136,28,0.3);
  border-radius: 999px; padding: 3px 10px;
}

@media (max-width: 560px) {
  .win-status { grid-template-columns: 1fr; }
}

/* Janela centralizada + info das 3 abas abaixo */
.window-stage {
  max-width: 660px;
  margin: 0 auto var(--space-2xl);
}

.window-tabs-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 920px;
  margin: 0 auto;
}

.window-tabs-info .feature-row {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-lg);
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, transform 0.2s;
}

.window-tabs-info .feature-row:hover {
  border-color: rgba(212,136,28,0.35);
  transform: translateY(-3px);
}

.window-tabs-info .feature-row-icon { font-size: 1.5rem; }

.window-tabs-info .feature-row-content h4 { margin-bottom: 4px; }

@media (max-width: 720px) {
  .window-tabs-info { grid-template-columns: 1fr; max-width: 420px; }
}

/* FOOTER */
.footer {
  background: #04050d;
  border-top: 1px solid var(--border);
  padding: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-brand p {
  font-size: 11px;
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.6;
  margin-top: var(--space-sm);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
  color: var(--gold-dim);
  margin-bottom: var(--space-md);
}

.footer-col a {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(212,136,28,.06);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--text-dim);
}

.footer-bottom a {
  color: var(--text-muted);
}

/* RESPONSIVE — TABLET */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-stats {
    gap: var(--space-md) var(--space-2xl);
  }
}

/* RESPONSIVE — MOBILE */
@media (max-width: 700px) {
  .nav-links {
    display: none !important;
  }

  .mobile-toggle {
    display: flex;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .xp-track {
    overflow-x: auto;
    justify-content: flex-start;
    gap: var(--space-lg);
    padding-bottom: var(--space-sm);
  }

  .xp-track-line { display: none; }

  .xp-milestone { flex: 0 0 140px; }

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

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

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-md) var(--space-xl);
  }

  .hero-social-proof {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .hero-social-divider {
    display: none;
  }

  .hero-feature-item {
    font-size: 0.85rem;
    padding: 10px 16px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .loop-diagram {
    flex-direction: column;
  }

  .loop-arrow {
    transform: rotate(90deg);
  }
}

/* RESPONSIVE — MOBILE TINY */
@media (max-width: 480px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .hero {
    padding: 100px var(--space-md) 60px;
  }

  .container {
    padding: 0 var(--space-md);
  }

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

/* RESPONSIVE — LANGUAGE SWITCHER */
@media (max-width: 700px) {
  .nav-links .lang-switcher {
    display: none;
  }

  .mobile-lang-switcher {
    margin-top: var(--space-md);
  }
}
