:root {
  /* Mapeamento para variáveis existentes do sistema */
  --primary: var(--app-primary);
  --bg-dark: var(--app-bg-body);
  --text-primary: var(--app-text-title);
  --text-secondary: var(--app-text-body);
  --border-light: var(--app-border);
  --bg-card: var(--app-bg-card);

  /* Novas variáveis específicas da Landing Page */
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.06);
  --primary-glow: rgba(241, 44, 76, 0.5);
  --gradient-brand: linear-gradient(135deg, #f12c4c 0%, #ff0055 100%);
  --gradient-text-red: linear-gradient(90deg, #f12c4c, #ff4d6d);
  --gradient-text-green: linear-gradient(90deg, #10b981, #34d399);

  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;

  --bg-error-soft: rgba(239, 68, 68, 0.1);
  --bg-info-soft: rgba(59, 130, 246, 0.1);
  --bg-success-soft: rgba(16, 185, 129, 0.1);
  --bg-purple-soft: rgba(139, 92, 246, 0.1);

  --border-subtle: rgba(255, 255, 255, 0.05);
  --text-disabled: rgba(255, 255, 255, 0.2);
}

/* App Shell & Background */
.app-shell {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  /* Reset padding/margin if inherited */
  padding: 0 !important;
  margin: 0 !important;
}

body {
  padding: 0 !important;
  margin: 0 !important;
  overflow-x: hidden;
}

/* Scroll lock do drawer mobile — só classe, para não conflitar com Bootstrap Modal (inline no body) */
body.landing-mobile-menu-open {
  overflow: hidden !important;
}

.landing-page {
  /* Ensure no padding on container */
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  max-width: 100vw;
}

.container,
.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
}

.app-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ambient-light {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
}

.light-1 {
  top: -100px;
  left: -100px;
  background: #f12c4c;
}

.light-2 {
  top: 40%;
  right: -100px;
  background: #10b981;
}

.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.app-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.landing-page {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Mobile Menu Overlay Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(340px, 100%);
  /* dvh evita corte com barra de endereço móvel; fallback vh */
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  background: rgba(10, 11, 15, 0.97);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1050;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

/* Fundo escuro clicável (elemento real — mais fiável que ::before para eventos) */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  background: rgba(0, 0, 0, 0);
  transition: background 0.35s ease;
  pointer-events: none;
  cursor: default;
}

.mobile-menu.active .mobile-menu-backdrop {
  background: rgba(0, 0, 0, 0.55);
  pointer-events: auto;
  cursor: pointer;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: inherit;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Header do menu */
.mobile-menu-content>.d-flex {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  padding: 1rem 0;
  flex: 1;
}

.mobile-nav-item {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  padding: 0.875rem 1.5rem;
  border-radius: 0;
  transition: color 0.2s, background 0.2s, padding-left 0.2s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 3px solid transparent;
  letter-spacing: 0.01em;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
  border-left-color: var(--primary);
  padding-left: 1.75rem;
}

/* Animação de entrada dos itens */
.mobile-menu.active .mobile-nav-item {
  animation: mobileNavIn 0.3s ease both;
}

.mobile-menu.active .mobile-nav-item:nth-child(1) {
  animation-delay: 0.05s;
}

.mobile-menu.active .mobile-nav-item:nth-child(2) {
  animation-delay: 0.1s;
}

.mobile-menu.active .mobile-nav-item:nth-child(3) {
  animation-delay: 0.12s;
}

.mobile-menu.active .mobile-nav-item:nth-child(4) {
  animation-delay: 0.14s;
}

.mobile-menu.active .mobile-nav-item:nth-child(5) {
  animation-delay: 0.16s;
}

@keyframes mobileNavIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Rodapé do menu com CTA */
.mobile-menu-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-menu-footer .btn-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
  padding: 0.625rem;
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: color 0.2s, background 0.2s;
}

.mobile-menu-footer .btn-text:hover {
  color: white;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-footer .btn-primary-landing {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  border-radius: 10px;
}

/* Updated Desktop Navbar Styles */
.navbar-landing {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
  background: transparent;
  overflow: visible;
  /* não recortar filhos posicionados (ícones, sombras) */
}

.navbar-landing.scrolled {
  background: rgba(15, 18, 21, 0.9);
  /* Darker bg */
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  gap: 0.75rem;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand:hover {
  text-decoration: none;
}

.logo-wrapper {
  background: var(--gradient-brand);
  padding: 8px;
  border-radius: 12px;
  display: flex;
  color: white;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.highlight {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.85rem;
  max-width: min(100%, 52rem);
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-item:hover {
  color: var(--text-primary);
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-shrink: 0;
}

.btn-text {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary-landing {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary-landing:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(241, 44, 76, 0.6);
  color: white;
  background-color: #ff4d6d;
  /* Lighter/Brighter Red on Hover */
}

.btn-primary-landing.glow {
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  padding: 8rem 4rem 4rem;
  width: 100%;
  max-width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 90vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-light);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  width: fit-content;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.text-gradient-red {
  background: var(--gradient-text-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-green {
  background: var(--gradient-text-green);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 90%;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-landing-outline,
.btn- {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-landing-outline:hover,
.btn-landing-outline:focus-visible,
.btn-:hover,
.btn-:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: white;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(241, 44, 76, 0.15);
  outline: none;
}

.hero-risk-note {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.38);
  max-width: 36rem;
  margin: 0;
}

.hero-risk-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.hero-risk-link:hover {
  color: #ff6b6b;
}

.trust-ticker-icon {
  color: var(--accent-green);
  font-size: 0.95rem;
}

.terminal-stats-label {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

/* Betting Terminal Redesign */
.betting-terminal {
  background: linear-gradient(145deg, rgba(10, 12, 16, 0.95) 0%, rgba(20, 24, 30, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.6),
    inset 0 0 40px rgba(241, 44, 76, 0.05);
  overflow: hidden;
  font-family: 'Inter', sans-serif;
  position: relative;
}

.terminal-header {
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status-indicator {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
}

.pulse-green {
  animation: terminal-pulse 2s infinite;
}

@keyframes terminal-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.terminal-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-primary);
}

.v-tag {
  color: var(--primary);
  font-size: 0.7rem;
  background: rgba(241, 44, 76, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
}

.terminal-stats {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
}

#active-bots-count {
  color: var(--accent-green);
}

.terminal-body {
  padding: 0.5rem;
  max-height: 380px;
  overflow-y: hidden;
  background: repeating-linear-gradient(0deg,
      rgba(0, 0, 0, 0.15) 0px,
      rgba(0, 0, 0, 0.15) 1px,
      transparent 1px,
      transparent 2px);
}

/* New Betting Row Style */
.bet-entry {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideInTerminal 0.5s ease-out forwards;
}

@keyframes slideInTerminal {
  from {
    opacity: 0;
    transform: translateX(20px);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

.bet-entry:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.02);
}

.bet-entry.win {
  border-left: 4px solid #10b981;
}

.bet-entry.loss {
  border-left: 4px solid #ef4444;
}

.bet-main-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bet-strategy {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.strategy-pattern-container {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.strategy-pattern-container img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  object-fit: contain;
}

.bet-user-info {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-account {
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 900;
}

.badge-account.demo {
  background: #3b82f6;
  color: white;
}

.badge-account.real {
  background: #f59e0b;
  color: white;
}

.bet-result-info {
  text-align: right;
}

.bet-payout {
  font-size: 1rem;
  font-weight: 800;
  display: block;
}

.bet-payout.win {
  color: #10b981;
}

.bet-payout.loss {
  color: #ef4444;
}

.bet-time {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-family: var(--sig-mono);
}

.terminal-footer {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-item .label {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.footer-item .value {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

/* Trust Strip */
.trust-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 3rem;
  color: var(--text-secondary);
}

.green-text {
  color: var(--accent-green);
  font-weight: 700;
}

@keyframes ticker {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Adjusted to -50% assuming duplication for seamless loop */

/* Como funciona + Demo + FAQ + reveal + sticky CTA */
.how-it-works-section {
  padding: 4.5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.how-step {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.how-step:hover {
  transform: translateY(-4px);
  background: var(--bg-glass-hover);
  border-color: rgba(255, 255, 255, 0.08);
}

.how-step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(241, 44, 76, 0.15);
  border: 1px solid rgba(241, 44, 76, 0.28);
  color: var(--primary);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.how-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.how-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}

.demo-section {
  padding: 0 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.demo-inner {
  border-radius: 20px;
  padding: 2.25rem 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-copy h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.demo-lead {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.demo-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.demo-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
}

.demo-bullets li i {
  color: var(--primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.faq-section {
  padding: 4rem 2rem 5rem;
  max-width: 720px;
  margin: 0 auto;
}

.faq-accordion .faq-item {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle) !important;
  border-radius: 12px !important;
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: rgba(255, 255, 255, 0.03) !important;
  color: var(--text-primary) !important;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: none !important;
  padding: 1rem 1.15rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(241, 44, 76, 0.08) !important;
  color: #fff !important;
}

.faq-accordion .accordion-button::after {
  filter: brightness(0) invert(1);
  opacity: 0.5;
}

.faq-accordion .accordion-body {
  background: rgba(0, 0, 0, 0.15);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 1rem 1.15rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-inline-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--primary);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.landing-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.landing-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.terminal-empty-state {
  text-align: center;
  padding: 2rem 1.25rem 2.5rem;
  color: rgba(255, 255, 255, 0.45);
}

.terminal-empty-state i {
  font-size: 2rem;
  color: rgba(241, 44, 76, 0.45);
  display: block;
  margin-bottom: 0.75rem;
}

.terminal-empty-state p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.landing-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 98;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, transparent 0%, rgba(10, 11, 15, 0.92) 35%, rgba(10, 11, 15, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  transform: translate3d(0, 110%, 0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.landing-sticky-cta.is-visible {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.landing-sticky-cta-btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #f12c4c 0%, #c4203b 100%);
  box-shadow: 0 8px 24px rgba(241, 44, 76, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}

.landing-sticky-cta-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Features Section */
.features-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-glass);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-glass-hover);
}

.icon-box {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 32px;
}

.icon-box.red {
  background: var(--bg-error-soft);
  color: var(--accent-red);
}

.icon-box.blue {
  background: var(--bg-info-soft);
  color: var(--accent-blue);
}

.icon-box.green {
  background: var(--bg-success-soft);
  color: var(--accent-green);
}

.icon-box.purple {
  background: var(--bg-purple-soft);
  color: var(--accent-purple);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Pricing Section */
.pricing-section {
  padding: 4rem 2rem 8rem;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-promo-notice {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.14) 0%, rgba(245, 158, 11, 0.05) 100%);
  color: var(--text-primary);
  font-size: 0.92rem;
  line-height: 1.55;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.pricing-promo-notice .bi {
  flex-shrink: 0;
  font-size: 1.35rem;
  color: #f59e0b;
  margin-top: 0.05rem;
}

.pricing-promo-notice strong {
  color: var(--text-primary);
}

@media (max-width: 575.98px) {
  .pricing-promo-notice {
    font-size: 0.88rem;
    padding: 0.85rem 1rem;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* Faixa de planos: exatamente 3 colunas (= 3 cards) na largura visível; 4º com scroll */
.pricing-carousel {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 0 1rem;
}

.pricing-carousel-stage {
  display: flex;
  align-items: stretch;
  gap: 0.35rem;
  padding-top: 0.85rem;
}

.pricing-cards-viewport {
  --pricing-gap: 1.25rem;
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-auto-flow: column;
  /* Três colunas preenchem 100% da área de scroll (2 gaps entre elas) */
  grid-auto-columns: calc((100% - 2 * var(--pricing-gap)) / 3);
  gap: var(--pricing-gap);
  align-items: stretch;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Barra horizontal oculta (scroll continua: setas, teclado, trackpad, toque) */
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-top: 0.5rem;
  padding-bottom: 0.35rem;
  box-sizing: border-box;
  outline: none;
}

.pricing-cards-viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.pricing-cards-viewport:focus-visible {
  box-shadow: 0 0 0 2px rgba(241, 44, 76, 0.45);
  border-radius: 12px;
}

/* Os 4 .pricing-card são filhos diretos do grid (.pricing-cards-viewport) */
.pricing-cards-viewport>.pricing-card {
  margin: 0;
  min-width: 0;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
}

@media (max-width: 767.98px) {
  .pricing-cards-viewport {
    /* Um card por “página” no telefone */
    grid-auto-columns: minmax(0, calc(100% - 0.5rem));
  }
}

.pricing-carousel-hint {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
  padding: 0 0.5rem;
}

.pricing-carousel-control {
  flex: 0 0 auto;
  align-self: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.pricing-carousel-control:hover:not(:disabled) {
  background: rgba(241, 44, 76, 0.2);
  border-color: rgba(241, 44, 76, 0.45);
  color: #fff;
}

.pricing-carousel-control:disabled {
  opacity: 0.28;
  cursor: default;
}

.pricing-carousel-control .bi {
  font-size: 1.35rem;
  line-height: 1;
}

@media (prefers-reduced-motion: reduce) {
  .pricing-cards-viewport {
    scroll-behavior: auto;
  }
}

.price .price-dec {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-secondary);
  vertical-align: super;
  margin-left: 0.05em;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  position: relative;
}

.pricing-card.featured {
  background: var(--bg-card);
  border: 1px solid var(--primary);
  box-shadow: 0 0 30px rgba(241, 44, 76, 0.1);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
}

.card-header h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.period {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

.features-list li.disabled {
  color: var(--text-disabled);
}

.full-width {
  width: 100%;
  justify-content: center;
}

/* CTA final — cartão em vidro, ritmo alinhado ao resto da página */
.final-cta {
  max-width: 960px;
  margin: 3rem auto 0;
  padding: 0 2rem;
}

.final-cta-surface {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(155deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(255, 255, 255, 0.02) 45%,
      rgba(241, 44, 76, 0.06) 100%);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.final-cta-accent {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(241, 44, 76, 0.85), rgba(255, 107, 107, 0.75), rgba(241, 44, 76, 0.85), transparent);
  opacity: 0.9;
}

.final-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  padding: 1.75rem 1.5rem 1.85rem;
  text-align: center;
}

.final-cta-copy {
  flex: 1;
  min-width: 0;
}

.final-cta-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(241, 44, 76, 0.85);
}

.final-cta-copy h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.2;
}

.final-cta-lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.final-cta-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.final-cta-btn {
  padding: 0.9rem 1.5rem !important;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: min(100%, 260px);
}

.final-cta-secondary {
  font-size: 0.875rem !important;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55) !important;
  padding: 0.35rem 0.5rem !important;
  border-radius: 8px;
}

.final-cta-secondary:hover {
  color: rgba(255, 255, 255, 0.88) !important;
  background: rgba(255, 255, 255, 0.05);
}

@media (min-width: 768px) {
  .final-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 2rem;
    padding: 2rem 2.25rem 2.1rem;
  }

  .final-cta-lead {
    margin-left: 0;
    margin-right: 0;
  }

  .final-cta-aside {
    align-items: flex-end;
  }

  .final-cta-btn {
    min-width: 220px;
  }
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
  display: inline-block;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  color: var(--primary);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Modal Glassmorphism Styles */
.modal-login-custom {
  max-width: 360px !important;
  /* +20% from 300px (modal-sm) */
  width: 100% !important;
}

@media (min-width: 576px) {
  .modal-login-custom {
    max-width: 380px !important;
  }
}

.glass-modal {
  background: rgba(20, 20, 30, 0.75) !important;
  backdrop-filter: blur(24px) saturate(120%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(120%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.6) !important;
  border-radius: 24px !important;
  overflow: hidden;
  position: relative;
}

/* Subtle inner glow */
.glass-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.modal-icon-wrapper {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(241, 44, 76, 0.2), rgba(241, 44, 76, 0.05));
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(241, 44, 76, 0.25);
  border: 1px solid rgba(241, 44, 76, 0.3);
  transition: transform 0.3s ease;
}

.glass-modal:hover .modal-icon-wrapper {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(241, 44, 76, 0.35);
}

/* Success Modal Enhancements */
.login-success-icon-wrapper {
  width: 90px;
  height: 90px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  position: relative;
  border: 2px solid rgba(16, 185, 129, 0.2);
}

.success-ripple {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(16, 185, 129, 0.4);
  border-radius: 50%;
  animation: ripple 2s linear infinite;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.glass-progress {
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 100px;
  overflow: hidden;
}

.shadow-glow-green {
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.glass-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: white !important;
  border-radius: 12px !important;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.glass-input:focus {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(241, 44, 76, 0.15) !important;
  color: white !important;
  transform: translateY(-1px);
}

.glass-input::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

.form-floating label {
  color: rgba(255, 255, 255, 0.6) !important;
  background-color: transparent !important;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
  color: rgba(255, 255, 255, 0.8) !important;
  background-color: transparent !important;
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-floating>.form-control:-webkit-autofill {
  -webkit-text-fill-color: white !important;
  transition: background-color 5000s ease-in-out 0s;
}

.hover-underline {
  position: relative;
  padding-bottom: 2px;
}

/* =============================================
   AUTH MODALS — Redesign
   ============================================= */

.modal-auth-custom {
  max-width: 400px !important;
  width: 100% !important;
}

.modal-auth-card {
  background: #0e0e14 !important;
  border: 1px solid rgba(255, 255, 255, 0.07) !important;
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04) inset !important;
}

/* Red accent line at top */
.auth-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, #f12c4c 0%, #ff6b6b 50%, #f12c4c 100%);
  background-size: 200% auto;
  animation: auth-bar-shift 3s linear infinite;
}

@keyframes auth-bar-shift {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* Logo block */
.auth-logo-block {
  background: linear-gradient(160deg, rgba(241, 44, 76, 0.10) 0%, rgba(14, 14, 20, 0) 60%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 28px 32px 22px;
  text-align: center;
}

.auth-logo-wordmark {
  display: inline-block;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.auth-logo-list {
  color: #ffffff;
}

.auth-logo-flow {
  color: #f12c4c;
}

.auth-logo-sub {
  margin: 6px 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Form block */
.auth-form-block {
  padding: 28px 32px 30px;
}

.auth-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
}

.auth-subtitle {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  margin: 0 0 22px;
}

/* Field */
.auth-field {}

.auth-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.9rem;
  pointer-events: none;
  transition: color 0.2s;
  z-index: 2;
}

.auth-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 10px !important;
  color: #fff !important;
  padding: 10px 14px 10px 40px !important;
  font-size: 0.88rem !important;
  height: 44px !important;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.2) !important;
}

.auth-input:focus {
  background: rgba(255, 255, 255, 0.07) !important;
  border-color: rgba(241, 44, 76, 0.6) !important;
  box-shadow: 0 0 0 3px rgba(241, 44, 76, 0.12) !important;
  color: #fff !important;
  outline: none !important;
}

.auth-input-wrap:focus-within .auth-input-icon {
  color: #f12c4c;
}

/* Autofill fix */
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff !important;
  -webkit-box-shadow: 0 0 0 1000px #131319 inset !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* Primary button */
.auth-btn-primary {
  background: linear-gradient(135deg, #f12c4c, #c4203b) !important;
  border: none !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  height: 46px !important;
  letter-spacing: 0.03em;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s !important;
  box-shadow: 0 4px 20px rgba(241, 44, 76, 0.35) !important;
}

.auth-btn-primary:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(241, 44, 76, 0.45) !important;
}

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

/* Alert */
.auth-alert {
  background: rgba(241, 44, 76, 0.1);
  border: 1px solid rgba(241, 44, 76, 0.25);
  border-radius: 8px;
  color: #ff7a8a;
  font-size: 0.8rem;
  padding: 10px 14px;
}

/* Switch row */
.auth-switch-text {
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
  margin: 20px 0 0;
}

.auth-switch-link {
  color: #f12c4c !important;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.auth-switch-link:hover {
  opacity: 0.75;
}

.hover-underline::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s;
}

.hover-underline:hover::after {
  width: 100%;
}

/* Checkboxes dos Termos de Uso + Confirmação de Maioridade (modal cadastro).
   Estilo unificado vermelho (#f12c4c) — mesmo padrão do botão "Criar Conta". */
#modalRegTerms,
#modalRegAgeConfirm {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 4px !important;
  width: 16px !important;
  height: 16px !important;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  position: relative;
}

#modalRegTerms:checked,
#modalRegAgeConfirm:checked {
  background: #f12c4c !important;
  border-color: #f12c4c !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' d='M3 8l3.5 3.5L13 4'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 10px !important;
  box-shadow: 0 0 0 3px rgba(241, 44, 76, 0.2) !important;
}

#modalRegTerms:focus,
#modalRegAgeConfirm:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(241, 44, 76, 0.15) !important;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

.modal-backdrop.show {
  opacity: 0.8 !important;
  background-color: #050508 !important;
  /* Darker backdrop */
  backdrop-filter: blur(5px);
}

/* =============================================
   MOBILE RESPONSIVENESS
   ============================================= */

/* Tablet — até 992px */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    max-width: 92%;
    padding: 7rem 1.5rem 3rem;
    gap: 3rem;
    min-height: auto;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
  }

  .betting-terminal {
    max-width: 100%;
  }

  .hero-title {
    font-size: 3rem;
  }

  .features-section,
  .pricing-section {
    padding: 4rem 1.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .final-cta {
    margin-top: 2.5rem;
    padding: 0 1.5rem;
  }
}

/* Mobile — até 768px */
@media (max-width: 768px) {

  /* Navbar */
  .navbar-landing {
    padding: 1rem 0;
  }

  .nav-container {
    padding: 0 1.25rem;
    gap: 0.5rem;
  }

  .nav-cta-landing {
    padding: 0.55rem 0.75rem;
    font-size: 0.8125rem;
  }

  /* Hero */
  .hero {
    max-width: 100%;
    padding: 5.5rem 1.25rem 2.5rem;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.4rem;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .badge-new {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
  }

  /* CTA buttons — empilhar em coluna */
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .btn-large {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    justify-content: center;
    width: 100%;
  }

  /* Stats row — compactar */
  .hero-stats-row {
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .stat-value {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* Terminal — ocultar no mobile pequeno para não pesar */
  .hero-visual {
    display: none;
  }

  /* Trust strip */
  .ticker-item {
    font-size: 0.85rem;
    margin-right: 2rem;
  }

  /* Features */
  .features-section {
    padding: 3.5rem 1.25rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .icon-box {
    width: 52px;
    height: 52px;
    font-size: 26px;
    margin-bottom: 1rem;
  }

  /* Pricing */
  .pricing-section {
    padding: 3rem 1.25rem 5rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .price {
    font-size: 2rem;
  }

  /* CTA final */
  .final-cta {
    margin: 2rem 0 0;
    padding: 0 1.25rem;
  }

  .final-cta-inner {
    padding: 1.45rem 1.2rem 1.55rem;
    gap: 1.2rem;
  }

  .final-cta-copy h2 {
    font-size: 1.45rem;
  }

  .final-cta-lead {
    font-size: 0.92rem;
  }

  .final-cta-btn {
    width: 100%;
    min-width: 0 !important;
  }

  .btn-white {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Auth modals */
  .modal-auth-custom {
    max-width: calc(100vw - 2rem) !important;
    margin: 0.5rem auto !important;
  }

  .auth-logo-block {
    padding: 22px 20px 18px;
  }

  .auth-form-block {
    padding: 22px 20px 24px;
  }
}

/* Mobile pequeno — até 480px */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero {
    padding: 5rem 1rem 2rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .features-section,
  .pricing-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .final-cta {
    padding: 0 1rem;
  }

  .hero-stats-row {
    gap: 1rem;
  }

  .divider {
    display: none;
  }
}

/* Footer */
.footer {
  background: var(--bg-dark);
  padding: 4rem 2rem;
  border-top: 1px solid var(--border-light);
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-primary);
}

@media (max-width: 991.98px) {
  .hero {
    grid-template-columns: 1fr;
    max-width: 95%;
    padding: 6rem 1rem 2rem;
    gap: 3rem;
    text-align: center;
  }

  .hero-content {
    align-items: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }

  .hero-cta-group button,
  .hero-cta-group a {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-row {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    padding-bottom: 2rem;
  }

  .divider {
    width: 60px;
    height: 1px;
  }

  .hero-visual {
    order: -1;
    perspective: none;
  }

  .betting-terminal {
    max-width: 100%;
  }

  .nav-container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions .btn-text {
    display: none;
  }

  .nav-actions {
    width: auto;
    gap: 0.5rem;
  }

  /* Botão "Começar Agora" compacto na navbar mobile */
  .nav-actions .btn-primary-landing {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    border-radius: 8px;
    color: white;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .features-section,
  .pricing-section {
    padding: 4rem 1.5rem;
  }

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

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .badge-new {
    font-size: 0.75rem;
  }

  .btn-large {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
}

@media (max-width: 992px) {
  .how-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .how-it-works-section {
    padding: 3rem 1.25rem;
  }

  .demo-section {
    padding: 0 1.25rem 3rem;
  }

  .demo-inner {
    padding: 1.5rem 1.25rem;
  }

  .demo-copy h2 {
    font-size: 1.5rem;
  }

  .faq-section {
    padding: 3rem 1.25rem 4rem;
  }

  .landing-page {
    padding-bottom: 5.5rem;
  }
}

#features,
#pricing,
#faq,
#demo,
#how-it-works,
#live-terminal-preview {
  scroll-margin-top: 5.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .landing-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .ticker {
    animation: none !important;
  }

  .pulse-animation,
  .pulse-green {
    animation: none !important;
  }

  .landing-sticky-cta {
    transition: none !important;
  }

  .bet-entry {
    animation: none !important;
  }
}