/* ============================================================
   NimKora — Marketing website styles
   Modern, warm, product-led. Built on the design-system tokens
   (../../styles.css). Responsive, mobile-first.
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
@media (max-width: 720px){ .section { padding: 64px 0; } }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font-family: var(--font-sans); font-size: 16px; font-weight: 800; letter-spacing: -0.01em;
  cursor: pointer; border: 1.5px solid transparent; white-space: nowrap;
  transition: transform .15s var(--ease-standard), background .15s, box-shadow .15s, color .15s;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--nk-orange); color: #fff; box-shadow: 0 10px 26px color-mix(in srgb, var(--nk-orange) 34%, transparent); }
.btn-primary:hover { background: var(--nk-orange-600); }
.btn-ghost { background: transparent; color: var(--ink-900); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink-900); }
.btn-light { background: #fff; color: var(--nk-orange-ink); }
.btn-light:hover { background: rgba(255,255,255,0.9); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }

/* ---- store badges ---- */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  height: 56px; padding: 0 20px 0 18px; border-radius: 14px;
  background: var(--nk-char-900); color: #fff; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.12);
  transition: transform .15s, opacity .15s;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge .material-symbols-rounded { font-size: 28px; }
.store-badge .store-ic { width: 26px; height: 26px; flex: none; display: block; }
.store-badge .sb-top { font-size: 10px; font-weight: 600; opacity: 0.8; line-height: 1.1; letter-spacing: 0.02em; }
.store-badge .sb-bot { font-size: 17px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.store-badge.on-dark { background: #fff; color: var(--nk-char-900); border-color: transparent; }

/* ---- nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.nav-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.nav-links { display: flex; gap: 28px; margin-left: 12px; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-700); transition: color .15s; }
.nav-links a:hover { color: var(--nk-orange); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; border: none; background: none; cursor: pointer; padding: 8px; color: var(--ink-900); }
@media (max-width: 860px){
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---- logo glyph ---- */
.kglyph { display: block; }

/* ---- type ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--nk-orange-ink); background: var(--nk-orange-tint);
  padding: 7px 14px; border-radius: 999px;
}
h1.display {
  font-size: clamp(40px, 7vw, 72px); font-weight: 800; letter-spacing: -0.035em;
  line-height: 1.02; margin: 0; text-wrap: balance;
}
h2.title {
  font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; letter-spacing: -0.03em;
  line-height: 1.08; margin: 0; text-wrap: balance;
}
.lead { font-size: clamp(17px, 2.2vw, 21px); color: var(--ink-600); font-weight: 500; line-height: 1.55; }
.muted { color: var(--ink-600); }

/* ---- hero (Direction A — split, light) ---- */
.hero { position: relative; overflow: hidden; }
.hero-a { padding: 64px 0 80px; }
.hero-a .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-a .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-a .trust { display: flex; align-items: center; gap: 18px; margin-top: 30px; flex-wrap: wrap; color: var(--ink-600); font-weight: 600; font-size: 14px; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: 0.5; }

/* ---- hero (Direction B — bold, full tangerine) ---- */
.hero-b { background: radial-gradient(120% 100% at 50% 0%, var(--nk-orange-400) 0%, var(--nk-orange) 45%, var(--nk-orange-600) 100%); color: #fff; padding: 52px 0 0; text-align: center; }
.hero-b h1.display { font-size: clamp(34px, 5.4vw, 56px); }
.hero-b .lead { color: rgba(255,255,255,0.92); }
.hero-b .eyebrow { background: rgba(255,255,255,0.18); color: #fff; }
.hero-b .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.hero-b .stores { justify-content: center; }
.hero-b-phones { display: flex; gap: 24px; justify-content: center; align-items: flex-end; margin-top: 34px; padding-bottom: 0; }
.hero-b-phones .phone-mock { width: 224px; }
.hero-b-phones .phone-mock.sm { width: 188px; }

.hidden { display: none !important; }

/* ---- phone mockup ---- */
.phone-mock {
  width: 280px; flex: none; background: var(--nk-char-900);
  border-radius: 42px; padding: 10px;
  box-shadow: 0 40px 80px -20px rgba(26,20,13,0.45), 0 0 0 1px rgba(0,0,0,0.05);
}
.phone-mock.sm { width: 230px; }
.phone-screen { background: var(--surface-subtle); border-radius: 32px; overflow: hidden; aspect-ratio: 280 / 580; position: relative; }
.phone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 110px; height: 24px; background: var(--nk-char-900); border-radius: 0 0 16px 16px; z-index: 4; }
.tilt-l { transform: rotate(-4deg); }
.tilt-r { transform: rotate(4deg); }

/* mini app screen */
.mini { font-size: 12px; color: var(--ink-900); height: 100%; display: flex; flex-direction: column; }
.mini-head { background: var(--nk-char-900); color: #fff; padding: 30px 16px 16px; }
.mini-loc { font-size: 10px; opacity: 0.7; font-weight: 700; display: flex; align-items: center; gap: 4px; }
.mini-loc .material-symbols-rounded { font-size: 13px; color: var(--nk-orange-400); }
.mini-addr { font-size: 13px; font-weight: 800; margin-top: 2px; }
.mini-search { margin-top: 12px; background: rgba(255,255,255,0.14); border-radius: 999px; height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 13px; font-size: 11px; color: rgba(255,255,255,0.8); font-weight: 600; }
.mini-search .material-symbols-rounded { font-size: 16px; }
.mini-body { flex: 1; overflow: hidden; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.mini-cats { display: flex; gap: 10px; }
.mini-cat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 5px; }
.mini-cat span.ic { width: 100%; aspect-ratio: 1; border-radius: 13px; background: var(--nk-orange-tint); color: var(--nk-orange-ink); display: flex; align-items: center; justify-content: center; }
.mini-cat span.ic .material-symbols-rounded { font-size: 20px; }
.mini-cat span.lb { font-size: 9px; font-weight: 700; color: var(--ink-600); }
.mini-banner { background: linear-gradient(115deg, var(--nk-orange), var(--nk-orange-600)); color: #fff; border-radius: 14px; padding: 13px 15px; }
.mini-banner .t1 { font-size: 9px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.mini-banner .t2 { font-size: 14px; font-weight: 800; line-height: 1.15; margin-top: 3px; }
.mini-row { display: flex; align-items: center; justify-content: space-between; }
.mini-row .h { font-size: 13px; font-weight: 800; }
.mini-row .a { font-size: 10px; font-weight: 700; color: var(--nk-orange); }
.mini-prods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mini-prod { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mini-prod .img { aspect-ratio: 1.1; }
.mini-prod .meta { padding: 7px 9px; }
.mini-prod .nm { font-size: 10px; font-weight: 700; line-height: 1.25; }
.mini-prod .pr { font-size: 11px; font-weight: 800; margin-top: 3px; font-family: var(--font-mono); }

/* ---- feature cards / audience ---- */
.cards { display: grid; gap: 20px; }
.cards.c3 { grid-template-columns: repeat(3, 1fr); }
.cards.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px){ .cards.c3, .cards.c2 { grid-template-columns: 1fr; } .hero-a .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px;
  transition: transform .18s var(--ease-standard), box-shadow .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px -24px rgba(26,20,13,0.28); }
.card .ic-badge { width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center; background: var(--nk-orange-tint); color: var(--nk-orange-ink); margin-bottom: 18px; }
.card .ic-badge .material-symbols-rounded { font-size: 28px; }
.card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.card p { margin: 0; color: var(--ink-600); font-size: 15px; line-height: 1.55; }

/* ---- audience split band ---- */
.band { background: var(--surface-subtle); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.split.rev .split-media { order: -1; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }
.split-media { display: flex; justify-content: center; }
.feature-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; list-style: none; }
.feature-list { padding: 0; }
.feature-list .fi { width: 32px; height: 32px; flex: none; border-radius: 9px; background: var(--nk-orange-tint); color: var(--nk-orange-ink); display: flex; align-items: center; justify-content: center; }
.feature-list .fi .material-symbols-rounded { font-size: 19px; }
.feature-list .ft { font-size: 16px; }
.feature-list .ft b { font-weight: 800; }
.feature-list .ft span { display: block; color: var(--ink-600); font-size: 14px; margin-top: 2px; }

/* ---- steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 860px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 14px; }
.step .num { font-family: var(--font-mono); font-size: 14px; font-weight: 800; color: var(--nk-orange); }
.step h3 { font-size: 20px; font-weight: 800; margin: 10px 0 6px; letter-spacing: -0.02em; }
.step p { margin: 0; color: var(--ink-600); font-size: 15px; }

/* ---- stats ---- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 720px){ .stats { grid-template-columns: 1fr 1fr; } }
.stat { text-align: center; }
.stat .v { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; color: var(--nk-orange); font-family: var(--font-mono); }
.stat .l { font-size: 14px; font-weight: 600; color: var(--ink-600); margin-top: 4px; }

/* ---- CTA band ---- */
.cta-band { background: radial-gradient(120% 140% at 0% 0%, var(--nk-char-800), var(--nk-char-900)); color: #fff; border-radius: 28px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,0.82); }
@media (max-width: 720px){ .cta-band { padding: 36px 24px; } }

/* ---- footer ---- */
.footer { background: var(--nk-char-900); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer h4 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 16px; }
.footer a { display: block; font-size: 14px; padding: 6px 0; color: rgba(255,255,255,0.7); transition: color .15s; }
.footer a:hover { color: #fff; }
.footer .logo-row { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: #fff; }
.footer .bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 13px; flex-wrap: wrap; }
.lang { display: inline-flex; gap: 6px; align-items: center; background: rgba(255,255,255,0.1); border-radius: 999px; padding: 6px 12px; font-weight: 700; color: #fff; font-size: 13px; }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-standard), transform .6s var(--ease-standard); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---- hero switch (demo control) ---- */
.hero-switch {
  position: fixed; right: 18px; bottom: 18px; z-index: 80;
  display: flex; gap: 4px; padding: 5px; border-radius: 999px;
  background: var(--nk-char-900); box-shadow: var(--shadow-2);
}
.hero-switch button { border: none; background: none; color: rgba(255,255,255,0.7); cursor: pointer; font-family: var(--font-sans); font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 999px; }
.hero-switch button.on { background: var(--nk-orange); color: #fff; }
.hero-switch .lbl { color: rgba(255,255,255,0.5); font-size: 11px; font-weight: 700; align-self: center; padding-left: 8px; }
