:root {
  --bg: #0f0f10;
  --surface: #1a1a1d;
  --surface2: #222226;
  --amber: #f5a623;
  --amber-dim: #c47f10;
  --cream: #faf7f2;
  --muted: #8a8a8e;
  --border: #2e2e33;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,15,16,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-tag {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.hero-headline em {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.7;
}

/* CARD SCENE */
.hero-card-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.card-scene {
  position: relative;
  width: 280px;
}
@keyframes envelopeSlideIn {
  0%   { opacity:0; transform: translateX(60px) rotate(6deg); }
  100% { opacity:1; transform: translateX(0) rotate(0deg); }
}
@keyframes labelFade {
  0%,60% { opacity:0; }
  100%   { opacity:1; }
}
.card-stack { text-align: center; }
.cardEnvelope {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  animation: envelopeSlideIn 0.8s cubic-bezier(.22,.61,.36,1) both;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.envelope-flap {
  width: 0; height: 0;
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 30px solid var(--amber-dim);
  margin: 0 auto 0.8rem;
}
.envelope-body { background: #f5a62322; border-radius: 10px; padding: 1.2rem; }

.card-birthday {
  background: linear-gradient(135deg, #1a1a1d 0%, #2a2010 100%);
  border: 1px solid var(--amber);
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
}
.card-text-top {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.3rem;
}
.card-from {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 0.8rem;
}
.birthday-art {
  height: 70px;
  background:
    radial-gradient(circle at 20% 60%, #f5a62366 0%, transparent 50%),
    radial-gradient(circle at 75% 35%, #ff6b6b55 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, #9b59b644 0%, transparent 50%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.birthday-art::after {
  content: '🎂';
  font-size: 2rem;
}
.cardLabel {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
  animation: labelFade 1s ease 0.8s both;
}

/* PROOF STRIP */
.proof {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 3rem 2rem;
}
.proof-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
}
.proof-stat { text-align: center; }
.proof-number {
  font-family: 'Fraunces', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.proof-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
  letter-spacing: 0.02em;
}
.proof-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

/* FEATURES */
.features { padding: 7rem 2rem; }
.features-inner { max-width: 800px; margin: 0 auto; }
.feature-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.feature-row:last-child { border-bottom: none; }
.feature-icon { padding-top: 0.2rem; }
.icon-cal, .icon-pen, .icon-send {
  width: 40px; height: 40px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  position: relative;
}
.icon-cal::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--amber);
  border-radius: 50%;
  opacity: 0.8;
}
.icon-pen::after {
  content: '';
  position: absolute;
  top: 10px; left: 9px;
  width: 14px; height: 2px;
  background: var(--amber);
  border-radius: 1px;
  box-shadow: 0 0 0 5px var(--surface2);
  transform: rotate(-45deg);
}
.icon-send::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--amber);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  opacity: 0.8;
}
.feature-body h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.feature-body p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* HOW IT WORKS */
.how { background: var(--surface); border-top: 1px solid var(--border); padding: 7rem 2rem; }
.how-inner { max-width: 900px; margin: 0 auto; }
.how-title {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 4rem;
  text-align: center;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.step-num {
  font-family: 'Fraunces', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--amber);
  opacity: 0.5;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 0.6rem;
}
.step p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* CLOSING STATEMENT */
.closing { padding: 7rem 2rem; text-align: center; }
.closing-inner { max-width: 600px; margin: 0 auto; }
.closing-statement {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1.5;
  opacity: 0.9;
}

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 2rem; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-logo { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1rem; color: var(--cream); }
.footer-copy { font-size: 0.8rem; color: var(--muted); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-card-wrap { order: -1; }
  .card-scene { width: 220px; }
  .proof-inner { flex-direction: column; gap: 2rem; }
  .proof-divider { width: 40px; height: 1px; }
  .how-steps { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row { grid-template-columns: 1fr; gap: 1rem; }
  .feature-icon { display: none; }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}