/* 형통오더 — 동네 가게 모바일 예약 플랫폼 랜딩 (real-product showcase) */
:root {
  color-scheme: light;
  --ink: #14211c;
  --muted: #5d6a64;
  --soft: #f5f8f6;
  --soft-green: #ecf5f1;
  --line: #e4ebe7;
  --brand: #0f7a66;
  --brand-dark: #0a5c4b;
  --brand-soft: #e6f3ee;
  --gold: #c2912f;
  --gold-soft: #f7efdc;
  --ink-strong: #0d1714;
  --shadow-card: 0 2px 4px rgba(16, 33, 28, 0.04), 0 12px 30px rgba(16, 33, 28, 0.06);
  --shadow-device: 0 40px 90px -28px rgba(11, 45, 37, 0.42);
  --radius: 18px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: -0.02em;
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--maxw), calc(100% - 44px)); margin-inline: auto; }

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 54px;
  padding: 0 26px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.03em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 12px 26px -8px rgba(15, 122, 102, 0.55);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(15, 122, 102, 0.6); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-white { background: #fff; color: var(--brand-dark); box-shadow: 0 16px 34px -12px rgba(0,0,0,0.3); }
.btn-white:hover { transform: translateY(-2px); }
.btn-lg { height: 60px; padding: 0 32px; font-size: 17px; }

/* ---- header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(16, 33, 28, 0.05); }
.header-inner { display: flex; align-items: center; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 820; letter-spacing: -0.04em; }
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.header-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.header-nav .lnk { padding: 9px 14px; border-radius: 10px; color: var(--muted); font-size: 15px; font-weight: 650; transition: color .14s ease, background .14s ease; }
.header-nav .lnk:hover { color: var(--ink); background: var(--soft); }
.header-nav .btn { height: 44px; padding: 0 20px; font-size: 15px; margin-left: 6px; }

/* ---- hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 82% 28%, rgba(15, 122, 102, 0.07), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f4f9f7 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(30px, 4vw, 56px);
  padding: clamp(48px, 6vw, 78px) 0 clamp(54px, 6vw, 84px);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 700;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(15,122,102,0.16); }
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.05em;
  font-weight: 850;
  color: var(--ink-strong);
}
.hero h1 b { color: var(--brand); font-weight: 850; }
.hero-sub { margin: 0 0 30px; max-width: 30em; color: #46524d; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.7; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.hero-trust svg { width: 18px; height: 18px; color: var(--brand); flex: none; }

/* device cluster */
.devices { position: relative; display: flex; justify-content: center; align-items: center; min-height: clamp(360px, 38vw, 480px); }
.tablet {
  position: relative;
  width: min(680px, 100%);
  aspect-ratio: 1280 / 820;
  padding: 14px;
  border-radius: 26px;
  background: linear-gradient(150deg, #233029 0%, #0f1714 60%, #05100c 100%);
  box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.tablet .screen { width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #fff; }
.tablet .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.tablet::after { content: ""; position: absolute; top: 50%; left: 6px; width: 4px; height: 44px; border-radius: 9px; background: rgba(255,255,255,0.12); transform: translateY(-50%); }
.phone {
  position: absolute;
  right: -6px;
  bottom: -22px;
  width: clamp(122px, 15vw, 188px);
  aspect-ratio: 780 / 1688;
  padding: 7px;
  border-radius: 26px;
  background: linear-gradient(150deg, #233029 0%, #0f1714 62%, #05100c 100%);
  box-shadow: 0 30px 60px -22px rgba(11,45,37,0.5), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.phone .screen { width: 100%; height: 100%; border-radius: 20px; overflow: hidden; background: #fff; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone::before { content: ""; position: absolute; top: 10px; left: 50%; width: 42px; height: 5px; border-radius: 9px; background: rgba(255,255,255,0.22); transform: translateX(-50%); z-index: 2; }

/* floating callouts on devices */
.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 36px -12px rgba(16,33,28,0.28);
  font-weight: 650;
}
.callout .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.callout .ic svg { width: 18px; height: 18px; }
.callout b { display: block; font-size: 14px; letter-spacing: -0.03em; }
.callout small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.callout.c1 { top: 8px; left: -10px; }
.callout.c1 .ic { background: var(--brand-soft); color: var(--brand); }
.callout.c2 { bottom: 30px; left: -22px; }
.callout.c2 .ic { background: var(--gold-soft); color: var(--gold); }
.floaty { animation: floaty 6s ease-in-out infinite; }
.floaty.d { animation-delay: -3s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---- stat strip ---- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); }
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-item { padding: 26px 24px; text-align: center; }
.strip-item + .strip-item { border-left: 1px solid var(--line); }
.strip-item b { display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 850; letter-spacing: -0.04em; color: var(--brand-dark); }
.strip-item span { display: block; margin-top: 4px; color: var(--muted); font-size: 15px; font-weight: 600; }

/* ---- showcase sections ---- */
.showcase { padding: clamp(64px, 8vw, 110px) 0; }
.showcase.alt { background: var(--soft-green); }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 5vw, 76px); }
.showcase.flip .showcase-text { order: 2; }
.kicker { display: inline-block; margin-bottom: 16px; padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--brand); font-size: 13.5px; font-weight: 750; letter-spacing: -0.01em; }
.showcase.alt .kicker { background: rgba(255,255,255,0.7); }
.showcase-text h2 { margin: 0 0 16px; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.22; letter-spacing: -0.045em; font-weight: 840; color: var(--ink-strong); }
.showcase-text > p { margin: 0 0 26px; color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 30em; }
.bullets { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.bullets li { display: flex; gap: 13px; align-items: flex-start; }
.bullets .chk { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.bullets .chk svg { width: 16px; height: 16px; }
.bullets b { display: block; font-size: 16.5px; font-weight: 730; letter-spacing: -0.03em; color: var(--ink); }
.bullets p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

/* device frames inside showcase */
.showcase-visual { position: relative; display: flex; justify-content: center; }
.browser {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-device);
  border: 1px solid rgba(16,33,28,0.06);
}
.browser-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 15px; background: #eef2f0; border-bottom: 1px solid #e2e8e5; }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #cdd6d2; display: block; }
.browser-bar i:nth-child(1){ background:#f0a8a0; } .browser-bar i:nth-child(2){ background:#f3cf8d; } .browser-bar i:nth-child(3){ background:#a9d8b5; }
.browser-bar .url { margin-left: 10px; height: 22px; flex: 1; max-width: 320px; border-radius: 7px; background: #fff; display: flex; align-items: center; padding: 0 11px; color: #9aa6a1; font-size: 12px; font-weight: 600; }
.browser .shot { width: 100%; display: block; }
.phone-frame {
  position: relative;
  width: min(310px, 78%);
  aspect-ratio: 780 / 1688;
  padding: 9px;
  border-radius: 36px;
  background: linear-gradient(150deg, #233029 0%, #0f1714 62%, #05100c 100%);
  box-shadow: var(--shadow-device), inset 0 0 0 1px rgba(255,255,255,0.08);
}
.phone-frame .screen { width: 100%; height: 100%; border-radius: 28px; overflow: hidden; background: #fff; }
.phone-frame .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone-frame::before { content: ""; position: absolute; top: 14px; left: 50%; width: 46px; height: 5px; border-radius: 9px; background: rgba(255,255,255,0.22); transform: translateX(-50%); z-index: 2; }
.showcase-visual .callout { z-index: 3; }
.showcase-visual .callout.s1 { top: 18px; right: -14px; }
.showcase-visual .callout.s1 .ic { background: var(--brand-soft); color: var(--brand); }
.showcase-visual .callout.s2 { bottom: 26px; left: -16px; }
.showcase-visual .callout.s2 .ic { background: var(--gold-soft); color: var(--gold); }

/* ---- how it works ---- */
.how { padding: clamp(64px, 8vw, 104px) 0; }
.section-head { max-width: 620px; margin: 0 auto clamp(40px, 5vw, 58px); text-align: center; }
.section-head .kicker { background: var(--brand-soft); border: 0; }
.section-head h2 { margin: 0 0 14px; font-size: clamp(27px, 3.4vw, 40px); line-height: 1.2; letter-spacing: -0.045em; font-weight: 840; color: var(--ink-strong); }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); }
.step .n { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 12px; background: var(--brand); color: #fff; font-size: 16px; font-weight: 820; }
.step h3 { margin: 0 0 8px; font-size: 19px; font-weight: 770; letter-spacing: -0.035em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.step .line { position: absolute; top: 50px; right: -13px; width: 26px; height: 2px; background: var(--line); z-index: 1; }
.step:last-child .line { display: none; }

/* ---- features ---- */
.features { padding: clamp(60px, 7vw, 96px) 0; background: var(--soft); border-top: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-card); transition: transform .16s ease, box-shadow .16s ease; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(16,33,28,0.06), 0 20px 44px rgba(16,33,28,0.09); }
.feature .ic { width: 46px; height: 46px; margin-bottom: 15px; border-radius: 13px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.feature:nth-child(3n+2) .ic { background: var(--gold-soft); color: var(--gold); }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { margin: 0 0 8px; font-size: 18px; font-weight: 760; letter-spacing: -0.035em; }
.feature p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.62; }

/* ---- final cta ---- */
.final { padding: clamp(48px, 6vw, 76px) 0 clamp(60px, 7vw, 92px); }
.final-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(44px, 6vw, 72px);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(70% 120% at 82% 12%, rgba(255,255,255,0.16), transparent 46%),
    linear-gradient(135deg, #0f7a66 0%, #0a5849 100%);
  box-shadow: 0 30px 70px -22px rgba(15,122,102,0.5);
}
.final-band::after { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(255,255,255,0.06); bottom: -150px; left: -60px; }
.final-band > * { position: relative; }
.final-band .kicker { background: rgba(255,255,255,0.16); color: #eafff6; }
.final-band h2 { margin: 14px 0 26px; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.22; letter-spacing: -0.045em; font-weight: 840; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---- footer ---- */
.site-footer { padding: 40px 0; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 14.5px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 780; }
.footer-brand img { width: 30px; height: 30px; border-radius: 9px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a:hover { color: var(--brand); }

/* ---- reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .floaty { animation: none; }
}

/* ---- responsive ---- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 12px; text-align: center; padding-top: 40px; }
  .hero-sub { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 26px; }
  .devices { min-height: auto; margin-top: 18px; }
  .tablet { width: min(560px, 92%); }
  .showcase-grid { grid-template-columns: 1fr; gap: 38px; }
  .showcase.flip .showcase-text { order: 0; }
  .showcase-text { text-align: center; }
  .showcase-text > p { margin-inline: auto; }
  .bullets { max-width: 460px; margin-inline: auto; text-align: left; }
  .kicker { margin-inline: auto; }
  .steps { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .step .line { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 36px); }
  .header-nav .lnk { display: none; }
  .hero h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .hero-actions .btn { width: 100%; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-item + .strip-item { border-left: 0; border-top: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr; }
  .phone { width: 120px; right: 2px; bottom: -16px; }
  .callout.c2 { left: -6px; }
  .callout.c1 { left: -4px; }
  .final-actions .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
