/* koreasoup (K-Community) landing — indigo accent, light + dark */

:root {
  --bg: #FAFAF9;
  --bg-elev: #FFFFFF;
  --surface: #F4F4F2;
  --border: #E8E7E4;
  --border-soft: #EFEEEB;
  --ink: #0A0A0A;
  --ink2: #27272A;
  --muted: #71717A;
  --muted2: #A1A1AA;
  --accent: #5B6CFF;
  --accent-wash: #E0E4FF;
  --accent-ink: #FFFFFF;
  --glow: rgba(91, 108, 255, 0.18);

  --font-sans: 'Inter', 'Pretendard', system-ui, -apple-system, 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
  --max: 1200px;
  --gutter: 32px;
}

[data-theme="dark"] {
  --bg: #0A0A0B;
  --bg-elev: #111112;
  --surface: #16161A;
  --border: #232327;
  --border-soft: #1C1C20;
  --ink: #FAFAFA;
  --ink2: #E4E4E7;
  --muted: #A1A1AA;
  --muted2: #71717A;
  --accent: #6E7CFF;
  --accent-wash: #1F2340;
  --accent-ink: #0A0A0A;
  --glow: rgba(110, 124, 255, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--ink); }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 5px; }
::-webkit-scrollbar-track { background: transparent; }

/* ── Ambient glow blobs ──────────────────── */
.glow-layer {
  position: fixed; inset: 0; pointer-events: none;
  z-index: 0; overflow: hidden;
}
.glow-layer::before,
.glow-layer::after {
  content: ''; position: absolute; border-radius: 50%;
  background: var(--accent); filter: blur(140px);
}
.glow-layer::before { top: -200px; right: -200px; width: 700px; height: 700px; opacity: 0.14; }
.glow-layer::after  { bottom: -300px; left: -150px; width: 600px; height: 600px; opacity: 0.08; filter: blur(160px); }

/* ── Container ──────────────────── */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 1;
}

/* ── Animations ──────────────────── */
@keyframes kcFade {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes kcSwap {
  0% { opacity: 0; transform: scale(0.98); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes kcFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes kcMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); }
}

/* ── NAV ──────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  padding: 16px var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; letter-spacing: -0.02em; color: var(--ink); }
.nav-brand-mark { display: block; border-radius: 7px; }
img.nav-brand-mark { width: 28px; height: 28px; }
.footer-brand img.nav-brand-mark { width: 24px; height: 24px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { color: var(--muted); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-link:hover { color: var(--ink); }

.lang-picker { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--ink); font-size: 13px; font-weight: 500;
}
.lang-btn svg { opacity: 0.7; }
.lang-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 201;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 12px;
  padding: 6px; min-width: 200px; display: none;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
}
.lang-picker.open .lang-menu { display: block; }
.lang-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 8px;
  color: var(--ink); font-size: 13px; font-weight: 500;
}
.lang-menu a.active { background: var(--surface); }
.lang-menu a:hover { background: var(--surface); }
.lang-flag { font-size: 16px; }
.lang-name { flex: 1; }
.lang-dot { width: 6px; height: 6px; border-radius: 6px; background: var(--accent); }

.theme-toggle {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--ink); display: flex; align-items: center; justify-content: center; padding: 0;
}
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.nav-cta {
  padding: 8px 16px; border-radius: 8px;
  background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 600;
}

/* ── HERO ──────────────────── */
.hero { position: relative; z-index: 1; }
.hero-grid {
  max-width: var(--max); margin: 0 auto;
  padding: 80px var(--gutter) 40px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px;
  align-items: center;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 6px 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: 12.5px; font-weight: 500; color: var(--ink);
  margin-bottom: 32px;
}
.hero-pill-badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 8px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.3px;
}
.hero-pill-eyebrow { color: var(--muted); }
.hero-pill svg { margin-right: 10px; opacity: 0.5; }

.hero-title {
  font-size: clamp(44px, 5.8vw, 80px);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.035em;
  margin: 0; text-wrap: balance;
  animation: kcFade 0.5s ease;
}
.hero-title-accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--ink) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero-sub {
  margin-top: 28px; font-size: 18px; line-height: 1.55;
  max-width: 520px; color: var(--muted); font-weight: 400;
}
.hero-ctas { display: flex; gap: 10px; margin-top: 36px; flex-wrap: wrap; }
.hero-cta {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  transition: transform 0.15s;
}
.hero-cta:hover { transform: translateY(-1px); }
.hero-cta-primary {
  background: var(--ink); color: var(--bg);
  box-shadow: 0 6px 16px var(--glow), 0 0 0 1px var(--ink);
}
.hero-cta-secondary {
  background: var(--bg-elev); color: var(--ink);
  border: 1px solid var(--border);
}
.hero-cta-text { text-align: left; line-height: 1.1; }
.hero-cta-text small { display: block; font-size: 10px; opacity: 0.65; font-weight: 500; }
.hero-cta-text b { font-size: 15px; font-weight: 600; }

.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 36px; }
.avatar-row { display: flex; }
.avatar-row > div {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--bg);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 10px; font-weight: 700;
}
.avatar-row > div + div { margin-left: -8px; }
.proof-text { font-size: 13px; color: var(--muted); line-height: 1.4; }
.proof-stars { display: flex; align-items: center; gap: 4px; margin-bottom: 2px; }
.proof-stars svg { fill: var(--accent); }
.proof-rating { color: var(--ink); font-weight: 600; margin-left: 4px; }
.proof-count { color: var(--ink); font-weight: 600; }

/* Phone stage in hero */
.phone-stage {
  position: relative; height: 680px;
  display: flex; align-items: center; justify-content: center;
}
.phone-stage-glow {
  position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: var(--accent); filter: blur(100px); opacity: 0.22;
  pointer-events: none;
}
.phone-back {
  position: absolute; right: 20px;
  transform: rotate(6deg) translateY(20px);
  opacity: 0.7; filter: blur(0.5px);
}
.phone-front {
  position: relative; z-index: 5;
  animation: kcFloat 6s ease-in-out infinite;
}
.phone-swap { animation: kcSwap 0.5s ease; }
.phone-dots {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 6px; z-index: 10;
  padding: 8px 12px; border-radius: 99px;
  background: color-mix(in oklab, var(--bg-elev) 87%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
}
.phone-dots button {
  width: 6px; height: 6px; border-radius: 6px;
  background: var(--muted2);
  transition: all 0.3s; padding: 0;
}
.phone-dots button.active { width: 18px; background: var(--accent); }

/* ── iOS Device Frame ──────────────────── */
.ios-device {
  border-radius: 48px; overflow: hidden;
  position: relative; background: #F2F2F7;
  box-shadow: 0 40px 80px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.12);
  font-family: -apple-system, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
[data-theme="dark"] .ios-device { background: #000; }
.ios-device.size-320 { width: 320px; height: 680px; }
.ios-device.size-300 { width: 300px; height: 640px; }
.ios-device.size-260 { width: 260px; height: 540px; }

.ios-island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 126px; height: 37px; border-radius: 24px; background: #000; z-index: 50;
}
.ios-status {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; padding: 21px 24px 19px; justify-content: space-between;
  font-family: -apple-system, 'SF Pro', system-ui;
  font-weight: 590; font-size: 17px; line-height: 22px;
  color: #000;
}
[data-theme="dark"] .ios-status { color: #fff; }
.ios-status-icons { display: flex; gap: 7px; align-items: center; }
.ios-home {
  position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
  width: 139px; height: 5px; border-radius: 100px;
  background: rgba(0,0,0,0.25); z-index: 60;
}
[data-theme="dark"] .ios-home { background: rgba(255,255,255,0.7); }

.ios-screen {
  height: 100%; padding: 70px 16px 20px;
  color: #111;
}
[data-theme="dark"] .ios-screen { color: #FAFAFA; }

.ios-screen h3 { font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin: 0; }
.ios-screen .screen-sub { font-size: 12px; color: rgba(0,0,0,0.6); margin-bottom: 14px; }
[data-theme="dark"] .ios-screen .screen-sub { color: rgba(255,255,255,0.6); }

/* Dancheong band bar */
.dancheong {
  display: flex; height: 14px; border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(0,0,0,0.13);
}
.dancheong > span { flex: 1; position: relative; }
.dancheong > span::after {
  content: ''; position: absolute; inset: 2px;
  border-left: 1px solid rgba(0,0,0,0.2);
  border-right: 1px solid rgba(0,0,0,0.2);
}

/* Community screen posts */
.sc-posts { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.sc-post {
  background: #fff; border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px; padding: 12px;
}
[data-theme="dark"] .sc-post { background: #1E1E22; border-color: rgba(255,255,255,0.08); }
.sc-post-head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.sc-post-src {
  font-size: 10px; font-weight: 700; padding: 2px 6px;
  background: rgba(91,108,255,0.12); color: #5B6CFF;
  border-radius: 4px; letter-spacing: 0.3px;
}
.sc-post-meta { font-size: 10px; color: rgba(0,0,0,0.4); }
[data-theme="dark"] .sc-post-meta { color: rgba(255,255,255,0.45); }
.sc-post-title { font-size: 14px; line-height: 1.35; font-weight: 500; }
.sc-ai-badge {
  font-size: 11px; color: #5B6CFF; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
}
.sc-screen-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 4px; }

/* Music screen */
.sc-album {
  aspect-ratio: 1 / 1; border-radius: 22px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #5B6CFF 0%, #2C5F8A 100%);
  margin-bottom: 14px;
}
.sc-album-ring1, .sc-album-ring2 {
  position: absolute; border-radius: 50%;
}
.sc-album-ring1 { inset: 24px; border: 2px solid rgba(245,239,227,0.33); }
.sc-album-ring2 { inset: 54px; border: 1px solid rgba(245,239,227,0.53); }
.sc-album-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 44px; height: 44px; border-radius: 50%; background: #F5EFE3;
  display: flex; align-items: center; justify-content: center;
}
.sc-album-play::after {
  content: ''; width: 0; height: 0;
  border-left: 12px solid #111;
  border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  margin-left: 3px;
}
.sc-album-info {
  position: absolute; bottom: 12px; left: 14px; right: 14px;
  color: #F5EFE3;
}
.sc-album-info small { font-size: 11px; opacity: 0.75; letter-spacing: 1px; text-transform: uppercase; }
.sc-album-info b { display: block; font-size: 17px; font-weight: 700; }
.sc-album-info span { font-size: 12px; opacity: 0.85; }
.sc-progress { height: 3px; background: rgba(0,0,0,0.08); border-radius: 99px; overflow: hidden; margin-bottom: 10px; }
.sc-progress > div { width: 38%; height: 100%; background: #5B6CFF; }
.sc-times { display: flex; justify-content: space-between; font-size: 10px; color: rgba(0,0,0,0.47); font-variant-numeric: tabular-nums; margin-bottom: 18px; }
[data-theme="dark"] .sc-times { color: rgba(255,255,255,0.55); }
.sc-chart {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
}
[data-theme="dark"] .sc-chart { border-color: rgba(255,255,255,0.08); }
.sc-chart-num { font-size: 18px; font-weight: 800; color: #5B6CFF; width: 22px; }
.sc-chart-art { width: 34px; height: 34px; border-radius: 6px; background: linear-gradient(135deg, #3B82F6, #111); }
.sc-chart-name { flex: 1; font-size: 13px; font-weight: 500; }
.sc-chart-arrow { font-size: 16px; color: rgba(0,0,0,0.33); }

/* Food screen */
.sc-map {
  aspect-ratio: 4 / 3; border-radius: 18px; position: relative; overflow: hidden;
  background: #F5EFE3; border: 1px solid rgba(0,0,0,0.07); margin-bottom: 14px;
}
.sc-map-pin {
  position: absolute;
  width: 28px; height: 28px; border-radius: 50% 50% 50% 0;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transform: translate(-50%, -100%) rotate(-45deg);
}
.sc-map-pin > span {
  transform: rotate(45deg); color: #fff; font-size: 10px; font-weight: 700;
}
.sc-map-you {
  position: absolute; left: 48%; top: 48%; transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%; background: #111; border: 3px solid #F5EFE3;
  box-shadow: 0 0 0 6px rgba(0,0,0,0.08);
}
.sc-spot {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
}
.sc-spot-thumb {
  width: 40px; height: 40px; border-radius: 10px;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,0.06) 0 6px, transparent 6px 12px);
}
.sc-spot-name { font-size: 14px; font-weight: 700; }
.sc-spot-meta { font-size: 11px; color: rgba(0,0,0,0.47); }
[data-theme="dark"] .sc-spot-meta { color: rgba(255,255,255,0.55); }
.sc-spot-open {
  font-size: 10px; padding: 3px 8px; border-radius: 99px;
  background: #5B6CFF; color: #fff; font-weight: 700;
}

/* Modes screen */
.sc-modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.sc-mode {
  aspect-ratio: 1 / 1; border-radius: 16px;
  background: #fff; border: 1px solid rgba(0,0,0,0.07);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
  padding: 10px;
}
[data-theme="dark"] .sc-mode { background: #1E1E22; border-color: rgba(255,255,255,0.08); }
.sc-mode.active {
  background: #5B6CFF; color: #fff; border: none;
  box-shadow: 0 8px 20px rgba(91,108,255,0.27);
}
.sc-mode-icon { font-size: 22px; }
.sc-mode-name { font-size: 11px; font-weight: 700; letter-spacing: -0.2px; }

/* Fortune screen */
.sc-fortune-hero {
  border-radius: 20px; padding: 18px; margin-bottom: 14px;
  background: radial-gradient(circle at 30% 20%, rgba(245,213,71,0.33), transparent), #111;
  color: #F5EFE3; position: relative; overflow: hidden;
}
.sc-fortune-moon {
  position: absolute; right: 18px; top: 18px;
  width: 52px; height: 52px; border-radius: 50%; background: #F5EFE3;
  box-shadow: 0 0 40px rgba(245,213,71,0.53);
}
.sc-fortune-label { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.7; }
.sc-fortune-msg { font-size: 20px; font-weight: 700; margin-top: 6px; line-height: 1.25; max-width: 72%; }
.sc-fortune-scores { margin-top: 18px; display: flex; gap: 14px; font-size: 11px; opacity: 0.85; }
.sc-fortune-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sc-fortune-card {
  border-radius: 14px; padding: 12px;
  background: #fff; border: 1px solid rgba(0,0,0,0.07);
  border-left: 4px solid;
}
[data-theme="dark"] .sc-fortune-card { background: #1E1E22; border-right-color: rgba(255,255,255,0.08); border-top-color: rgba(255,255,255,0.08); border-bottom-color: rgba(255,255,255,0.08); }
.sc-fortune-card-t { font-size: 14px; font-weight: 700; }
.sc-fortune-card-s { font-size: 11px; color: rgba(0,0,0,0.47); margin-top: 2px; }
[data-theme="dark"] .sc-fortune-card-s { color: rgba(255,255,255,0.55); }

/* ── TRUST BAR (marquee) ──────────────────── */
.trust-bar {
  padding: 48px 0 32px; position: relative; z-index: 1;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.trust-label {
  text-align: center; font-size: 11px; font-weight: 600;
  color: var(--muted); letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 18px;
}
.trust-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: kcMarquee 65s linear infinite;
  font-size: 20px; font-weight: 500; color: var(--muted);
}
.trust-track span { display: inline-flex; align-items: center; gap: 48px; }
.trust-dot { width: 3px; height: 3px; border-radius: 3px; background: var(--muted2); }

/* ── SECTION HEADER ──────────────────── */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-kicker {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--accent-wash); color: var(--accent);
  font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(32px, 4vw, 52px); font-weight: 700;
  line-height: 1.1; letter-spacing: -0.03em; margin: 0;
  text-wrap: balance;
}
.section-title em { font-style: normal; color: var(--muted); }

/* ── FEATURES (bento) ──────────────────── */
.features { max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter); position: relative; z-index: 1; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.feature-card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 20px; padding: 24px;
  position: relative; overflow: hidden;
  min-height: 220px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in oklab, var(--accent) 40%, transparent);
  box-shadow: 0 10px 30px var(--glow);
}
.feature-card.hero { padding: 32px; min-height: 320px; }
.feature-card.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 0%, color-mix(in oklab, var(--accent) 10%, transparent), transparent 60%);
  pointer-events: none;
}
.feature-card.wide { min-height: 200px; }
.feature-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-wash); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.feature-card.hero .feature-icon { width: 48px; height: 48px; border-radius: 12px; }
.feature-body { position: relative; z-index: 1; margin-top: 18px; }
.feature-title { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.feature-card.hero .feature-title { font-size: 26px; margin-bottom: 10px; }
.feature-desc { color: var(--muted); font-size: 13.5px; line-height: 1.55; margin: 0; }
.feature-card.hero .feature-desc { font-size: 15px; max-width: 420px; }

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }

/* ── SHOWCASE (4 phones) ──────────────────── */
.showcase {
  background: var(--surface); padding: 120px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; z-index: 1;
}
.showcase-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.showcase-item {
  display: flex; flex-direction: column; align-items: center;
}
.showcase-item:nth-child(even) { transform: translateY(28px); }
.showcase-phone-wrap { margin-bottom: 18px; }
.showcase-label { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }

/* ── MODES ──────────────────── */
.modes {
  max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter);
  position: relative; z-index: 1;
}
.modes-list {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  max-width: 900px; margin: 0 auto;
}
.mode-pill {
  padding: 11px 18px; border-radius: 999px;
  background: var(--bg-elev); color: var(--ink);
  border: 1px solid var(--border);
  font-size: 14px; font-weight: 500;
  transition: all 0.15s;
}
.mode-pill:hover { border-color: var(--accent); color: var(--accent); }
.mode-pill.active {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}

/* ── STATS ──────────────────── */
.stats {
  max-width: var(--max); margin: 0 auto;
  padding: 40px var(--gutter) 120px;
  position: relative; z-index: 1;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden;
}
.stat { padding: 40px 32px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num {
  font-size: clamp(40px, 4.5vw, 64px); font-weight: 700;
  line-height: 1; letter-spacing: -0.04em; color: var(--ink);
}
.stat-label { font-size: 14px; font-weight: 600; margin-top: 16px; }
.stat-sub { font-size: 12.5px; color: var(--muted); margin-top: 3px; }

/* ── TESTIMONIALS ──────────────────── */
.testi {
  background: var(--surface); padding: 100px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  position: relative; z-index: 1;
}
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
}
.testi-card {
  background: var(--bg-elev); border: 1px solid var(--border);
  border-radius: 18px; padding: 28px;
}
.testi-quote-icon { margin-bottom: 16px; opacity: 0.85; fill: var(--accent); }
.testi-text {
  font-size: 17px; line-height: 1.5; letter-spacing: -0.01em;
  font-weight: 500; color: var(--ink); margin-bottom: 20px;
  text-wrap: pretty;
}
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.testi-name { font-size: 13px; font-weight: 600; }
.testi-role { font-size: 11.5px; color: var(--muted); }

/* ── CTA ──────────────────── */
.cta-section {
  max-width: var(--max); margin: 0 auto; padding: 120px var(--gutter);
  position: relative; z-index: 1;
}
.cta-box {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink2) 100%);
  color: var(--bg); border-radius: 28px;
  padding: 80px 60px; position: relative; overflow: hidden;
  text-align: center;
}
.cta-box::before,
.cta-box::after {
  content: ''; position: absolute; width: 400px; height: 400px;
  border-radius: 50%; background: var(--accent); filter: blur(120px);
}
.cta-box::before { top: -100px; right: -100px; opacity: 0.3; }
.cta-box::after { bottom: -150px; left: -100px; opacity: 0.2; filter: blur(140px); }
.cta-inner { position: relative; z-index: 1; }
.cta-kicker {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: color-mix(in oklab, var(--accent) 20%, transparent); color: var(--accent);
  font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 22px;
}
.cta-title {
  font-size: clamp(36px, 4.8vw, 64px); font-weight: 700;
  line-height: 1.05; letter-spacing: -0.03em; margin: 0;
  text-wrap: balance; max-width: 780px; margin-inline: auto;
}
.cta-title em { font-style: normal; color: var(--accent); }
.cta-sub {
  font-size: 17px; line-height: 1.55; margin-top: 20px;
  color: color-mix(in oklab, var(--bg) 69%, transparent);
  max-width: 560px; margin-inline: auto;
}
.cta-ctas { display: flex; gap: 10px; margin-top: 36px; justify-content: center; flex-wrap: wrap; }
.cta-btn {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
}
.cta-btn-primary {
  background: var(--bg); color: var(--ink);
}
.cta-btn-secondary {
  background: transparent; color: var(--bg);
  border: 1px solid color-mix(in oklab, var(--bg) 27%, transparent);
}

/* ── FOOTER ──────────────────── */
.footer {
  padding: 60px var(--gutter) 40px;
  max-width: var(--max); margin: 0 auto;
  border-top: 1px solid var(--border); position: relative; z-index: 1;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand b { font-weight: 700; font-size: 15px; letter-spacing: -0.02em; }
.footer-tagline {
  font-size: 13px; color: var(--muted); line-height: 1.6;
  white-space: pre-line; max-width: 300px;
}
.footer-col h4 { font-size: 12px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--muted); font-size: 13px; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--border-soft); padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 16px;
}
.footer-contact { display: flex; gap: 18px; }

/* ── Responsive ──────────────────── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-stage { height: 580px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .span-2, .span-3, .span-4 { grid-column: span 1; }
  .showcase-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .showcase-item:nth-child(even) { transform: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--border); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { gap: 14px; }
  .nav-links .nav-link { display: none; }
  .cta-box { padding: 60px 32px; }
}

@media (max-width: 560px) {
  :root { --gutter: 20px; }
  .hero-grid { padding-top: 48px; }
  .phone-stage { height: 520px; }
  .phone-back { display: none; }
  .bento { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .features, .modes, .cta-section { padding: 80px var(--gutter); }
  .showcase, .testi { padding: 80px 0; }
}
