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

:root {
  --bg: #08080f;
  --surface: #0f0f1a;
  --surface2: #16162a;
  --border: rgba(255,255,255,0.07);
  --accent: #c084fc;
  --accent2: #f472b6;
  --accent3: #818cf8;
  --text: #f1f0ff;
  --muted: #a8a6c0;
  --glow: rgba(192, 132, 252, 0.18);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 999;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 8, 15, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: 0.01em;
  box-shadow: 0 0 18px rgba(192,132,252,0.35);
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:active { transform: scale(0.96); opacity: 0.9; }

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

/* ambient blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
}
.blob-1 { width: 420px; height: 420px; background: radial-gradient(circle, #7c3aed, transparent 70%); top: -80px; left: -100px; animation: drift 14s ease-in-out infinite alternate; }
.blob-2 { width: 360px; height: 360px; background: radial-gradient(circle, #db2777, transparent 70%); bottom: 0; right: -80px; animation: drift 18s ease-in-out infinite alternate-reverse; }
.blob-3 { width: 280px; height: 280px; background: radial-gradient(circle, #4f46e5, transparent 70%); top: 40%; left: 50%; transform: translate(-50%,-50%); animation: drift 22s ease-in-out infinite alternate; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(30px, 20px) scale(1.08); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192,132,252,0.12);
  border: 1px solid rgba(192,132,252,0.25);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(2.4rem, 8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.hero h1 .line-accent {
  background: linear-gradient(120deg, var(--accent), var(--accent2) 60%, var(--accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 480px;
  font-size: clamp(1rem, 3vw, 1.15rem);
  font-weight: 400;
  color: var(--muted);
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 100px;
  text-decoration: none;
  letter-spacing: -0.01em;
  box-shadow: 0 0 30px rgba(192,132,252,0.4), 0 8px 32px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:active { transform: scale(0.97); }

.hero-hint {
  font-size: 0.8rem;
  color: var(--muted);
}
.hero-hint b { color: var(--text); font-weight: 600; }

.phone-number {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-top: 4px;
}

/* ── SECTION COMMON ── */
section {
  padding: 80px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

section h2 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
section h2 span {
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

section p.desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 44px;
}

/* ── HOW IT WORKS ── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  left: 26px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent);
  opacity: 0.3;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  position: relative;
}

.step-num {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
  position: relative;
  z-index: 1;
}

.step-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 5px;
  margin-top: 12px;
}
.step-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── DIFF CARDS ── */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.diff-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}
.diff-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, var(--glow), transparent 60%);
  pointer-events: none;
}
.diff-card:hover { border-color: rgba(192,132,252,0.3); }

.diff-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}
.diff-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.diff-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}
.diff-card .badge {
  margin-top: 14px;
  display: inline-block;
  background: rgba(192,132,252,0.12);
  border: 1px solid rgba(192,132,252,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* ── VOICE WAVE VISUAL ── */
.wave-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 60px;
  margin: 32px 0;
}
.wave-bar {
  width: 4px;
  background: linear-gradient(to top, var(--accent), var(--accent2));
  border-radius: 2px;
  animation: wave 1.4s ease-in-out infinite;
}
.wave-bar:nth-child(1)  { animation-delay: 0.0s; height: 18px; }
.wave-bar:nth-child(2)  { animation-delay: 0.1s; height: 30px; }
.wave-bar:nth-child(3)  { animation-delay: 0.2s; height: 46px; }
.wave-bar:nth-child(4)  { animation-delay: 0.3s; height: 55px; }
.wave-bar:nth-child(5)  { animation-delay: 0.4s; height: 42px; }
.wave-bar:nth-child(6)  { animation-delay: 0.2s; height: 58px; }
.wave-bar:nth-child(7)  { animation-delay: 0.1s; height: 48px; }
.wave-bar:nth-child(8)  { animation-delay: 0.0s; height: 34px; }
.wave-bar:nth-child(9)  { animation-delay: 0.15s; height: 52px; }
.wave-bar:nth-child(10) { animation-delay: 0.25s; height: 40px; }
.wave-bar:nth-child(11) { animation-delay: 0.35s; height: 28px; }
.wave-bar:nth-child(12) { animation-delay: 0.45s; height: 18px; }

@keyframes wave {
  0%,100% { transform: scaleY(0.4); opacity: 0.5; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* ── AI ANALYSIS TAGS ── */
.ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}
.ai-tag {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}
.ai-tag .dot-sm {
  width: 6px; height: 6px;
  border-radius: 50%;
}
.ai-tag:nth-child(1) .dot-sm { background: #c084fc; }
.ai-tag:nth-child(2) .dot-sm { background: #f472b6; }
.ai-tag:nth-child(3) .dot-sm { background: #818cf8; }
.ai-tag:nth-child(4) .dot-sm { background: #34d399; }
.ai-tag:nth-child(5) .dot-sm { background: #fbbf24; }
.ai-tag:nth-child(6) .dot-sm { background: #60a5fa; }

/* ── MIDNIGHT SECTION ── */
.midnight {
  background: linear-gradient(135deg, #0d0820 0%, #130b22 50%, #080d1e 100%);
  border-radius: 28px;
  border: 1px solid rgba(192,132,252,0.15);
  padding: 52px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 0 16px;
}
.midnight::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(192,132,252,0.2), transparent 70%);
  pointer-events: none;
}
.midnight .moon {
  font-size: 3rem;
  display: block;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 20px rgba(192,132,252,0.5));
}
.midnight h3 {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.midnight p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.8;
  max-width: 380px;
  margin: 0 auto;
}

/* ── CTA SECTION ── */
.cta-section {
  text-align: center;
  padding: 80px 24px 100px;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.cta-section p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-phone-box {
  background: var(--surface);
  border: 1px solid rgba(192,132,252,0.2);
  border-radius: 24px;
  padding: 36px 28px;
  max-width: 400px;
  margin: 0 auto 32px;
  position: relative;
  overflow: hidden;
}
.cta-phone-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(192,132,252,0.1), transparent 60%);
  pointer-events: none;
}

.cta-phone-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.cta-phone-number {
  font-size: clamp(1.5rem, 5.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 20px;
}

.gender-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gender-btn {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  cursor: default;
}

/* ── LIVE COUNT ── */
.live-count-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.live-count-card {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
.live-count-label {
  font-size: 0.7rem;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.live-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
  animation: pulse 1.8s ease-in-out infinite;
  display: inline-block;
  flex-shrink: 0;
}
.live-count-num {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  transition: opacity 0.3s, transform 0.3s;
}
.live-count-num.male   { color: #818cf8; }
.live-count-num.female { color: #f472b6; }
.live-count-num.flip {
  opacity: 0;
  transform: translateY(-6px);
}

.gender-btn .key {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.btn-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 0 40px rgba(192,132,252,0.4), 0 10px 40px rgba(0,0,0,0.4);
  max-width: 360px;
  margin: 0 auto;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-call:active { transform: scale(0.97); box-shadow: 0 0 20px rgba(192,132,252,0.3); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 2;
}
footer strong { color: var(--text); font-weight: 600; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ── DIVIDER ── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0 auto;
  max-width: 720px;
}

/* ── FADE IN ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── TABLET / DESKTOP ── */
@media (min-width: 640px) {
  .diff-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  section { padding: 100px 32px; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
}
