/* ============================================================
   똑똑 (DdokDog) — Homepage
   Built on DDS tokens. Primary #FF6F00 · Pretendard · Korean-first
   ============================================================ */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.css');

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

:root {
  /* Brand */
  --primary-50: #fff4e5;
  --primary-100: #ffe2bf;
  --primary-200: #ffce95;
  --primary-300: #ffba6b;
  --primary-400: #ffab4c;
  --primary-500: #ff8c17;
  --primary-600: #ff6f00;
  --primary-700: #e56300;
  --primary-800: #bf5300;
  --primary-900: #994300;
  --primary: var(--primary-600);

  /* Neutral */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Status */
  --success-500: #22c55e;
  --warning-500: #f59e0b;
  --error-500: #ef4444;
  --info-500: #3b82f6;
  --rating: #ffd43b;

  /* Surfaces */
  --bg: var(--gray-50);
  --surface: #ffffff;
  --border: var(--gray-200);

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 24px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(17, 24, 39, 0.04);
  --shadow-sm: 0 2px 8px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 4px 16px rgba(17, 24, 39, 0.08);
  --shadow-lg: 0 12px 32px rgba(17, 24, 39, 0.1);
  --shadow-xl: 0 24px 60px rgba(17, 24, 39, 0.14);
  --shadow-orange: 0 16px 40px rgba(255, 111, 0, 0.28);

  /* Motion */
  --d-fast: 100ms;
  --d-base: 200ms;
  --d-slow: 300ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
}
body {
  font-family:
    'Pretendard Variable',
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    Roboto,
    sans-serif;
  background: #fff;
  color: var(--gray-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings:
    'ss06' on,
    'ss10' on;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
.tabnum {
  font-variant-numeric: tabular-nums;
}
.brand-mark-img {
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(255, 111, 0, 0.32);
  object-fit: cover;
}

/* ────────────────────────────────────────────────────────────
   NAV
   ──────────────────────────────────────────────────────────── */
nav.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition:
    background var(--d-base),
    border-color var(--d-base),
    box-shadow var(--d-base);
  border-bottom: 1px solid transparent;
}
nav.top.solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--gray-200);
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  letter-spacing: -1px;
  box-shadow: 0 6px 16px rgba(255, 111, 0, 0.32);
}
.brand-name {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: var(--gray-900);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--d-fast);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--primary);
}
.nav-right {
  display: flex;
  gap: 12px;
  align-items: center;
}
.nav-cta {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 14px;
  transition:
    background var(--d-fast),
    transform var(--d-fast),
    box-shadow var(--d-base);
  box-shadow: var(--shadow-xs);
}
.nav-cta:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(255, 111, 0, 0.32);
}
.nav-ghost {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  padding: 10px 14px;
  white-space: nowrap;
}
.nav-ghost:hover {
  color: var(--primary);
}

.nav-cta {
  white-space: nowrap;
}

/* ────────────────────────────────────────────────────────────
   GLOBAL SECTION
   ──────────────────────────────────────────────────────────── */
section {
  position: relative;
}
.section-pad {
  padding: 96px 32px;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.section-title {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--gray-900);
  text-wrap: pretty;
}
.section-sub {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 560px;
}
.section-head {
  margin-bottom: 56px;
}
.section-head.center {
  text-align: center;
}
.section-head.center .section-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ────────────────────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 32px 100px;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 90% -10%, rgba(255, 171, 76, 0.18), transparent 60%),
    radial-gradient(800px 500px at -10% 30%, rgba(255, 111, 0, 0.1), transparent 60%), #fffaf3;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--primary-100);
  color: var(--primary-700);
  padding: 7px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-xs);
  white-space: nowrap;
}
.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-500);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
  animation: pulse 1.6s var(--ease-out) infinite;
}
.hero h1 {
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -3px;
  margin-top: 24px;
  color: var(--gray-900);
  text-wrap: pretty;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 8px;
  height: 14px;
  background: var(--primary-200);
  z-index: -1;
  border-radius: 6px;
  transform: skew(-6deg);
}
.hero .lede {
  font-size: 19px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-top: 24px;
  max-width: 520px;
}
.hero-search {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px 8px 8px 18px;
  box-shadow: var(--shadow-md);
  max-width: 520px;
  transition:
    border-color var(--d-base),
    box-shadow var(--d-base);
}
.hero-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.12);
}
.hero-search svg {
  color: var(--primary);
  flex-shrink: 0;
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  color: var(--gray-900);
  padding: 12px 8px;
}
.hero-search input::placeholder {
  color: var(--gray-400);
}
.hero-search button {
  background: var(--primary);
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  transition:
    background var(--d-fast),
    transform var(--d-fast);
  white-space: nowrap;
  flex-shrink: 0;
}
.hero-search button:hover {
  background: var(--primary-700);
  transform: translateY(-1px);
}
.hero-trust {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.hero-trust .avatars {
  display: flex;
}
.hero-trust .avatars > span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  border: 2px solid #fff;
  box-shadow: var(--shadow-xs);
  margin-left: -8px;
}
.hero-trust .avatars > span:first-child {
  margin-left: 0;
}
.hero-trust .stars {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-700);
  font-size: 13px;
  font-weight: 600;
}
.hero-trust .stars b {
  color: var(--gray-900);
  font-weight: 800;
}
.hero-trust .stars-row {
  display: flex;
  gap: 2px;
  color: var(--rating);
}

/* Hero visual — phone + floating food cards */
.hero-visual {
  position: relative;
  height: 580px;
  display: grid;
  place-items: center;
}
.hero-orb {
  position: absolute;
  inset: 8% 8% 8% 8%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 171, 76, 0.45),
    rgba(255, 111, 0, 0) 60%
  );
  filter: blur(20px);
  z-index: 0;
}
.phone-3d {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 560px;
  border-radius: 44px;
  background: linear-gradient(140deg, #1f2937, #0b0d11);
  padding: 10px;
  box-shadow:
    0 50px 100px rgba(0, 0, 0, 0.28),
    0 24px 50px rgba(255, 111, 0, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: rotate(-3deg);
  transition: transform var(--d-slow) var(--ease-out);
}
.phone-3d:hover {
  transform: rotate(-2deg) translateY(-6px);
}
.phone-3d .notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 22px;
  background: #000;
  border-radius: 100px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: #fff;
  overflow: hidden;
  position: relative;
}
.phone-statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-900);
}
.phone-app-head {
  padding: 12px 16px 0;
}
.phone-loc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-700);
}
.phone-loc b {
  color: var(--gray-900);
  font-size: 15px;
}
.phone-search {
  margin: 10px 0 12px;
  background: var(--gray-100);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 8px;
}
.phone-chips {
  display: flex;
  gap: 6px;
  padding: 0 0 12px;
  overflow: hidden;
}
.phone-chip {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 100px;
  background: var(--gray-100);
  color: var(--gray-700);
  white-space: nowrap;
}
.phone-chip.on {
  background: var(--primary);
  color: #fff;
}
.phone-feed {
  padding: 0 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.phone-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-100);
}
.phone-card .img {
  height: 92px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.phone-card .img .like {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255, 255, 255, 0.95);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--error-500);
  box-shadow: var(--shadow-xs);
}
.phone-card .meta {
  padding: 10px 12px;
}
.phone-card .name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phone-card .name .rate {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 3px;
}
.phone-card .name .rate svg {
  color: var(--rating);
}
.phone-card .info {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
}

/* Floating food cards */
.float-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: 16px;
  padding: 10px 14px 10px 10px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floaty 5s var(--ease-out) infinite;
}
.float-card .thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.float-card .label {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 600;
}
.float-card .val {
  font-size: 14px;
  font-weight: 800;
  color: var(--gray-900);
}
.float-card .val.primary {
  color: var(--primary);
}
.float-card.fc1 {
  top: 8%;
  left: 4%;
  animation-delay: 0s;
}
.float-card.fc2 {
  top: 48%;
  right: 0%;
  animation-delay: -1.5s;
}
.float-card.fc3 {
  bottom: 10%;
  left: 0%;
  animation-delay: -3s;
}

/* Hero stats */
.hero-stats {
  margin: 80px auto 0;
  max-width: 1200px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 4;
}
.hero-stat .num {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  color: var(--gray-900);
  letter-spacing: -1px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hero-stat .num .unit {
  font-size: 18px;
  color: var(--primary);
  margin-left: 2px;
}
.hero-stat .lbl {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 8px;
  font-weight: 500;
}
.hero-stat + .hero-stat {
  border-left: 1px solid var(--border);
  padding-left: 28px;
}

/* ────────────────────────────────────────────────────────────
   CATEGORIES (인기 카테고리)
   ──────────────────────────────────────────────────────────── */
.categories {
  background: #fff;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: var(--gray-100);
  cursor: pointer;
  transition:
    transform var(--d-base) var(--ease-out),
    box-shadow var(--d-base);
  border: 1px solid var(--border);
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-card .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 700ms var(--ease-out);
}
.cat-card:hover .bg {
  transform: scale(1.08);
}
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.7) 100%);
}
.cat-card .label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px 18px;
  color: #fff;
  z-index: 2;
}
.cat-card .label .name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.cat-card .label .count {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 4px;
  font-weight: 500;
}
.cat-card .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-700);
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 100px;
  z-index: 2;
  letter-spacing: -0.2px;
  white-space: nowrap;
}

/* ────────────────────────────────────────────────────────────
   HOW IT WORKS — 3 steps
   ──────────────────────────────────────────────────────────── */
.how {
  background: linear-gradient(180deg, #fff 0%, var(--primary-50) 100%);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.how-line {
  position: absolute;
  top: 56px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary-300) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 32px 28px;
  position: relative;
  z-index: 1;
  transition:
    transform var(--d-base) var(--ease-out),
    box-shadow var(--d-base);
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-200);
}
.step .step-num {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-orange);
  position: relative;
}
.step .step-num::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 22px;
  border: 2px dashed var(--primary-200);
  opacity: 0.7;
}
.step h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.step p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}
.step .ill {
  margin-top: 24px;
  height: 140px;
  border-radius: var(--r-md);
  background: var(--primary-50);
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}

/* ────────────────────────────────────────────────────────────
   FEATURE TABS (고객/점주/라이더)
   ──────────────────────────────────────────────────────────── */
.features {
  background: var(--gray-50);
}
.feature-tabs {
  display: flex;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: 16px;
  width: fit-content;
  margin: 0 auto 48px;
  box-shadow: var(--shadow-xs);
}
.feature-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-600);
  transition:
    background var(--d-base),
    color var(--d-base);
  white-space: nowrap;
}
.feature-tab:hover {
  color: var(--gray-900);
}
.feature-tab.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-orange);
}
.feature-tab .tabicon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}
.feature-panel {
  display: none;
}
.feature-panel.active {
  display: block;
}
.feature-panel-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-panel-inner.reverse > :first-child {
  order: 2;
}
.feature-text .pnl-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 100px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}
.feature-text h3 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -1.2px;
}
.feature-text p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-top: 16px;
}
.feature-text .feat-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.feature-text .feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-800);
  line-height: 1.55;
}
.feat-item .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 12px;
  margin-top: 1px;
}
.feature-text .feat-cta {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--gray-900);
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  transition:
    transform var(--d-fast),
    box-shadow var(--d-base);
}
.feature-text .feat-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Feature visual — generic frame */
.feat-frame {
  position: relative;
  aspect-ratio: 5/4;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.feat-frame.merchant {
  background: linear-gradient(160deg, #fff 0%, #fff8ef 100%);
}
.feat-frame.rider {
  background: linear-gradient(160deg, #fff 0%, #f6fbff 100%);
}

/* Customer feature visual = phone group */
.feat-customer {
  position: relative;
  height: 520px;
}
.feat-customer .phone-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  width: 260px;
  height: 500px;
}
.feat-customer .deco-orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-100), transparent 60%);
  top: 20%;
  left: 18%;
  filter: blur(10px);
}

/* Merchant feature = dashboard */
.dash-frame {
  padding: 22px;
}
.dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.dash-head .greet {
  font-size: 13px;
  color: var(--gray-500);
}
.dash-head .greet b {
  display: block;
  color: var(--gray-900);
  font-size: 18px;
  margin-top: 2px;
  font-weight: 800;
}
.dash-head .live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--success-500);
  background: var(--success-500);
  background: #f0fdf4;
  padding: 5px 10px;
  border-radius: 100px;
}
.dash-head .live .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success-500);
  animation: pulse 1.4s infinite;
}
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.kpi {
  background: var(--gray-50);
  border-radius: var(--r-md);
  padding: 14px;
  border: 1px solid var(--border);
}
.kpi .lbl {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 600;
}
.kpi .val {
  font-size: 20px;
  font-weight: 900;
  color: var(--gray-900);
  margin-top: 6px;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.kpi .delta {
  font-size: 11px;
  color: var(--success-500);
  font-weight: 700;
  margin-top: 4px;
}
.kpi.primary {
  background: linear-gradient(160deg, var(--primary), var(--primary-700));
  border-color: transparent;
}
.kpi.primary .lbl,
.kpi.primary .val {
  color: #fff;
}
.kpi.primary .lbl {
  opacity: 0.85;
}
.kpi.primary .delta {
  color: rgba(255, 255, 255, 0.92);
}
.dash-chart {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px;
  margin-bottom: 14px;
}
.dash-chart .chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.dash-chart .chart-head .ttl {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-700);
}
.dash-chart .chart-head .legend {
  font-size: 11px;
  color: var(--gray-500);
}
.bars {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  align-items: end;
  height: 70px;
}
.bar {
  background: var(--primary-200);
  border-radius: 4px 4px 0 0;
  position: relative;
}
.bar.hi {
  background: var(--primary);
}
.bar span {
  position: absolute;
  bottom: -16px;
  left: 0;
  right: 0;
  font-size: 9px;
  text-align: center;
  color: var(--gray-400);
}
.dash-orders {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dord {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--gray-50);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}
.dord .left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dord .badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11px;
  background: var(--primary-50);
  color: var(--primary-700);
}
.dord .badge.b1 {
  background: var(--success-500);
  background: #f0fdf4;
  color: var(--success-500);
}
.dord .name {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-900);
}
.dord .when {
  font-size: 11px;
  color: var(--gray-500);
  margin-top: 2px;
}
.dord .price {
  font-size: 14px;
  font-weight: 800;
  color: var(--gray-900);
  font-variant-numeric: tabular-nums;
}

/* Rider feature = map */
.rider-frame {
  padding: 0;
  overflow: hidden;
}
.map-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 30% 30%, #eaf3ff 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, #fff4e5 0%, transparent 60%), #f4f7fb;
}
.map-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 41, 55, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 41, 55, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
}
.road {
  position: absolute;
  background: #fff;
  border-radius: 100px;
  box-shadow: 0 0 0 1px var(--border);
}
.road.r1 {
  top: 28%;
  left: -5%;
  right: 30%;
  height: 14px;
  transform: rotate(-3deg);
}
.road.r2 {
  top: 60%;
  left: 18%;
  right: -5%;
  height: 14px;
  transform: rotate(2deg);
}
.road.r3 {
  top: 18%;
  bottom: 18%;
  left: 48%;
  width: 14px;
  transform: rotate(-4deg);
}
.route-path {
  position: absolute;
  top: 24%;
  left: 12%;
  width: 50%;
  height: 42%;
  border: 3px dashed var(--primary);
  border-radius: 30% 60% 60% 30%;
  border-right: none;
  border-bottom: none;
  opacity: 0.7;
}
.pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: var(--shadow-md);
  z-index: 2;
}
.pin > * {
  transform: rotate(45deg);
  color: #fff;
  font-size: 18px;
}
.pin.store {
  background: var(--primary);
  top: 18%;
  left: 12%;
}
.pin.dest {
  background: var(--info-500);
  bottom: 14%;
  right: 18%;
}
.pin.rider {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--success-500);
  top: 44%;
  left: 42%;
  box-shadow:
    0 0 0 6px rgba(34, 197, 94, 0.18),
    var(--shadow-md);
  animation: riderMove 6s ease-in-out infinite alternate;
  transform: none;
}
.pin.rider > * {
  transform: none;
  color: var(--success-500);
  font-size: 22px;
}
.eta-panel {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: #fff;
  border-radius: var(--r-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.eta-panel .who {
  display: flex;
  align-items: center;
  gap: 10px;
}
.eta-panel .who img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}
.eta-panel .who b {
  font-size: 13px;
  font-weight: 800;
  color: var(--gray-900);
  display: block;
}
.eta-panel .who span {
  font-size: 11px;
  color: var(--gray-500);
}
.eta-panel .min {
  font-size: 24px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.eta-panel .min small {
  font-size: 11px;
  color: var(--gray-500);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

/* ────────────────────────────────────────────────────────────
   TESTIMONIALS / CAROUSEL
   ──────────────────────────────────────────────────────────── */
.reviews {
  background: var(--gray-900);
  color: #fff;
  overflow: hidden;
}
.reviews .section-title {
  color: #fff;
}
.reviews .eyebrow {
  color: var(--primary-400);
}
.reviews .eyebrow::before {
  background: var(--primary-400);
}
.reviews .section-sub {
  color: var(--gray-400);
}
.reviews-controls {
  display: flex;
  gap: 12px;
  position: absolute;
  top: 0;
  right: 0;
}
.rev-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  display: grid;
  place-items: center;
  transition:
    background var(--d-fast),
    transform var(--d-fast);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.rev-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}
.reviews-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.rev-track-wrap {
  overflow: hidden;
  margin: 0 -32px;
  padding: 0 32px;
}
.rev-track {
  display: flex;
  gap: 24px;
  transition: transform 500ms var(--ease-out);
  will-change: transform;
}
.rev-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #1f2937;
  border-radius: var(--r-2xl);
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  transition:
    transform var(--d-base),
    border-color var(--d-base);
}
.rev-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}
.rev-card .quote-mark {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 64px;
  color: var(--primary);
  opacity: 0.25;
  line-height: 0.6;
  font-family: serif;
  font-weight: 900;
}
.rev-card .rating {
  color: var(--rating);
  margin-bottom: 14px;
  display: flex;
  gap: 2px;
}
.rev-card .text {
  font-size: 16px;
  line-height: 1.7;
  color: #fff;
  font-weight: 500;
  text-wrap: pretty;
}
.rev-card .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.rev-card .who img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.rev-card .who b {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.rev-card .who span {
  display: block;
  color: var(--gray-400);
  font-size: 12px;
  margin-top: 2px;
}
.rev-card .tag {
  position: absolute;
  bottom: 24px;
  right: 24px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(255, 111, 0, 0.16);
  color: var(--primary-300);
}
.rev-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
}
.rev-dot {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  transition:
    background var(--d-base),
    width var(--d-base);
}
.rev-dot.on {
  background: var(--primary);
  width: 44px;
}

/* ────────────────────────────────────────────────────────────
   COVERAGE / SERVICE AREAS
   ──────────────────────────────────────────────────────────── */
.coverage {
  background: #fff;
}
.cov-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.cov-map {
  position: relative;
  aspect-ratio: 1/1;
  max-width: 480px;
  margin: 0 auto;
}
.cov-map .korea {
  width: 100%;
  height: 100%;
  background: var(--primary-50);
  border-radius: 40% 60% 50% 50% / 50% 40% 60% 50%;
  position: relative;
  border: 2px dashed var(--primary-300);
}
.cov-map .city-pin {
  position: absolute;
  background: #fff;
  border: 2px solid var(--primary);
  color: var(--primary-700);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}
.cov-map .city-pin::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid #fff;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(255, 111, 0, 0.18);
}
.cov-map .city-pin.active {
  background: var(--primary);
  color: #fff;
}
.cov-map .city-pin.active::after {
  background: #fff;
  border-color: var(--primary);
}
.cov-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
  margin-top: 32px;
}
.cov-list .city {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  padding: 10px 14px;
  background: var(--gray-50);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cov-list .city .cnt {
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
}

/* ────────────────────────────────────────────────────────────
   FAQ
   ──────────────────────────────────────────────────────────── */
.faq {
  background: var(--gray-50);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition:
    border-color var(--d-base),
    box-shadow var(--d-base);
}
.faq-item.open {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-sm);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color var(--d-fast);
}
.faq-q:hover {
  color: var(--primary);
}
.faq-q .ic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-100);
  display: grid;
  place-items: center;
  transition:
    background var(--d-base),
    transform var(--d-base);
  flex-shrink: 0;
  color: var(--gray-700);
}
.faq-item.open .faq-q .ic {
  background: var(--primary);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--d-slow) var(--ease-out);
}
.faq-item.open .faq-a {
  max-height: 320px;
}
.faq-a-inner {
  padding: 0 24px 24px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.75;
}

/* ────────────────────────────────────────────────────────────
   CTA / DOWNLOAD
   ──────────────────────────────────────────────────────────── */
.cta {
  background: linear-gradient(135deg, #ff6f00 0%, #ff8c17 50%, #ff9b33 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 10% 10%, rgba(255, 255, 255, 0.22), transparent 60%),
    radial-gradient(500px 400px at 90% 90%, rgba(0, 0, 0, 0.1), transparent 60%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.cta h2 {
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  text-wrap: pretty;
}
.cta h2 .stroke {
  -webkit-text-stroke: 2px #fff;
  color: transparent;
}
.cta p {
  font-size: 19px;
  margin-top: 20px;
  opacity: 0.92;
  line-height: 1.6;
  max-width: 480px;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #111827;
  border: 1px solid #1f2937;
  padding: 14px 24px;
  border-radius: 14px;
  transition:
    transform var(--d-fast),
    background var(--d-fast);
}
.store-btn:hover {
  background: #000;
  transform: translateY(-2px);
}
.store-btn .ic {
  font-size: 26px;
  color: #fff;
  line-height: 1;
}
.store-btn .tx small {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
.store-btn .tx strong {
  display: block;
  font-size: 16px;
  color: #fff;
  font-weight: 700;
}
.cta-qr {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
}
.cta-qr .qr-box {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
  display: grid;
  place-items: center;
}
.qr-grid {
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(
      45deg,
      var(--gray-900) 25%,
      transparent 25%,
      transparent 75%,
      var(--gray-900) 75%
    ),
    linear-gradient(
      45deg,
      var(--gray-900) 25%,
      transparent 25%,
      transparent 75%,
      var(--gray-900) 75%
    );
  background-size: 12px 12px;
  background-position:
    0 0,
    6px 6px;
  border-radius: 4px;
}
.cta-visual {
  position: relative;
  height: 460px;
  display: grid;
  place-items: center;
}
.cta-visual .phone-3d {
  transform: rotate(4deg);
  width: 240px;
  height: 460px;
}
.cta-visual .phone-3d:hover {
  transform: rotate(3deg) translateY(-6px);
}
.cta-visual .float-card {
  box-shadow: var(--shadow-xl);
}
.cta-visual .float-card.fc1 {
  top: 6%;
  left: -2%;
}
.cta-visual .float-card.fc2 {
  bottom: 8%;
  right: -2%;
}

/* ────────────────────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────────────────────── */
footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 72px 32px 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.foot-brand .brand-mark {
  background: var(--primary);
  color: #fff;
}
.foot-brand p {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 280px;
}
.foot-brand .social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.foot-brand .social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: var(--gray-300);
  transition:
    background var(--d-fast),
    color var(--d-fast);
}
.foot-brand .social a:hover {
  background: var(--primary);
  color: #fff;
}
.foot-col h5 {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.2px;
}
.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-col a {
  font-size: 14px;
  color: var(--gray-400);
  transition: color var(--d-fast);
}
.foot-col a:hover {
  color: var(--primary-400);
}
.footer-bot {
  max-width: 1200px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--gray-500);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bot .legal {
  display: flex;
  gap: 20px;
}

/* ────────────────────────────────────────────────────────────
   ANIMATIONS
   ──────────────────────────────────────────────────────────── */
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.7;
  }
}
@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
@keyframes riderMove {
  0% {
    top: 44%;
    left: 42%;
  }
  100% {
    top: 30%;
    left: 56%;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 120ms;
}
.reveal.d2 {
  transition-delay: 240ms;
}
.reveal.d3 {
  transition-delay: 360ms;
}

/* ────────────────────────────────────────────────────────────
   RESPONSIVE
   ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-left {
    gap: 28px;
  }
  .nav-links {
    gap: 18px;
  }
  .nav-links a {
    font-size: 13px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero-visual {
    height: 520px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-stat + .hero-stat {
    border-left: none;
    padding-left: 0;
  }
  .hero-stat:nth-child(2) {
    border-left: 1px solid var(--border);
    padding-left: 28px;
  }
  .cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .how-grid {
    grid-template-columns: 1fr;
  }
  .how-line {
    display: none;
  }
  .feature-panel-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .feature-panel-inner.reverse > :first-child {
    order: 0;
  }
  .rev-card {
    flex: 0 0 calc((100% - 24px) / 2);
  }
  .cov-grid {
    grid-template-columns: 1fr;
  }
  .cta-inner {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .section-pad {
    padding: 72px 20px;
  }
  .hero {
    padding: 110px 20px 80px;
  }
  nav.top {
    padding: 12px 16px;
  }
  .nav-links {
    display: none;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    gap: 16px;
  }
  .hero-stat:nth-child(2) {
    border-left: 1px solid var(--border);
    padding-left: 20px;
  }
  .hero-stat:nth-child(3),
  .hero-stat:nth-child(4) {
    border-top: 1px solid var(--border);
    padding-top: 16px;
  }
  .hero-stat:nth-child(4) {
    border-left: 1px solid var(--border);
    padding-left: 20px;
  }
  .cat-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .rev-card {
    flex: 0 0 100%;
  }
  .feature-tabs {
    width: 100%;
    overflow-x: auto;
  }
  .feature-tab {
    padding: 10px 16px;
    font-size: 13px;
  }
  .cov-list {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
