/* ═══════════════════════════════════════════
   InKiRun — style.css  v2
   Paleta: azul app / superficies suaves
   Fuentes: Syne (display) · Inter (body) · Space Mono (labels)
   Inspirado en la UI real de InKiRun
═══════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f5f8fc;
  --surface:   #ffffff;
  --surface2:  #eef4fb;
  --surface3:  #e7eef8;
  --border:    rgba(77, 102, 132, 0.14);
  --border2:   rgba(255,107,61,0.22);

  --lime:      #ff6b3d;
  --lime-dim:  #f24d21;
  --lime-glow: rgba(255,107,61,0.16);
  --lime-grad: linear-gradient(135deg, #ffb36b 0%, #ff6b3d 100%);

  --text:      #121a26;
  --muted:     #61738a;
  --subtle:    #7d8da2;

  --font-display: 'Inter', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-mono:    'Space Mono', monospace;

  --nav-h: 68px;
}

body.theme-dark {
  --bg:        #0d1420;
  --surface:   #121b29;
  --surface2:  #182435;
  --surface3:  #203047;
  --border:    rgba(255,255,255,0.08);
  --border2:   rgba(255,179,107,0.22);
  --lime:      #ffb36b;
  --lime-dim:  #ffc48b;
  --lime-glow: rgba(255,179,107,0.18);
  --lime-grad: linear-gradient(135deg, #ffc48b 0%, #ff6b3d 100%);
  --text:      #eef4fb;
  --muted:     #91a2b8;
  --subtle:    #b3c0d1;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
  transition: background 0.25s ease, color 0.25s ease;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, box-shadow 0.2s, border-color 0.2s;
  border: 1px solid color-mix(in srgb, var(--text) 24%, transparent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--bg) 88%, transparent), 0 0 16px var(--lime-glow);
}
.cursor-trail {
  width: 28px; height: 28px;
  border: 1px solid rgba(255,107,61,0.35);
  border-radius: 50%;
  position: fixed; pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: left 0.1s ease, top 0.1s ease;
}
body:has(a:hover) .cursor      { transform: translate(-50%,-50%) scale(2.5); }
body:has(button:hover) .cursor { transform: translate(-50%,-50%) scale(2.5); }

/* ── NOISE ── */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9990;
}

/* ══════════════════════════════════════════ NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem;
  transition: background 0.4s, border-color 0.4s;
}
nav.scrolled {
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-back {
  display: flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-back:hover { color: var(--text); }

.nav-logo {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  color: var(--text); text-decoration: none; letter-spacing: -0.01em;
}
.nav-logo strong { color: var(--lime); }
.nav-icon { width: 30px; height: 30px; border-radius: 7px; object-fit: cover; }

.nav-links {
  display: flex; align-items: center; gap: 2rem; list-style: none;
}
.nav-links a {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--lime) !important;
  color: #0a0f08 !important; font-weight: 700 !important;
  padding: 0.5rem 1.2rem; border-radius: 6px;
  transition: opacity 0.2s, transform 0.2s !important;
}
.theme-toggle {
  width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--lime);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: none;
  box-shadow: 0 10px 24px rgba(20, 40, 70, 0.08);
}
.theme-toggle-icon { font-size: 1rem; line-height: 1; }
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px) !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: none; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--subtle); border-radius: 2px; transition: 0.3s;
}

.mobile-menu {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: color-mix(in srgb, var(--bg) 96%, transparent); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 2rem; flex-direction: column; gap: 1.5rem; z-index: 490;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--subtle); text-decoration: none;
}

/* ══════════════════════════════════════════ HERO */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: calc(var(--nav-h) + 4rem) 5rem 4rem;
  position: relative; overflow: hidden; gap: 3rem;
}

.mountains-bg { position: absolute; inset: 0; pointer-events: none; }
.mtn { position: absolute; bottom: 0; left: 0; width: 100%; }

.particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: var(--lime); opacity: 0;
  animation: particleFly linear infinite;
}
@keyframes particleFly {
  0%   { opacity: 0; transform: translateY(0) scale(1); }
  20%  { opacity: 0.5; }
  80%  { opacity: 0.2; }
  100% { opacity: 0; transform: translateY(-120px) scale(0); }
}

.altitude-line { position: absolute; bottom: 100px; left: 0; right: 0; pointer-events: none; }
.altitude-line svg { width: 100%; height: 80px; }

.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; gap: 1.8rem;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime);
  background: color-mix(in srgb, var(--lime) 8%, transparent); border: 1px solid var(--border2);
  padding: 0.4rem 0.9rem; border-radius: 100px; width: fit-content;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--lime); border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 700; line-height: 0.96; letter-spacing: -0.05em;
}
.title-inki  { color: var(--text); }
.title-trail { color: var(--lime); }

.hero-subtitle {
  font-size: 1rem; font-weight: 400;
  color: var(--subtle); margin-top: 0.6rem;
  max-width: 420px; line-height: 1.65;
}

.hero-desc {
  font-size: 0.95rem; line-height: 1.8; color: var(--muted); max-width: 440px;
}

.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.store-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.store-links-center { justify-content: center; }
.store-link {
  min-width: 168px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.72rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(30,54,86,0.08);
}
.store-link svg {
  width: 22px;
  height: 22px;
  flex: none;
  fill: currentColor;
}
.store-link span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-size: 0.95rem;
  font-weight: 600;
}
.store-link small {
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.store-link.is-coming {
  opacity: 0.78;
  cursor: default;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--lime); color: #fff;
  padding: 0.9rem 2rem; border-radius: 8px;
  font-family: var(--font-display); font-size: 0.8rem; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 4px 30px var(--lime-glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 40px rgba(255,107,61,0.3); }
.btn-xl { padding: 1.1rem 2.5rem; font-size: 0.9rem; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: var(--subtle);
  padding: 0.9rem 1.6rem; border-radius: 8px;
  border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.18); transform: translateY(-2px); }

.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  padding-top: 1.2rem; border-top: 1px solid var(--border);
}
.hstat { display: flex; flex-direction: column; gap: 0.2rem; }
.hstat-num {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: var(--lime); line-height: 1;
}
.hstat-label {
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.hstat-div { width: 1px; height: 36px; background: var(--border); }

/* ── PHONE MOCKUP ── */
.hero-icon-wrap {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
}
.icon-glow {
  position: absolute; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255,107,61,0.1) 0%, transparent 65%);
  border-radius: 50%; animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50%       { transform: scale(1.12); opacity: 1; }
}

.phone-mockup { position: relative; display: flex; align-items: flex-end; }

.phone-frame {
  width: 250px; background: #0f1724;
  border-radius: 28px; border: 1.5px solid rgba(255,107,61,0.25);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.05);
  animation: float 7s ease-in-out infinite; position: relative;
}
.phone-frame-sm {
  width: 190px; border-radius: 22px;
  animation: float 7s 1.5s ease-in-out infinite;
  margin-left: -30px; margin-bottom: 30px;
  z-index: -1; opacity: 0.82;
  border-color: rgba(255,107,61,0.12);
}
.phone-notch {
  height: 22px; background: #0f1724;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
}
.phone-notch::after {
  content: ''; width: 55px; height: 9px;
  background: #000; border-radius: 5px;
}
.phone-screen {
  display: block; width: 100%; height: auto; object-fit: cover; max-height: 480px;
}
.phone-mockup-2 { position: relative; }

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

/* scroll hint */
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  z-index: 3; animation: fadeIn 1s 1.5s ease both;
}
.scroll-hint span {
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.scroll-arrow { color: var(--muted); animation: bounceDown 2s ease-in-out infinite; }
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ══════════════════════════════════════════ TICKER */
.ticker-wrap {
  background: var(--surface); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); overflow: hidden; padding: 0.85rem 0; white-space: nowrap;
}
.ticker { display: inline-block; }
.ticker-inner {
  display: inline-flex; align-items: center;
  animation: ticker 30s linear infinite;
}
.ticker-inner span {
  font-family: var(--font-display); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); padding: 0 1.5rem;
}
.ticker-inner .sep { color: var(--lime); padding: 0 0.5rem; font-size: 0.8rem; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════ CONTAINER */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2.5rem; }

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

.section-tag {
  display: inline-block; font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--lime); background: color-mix(in srgb, var(--lime) 8%, transparent);
  border: 1px solid var(--border2); padding: 0.3rem 0.75rem;
  border-radius: 100px; margin-bottom: 1.2rem;
}

.section-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; color: var(--text);
}
.section-title em { font-style: normal; color: var(--lime); }

/* ══════════════════════════════════════════ POSITIONING */
.positioning-section {
  padding: 6rem 0 2rem;
}
.positioning-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.15fr) minmax(320px, 0.85fr);
  gap: 2rem;
  align-items: start;
}
.positioning-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1rem;
}
.positioning-copy p {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.8;
}
.positioning-points {
  display: grid;
  gap: 1rem;
}
.positioning-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 16px 36px rgba(30,54,86,0.06);
}
.positioning-card strong {
  font-size: 1rem;
  color: var(--text);
}
.positioning-card span {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ══════════════════════════════════════════ FEATURES */
.features-section { padding: 8rem 0; }

.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 24px; overflow: hidden;
}

.feat-card {
  background: var(--surface); padding: 2.5rem;
  display: flex; flex-direction: column; gap: 1rem;
  position: relative; overflow: hidden; transition: background 0.3s;
}
.feat-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, color-mix(in srgb, var(--lime) 10%, transparent) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.4s;
}
.feat-card:hover { background: var(--surface2); }
.feat-card:hover::before { opacity: 1; }

.feat-large { grid-column: 1 / 3; }
.feat-wide  { grid-column: 2 / 4; }

.feat-icon {
  font-size: 1.4rem; width: 48px; height: 48px;
  background: color-mix(in srgb, var(--lime) 8%, transparent); border: 1px solid var(--border2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
}

.feat-card h3 {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 800;
  letter-spacing: -0.01em; color: var(--text);
}
.feat-card p { font-size: 0.88rem; line-height: 1.75; color: var(--muted); flex: 1; }

.tramo-bar {
  display: flex; align-items: flex-end; gap: 0.5rem;
  height: 80px; margin-top: 1rem;
}
.tramo {
  flex: 1; height: var(--h); background: var(--c);
  border-radius: 5px 5px 0 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding-top: 4px; font-family: var(--font-mono);
  font-size: 0.48rem; color: rgba(10,15,8,0.85); font-weight: 700;
  gap: 2px; opacity: 0.85; transition: opacity 0.2s;
}
.tramo:hover { opacity: 1; }
.tramo span { font-size: 0.42rem; opacity: 0.75; }

.dashboard-preview {
  background: color-mix(in srgb, var(--surface2) 80%, transparent); border: 1px solid var(--border2);
  border-radius: 12px; padding: 1.2rem; margin-top: 1rem;
}
.dp-row { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.dp-block { display: flex; flex-direction: column; gap: 0.2rem; }
.dp-val { font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; line-height: 1; }
.dp-key {
  font-family: var(--font-mono); font-size: 0.52rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
}
.dp-progress {
  height: 2px; background: color-mix(in srgb, var(--muted) 16%, transparent);
  border-radius: 2px; overflow: hidden; margin-bottom: 0.6rem;
}
.dp-prog-bar { height: 100%; background: var(--lime-grad); border-radius: 2px; }
.dp-label {
  font-family: var(--font-mono); font-size: 0.52rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}

/* ══════════════════════════════════════════ APP SCREENS */
.screens-section {
  padding: 8rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.screens-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 1rem;
}

.screen-item {
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center; text-align: center;
}

.screen-label {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--lime);
}

.screen-phone {
  width: 100%; max-width: 200px; background: #0f1724;
  border-radius: 28px; border: 1.5px solid var(--border2);
  overflow: hidden; box-shadow: 0 20px 50px rgba(30,54,86,0.18);
  transition: transform 0.3s, box-shadow 0.3s;
}
.screen-phone:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 30px 70px rgba(30,54,86,0.24), 0 0 0 1px var(--border2);
}
.screen-phone img { display: block; width: 100%; height: auto; object-fit: cover; }

.screen-desc {
  font-size: 0.82rem; line-height: 1.6; color: var(--muted); max-width: 180px;
}

/* ══════════════════════════════════════════ HOW */
.how-section {
  padding: 8rem 0; position: relative; overflow: hidden;
}
.how-bg-line {
  position: absolute; top: 50%; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
}

.steps { display: flex; align-items: flex-start; margin-top: 3rem; }
.step {
  flex: 1; display: flex; flex-direction: column; gap: 1rem;
  padding: 2rem 1.5rem; border-radius: 12px; transition: background 0.3s;
}
.step:hover { background: var(--surface2); }
.step-num {
  font-family: var(--font-display); font-size: 3rem; font-weight: 800;
  line-height: 1; color: var(--border2); transition: color 0.3s;
}
.step:hover .step-num { color: var(--lime); }
.step-content h3 {
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 800;
  letter-spacing: -0.01em; color: var(--text); margin-bottom: 0.5rem;
}
.step-content p { font-size: 0.85rem; line-height: 1.7; color: var(--muted); }
.step-connector { width: 1px; height: 50px; background: var(--border); align-self: center; flex-shrink: 0; }

/* ══════════════════════════════════════════ CTA */
.cta-section {
  padding: 9rem 0 6rem; position: relative; overflow: hidden; text-align: center;
}
.cta-mountains { position: absolute; inset: 0; pointer-events: none; }
.cta-mountains svg { width: 100%; height: 100%; }

.cta-inner {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.cta-icon {
  width: 90px; height: 90px; border-radius: 20px;
  filter: drop-shadow(0 10px 36px var(--lime-glow));
  animation: float 5s ease-in-out infinite;
}
.cta-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; color: var(--text);
}
.cta-desc { font-size: 0.95rem; line-height: 1.8; color: var(--muted); max-width: 480px; }
.cta-back { margin-top: 0.5rem; }
.cta-back a {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.cta-back a:hover { color: var(--text); }

/* ══════════════════════════════════════════ FOOTER */
footer { border-top: 1px solid var(--border); padding: 2.5rem; }
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-icon { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.footer-name { font-family: var(--font-display); font-size: 1rem; font-weight: 800; color: var(--text); }
.footer-name strong { color: var(--lime); }
.footer-tagline {
  font-family: var(--font-mono); font-size: 0.55rem;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-top: 0.2rem;
}
.footer-links { display: flex; gap: 2rem; }
.footer-links a {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
  font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.1em; color: var(--muted); opacity: 0.4;
}

/* ══════════════════════════════════════════ ANIMATIONS */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.reveal {
  opacity: 0; transform: translateY(22px);
  animation: revealAnim 0.75s ease forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes revealAnim { to { opacity: 1; transform: translateY(0); } }

.reveal-card {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal-card.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════ RESPONSIVE */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 3rem) 3rem 3rem;
    text-align: center;
  }
  .hero-content { align-items: center; }
  .hero-badge { margin: 0 auto; }
  .hero-desc { text-align: center; }
  .hero-icon-wrap { display: none; }
  .hero-stats { justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .feat-large, .feat-wide { grid-column: 1; }
  .steps { flex-direction: column; }
  .step-connector { display: none; }
  .screens-grid { grid-template-columns: repeat(2, 1fr); }
  .positioning-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .theme-toggle { width: 36px; height: 36px; }
  .hero { min-height: auto; padding: calc(var(--nav-h) + 1.6rem) 1.25rem 2rem; }
  .hero-title { font-size: clamp(2.45rem, 14vw, 3.2rem); }
  .hero-content { gap: 1.2rem; }
  .hero-badge { line-height: 1.45; text-align: center; }
  .hero-subtitle { font-size: .94rem; line-height: 1.55; }
  .hero-desc { font-size: 0.92rem; line-height: 1.72; }
  .hero-actions { width: 100%; flex-direction: column; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .store-links { justify-content: center; }
  .store-link { min-width: 0; flex: 1; }
  .hero-stats { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: .8rem; width: 100%; justify-content: stretch; }
  .hstat-num { font-size: 1.2rem; }
  .hstat-label { line-height: 1.35; }
  .container { padding: 0 1.25rem; }
  .section-header { margin-bottom: 2.2rem; }
  .section-title { font-size: 1.85rem; line-height: 1.08; }
  .features-section, .how-section, .screens-section { padding: 4.25rem 0; }
  .positioning-section { padding: 3.5rem 0 1rem; }
  .positioning-copy h2 { font-size: 1.7rem; }
  .positioning-points { gap: .8rem; }
  .positioning-card { padding: 1.1rem 1.15rem; }
  .features-grid { border-radius: 20px; }
  .feat-card { padding: 1.5rem; gap: .85rem; }
  .feat-card h3 { font-size: 1.08rem; }
  .screens-grid { grid-template-columns: 1fr; gap: 2rem; }
  .screen-phone { max-width: 230px; }
  .screen-desc { max-width: 240px; }
  .steps { margin-top: 1.8rem; gap: .8rem; }
  .step { padding: 1.25rem; background: var(--surface); border: 1px solid var(--border); }
  .step-num { font-size: 2.35rem; }
  .cta-section { padding: 5.25rem 0 4rem; }
  .cta-inner { gap: 1.15rem; }
  .cta-icon { width: 76px; height: 76px; }
  .cta-title { font-size: 1.95rem; line-height: 1.08; }
  .cta-desc { font-size: .92rem; line-height: 1.7; }
  footer { padding: 2rem 1.5rem; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; gap: 1rem 1.5rem; }
  body { cursor: auto; }
  .cursor, .cursor-trail { display: none; }
}


/* InKiRun-specific scene aliases */
.road-bg { position: absolute; inset: 0; pointer-events: none; }
.road { position: absolute; bottom: 0; left: 0; width: 100%; }
.pace-line { position: absolute; bottom: 100px; left: 0; right: 0; pointer-events: none; }
.pace-line svg { width: 100%; height: 80px; }
.title-run { color: var(--lime); }
.cta-road { position: absolute; inset: auto 0 0; pointer-events: none; }
.cta-road svg { width: 100%; height: 300px; }
