/* ============================================================
   XP Concursos — style.css
   Arquivo principal de estilos
   ============================================================ */

/* ------ CSS CUSTOM PROPERTIES (Design Tokens) ------ */
:root {
  /* Cores principais */
  --bg-primary: #0F0F14;
  --bg-secondary: #13131a;
  --bg-card: #1C1C28;
  --bg-card-hover: #222234;

  /* Bordas */
  --border-color: #2A2A3A;
  --border-hover: #7C3AED;

  /* Cores da marca */
  --purple-primary: #7C3AED;
  --purple-light: #A78BFA;
  --purple-dark: #5B21B6;
  --purple-glow: rgba(124, 58, 237, 0.25);
  --purple-glow-strong: rgba(124, 58, 237, 0.5);

  /* Tipografia */
  --font-title: 'Rajdhani', sans-serif;
  --font-body: 'Exo 2', sans-serif;

  /* Cores de texto */
  --text-primary: #F0F0FF;
  --text-secondary: #9090B0;
  --text-muted: #5A5A7A;
  --text-accent: var(--purple-light);

  /* Espaçamentos */
  --section-padding: 120px 0;
  --container-max: 1200px;
  --container-pad: 0 24px;

  /* Bordas arredondadas */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Sombras */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px var(--purple-glow);
  --shadow-glow-strong: 0 0 60px var(--purple-glow-strong);

  /* Transições */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Canvas de partículas (fundo fixo) */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Garantir que todo conteúdo fique acima do canvas */
.navbar,
section,
footer {
  position: relative;
  z-index: 1;
}

/* ------ UTILITÁRIOS ------ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

.accent {
  color: var(--purple-light);
}

.section {
  padding: var(--section-padding);
}

.section-label {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 60px;
  line-height: 1.7;
}

/* ------ BOTÕES ------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-primary), var(--purple-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.55);
  background: linear-gradient(135deg, #8B4CF8, var(--purple-primary));
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--purple-primary);
  background: rgba(124, 58, 237, 0.08);
}

.btn-large {
  font-size: 1.1rem;
  padding: 18px 36px;
  border-radius: var(--radius-lg);
}

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 15, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px var(--purple-primary));
}

.logo-text {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.logo-accent {
  color: var(--purple-light);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--purple-light);
}

.nav-cta {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--purple-light);
  text-decoration: none;
  border: 1px solid rgba(124, 58, 237, 0.4);
  padding: 8px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  flex-shrink: 0;
}

.nav-cta:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: var(--purple-primary);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

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

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero — coluna esquerda */
.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.title-line {
  display: block;
}

.title-line.accent {
  color: var(--purple-light);
  text-shadow: 0 0 40px rgba(167, 139, 250, 0.4);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Contador XP */
.xp-counter-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.xp-counter-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), transparent);
  pointer-events: none;
}

.xp-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.xp-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}

.xp-number {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--purple-light);
  letter-spacing: -0.02em;
  line-height: 1;
}

.xp-unit {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-muted);
}

.xp-bar-wrap {
  position: relative;
}

.xp-bar-wrap > div:first-of-type {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}

#xp-bar {
  height: 8px;
  background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
  border-radius: 100px;
  width: 0%;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.6);
}

.xp-bar-label {
  position: absolute;
  right: 0;
  top: -22px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Hero — actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* Hero — mini stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat span:first-child {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-color);
}

/* ---- MOCKUP DO CELULAR ---- */
.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mockup-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.3), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: glow-pulse 3s ease-in-out infinite;
  z-index: 0;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.phone-frame {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 580px;
  background: #18181f;
  border-radius: 44px;
  border: 2px solid #2e2e40;
  box-shadow:
    0 0 0 1px #0a0a10,
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(124, 58, 237, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  animation: float 4s ease-in-out infinite;
}

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

.phone-notch {
  width: 100px;
  height: 28px;
  background: #12121a;
  border-radius: 0 0 18px 18px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  padding-top: 40px;
  overflow: hidden;
}

.phone-home-bar {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 100px;
}

/* -- App Screen Content -- */
.app-screen {
  padding: 12px 16px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-header {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 10px 12px;
}

.app-avatar {
  width: 34px;
  height: 34px;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.app-username {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.app-level {
  font-size: 0.65rem;
  color: var(--purple-light);
  margin-top: 1px;
}

.app-streak {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(251, 146, 60, 0.1);
  padding: 4px 8px;
  border-radius: 8px;
}

.streak-fire {
  font-size: 0.9rem;
  animation: fire-pulse 1.5s ease-in-out infinite;
}

@keyframes fire-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.streak-num {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fb923c;
}

.app-xp-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 12px;
}

.app-xp-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.app-xp-val {
  color: var(--purple-light);
  font-weight: 600;
}

.app-xp-bar {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  overflow: hidden;
}

.app-xp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
  border-radius: 100px;
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.5);
}

/* Pomodoro no app */
.app-pomodoro {
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 14px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.pomo-ring {
  position: relative;
  width: 80px;
  height: 80px;
}

.pomo-ring svg {
  width: 80px;
  height: 80px;
  transform: rotate(-90deg);
}

.pomo-bg {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 6;
}

.pomo-progress {
  fill: none;
  stroke: var(--purple-primary);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 213.6;
  stroke-dashoffset: 53.4; /* 75% cheio */
  filter: drop-shadow(0 0 4px var(--purple-primary));
  transition: stroke-dashoffset 1s ease;
}

.pomo-time {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pomo-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-align: center;
}

.pomo-btn {
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--purple-primary);
  color: #fff;
  border: none;
  padding: 5px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.pomo-btn:hover {
  background: var(--purple-dark);
}

/* Mini ranking no app */
.app-ranking-mini {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 12px;
  flex: 1;
}

.rank-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px;
  border-radius: 7px;
  margin-bottom: 3px;
  font-size: 0.62rem;
}

.rank-pos {
  font-family: var(--font-title);
  font-weight: 700;
  width: 18px;
  color: var(--text-muted);
}

.rank-name {
  flex: 1;
  color: var(--text-secondary);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-xp {
  font-weight: 600;
  color: var(--purple-light);
}

.rank-first { background: rgba(250, 204, 21, 0.08); }
.rank-first .rank-pos { color: #facc15; }
.rank-second { background: rgba(203, 213, 225, 0.06); }
.rank-second .rank-pos { color: #cbd5e1; }
.rank-you { background: rgba(124, 58, 237, 0.1); border: 1px solid rgba(124,58,237,0.2); }
.rank-you .rank-name { color: var(--purple-light); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg);
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SEÇÃO: O PROBLEMA
============================================================ */
.problema {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
}

.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), transparent);
  transition: var(--transition);
}

.problem-card:hover {
  border-color: var(--purple-primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

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

/* Card do meio em destaque */
.card-featured {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(91, 33, 182, 0.08));
  border-color: rgba(124, 58, 237, 0.5);
  transform: scale(1.04);
  box-shadow: 0 0 40px rgba(124, 58, 237, 0.15);
}

.card-featured:hover {
  transform: scale(1.04) translateY(-6px);
}

.card-featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-primary);
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
  padding: 3px 10px;
  border-radius: 100px;
}

.card-number {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--purple-primary);
  opacity: 0.7;
  margin-bottom: 16px;
}

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: block;
}

.card-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   SEÇÃO: COMO FUNCIONA
============================================================ */
.como-funciona {
  background: var(--bg-primary);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.step-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
  opacity: 0;
  transition: var(--transition);
}

.step-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(124, 58, 237, 0.1);
}

.step-card:hover::after {
  opacity: 1;
}

.step-number {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--purple-primary);
  opacity: 0.6;
  margin-bottom: 16px;
}

.step-icon-wrap {
  width: 56px;
  height: 56px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.step-card:hover .step-icon-wrap {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}

.step-icon {
  font-size: 1.8rem;
}

.step-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ============================================================
   SEÇÃO: GAMIFICAÇÃO
============================================================ */
.gamificacao {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

/* Ligas */
.leagues-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 40px;
  margin-bottom: 32px;
}

.leagues-label {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 32px;
}

.leagues-track {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: space-between;
  margin-bottom: 32px;
}

.league-connector {
  flex: 1;
  height: 2px;
  background: var(--border-color);
}

.league-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.league-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition);
}

.league-item:hover .league-icon {
  border-color: var(--purple-primary);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.25);
  transform: scale(1.1);
}

.league-legendary .league-icon {
  border-color: #facc15;
  background: rgba(250, 204, 21, 0.08);
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.2);
  animation: legendary-glow 2s ease-in-out infinite;
}

@keyframes legendary-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(250, 204, 21, 0.2); }
  50% { box-shadow: 0 0 35px rgba(250, 204, 21, 0.4); }
}

.league-name {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* Barra de progresso das ligas */
.league-progress-wrap {
  margin-top: 8px;
}

.league-progress-bar {
  height: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  position: relative;
  overflow: visible;
  margin-bottom: 12px;
}

.league-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #a78bfa, var(--purple-primary), #facc15);
  border-radius: 100px;
  width: 0%;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
}

.league-progress-cursor {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: var(--bg-card);
  border: 2px solid var(--purple-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
  transition: left 2s cubic-bezier(0.4, 0, 0.2, 1);
  left: 0%;
}

.league-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Badges e Streak Freeze */
.gamification-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.extras-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.extras-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
}

.extras-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
  cursor: default;
  opacity: 0.45;
}

.badge-item.badge-earned {
  opacity: 1;
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.2);
}

.badge-item.badge-earned:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.15);
}

.badge-emoji {
  font-size: 1.4rem;
}

.badge-name {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
}

/* Streak Freeze */
.streak-freeze-card {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.05), rgba(14, 165, 233, 0.03));
  border-color: rgba(56, 189, 248, 0.15);
}

.streak-freeze-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.freeze-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.freeze-icon {
  font-size: 1.5rem;
}

.freeze-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.freeze-desc strong {
  color: #7dd3fc;
}

.freeze-visual {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.fire-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.fire-emoji {
  font-size: 2rem;
}

.pulsing {
  animation: fire-pulse-big 1.5s ease-in-out infinite;
}

@keyframes fire-pulse-big {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.fire-count {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  color: #fb923c;
}

.freeze-arrow {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.freeze-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 1.8rem;
  color: #7dd3fc;
}

.freeze-badge span:last-child {
  font-size: 0.8rem;
  font-weight: 700;
  color: #7dd3fc;
}

.freeze-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================================
   SEÇÃO: SOCIAL
============================================================ */
.social {
  background: var(--bg-primary);
}

.social-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.social-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.social-feature {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.social-feature:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateX(4px);
}

.sf-icon {
  width: 44px;
  height: 44px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.social-feature h4 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.social-feature p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Stats panel */
.social-stats-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 36px;
  position: sticky;
  top: 100px;
}

.stats-panel-title {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.big-stat {
  margin-bottom: 32px;
}

.big-stat-number {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--purple-light);
  line-height: 1;
  margin-bottom: 6px;
}

.big-stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.mini-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.mini-stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 14px;
}

.mini-num {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.mini-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* Ranking preview */
.ranking-preview {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 16px;
}

.rp-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.rp-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  margin-bottom: 4px;
  font-size: 0.82rem;
}

.rp-pos { font-size: 1rem; width: 24px; flex-shrink: 0; }
.rp-user { flex: 1; color: var(--text-secondary); }
.rp-xp { font-weight: 700; font-family: var(--font-title); color: var(--purple-light); font-size: 0.78rem; }

.rp-gold { background: rgba(250, 204, 21, 0.06); }
.rp-silver { background: rgba(203, 213, 225, 0.04); }
.rp-bronze { background: rgba(251, 146, 60, 0.04); }
.rp-you { background: rgba(124, 58, 237, 0.08); border: 1px solid rgba(124,58,237,0.2); }
.rp-you .rp-user { color: var(--purple-light); }
.rp-divider { text-align: center; color: var(--text-muted); font-size: 0.8rem; padding: 4px 0; }

/* ============================================================
   SEÇÃO: ROADMAP
============================================================ */
.roadmap {
  background: linear-gradient(180deg, var(--bg-primary), var(--bg-secondary));
}

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

.roadmap-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.roadmap-inner .section-subtitle {
  max-width: 100%;
  text-align: center;
  margin: 0 auto 60px;
}

.roadmap-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  text-align: left;
}

.rm-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  position: relative;
  padding: 0 12px;
}

.rm-connector {
  position: absolute;
  top: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-primary), transparent);
  width: 100%;
  left: 50%;
}

.rm-step-icon {
  width: 64px;
  height: 64px;
  background: rgba(124, 58, 237, 0.1);
  border: 2px solid rgba(124, 58, 237, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: var(--transition);
}

.rm-step:hover .rm-step-icon {
  background: rgba(124, 58, 237, 0.2);
  border-color: var(--purple-primary);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.rm-step-content h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.rm-step-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ============================================================
   SEÇÃO: CTA FINAL
============================================================ */
.cta-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 24px;
  filter: drop-shadow(0 0 20px rgba(124, 58, 237, 0.6));
}

.cta-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 40px;
}

/* Formulário CTA */
.cta-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.form-group {
  position: relative;
}

.form-group input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition);
}

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

.form-group input:focus {
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* Estado de sucesso */
.cta-success {
  padding: 40px;
  background: rgba(74, 222, 128, 0.06);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-lg);
  text-align: center;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.cta-success h3 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.cta-success p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.success-xp {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--purple-light);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 8px 20px;
  border-radius: 100px;
}

.cta-perks {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
}

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

.footer-tagline {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 12px 0 16px;
  letter-spacing: 0.08em;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 360px;
}

.footer-links-col h4 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col ul li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links-col ul li a:hover {
  color: var(--purple-light);
}

.team-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-course {
  margin-top: 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-primary);
  opacity: 0.7;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-sub {
  opacity: 0.6;
}

/* ============================================================
   RESPONSIVO
============================================================ */
@media (max-width: 1100px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .roadmap-steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .rm-connector { display: none; }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-mockup {
    order: -1;
  }

  .phone-frame {
    width: 240px;
    height: 500px;
  }

  .problem-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .card-featured {
    transform: none;
    order: -1;
  }

  .card-featured:hover {
    transform: translateY(-6px);
  }

  .social-layout {
    grid-template-columns: 1fr;
  }

  .social-stats-panel {
    position: static;
  }

  .gamification-extras {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 80px 0;
  }

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

  .roadmap-steps {
    grid-template-columns: 1fr;
  }

  .leagues-track {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .league-connector {
    display: none;
  }

  .mini-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-perks {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .xp-number {
    font-size: 2.2rem;
  }

  .leagues-section {
    padding: 24px;
  }

  .social-stats-panel {
    padding: 24px;
  }
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav-container {
    flex-wrap: wrap;
  }

  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 20px 0;
    gap: 16px;
    order: 3;
  }

  .nav-cta.mobile-open {
    display: inline-block;
    margin-top: 8px;
    order: 4;
  }
}

/* ============================================================
   REDESIGN — elementos mais autorais
   Append ao style.css existente
============================================================ */

/* ------ HERO: texto decorativo de fundo ------ */
.hero-bg-word {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-52%);
  font-family: var(--font-title);
  font-size: clamp(180px, 22vw, 320px);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(124, 58, 237, 0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

/* ------ HERO: float cards ao redor do mockup ------ */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(22, 22, 34, 0.88);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 14px;
  padding: 11px 16px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 3;
  white-space: nowrap;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255,255,255,0.03),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.fc-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  line-height: 1;
}

.fc-val {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.fc-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.fc-streak {
  top: 14%;
  left: -10%;
  animation: fc-float-a 5s ease-in-out infinite;
}

.fc-gain {
  bottom: 20%;
  right: -8%;
  animation: fc-float-b 6.5s ease-in-out infinite;
}

.fc-rank {
  top: 60%;
  left: -14%;
  animation: fc-float-c 4.8s ease-in-out infinite;
}

@keyframes fc-float-a {
  0%, 100% { transform: translateY(0px) rotate(-1.5deg); }
  50%       { transform: translateY(-9px) rotate(0deg); }
}
@keyframes fc-float-b {
  0%, 100% { transform: translateY(0px) rotate(1deg); }
  50%       { transform: translateY(-11px) rotate(-0.5deg); }
}
@keyframes fc-float-c {
  0%, 100% { transform: translateY(0px) rotate(1.5deg); }
  50%       { transform: translateY(-7px) rotate(0deg); }
}

/* ------ SECTION LABEL — estilo editorial (substitui pílula) ------ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--purple-light);
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-primary), var(--purple-light));
  border-radius: 2px;
  flex-shrink: 0;
}

/* ------ PROBLEMA: layout editorial em rows ------ */
.problem-list {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.problem-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  padding: 40px 16px 40px 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  transition: padding-left 0.3s ease, background 0.3s ease;
  cursor: default;
}

.problem-row:first-child {
  border-top: 1px solid var(--border-color);
}

.problem-row:hover {
  padding-left: 12px;
  background: rgba(124, 58, 237, 0.025);
}

.pr-num {
  font-family: var(--font-title);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(124, 58, 237, 0.18);
  user-select: none;
  transition: -webkit-text-stroke-color 0.3s ease;
  flex-shrink: 0;
}

.problem-row:hover .pr-num {
  -webkit-text-stroke-color: rgba(124, 58, 237, 0.42);
}

.pr-featured .pr-num {
  -webkit-text-stroke-color: rgba(124, 58, 237, 0.3);
}

.pr-featured {
  background: rgba(124, 58, 237, 0.025);
}

.pr-body {
  display: flex;
  align-items: center;
  gap: 22px;
}

.pr-icon {
  font-size: 1.8rem;
  width: 52px;
  height: 52px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.problem-row:hover .pr-icon {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.12);
}

.pr-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pr-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.pr-badge {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple-primary);
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ------ STEP CARDS: número fantasma no fundo ------ */
.step-card {
  overflow: hidden;
}

.step-card::before {
  content: attr(data-step);
  position: absolute;
  bottom: -14px;
  right: -4px;
  font-family: var(--font-title);
  font-size: 5.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(124, 58, 237, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: -webkit-text-stroke-color 0.3s ease;
}

.step-card:hover::before {
  -webkit-text-stroke-color: rgba(124, 58, 237, 0.18);
}

/* ------ RESPONSIVO para novos elementos ------ */
@media (max-width: 900px) {
  .float-card { display: none; }
  .hero-bg-word { display: none; }
}

@media (max-width: 640px) {
  .problem-row {
    grid-template-columns: 60px 1fr;
    gap: 0 16px;
    padding: 28px 8px 28px 0;
  }

  .pr-num { font-size: 2.8rem; }

  .pr-body { gap: 14px; }

  .pr-icon {
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
    border-radius: 10px;
  }
}
