/* dubbl-backend/public/style.css - Design System & Stylesheet */

:root {
  /* Color Tokens */
  --bg-main: #0C0D14;
  --bg-card: #161826;
  --bg-card-hover: #202336;
  --bg-glass: rgba(22, 24, 38, 0.85);
  
  --primary: #FF2E63;
  --primary-hover: #E01E53;
  --primary-light: #FF5376;
  --primary-glow: rgba(255, 46, 99, 0.3);
  
  --secondary: #00E5A3;
  --secondary-glow: rgba(0, 229, 163, 0.3);
  
  --gold: #FFB703;
  --gold-glow: rgba(255, 183, 3, 0.3);
  
  --accent-green: #00E5A3;
  --accent-red: #FF4757;
  
  --text-pure: #ffffff;
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --border-glow: rgba(255, 46, 99, 0.35);

  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-pure);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-text {
  color: var(--primary-light);
}

/* Ambient Background Lights */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.15;
}

.glow-top-left {
  top: -100px;
  left: -150px;
  width: 550px;
  height: 550px;
  background: var(--primary);
}

.glow-middle-right {
  top: 35%;
  right: -150px;
  width: 600px;
  height: 600px;
  background: var(--secondary);
}

.glow-bottom-left {
  bottom: 5%;
  left: -100px;
  width: 500px;
  height: 500px;
  background: #ea580c;
}

/* Header & Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(9, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-image {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--text-pure);
  letter-spacing: -0.01em;
}

.nav-menu {
  display: flex;
  gap: 32px;
}

.nav-item {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

/* Header Actions & Language Switcher */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px 8px;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
  cursor: pointer;
  line-height: 1;
}

.lang-switch-btn .flag {
  font-size: 14px;
}

.lang-switch-btn:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.05);
}

.lang-switch-btn.active {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-switch-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  user-select: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: none;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #090a0f;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-pure);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 160px 0 100px;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.pulse-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-light);
  box-shadow: 0 0 10px var(--primary-light);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-headline {
  font-size: 58px;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero-subline {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-button-group {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

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

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

.stat-card strong {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-pure);
}

.stat-card span {
  font-size: 13px;
  color: var(--text-muted);
}

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

/* Hero Mascot Graphic */
.hero-visual-block {
  display: flex;
  justify-content: center;
}

.visual-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.mascot-frame {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.mascot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes floatMascot {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
  100% { transform: translateY(0px); }
}

.floating-anim {
  animation: floatMascot 6s ease-in-out infinite;
}

.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--bg-glass);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
}

.floating-chip strong {
  display: block;
  font-size: 14px;
  color: var(--text-pure);
}

.floating-chip small {
  font-size: 11px;
  color: var(--text-secondary);
}

.chip-emoji {
  font-size: 22px;
}

.chip-top-left {
  top: -20px;
  left: -20px;
}

.chip-bottom-right {
  bottom: -20px;
  right: -20px;
}

/* Section Headings */
.section-block {
  padding: 100px 0;
  position: relative;
}

.section-heading {
  margin-bottom: 56px;
}

.section-heading.text-center {
  text-align: center;
}

.section-subtitle {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-light);
  display: inline-block;
  margin-bottom: 10px;
}

.section-title {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* 3-Step Cards */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition-smooth);
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
}

.step-badge {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
}

.step-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(245, 158, 11, 0.1);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.step-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

/* Score Ladder Section */
.ladder-section {
  background: linear-gradient(180deg, rgba(18, 20, 28, 0) 0%, rgba(18, 20, 28, 0.5) 50%, rgba(18, 20, 28, 0) 100%);
}

.ladder-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

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

.ladder-tier:hover {
  border-color: var(--border-hover);
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.tier-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.tier-info h4 {
  font-size: 20px;
  margin-bottom: 4px;
}

.tier-info p {
  color: var(--text-secondary);
  font-size: 14px;
}

.tier-badge-pill {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pill-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.25);
}

.chips-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.val-chip {
  padding: 10px 18px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: all var(--transition-fast);
}

.chip-base {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.chip-base:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
}

.chip-highlight {
  background: rgba(245, 158, 11, 0.12);
  color: var(--primary-light);
  border-color: rgba(245, 158, 11, 0.3);
}

.chip-double {
  background: rgba(59, 130, 246, 0.1);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.chip-double:hover {
  background: rgba(59, 130, 246, 0.18);
  transform: translateY(-2px);
}

.chip-double-max {
  background: rgba(59, 130, 246, 0.25);
  color: #bfdbfe;
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

/* Ultimate Tier (21 Dubbl) */
.tier-ultimate {
  background: linear-gradient(135deg, rgba(35, 26, 12, 0.9) 0%, rgba(20, 15, 8, 0.95) 100%);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.15);
}

.tier-ultimate-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.gold-label {
  color: var(--primary-light) !important;
}

.ultimate-title {
  font-size: 36px;
  color: #fbbf24;
  margin-bottom: 8px;
}

.ultimate-desc {
  color: #fde68a;
  font-size: 15px;
  line-height: 1.6;
  max-width: 580px;
}

.ultimate-graphic {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dice-box {
  display: flex;
  gap: 8px;
}

.dice-digit {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #090a0f;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.ultimate-crown {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--primary-light);
  background: rgba(245, 158, 11, 0.15);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* Doubt Resolution Battle Grid */
.doubt-comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}

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

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

.outcome-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.red-icon {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.green-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.outcome-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.outcome-header h4 {
  font-size: 18px;
}

.outcome-card p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 20px;
}

.outcome-penalty {
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
}

.penalty-red {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.penalty-green {
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.doubt-reset-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  padding: 16px 24px;
}

.banner-icon {
  font-size: 24px;
}

.banner-text {
  font-size: 14px;
  color: #fde68a;
}

/* Game Modes Grid */
.modes-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mode-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.mode-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
}

.featured-mode {
  border-color: rgba(245, 158, 11, 0.35);
  background: linear-gradient(180deg, rgba(24, 26, 36, 1) 0%, rgba(18, 20, 28, 1) 100%);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.mode-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.mode-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

.bg-amber { background: rgba(245, 158, 11, 0.12); }
.bg-blue { background: rgba(59, 130, 246, 0.12); }
.bg-gold { background: rgba(251, 191, 36, 0.18); }

.mode-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
}

.gold-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--primary-light);
  border-color: rgba(245, 158, 11, 0.3);
}

.mode-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.mode-card p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.mode-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.mode-bullets li {
  font-size: 13px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mode-bullets li::before {
  content: "•";
  color: var(--primary-light);
  font-weight: bold;
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color var(--transition-fast);
}

.faq-card:hover {
  border-color: var(--border-hover);
}

.faq-card h4 {
  font-size: 17px;
  margin-bottom: 10px;
  color: var(--text-pure);
}

.faq-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* CTA Download Card */
.cta-section {
  padding: 80px 0 120px;
}

.cta-card {
  background: linear-gradient(135deg, #181b26 0%, #11131c 100%);
  border: 1px solid var(--border-hover);
  border-radius: 36px;
  padding: 72px 48px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.cta-title {
  font-size: 42px;
  margin-bottom: 16px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.store-buttons-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-smooth);
}

.store-btn:hover {
  background: #181920;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.store-btn-icon {
  font-size: 30px;
}

.store-btn-labels {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-btn-labels small {
  font-size: 10px;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.store-btn-labels strong {
  font-size: 17px;
  font-weight: 700;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0;
  background: var(--bg-main);
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: var(--text-muted);
}

.author-tag {
  color: var(--text-secondary);
  font-size: 14px;
}

.author-tag strong {
  color: var(--primary-light);
  font-weight: 600;
}

.footer-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition-fast);
}

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

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 56px;
  }

  .hero-subline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-button-group {
    justify-content: center;
  }

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

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

  .tier-ultimate-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ultimate-graphic {
    margin-top: 16px;
  }

  .doubt-comparison-grid, .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 70px;
  }

  .nav-menu {
    display: none;
  }

  .hero-headline {
    font-size: 40px;
  }

  .section-title {
    font-size: 30px;
  }

  .store-buttons-wrap {
    flex-direction: column;
  }

  .footer-layout {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ==========================================================================
   Legal Pages (Privacy Policy & Terms of Service)
   ========================================================================== */
.legal-page-header {
  padding-top: 130px;
  padding-bottom: 40px;
  text-align: center;
  position: relative;
}

.legal-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.legal-back-nav:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-hover);
  transform: translateX(-2px);
}

.legal-main-title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.legal-meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.legal-meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.legal-meta-tag strong {
  color: var(--text-secondary);
}

.legal-content-container {
  max-width: 860px;
  margin: 0 auto;
  padding-bottom: 100px;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.legal-summary-box {
  background: rgba(0, 229, 163, 0.06);
  border: 1px solid rgba(0, 229, 163, 0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
}

.legal-summary-box h3 {
  color: var(--secondary);
  font-size: 17px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.legal-summary-box p {
  color: var(--text-primary);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

.legal-toc {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
}

.legal-toc-title {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.legal-toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
}

.legal-toc-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legal-toc-list a:hover {
  color: var(--primary-light);
  transform: translateX(3px);
}

.legal-section {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

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

.legal-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 46, 99, 0.12);
  color: var(--primary-light);
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}

.legal-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-pure);
  margin: 0;
}

.legal-section h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 20px 0 10px;
}

.legal-section p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section ul, .legal-section ol {
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.legal-section li {
  margin-bottom: 8px;
  font-size: 14.5px;
  line-height: 1.65;
}

.legal-section strong {
  color: var(--text-pure);
}

.legal-highlight-box {
  background: rgba(255, 46, 99, 0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.legal-highlight-box p {
  margin: 0;
  font-size: 14px;
  color: var(--text-primary);
}

.legal-table-wrapper {
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

.legal-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-pure);
  padding: 12px 16px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-table td {
  padding: 12px 16px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-contact-card {
  margin-top: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.legal-contact-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.legal-contact-info p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 768px) {
  .legal-page-header {
    padding-top: 100px;
    padding-bottom: 30px;
  }
  .legal-main-title {
    font-size: 32px;
  }
  .legal-card {
    padding: 24px 20px;
  }
  .legal-toc-list {
    grid-template-columns: 1fr;
  }
}

