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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #0a0704;
  color: #f5ede0;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: rgba(10, 7, 4, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c9a84c;
}

.nav-cta {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.2rem;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 4px;
  color: #c9a84c;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: #c9a84c;
  color: #1a1208;
}

/* ── Hero ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0704 url('hero.png') center / cover no-repeat;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 20%, rgba(5, 3, 2, 0.8) 100%),
    rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 600px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 100px;
}

.headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.12;
  color: #f5ede0;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
}

.headline em {
  font-style: italic;
  color: #c9a84c;
}

.subheadline {
  font-size: 1.05rem;
  font-weight: 300;
  color: #b8a898;
  line-height: 1.7;
  max-width: 580px;
}

/* ── App Store Button ── */
.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  background: #f5ede0;
  color: #1a1208;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.app-store-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

/* ── Email Form ── */
.email-form {
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.input-row {
  display: flex;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

input[type="email"] {
  flex: 1;
  padding: 0.9rem 1.1rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  border: none;
  background: rgba(255, 248, 235, 0.93);
  color: #1a1208;
  outline: none;
  min-width: 0;
}

input[type="email"]::placeholder {
  color: #9a8878;
}

button[type="submit"] {
  padding: 0.9rem 1.5rem;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  background: #c9a84c;
  color: #1a1208;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

button[type="submit"]:hover {
  background: #dfc06a;
}

.form-note {
  font-size: 0.78rem;
  color: #7a6d62;
  letter-spacing: 0.02em;
}

.success-msg {
  display: none;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: #c9a84c;
}

.success-msg.visible {
  display: block;
}

/* ── Social Proof ── */
.social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.avatars {
  display: flex;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 2px solid #0a0704;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-left: -8px;
}

.avatar:first-child {
  margin-left: 0;
}

.proof-text {
  font-size: 0.82rem;
  color: #8a7d72;
}

.proof-text strong {
  color: #c9a84c;
}

/* ── Sections ── */
.section {
  padding: 6rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #f5ede0;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  font-weight: 300;
  color: #8a7d72;
  margin-bottom: 3.5rem;
}

/* ── How It Works ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.step {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 12px;
  background: rgba(255, 248, 235, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.08);
  transition: border-color 0.3s ease;
}

.step:hover {
  border-color: rgba(201, 168, 76, 0.25);
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.step-number {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: #c9a84c;
  opacity: 0.6;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #f5ede0;
}

.step p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #8a7d72;
  line-height: 1.6;
}

/* ── Features ── */
.features {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.feature {
  padding: 2rem;
  border-radius: 12px;
  background: rgba(255, 248, 235, 0.02);
  border: 1px solid rgba(201, 168, 76, 0.06);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.feature h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: #f5ede0;
}

.feature p {
  font-size: 0.9rem;
  font-weight: 300;
  color: #8a7d72;
  line-height: 1.5;
}

/* ── Question Tiers ── */
.tiers {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.tier-list {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tier {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 10px;
  background: rgba(255, 248, 235, 0.03);
  border: 1px solid rgba(201, 168, 76, 0.08);
  transition: border-color 0.3s ease, transform 0.2s ease;
}

.tier:hover {
  border-color: rgba(201, 168, 76, 0.2);
  transform: translateX(4px);
}

.tier-piece {
  font-size: 2rem;
  width: 48px;
  text-align: center;
  flex-shrink: 0;
}

.tier-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #c9a84c;
  margin-bottom: 0.2rem;
}

.tier-info .tier-example {
  font-size: 0.88rem;
  font-weight: 300;
  font-style: italic;
  color: #8a7d72;
  line-height: 1.5;
}

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.08);
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.cta-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: #f5ede0;
}

.cta-content p {
  font-size: 1rem;
  font-weight: 300;
  color: #8a7d72;
  margin-bottom: 1rem;
}

/* ── Footer ── */
.footer {
  border-top: 1px solid rgba(201, 168, 76, 0.08);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c9a84c;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: #7a6d62;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #c9a84c;
}

.footer-copy {
  font-size: 0.75rem;
  color: #4a4038;
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ── Animations ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* stagger children */
.steps .fade-in:nth-child(2) { animation-delay: 0.1s; }
.steps .fade-in:nth-child(3) { animation-delay: 0.2s; }
.feature-grid .fade-in:nth-child(2) { animation-delay: 0.08s; }
.feature-grid .fade-in:nth-child(3) { animation-delay: 0.16s; }
.feature-grid .fade-in:nth-child(4) { animation-delay: 0.24s; }
.tier-list .fade-in:nth-child(2) { animation-delay: 0.06s; }
.tier-list .fade-in:nth-child(3) { animation-delay: 0.12s; }
.tier-list .fade-in:nth-child(4) { animation-delay: 0.18s; }
.tier-list .fade-in:nth-child(5) { animation-delay: 0.24s; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 1rem 1.25rem;
  }

  .input-row {
    flex-direction: column;
  }

  input[type="email"],
  button[type="submit"] {
    width: 100%;
    border-radius: 0;
  }

  .social-proof {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
