/* ===== Tokens ===== */
:root {
  --orange-600: #f04e23;
  --orange-500: #ff5a2c;
  --orange-400: #ff7849;
  --orange-grad: linear-gradient(135deg, #ff7849 0%, #f04e23 100%);
  --amber-500: #fbbf24;
  --amber-300: #fcd34d;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --ink: #1c1a17;
  --ink-soft: #5a544c;
  --line: #efe7dc;
  --white: #ffffff;
  --bg-soft: #fff8ef;
  --radius: 18px;
  --shadow-sm: 0 4px 16px rgba(240, 78, 35, 0.08);
  --shadow-md: 0 14px 40px rgba(240, 78, 35, 0.14);
  --maxw: 1140px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans KR", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { line-height: 1.25; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }
.accent { color: var(--orange-600); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
  padding: 14px 26px; border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer; white-space: nowrap;
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--primary { background: var(--orange-grad); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--ghost { background: var(--white); color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--orange-400); color: var(--orange-600); }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 2px 12px rgba(0,0,0,0.04); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.brand__logo { width: 36px; height: 36px; border-radius: 10px; }
.brand__name { font-size: 19px; }
.nav__links { display: flex; gap: 28px; font-weight: 500; font-size: 15px; color: var(--ink-soft); }
.nav__links a:hover { color: var(--orange-600); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 72px 0 88px; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 10%, rgba(255, 120, 73, 0.18), transparent 60%),
    radial-gradient(50% 50% at 10% 90%, rgba(251, 191, 36, 0.16), transparent 60%),
    var(--bg-soft);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block; background: #fff; border: 1px solid var(--amber-300);
  color: var(--orange-600); font-weight: 700; font-size: 13px;
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.hero__title { font-size: clamp(34px, 5vw, 54px); font-weight: 900; margin: 20px 0 18px; }
.hero__desc { font-size: 17px; color: var(--ink-soft); max-width: 520px; }
.hero__cta { display: flex; gap: 14px; margin: 30px 0 36px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 26px; font-weight: 900; color: var(--orange-600); }
.stat span { font-size: 13px; color: var(--ink-soft); }

/* Phone mockup */
.hero__visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 290px; height: 590px;
  background: #111; border-radius: 44px; padding: 12px;
  box-shadow: 0 30px 70px rgba(240, 78, 35, 0.25), 0 6px 20px rgba(0,0,0,0.2);
}
.phone__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 130px; height: 24px; background: #111; border-radius: 0 0 16px 16px; z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%; background: var(--bg-soft);
  border-radius: 34px; overflow: hidden; padding: 18px 14px;
}
.app-top { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 17px; margin: 14px 4px 14px; }
.app-logo { width: 26px; height: 26px; border-radius: 8px; }
.app-search {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 14px; font-size: 13px; color: var(--ink-soft); margin-bottom: 16px;
}
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.card__img { height: 74px; border-radius: 10px; margin-bottom: 8px; }
.card__img--a { background: linear-gradient(135deg, #ffd9a8, #ff9a5a); }
.card__img--b { background: linear-gradient(135deg, #c8e6c9, #81c784); }
.card__img--c { background: linear-gradient(135deg, #bbdefb, #64b5f6); }
.card__img--d { background: linear-gradient(135deg, #f8bbd0, #f06292); }
.card__price { font-weight: 900; font-size: 15px; }
.card__title { font-size: 12px; font-weight: 500; }
.card__loc { font-size: 10px; color: var(--ink-soft); margin-top: 2px; }

.float-chip {
  position: absolute; background: #fff; border-radius: 14px;
  padding: 12px 16px; font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-md); animation: float 3.5s ease-in-out infinite;
}
.float-chip--1 { top: 60px; left: -8px; color: var(--orange-600); }
.float-chip--2 { bottom: 90px; right: -10px; color: #2e7d32; animation-delay: 1.2s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Trust bar ===== */
.trustbar { background: var(--ink); color: #fff; }
.trustbar__inner {
  display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center;
  padding: 18px 24px; font-weight: 500; font-size: 15px; opacity: 0.95;
}

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section--alt { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.eyebrow { color: var(--orange-500); font-weight: 700; font-size: 14px; letter-spacing: 0.08em; }
.section__head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin: 10px 0 12px; }
.section__head p { color: var(--ink-soft); font-size: 17px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--amber-300); }
.feature__icon {
  width: 56px; height: 56px; display: grid; place-items: center; font-size: 26px;
  background: var(--amber-50); border-radius: 16px; margin-bottom: 16px;
}
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* Steps */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 16px; flex-wrap: wrap; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; flex: 1; min-width: 230px; max-width: 320px; text-align: center;
}
.step__num {
  width: 46px; height: 46px; display: grid; place-items: center; margin: 0 auto 16px;
  background: var(--orange-grad); color: #fff; font-weight: 900; font-size: 20px; border-radius: 50%;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }
.step__arrow { display: flex; align-items: center; font-size: 28px; color: var(--orange-400); font-weight: 700; }

/* Safety */
.safety__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.safety h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin: 10px 0 16px; }
.safety p { color: var(--ink-soft); font-size: 17px; }
.checklist { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; font-weight: 500; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; display: grid; place-items: center;
  background: var(--orange-grad); color: #fff; border-radius: 50%; font-size: 13px; font-weight: 900;
}
.safety__card {
  background: var(--orange-grad); border-radius: 28px; padding: 56px 32px;
  text-align: center; color: #fff; box-shadow: var(--shadow-md);
}
.lock { font-size: 64px; }
.lock__msg { font-size: 30px; font-weight: 900; letter-spacing: 0.1em; margin: 14px 0 6px; }
.lock__sub { opacity: 0.92; font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 14px; }
.faq__item {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px;
}
.faq__item summary {
  cursor: pointer; font-weight: 700; font-size: 17px; padding: 18px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 24px; color: var(--orange-500); font-weight: 400; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { color: var(--ink-soft); padding: 0 0 18px; font-size: 15px; }

/* CTA */
.cta { padding: 90px 0; background: var(--ink); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; }
.cta p { color: #d8d2c8; font-size: 18px; margin: 14px 0 34px; }
.cta__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 22px;
  transition: transform 0.15s; min-width: 200px;
}
.store-btn:hover { transform: translateY(-3px); }
.store-btn--web { background: var(--orange-grad); color: #fff; }
.store-btn__icon { font-size: 22px; }
.store-btn__text { display: flex; flex-direction: column; text-align: left; line-height: 1.2; }
.store-btn__text small { font-size: 11px; opacity: 0.8; }
.store-btn__text strong { font-size: 18px; }

/* Footer */
.footer { background: #15130f; color: #cfc9bf; padding: 48px 0 36px; }
.footer__inner { display: grid; gap: 24px; }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand strong { color: #fff; font-size: 18px; }
.footer__brand p { font-size: 14px; }
.footer__links { display: flex; gap: 24px; flex-wrap: wrap; font-size: 15px; }
.footer__links a:hover { color: var(--amber-300); }
.footer__copy { font-size: 13px; opacity: 0.7; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }

/* ===== Reveal animation ===== */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero__inner, .safety__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .nav__links { display: none; }
  .features { grid-template-columns: 1fr 1fr; }
  .step__arrow { transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .hero__stats { gap: 24px; }
  .section { padding: 64px 0; }
  .store-btn { min-width: 0; flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
