/* Exchango AI — Renewal (Direction 3 · Dark)
 * Recreated from the Claude Design handoff for production use.
 */

:root {
  --ink-950: #0A0A0B;
  --ink-900: #111114;
  --ink-850: #16171B;
  --ink-800: #1C1D22;
  --ink-700: #26282E;
  --ink-600: #383A42;
  --ink-500: #5A5C66;
  --ink-400: #888A94;
  --ink-300: #B4B6BE;
  --ink-200: #DCDDE1;
  --ink-100: #EFEFF2;

  --amber-300: #FFBE4D;
  --amber-400: #FFA826;
  --amber-500: #F39200;
  --amber-600: #D97706;
  --amber-glow: rgba(243, 146, 0, 0.35);

  --green-500: #1FBA66;
  --red-500:   #E8485A;
  --blue-500:  #3D7BFF;

  --font-body: 'Pretendard', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-w: 1280px;
  --max-nav: 1440px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  background: var(--ink-950);
  overflow-x: hidden;
}

body {
  background: var(--ink-950);
  color: #fff;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  animation: page-enter 0.32s ease-out both;
  /* Korean: break on word boundaries, not mid-word */
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Cross-page native transition (Chrome 126+, opt-in by both pages) */
@view-transition {
  navigation: auto;
}

@keyframes page-enter {
  /* Keep body transform-free so fixed overlays anchor to the viewport. */
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body { animation: none; }
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.tabular { font-variant-numeric: tabular-nums; }

/* ========== Skip link ========== */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--amber-500); color: #000;
  padding: 8px 16px; font-weight: 700; z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

/* ========== Animations ========== */
@keyframes float-slow {
  0%, 100% { transform: translateX(80px) rotate(-6deg) translateY(0); }
  50%      { transform: translateX(80px) rotate(-6deg) translateY(-12px); }
}
@keyframes float-fast {
  0%, 100% { transform: translateX(-80px) rotate(6deg) translateY(0); }
  50%      { transform: translateX(-80px) rotate(6deg) translateY(-8px); }
}
@keyframes float-center {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .iphone--side-l, .iphone--side-r, .iphone--center { animation: none !important; }
  .ticker-track { animation: none !important; }
}

/* ========== Buttons & badges ========== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  border: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber-500); color: #000; }
.btn-primary:hover { background: var(--amber-400); box-shadow: 0 8px 22px var(--amber-glow); }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  background: #000; color: #fff;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform .15s ease, background .2s ease;
  min-width: 170px;
}
.store-badge:hover { transform: translateY(-2px); background: #1a1a1a; }
.store-badge svg { flex-shrink: 0; }
.store-badge .small { font-size: 10px; opacity: .8; line-height: 1; }
.store-badge .big   { font-size: 18px; font-weight: 600; line-height: 1.1; margin-top: 2px; }

/* ========== Logo ========== */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: var(--logo-size, 36px); height: var(--logo-size, 36px); flex-shrink: 0; }
.logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  line-height: 1;
  font-size: calc(var(--logo-size, 36px) * 0.5);
  letter-spacing: -0.01em;
}
.logo-text .name { font-weight: 700; color: #fff; }
.logo-text .ai   { font-weight: 700; color: #fff; }
.logo-content {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}
.logo-tagline {
  margin-top: 6px;
  font-size: calc(var(--logo-size, 36px) * 0.3);
  font-weight: 500;
  color: var(--ink-400);
  letter-spacing: 0;
}

/* ========== Nav ========== */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 64px;
  max-width: var(--max-nav); margin: 0 auto;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,11,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
}
.nav-links {
  display: flex; align-items: center; gap: 32px;
  font-size: 14px; font-weight: 500;
}
.nav-links a { color: var(--ink-300); transition: color .15s ease; }
.nav-links a:hover { color: #fff; }

.lang-toggle {
  display: inline-flex; gap: 4px; padding: 4px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
}
.lang-toggle button {
  padding: 4px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 600;
  background: transparent; color: var(--ink-400);
  border: none; cursor: pointer;
  font-family: inherit;
}
.lang-toggle button.active { background: var(--amber-500); color: #000; }

/* ========== Hamburger toggle (mobile) ========== */
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: inherit;
  transition: background .15s ease, border-color .15s ease;
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); }
.nav-toggle svg { display: block; }
.nav-toggle .line {
  transition: transform .2s ease, opacity .2s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .line1 { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .line2 { opacity: 0; }
.nav-toggle[aria-expanded="true"] .line3 { transform: translateY(-6px) rotate(-45deg); }

/* ========== iPhone frame ========== */
.iphone {
  position: relative;
  width: 360px;
  aspect-ratio: 1320 / 2868;
  border-radius: 56px;
  background: #000;
  padding: 10px;
  box-shadow:
    0 0 0 2px #2a2a2e,
    0 30px 60px -20px rgba(0,0,0,0.5),
    0 18px 40px -10px rgba(0,0,0,0.3);
  flex-shrink: 0;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,0.25));
}
.iphone-screen {
  position: relative; width: 100%; height: 100%;
  border-radius: 46px; overflow: hidden;
  background: var(--ink-950);
}
.iphone-screen img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  user-select: none; -webkit-user-drag: none;
}
.iphone--xl { width: 420px; border-radius: 64px; padding: 12px; }
.iphone--xl .iphone-screen { border-radius: 52px; }
.iphone--sm { width: 280px; border-radius: 44px; padding: 8px; }
.iphone--sm .iphone-screen { border-radius: 36px; }

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: 80px 64px 100px;
  max-width: var(--max-nav);
  margin: 0 auto;
}
.hero::before {
  content: ""; position: absolute;
  top: 100px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,146,0,0.25) 0%, rgba(243,146,0,0) 60%);
  pointer-events: none; z-index: 0;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px;
  background: rgba(243,146,0,0.1);
  border: 1px solid rgba(243,146,0,0.25);
  color: var(--amber-400);
  border-radius: 999px;
  margin-bottom: 32px;
  font-size: 13px; font-weight: 600;
}
.eyebrow .fox { width: 20px; height: 20px; }

h1.hero-title {
  font-size: clamp(48px, 7vw, 120px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 0.95;
  margin: 0 0 24px;
  text-wrap: balance;
}
.amber-grad {
  background: linear-gradient(135deg, #F39200 0%, #FFD580 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 20px; color: var(--ink-300);
  max-width: 640px; margin: 0 auto 40px;
  line-height: 1.5;
}

.store-row {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap; margin-bottom: 64px;
}

/* Triple phone display */
.phone-stage {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: flex-end;
  margin-top: 40px;
  perspective: 2000px;
}
.iphone--side-l {
  z-index: 1;
  transform: translateX(80px) rotate(-6deg);
  animation: float-slow 6s ease-in-out infinite;
}
.iphone--center {
  z-index: 2;
  margin-left: -60px; margin-right: -60px;
  animation: float-center 7s ease-in-out infinite;
}
.iphone--side-r {
  z-index: 1;
  transform: translateX(-80px) rotate(6deg);
  animation: float-fast 4s ease-in-out infinite;
}

/* ========== Ticker ========== */
.ticker-band {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  padding: 14px 0;
}
.ticker-track {
  display: flex; gap: 32px;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-item {
  display: flex; align-items: center; gap: 10px;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.ticker-item .pair { font-weight: 600; color: #fff; }
.ticker-item .val  { color: var(--ink-300); }
.ticker-item .chg.up   { color: var(--green-500); font-weight: 600; }
.ticker-item .chg.down { color: var(--red-500);   font-weight: 600; }

/* ========== Stats ========== */
.stats-section {
  padding: 100px 64px;
  max-width: var(--max-w); margin: 0 auto;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stat {
  padding: 36px 24px;
  border-left: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}
.stat:first-child { border-left: none; }
.stat .num {
  font-size: 56px; font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(180deg, #fff 0%, #888A94 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat .label {
  font-size: 13px; color: var(--ink-400);
  margin-top: 8px; font-weight: 500;
  letter-spacing: 0.05em; text-transform: uppercase;
}

/* ========== Features ========== */
.features {
  padding: 80px 64px 120px;
  max-width: var(--max-w); margin: 0 auto;
}
.section-head { text-align: center; margin-bottom: 96px; }
.section-eyebrow {
  font-size: 13px; font-weight: 700; color: var(--amber-400);
  letter-spacing: 0.15em; margin-bottom: 16px;
  text-transform: uppercase;
}
.section-title {
  font-size: 72px; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1; margin: 0; text-wrap: balance;
}

.feature-rows { display: flex; flex-direction: column; gap: 120px; }
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.feature-row.reverse .feature-text  { order: 2; }
.feature-row.reverse .feature-visual { order: 1; }

.feature-tag {
  font-size: 12px; font-weight: 700; color: var(--amber-400);
  letter-spacing: 0.2em; margin-bottom: 16px; text-transform: uppercase;
}
.feature-title {
  font-size: 48px; font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.05; margin: 0 0 16px;
}
.feature-desc {
  font-size: 17px; color: var(--ink-300); line-height: 1.5;
  margin: 0 0 24px; max-width: 460px;
}
.bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bullets li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.bullets li::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--amber-500); flex-shrink: 0;
}
.feature-visual { display: flex; justify-content: center; }

/* ========== Carousel (used inside feature visuals) ========== */
.carousel { position: relative; display: inline-block; }
.iphone-screen.carousel-track { position: relative; }
.iphone-screen.carousel-track .carousel-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}
.iphone-screen.carousel-track .carousel-img.active {
  opacity: 1;
  pointer-events: auto;
}
.carousel-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 5;
  transition: background .2s ease, transform .15s ease, border-color .2s ease;
  font-family: inherit;
}
.carousel-btn:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.32);
}
.carousel-btn:active { transform: translateY(-50%) scale(0.94); }
.carousel-btn:focus-visible {
  outline: 2px solid var(--amber-500);
  outline-offset: 2px;
}
.carousel-prev { left: -64px; }
.carousel-next { right: -64px; }

.carousel-dots {
  position: absolute;
  bottom: -28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px;
  z-index: 5;
}
.carousel-dots .dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: rgba(255,255,255,0.22);
  transition: background .2s ease, width .2s ease;
}
.carousel-dots .dot.active {
  background: var(--amber-500);
  width: 18px;
}

@media (max-width: 768px) {
  .carousel-prev { left: -8px; }
  .carousel-next { right: -8px; }
  .carousel-btn {
    width: 36px; height: 36px;
    background: rgba(0,0,0,0.55);
    border-color: rgba(255,255,255,0.22);
  }
  .carousel-dots { bottom: -22px; }
}

/* ========== More tools (small cards) ========== */
.more-tools {
  padding: 40px 64px 120px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.more-tools .section-head { margin-bottom: 60px; }
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.more-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px 28px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.more-tag {
  font-size: 11px; font-weight: 700; color: var(--amber-400);
  letter-spacing: 0.2em; margin-bottom: 12px; text-transform: uppercase;
}
.more-card h4 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.15; margin: 0 0 8px;
}
.more-card p {
  font-size: 13px; color: var(--ink-300);
  line-height: 1.5; margin: 0 0 20px;
}
.more-visual {
  margin-top: auto;
  display: flex; justify-content: center;
  margin-bottom: -60px;
}
.iphone--card { width: 200px; border-radius: 32px; padding: 6px; }
.iphone--card .iphone-screen { border-radius: 26px; }

@media (max-width: 1024px) {
  .more-grid { grid-template-columns: repeat(2, 1fr); }
  .more-tools { padding: 40px 32px 100px; }
}
@media (max-width: 640px) {
  .more-grid { grid-template-columns: 1fr; gap: 16px; }
  .more-tools { padding: 20px 24px 60px; }
  .more-tools .section-head { margin-bottom: 32px; }
  .more-card { padding: 24px 24px 0; border-radius: 20px; }
  .more-card h4 { font-size: 20px; }
  .iphone--card { width: 180px; }
  .more-visual { margin-bottom: -50px; }
}

/* ========== Ango AI ========== */
.ango {
  padding: 120px 64px;
  background: linear-gradient(180deg, transparent 0%, rgba(243,146,0,0.06) 50%, transparent 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ango-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  align-items: center;
}
.ango-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: rgba(243,146,0,0.1);
  border: 1px solid rgba(243,146,0,0.3);
  color: var(--amber-400);
  border-radius: 999px;
  margin-bottom: 24px;
  font-size: 13px; font-weight: 700;
}
.ango-eyebrow .fox { width: 22px; height: 22px; }
.ango h2 {
  font-size: 80px; font-weight: 800; letter-spacing: -0.04em;
  line-height: 0.95; margin: 0 0 24px;
}
.ango h2 .hi { color: var(--amber-500); }
.ango p.lede {
  font-size: 19px; color: var(--ink-300); line-height: 1.5;
  margin: 0 0 32px; max-width: 480px;
}
.ango-prompts { display: flex; flex-direction: column; gap: 8px; }
.ango-prompt {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px; font-weight: 500;
}
.ango-prompt .ico { font-size: 18px; }
.ango-prompt .arrow { margin-left: auto; color: var(--amber-500); }
.ango-phone-wrap {
  display: flex; justify-content: center; position: relative;
}
.ango-phone-wrap::before {
  content: ""; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(243,146,0,0.3) 0%, transparent 70%);
}
.ango-phone-wrap .iphone { position: relative; z-index: 1; }

/* ========== Final CTA ========== */
.cta-final {
  padding: 160px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 180% 60% at 50% 130%, rgba(243,146,0,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-inner .fox { width: 96px; height: 96px; margin: 0 auto; display: block; }
.cta-final h2 {
  font-size: clamp(56px, 9vw, 144px);
  font-weight: 800; letter-spacing: -0.05em; line-height: 0.9;
  margin: 24px 0; text-wrap: balance;
}
.cta-final p { font-size: 20px; color: var(--ink-300); margin: 0 0 40px; }

/* ========== Footer ========== */
.footer {
  padding: 40px 64px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  color: var(--ink-400);
}
.footer-inner > .logo  { justify-self: start; }
.footer-links          { justify-self: center; }
.footer-copy           { justify-self: end; text-align: right; }
.footer-links {
  display: flex; align-items: center; gap: 20px;
  font-size: 13px;
}
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 13px; }

/* ========== Mobile (≤ 768px) ========== */
@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
  }
  .nav-toggle { display: inline-flex; }
  /* Compact logo on mobile */
  .nav .logo { --logo-size: 32px; }
  .nav .logo-tagline { margin-top: 4px; }

  /* Mobile menu panel — slides down from nav */
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 20px;
    background: var(--ink-950);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 12px 32px -12px rgba(0,0,0,0.6);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links .nav-link {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    color: var(--ink-200);
  }
  .nav-links .nav-link:hover,
  .nav-links .nav-link:focus { background: rgba(255,255,255,0.06); color: #fff; }
  .nav-links .lang-toggle {
    align-self: flex-start;
    margin-top: 6px;
  }

  .hero { padding: 40px 24px 32px; }
  .hero::before {
    top: -100px; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(243,146,0,0.3) 0%, transparent 60%);
  }
  .eyebrow { margin-bottom: 24px; font-size: 11px; padding: 6px 12px; }
  .eyebrow .fox { width: 16px; height: 16px; }
  h1.hero-title { font-size: 44px; line-height: 0.95; margin: 0 0 16px; }
  .hero-sub { font-size: 15px; margin: 0 0 28px; padding: 0 8px; }
  .store-row { flex-direction: row; gap: 8px; margin-bottom: 40px; align-items: stretch; flex-wrap: nowrap; }
  .store-row .store-badge {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    padding: 10px 12px;
    gap: 8px;
  }
  .store-row .store-badge .small { font-size: 9px; }
  .store-row .store-badge .big   { font-size: 14px; }

  /* Mobile hero — compact triple phone tower (matches desktop layout) */
  .phone-stage { margin-top: 8px; perspective: 1200px; }
  .iphone--side-l, .iphone--side-r { display: block; }
  /* Override the existing translateX-driven keyframes — keep static rotations only */
  .iphone--side-l {
    transform: translateX(20px) rotate(-6deg);
    animation: none;
  }
  .iphone--center {
    margin-left: -14px; margin-right: -14px;
    animation: float-center 7s ease-in-out infinite;
  }
  .iphone--side-r {
    transform: translateX(-20px) rotate(6deg);
    animation: none;
  }
  /* Compact mobile sizes */
  .iphone { width: 96px; border-radius: 22px; padding: 5px; }
  .iphone .iphone-screen { border-radius: 17px; }
  .iphone--xl { width: 124px; border-radius: 28px; padding: 6px; }
  .iphone--xl .iphone-screen { border-radius: 22px; }
  .iphone--sm { width: 200px; border-radius: 32px; padding: 6px; }
  .iphone--sm .iphone-screen { border-radius: 26px; }
  /* Restore center-only iPhone size in feature cards (single phone, not in stage) */
  .feature-row .iphone--xl,
  .ango-phone-wrap .iphone--xl {
    width: 220px; border-radius: 36px; padding: 7px;
  }
  .feature-row .iphone--xl .iphone-screen,
  .ango-phone-wrap .iphone--xl .iphone-screen { border-radius: 29px; }

  .stats-section { padding: 40px 24px; }
  .stat { padding: 20px 8px; }
  .stat .num { font-size: 28px; }
  .stat .label { font-size: 9px; margin-top: 4px; letter-spacing: 0.12em; font-weight: 700; }

  .features { padding: 40px 24px 60px; }
  .section-head { margin-bottom: 40px; }
  .section-eyebrow { font-size: 11px; margin-bottom: 12px; letter-spacing: 0.18em; }
  .section-title { font-size: 36px; }

  /* Mobile: features as cards instead of alternating rows */
  .feature-rows { gap: 16px; }
  .feature-row {
    display: block;
    background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 24px;
    overflow: hidden;
  }
  .feature-row.reverse .feature-text,
  .feature-row.reverse .feature-visual { order: initial; }

  .feature-tag { font-size: 10px; margin-bottom: 10px; letter-spacing: 0.18em; }
  .feature-title { font-size: 26px; line-height: 1.05; margin: 0 0 8px; letter-spacing: -0.02em; }
  .feature-desc { font-size: 14px; line-height: 1.5; margin: 0 0 20px; }
  .bullets { display: none; }
  .feature-visual { margin-top: 8px; margin-bottom: 16px; justify-content: center; }

  .ango { padding: 60px 24px; }
  .ango-inner { grid-template-columns: 1fr; gap: 32px; }
  .ango h2 { font-size: 48px; }
  .ango p.lede { font-size: 15px; margin: 0 0 24px; }
  .ango-prompt { font-size: 13px; padding: 12px 14px; }
  .ango-phone-wrap::before { width: 300px; height: 300px; }

  .cta-final { padding: 80px 24px 60px; }
  .cta-inner .fox { width: 68px; height: 68px; }
  .cta-final h2 { font-size: 52px; margin: 20px 0 16px; }
  .cta-final p { font-size: 14px; margin: 0 0 28px; }
  .cta-final .store-row { flex-direction: row; gap: 8px; }

  .footer { padding: 24px 24px 32px; text-align: center; }
  .footer-inner {
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    gap: 12px;
  }
  .footer-inner > .logo,
  .footer-links,
  .footer-copy { justify-self: auto; text-align: center; }
}

/* ========== Extra-narrow (≤ 380px) ========== */
@media (max-width: 380px) {
  .nav { padding: 12px 16px; }
  .nav .logo { --logo-size: 28px; gap: 8px; }
  .nav-toggle { width: 36px; height: 36px; }
  h1.hero-title { font-size: 38px; }
  .hero { padding: 32px 18px 28px; }
  .stats-grid { gap: 0; }
  .stat .num { font-size: 24px; }
  .stat .label { font-size: 8px; }
  .features { padding: 32px 18px 50px; }
  .section-title { font-size: 30px; }
  .ango { padding: 50px 18px; }
  .ango h2 { font-size: 40px; }
  .cta-final { padding: 64px 18px 50px; }
  .cta-final h2 { font-size: 44px; }
  .footer { padding: 20px 18px 28px; }
}

/* ========== Tablet (769–1024) — tighten spacing ========== */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav { padding: 16px 32px; }
  .nav-links { gap: 20px; }
  .hero { padding: 60px 32px 80px; }
  .stats-section { padding: 80px 32px; }
  .features { padding: 60px 32px 100px; }
  .feature-rows { gap: 80px; }
  .feature-title { font-size: 36px; }
  .section-title { font-size: 56px; }
  .ango { padding: 80px 32px; }
  .ango h2 { font-size: 60px; }
  .cta-final { padding: 120px 32px; }
  .footer { padding: 32px; }
  .iphone { width: 300px; }
  .iphone--xl { width: 360px; }
}
