/* ─────────────────────────────────────────
   Reset & Base
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #FFD700;
  --gold-light: #FFE566;
  --gold-dark: #FF9900;
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-3: #161616;
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(255, 215, 0, 0.25);
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.55);
  --text-dim: rgba(255, 255, 255, 0.3);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─────────────────────────────────────────
   Utilities
───────────────────────────────────────── */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────
   Buttons
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #000;
  box-shadow: 0 4px 24px rgba(255, 153, 0, 0.25);
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(255, 153, 0, 0.4);
}

.btn--primary:active {
  transform: scale(0.98);
}

.btn--lg {
  padding: 18px 48px;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

/* ─────────────────────────────────────────
   Navigation
───────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.8);
  border-color: var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav__logo {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.nav__links {
  display: flex;
  gap: 28px;
}

.nav__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--text);
}


@media (max-width: 600px) {
  .nav__links { display: none; }
}

/* ─────────────────────────────────────────
   Hero
───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  overflow: hidden;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 30%, transparent 100%);
}

.hero__glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,215,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  background: rgba(255, 215, 0, 0.08);
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 32px;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

.hero__heading {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero__heading-accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  color: var(--text-muted);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 48px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 80px;
}

/* 목업 */
.mockup {
  position: relative;
  display: flex;
  justify-content: center;
}

.mockup__phone {
  width: 260px;
  aspect-ratio: 9 / 19;
  background: linear-gradient(180deg, #141414 0%, #1c1c1c 100%);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: 40px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 32px 80px rgba(0,0,0,0.6);
  position: relative;
}

.mockup__statusbar {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 0;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.mockup__signal {
  font-size: 6px;
  letter-spacing: 2px;
}

.mockup__screen {
  position: relative;
  flex: 1;
  height: calc(100% - 40px);
  background: linear-gradient(180deg, #2a2a2a 0%, #1e1e1e 100%);
  overflow: hidden;
}

.mockup__viewfinder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mockup__plate-guide {
  width: 160px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 6px;
  box-shadow: 0 0 16px rgba(255,215,0,0.3);
}

.mockup__hint {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
}

.mockup__postit {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #222;
  text-align: center;
  padding: 4px;
  line-height: 1.3;
  box-shadow: 2px 3px 8px rgba(0,0,0,0.35);
  animation: postit-float 4s ease-in-out infinite;
}

.mockup__postit--yellow { background: #FFFF88; animation-delay: 0s; }
.mockup__postit--green  { background: #99FF99; animation-delay: 1.3s; }
.mockup__postit--pink   { background: #FF9999; animation-delay: 2.6s; }

@keyframes postit-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%       { transform: translateY(-4px) rotate(var(--r, 0deg)); }
}

.mockup__glow {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 120px;
  background: radial-gradient(ellipse, rgba(255,215,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ─────────────────────────────────────────
   Features
───────────────────────────────────────── */
.features {
  padding: 120px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  list-style: none;
}

.feature-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.02) 100%);
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.feature-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(255,215,0,0.05) 0%, rgba(255,255,255,0.02) 100%);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 215, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   How It Works
───────────────────────────────────────── */
.how {
  padding: 120px 0;
  position: relative;
}

.how__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(255,153,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.how__list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.025);
  transition: border-color var(--transition), background var(--transition);
}

.how-step:hover {
  border-color: rgba(255,215,0,0.2);
  background: rgba(255,215,0,0.03);
}

.how-step__num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: rgba(255, 215, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gold);
}

.how-step__body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.how-step__body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ─────────────────────────────────────────
   Privacy
───────────────────────────────────────── */
.privacy {
  padding: 120px 0;
}

.privacy__card {
  position: relative;
  padding: 48px 56px;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255,215,0,0.05) 0%, rgba(255,153,0,0.03) 100%);
  display: flex;
  gap: 40px;
  align-items: flex-start;
  overflow: hidden;
}

.privacy__card-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255,215,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.privacy__icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(255,215,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.privacy__body h2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.privacy__body p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 560px;
}

.privacy__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.privacy__tags li {
  padding: 7px 14px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  background: rgba(255,215,0,0.07);
  color: var(--gold);
  font-size: 0.8125rem;
  font-weight: 600;
}

@media (max-width: 680px) {
  .privacy__card {
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
  }
}

/* ─────────────────────────────────────────
   Final CTA
───────────────────────────────────────── */
.cta-section {
  padding: 120px 0;
}

.cta-section__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-section__inner h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-section__inner p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 12px;
}

/* ─────────────────────────────────────────
   Footer
───────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer__brand .footer__logo {
  font-size: 1.0625rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  text-decoration: none;
  color: var(--text);
}
.footer__logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

.footer__brand p {
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  color: var(--text-dim);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--text); }

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* ─────────────────────────────────────────
   Scroll Animations
───────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 그리드 아이템 순차 딜레이 */
.features__grid .feature-card:nth-child(1) { transition-delay: 0.05s; }
.features__grid .feature-card:nth-child(2) { transition-delay: 0.12s; }
.features__grid .feature-card:nth-child(3) { transition-delay: 0.19s; }
.features__grid .feature-card:nth-child(4) { transition-delay: 0.26s; }
.features__grid .feature-card:nth-child(5) { transition-delay: 0.33s; }
.features__grid .feature-card:nth-child(6) { transition-delay: 0.40s; }

.how__list .how-step:nth-child(1) { transition-delay: 0.05s; }
.how__list .how-step:nth-child(2) { transition-delay: 0.12s; }
.how__list .how-step:nth-child(3) { transition-delay: 0.19s; }
.how__list .how-step:nth-child(4) { transition-delay: 0.26s; }

/* 모션 줄이기 접근성 */
@media (prefers-reduced-motion: reduce) {
  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .mockup__postit { animation: none; }
  .hero__badge-dot { animation: none; }
}
