/* ===========================
   RISIKINO — style.css
   Dark Premium Strategy Theme
   =========================== */

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

:root {
  --bg:         #080810;
  --bg-2:       #0e0e1a;
  --bg-3:       #13131f;
  --border:     rgba(255,255,255,0.07);
  --border-h:   rgba(255,255,255,0.14);

  --red:        #c0392b;
  --red-2:      #e74c3c;
  --gold:       #e8b94f;
  --gold-2:     #f5d06b;

  --fg:         #f0f0fa;
  --fg-2:       #a0a0c0;
  --fg-3:       #606080;

  --grad: linear-gradient(135deg, var(--red) 0%, var(--gold) 100%);

  --radius:     16px;
  --radius-lg:  24px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-sans:  'Inter', sans-serif;
  --font-head:  'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ---- CANVAS ---- */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

/* ---- NAV ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: rgba(8,8,16,0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon { font-size: 1.5rem; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
}
.nav-link {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--fg); background: rgba(255,255,255,0.05); }
.nav-cta {
  background: var(--grad);
  color: white !important;
  font-weight: 600;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 0 20px;
  background: rgba(8,8,16,0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-link {
  color: var(--fg-2);
  text-decoration: none;
  padding: 14px 20px;
  font-weight: 500;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mobile-link:hover { color: var(--fg); }
.mobile-cta {
  margin: 16px 20px 0;
  background: var(--grad);
  color: white !important;
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  border: none;
}

/* ---- UTILITIES ---- */
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(232,185,79,0.1);
  border: 1px solid rgba(232,185,79,0.2);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--fg-2);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ---- REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 80px;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,57,43,0.12);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red-2);
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red-2);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(231,76,60,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(231,76,60,0); }
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}
.hero-sub {
  color: var(--fg-2);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--grad);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 30px rgba(192,57,43,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(192,57,43,0.5), 0 8px 30px rgba(0,0,0,0.3);
}
.btn-icon { width: 20px; height: 20px; }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-2);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 24px;
  border-radius: 14px;
  border: 1px solid var(--border);
  text-decoration: none;
  background: rgba(255,255,255,0.03);
  transition: color var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-secondary:hover {
  color: var(--fg);
  border-color: var(--border-h);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}
.btn-arrow { width: 18px; height: 18px; transition: transform var(--transition); }
.btn-secondary:hover .btn-arrow { transform: translateX(4px); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  padding: 0 28px;
}
.hero-stat:first-child { padding-left: 0; }
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--fg-3);
  font-weight: 500;
  margin-top: 4px;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ---- PHONE ---- */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.phone-container {
  position: relative;
  width: 280px;
  margin: 0 auto;
}
.phone-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 500px;
  background: radial-gradient(ellipse, rgba(192,57,43,0.3) 0%, transparent 70%);
  pointer-events: none;
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity:0.6; }
  50%      { transform: translate(-50%,-50%) scale(1.15); opacity:1; }
}
.phone-frame {
  background: #0f0f1a;
  border-radius: 44px;
  border: 2px solid rgba(255,255,255,0.1);
  padding: 14px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04), inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
}
.phone-screen {
  background: #12121e;
  border-radius: 32px;
  overflow: hidden;
  height: 540px;
  padding: 20px 14px 14px;
}
.app-ui { display: flex; flex-direction: column; gap: 10px; }
.app-header { margin-bottom: 4px; }
.app-title { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--fg); }
.app-subtitle { font-size: 0.7rem; color: var(--fg-3); }
.app-subtitle em { color: var(--gold); font-style: normal; }

.app-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 12px;
}

/* Win rate card */
.win-rate-card { display: flex; gap: 10px; align-items: center; }
.wr-left { display: flex; align-items: center; gap: 8px; flex: 1; }
.wr-avatar { font-size: 1.4rem; }
.wr-label { font-size: 0.55rem; letter-spacing: 0.08em; color: var(--gold); font-weight: 700; text-transform: uppercase; }
.wr-value { font-size: 1.1rem; font-weight: 800; font-family: var(--font-head); color: var(--fg); }
.wr-name { font-size: 0.55rem; color: var(--fg-3); letter-spacing: 0.05em; margin-top: 2px; }
.wr-right { text-align: right; min-width: 60px; }
.wr-terr { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--fg); }
.wr-terr span { font-size: 0.7rem; color: var(--fg-3); }
.wr-bar { height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; margin-top: 6px; overflow: hidden; }
.wr-fill { height: 100%; background: var(--grad); border-radius: 2px; animation: barGrow 1.5s ease forwards; transform-origin: left; }
@keyframes barGrow {
  from { width: 0 !important; }
}

/* Bar chart */
.chart-card { }
.chart-label { font-size: 0.65rem; font-weight: 700; color: var(--fg-2); margin-bottom: 10px; }
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}
.bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}
.bar {
  width: 100%;
  height: var(--h);
  background: var(--c);
  border-radius: 3px 3px 0 0;
  animation: barUp 1s ease forwards;
  transform-origin: bottom;
}
@keyframes barUp {
  from { transform: scaleY(0); }
}
.bar-group span { font-size: 0.5rem; color: var(--fg-3); }

/* Leaderboard */
.leaderboard-card { }
.lb-title { font-size: 0.65rem; font-weight: 700; color: var(--fg-2); margin-bottom: 8px; }
.lb-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.lb-pos { font-size: 0.65rem; color: var(--fg-3); width: 14px; }
.lb-name { font-size: 0.7rem; color: var(--fg); flex: 1; font-weight: 600; }
.lb-pts { font-size: 0.65rem; color: var(--gold); font-weight: 700; }
.lb-gold .lb-pos { color: var(--gold); }
.lb-you .lb-name { color: var(--red-2); }

/* Floating badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14,14,26,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-h);
  border-radius: 14px;
  padding: 10px 14px;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.fb-icon { font-size: 1.3rem; }
.fb-title { font-size: 0.75rem; font-weight: 700; color: var(--fg); }
.fb-sub { font-size: 0.65rem; color: var(--fg-3); margin-top: 1px; }
.badge-1 { left: -110px; top: 80px; }
.badge-2 { right: -120px; top: 160px; }
.badge-3 { left: -100px; bottom: 100px; }

@keyframes floatAnim {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes floatAnimSlow {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
@keyframes floatAnimMed {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.float-anim      { animation: floatAnim 3s ease-in-out infinite; }
.float-anim-slow { animation: floatAnimSlow 4s ease-in-out infinite 0.5s; }
.float-anim-med  { animation: floatAnimMed 3.5s ease-in-out infinite 1s; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--fg-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeIn 2s 1s ease both;
}
.scroll-arrow {
  width: 20px; height: 28px;
  border: 2px solid var(--fg-3);
  border-radius: 10px;
  position: relative;
}
.scroll-arrow::before {
  content: '';
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 6px;
  background: var(--fg-3);
  border-radius: 2px;
  animation: scrollDot 1.5s ease-in-out infinite;
}
@keyframes scrollDot {
  0%   { transform: translateX(-50%) translateY(0); opacity: 1; }
  100% { transform: translateX(-50%) translateY(10px); opacity: 0; }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* ---- FEATURES ---- */
.features {
  position: relative;
  z-index: 1;
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-sub { margin: 0 auto; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.feature-card:hover {
  border-color: var(--border-h);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.feature-card:hover .feat-glow {
  opacity: 1;
}
.feat-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(192,57,43,0.08), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.feat-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(192,57,43,0.12);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.feature-card:hover .feat-icon-wrap {
  background: rgba(192,57,43,0.2);
}
.feat-icon { font-size: 1.5rem; }
.feature-card h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--fg);
}
.feature-card p { font-size: 0.9rem; color: var(--fg-2); line-height: 1.7; }

/* staggered reveal */
#feat-1 { transition-delay: 0s; }
#feat-2 { transition-delay: 0.08s; }
#feat-3 { transition-delay: 0.16s; }
#feat-4 { transition-delay: 0.24s; }
#feat-5 { transition-delay: 0.32s; }
#feat-6 { transition-delay: 0.40s; }

/* ---- STATS SECTION ---- */
.stats-section {
  position: relative;
  z-index: 1;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 120px 40px;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.stats-list { list-style: none; margin-top: 36px; display: flex; flex-direction: column; gap: 24px; }
.stats-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 0.95rem;
  color: var(--fg-2);
}
.stats-item strong { color: var(--fg); display: block; margin-bottom: 4px; }
.si-icon {
  font-size: 1.3rem;
  background: rgba(232,185,79,0.1);
  border: 1px solid rgba(232,185,79,0.15);
  border-radius: 10px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stats-item:nth-child(1) { transition-delay: 0.1s; }
.stats-item:nth-child(2) { transition-delay: 0.2s; }
.stats-item:nth-child(3) { transition-delay: 0.3s; }

/* Donut chart card */
.stats-card-stack { position: relative; width: 360px; height: 400px; margin: 0 auto; }
.sc {
  position: absolute;
  border-radius: var(--radius-lg);
  background: var(--bg-3);
  border: 1px solid var(--border);
}
.sc-back  { inset: 24px 0 -24px; opacity: 0.4; }
.sc-mid   { inset: 12px 8px -12px; opacity: 0.7; }
.sc-front {
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.scard-header { }
.scard-title { font-family: var(--font-head); font-size: 0.95rem; font-weight: 700; color: var(--fg); }

.donut-wrap { display: flex; align-items: center; gap: 20px; flex: 1; }
.donut-svg { width: 130px; height: 130px; flex-shrink: 0; }
.donut-track { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 20; }
.donut-seg {
  fill: none;
  stroke-width: 20;
  stroke-linecap: butt;
  transform-origin: center;
  transform: rotate(-90deg);
  animation: donutDraw 1.5s ease forwards;
}
@keyframes donutDraw {
  from { stroke-dasharray: 0 302; }
}
.seg-eu { stroke: #c0392b; }
.seg-as { stroke: #e67e22; }
.seg-af { stroke: #f1c40f; }
.seg-am { stroke: #27ae60; }
.seg-oc { stroke: #2980b9; }
.donut-center-label { text-anchor: middle; fill: var(--fg); font-size: 14px; font-weight: 800; font-family: 'Space Grotesk', sans-serif; }
.donut-center-sub   { text-anchor: middle; fill: var(--fg-3); font-size: 7px; }

.donut-legend { display: flex; flex-direction: column; gap: 6px; }
.dl-item { display: flex; align-items: center; gap: 8px; font-size: 0.72rem; color: var(--fg-2); }
.dl-dot { width: 8px; height: 8px; border-radius: 2px; flex-shrink: 0; }

.scard-mini-stats {
  display: flex;
  justify-content: space-between;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border);
}
.ms-item { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ms-val { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ms-lbl { font-size: 0.65rem; color: var(--fg-3); }

/* ---- HOW IT WORKS ---- */
.how-section {
  position: relative;
  z-index: 1;
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  position: relative;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 32px;
  position: relative;
}
.step-line {
  position: absolute;
  top: 32px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, rgba(192,57,43,0.5), rgba(232,185,79,0.2));
  z-index: 0;
}
.step-num {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--fg-3);
  margin-bottom: 20px;
}
.step-content {
  position: relative;
  z-index: 1;
}
.step-icon {
  font-size: 2.5rem;
  width: 64px; height: 64px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  margin: 0 auto 20px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.step:hover .step-icon {
  border-color: rgba(192,57,43,0.4);
  box-shadow: 0 0 30px rgba(192,57,43,0.2);
  transform: translateY(-4px);
}
.step h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--fg);
}
.step p { font-size: 0.9rem; color: var(--fg-2); line-height: 1.7; }

#step-1 { transition-delay: 0s; }
#step-2 { transition-delay: 0.12s; }
#step-3 { transition-delay: 0.24s; }

/* ---- DOWNLOAD ---- */
.download-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 140px 40px;
  text-align: center;
}
.download-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-1 {
  width: 500px; height: 500px;
  background: rgba(192,57,43,0.15);
  top: -100px; left: -100px;
  animation: orbFloat1 8s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: rgba(232,185,79,0.1);
  bottom: -100px; right: -100px;
  animation: orbFloat2 10s ease-in-out infinite 1s;
}
@keyframes orbFloat1 {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(30px,20px); }
}
@keyframes orbFloat2 {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(-20px,30px); }
}
.download-content { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.download-content .section-sub { margin: 0 auto 48px; }
.download-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-h);
  border-radius: 16px;
  padding: 16px 28px;
  text-decoration: none;
  color: var(--fg);
  transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  min-width: 190px;
}
.store-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}
.store-icon { width: 28px; height: 28px; color: var(--fg); }
.store-text { display: flex; flex-direction: column; text-align: left; }
.store-top { font-size: 0.7rem; color: var(--fg-3); }
.store-name { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; }

/* ---- FOOTER ---- */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.footer-tagline { color: var(--fg-2); font-size: 0.9rem; }
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}
.footer-link {
  color: var(--fg-3);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--fg); }
.footer-link-sep { color: var(--fg-3); font-size: 0.7rem; }
.footer-copy { color: var(--fg-3); font-size: 0.8rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 32px 80px;
  }
  .hero-content { order: 2; }
  .hero-visual { order: 1; }
  .hero-sub, .section-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-1, .badge-2, .badge-3 { display: none; }
  .stats-inner { grid-template-columns: 1fr; }
  .stats-card-stack { width: 100%; max-width: 360px; }
  .steps-container { grid-template-columns: 1fr; gap: 40px; }
  .step-line { display: none; }
}
@media (max-width: 640px) {
  .hero { padding: 90px 20px 60px; }
  .features { padding: 80px 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-section { padding: 80px 20px; }
  .how-section { padding: 80px 20px; }
  .download-section { padding: 80px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .phone-container { width: 240px; }
  .phone-screen { height: 460px; }
}
