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

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --surface2: #1a1a1a;
  --border: #222222;
  --text: #e8e8e8;
  --text-muted: #888888;
  --amber: #f0c040;
  --amber-dark: #e08020;
  --green: #34d399;
  --blue: #60a5fa;
  --purple: #a78bfa;
  --rose: #fb7185;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  color: #0a0a0a;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: -0.01em;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(240, 192, 64, 0.25);
}

.btn--small { padding: 8px 20px; font-size: 0.85rem; }
.btn--large { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__icon { width: 28px; height: 28px; }

.nav__name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.nav__mobile {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__mobile span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  z-index: 99;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 20px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.mobile-menu.open { display: flex; }

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

.hero__glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(240, 192, 64, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content { position: relative; max-width: 700px; }

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.hero__gradient {
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero__cta { display: flex; flex-direction: column; align-items: center; gap: 12px; }

.hero__note { font-size: 0.8rem; color: var(--text-muted); }

/* Mockup */
.hero__mockup {
  margin-top: 60px;
  perspective: 1200px;
}

.mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  width: 340px;
  transform: rotateX(8deg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  transition: transform 0.4s;
}

.mockup:hover { transform: rotateX(0deg); }

.mockup__screen { text-align: center; }

.mockup__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mockup__time {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
}

.mockup__date { font-size: 0.6rem; color: var(--text-muted); letter-spacing: 0.05em; align-self: center; }

.mockup__greeting {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.mockup__ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}

.mockup__ring svg { width: 100%; height: 100%; }

.mockup__percent {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.mockup__stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.mockup__stat { display: flex; flex-direction: column; gap: 2px; }
.mockup__stat-label { font-size: 0.6rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.mockup__stat-value { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1rem; }

.mockup__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 0.6rem;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* ── Social Proof ── */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 40px;
}

.proof__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.proof__item {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.proof__item strong { color: var(--text); }

.proof__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ── Section Headers ── */
.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

/* ── Features ── */
.features {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.feature-card:hover {
  border-color: #333;
  transform: translateY(-4px);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card__icon svg { width: 24px; height: 24px; }

.feature-card__icon--amber  { background: rgba(240,192,64,0.1);  color: var(--amber); }
.feature-card__icon--green  { background: rgba(52,211,153,0.1);  color: var(--green); }
.feature-card__icon--blue   { background: rgba(96,165,250,0.1);  color: var(--blue); }
.feature-card__icon--purple { background: rgba(167,139,250,0.1); color: var(--purple); }
.feature-card__icon--rose   { background: rgba(251,113,133,0.1); color: var(--rose); }

.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

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

/* ── How It Works ── */
.how {
  padding: 100px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.how__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
}

.step__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}

.step h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step__line {
  width: 1px;
  height: 100px;
  background: linear-gradient(to bottom, var(--border), transparent);
  margin-top: 40px;
  flex-shrink: 0;
}

/* ── Waitlist ── */
.waitlist {
  position: relative;
  padding: 100px 40px;
  text-align: center;
  overflow: hidden;
}

.waitlist__glow {
  position: absolute;
  bottom: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(240, 192, 64, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.waitlist__content {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
}

.waitlist__sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.waitlist__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.waitlist__fields {
  display: flex;
  gap: 12px;
}

.waitlist__input {
  flex: 1;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.waitlist__input:focus {
  border-color: var(--amber);
}

.waitlist__input::placeholder { color: #555; }

.hidden { display: none !important; }

.waitlist__success {
  animation: fadeUp 0.5s ease;
}

.waitlist__check {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.waitlist__check svg { width: 28px; height: 28px; }

.waitlist__success h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.waitlist__success p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.waitlist__count {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

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

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo { width: 24px; height: 24px; }

.footer__brand strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
}

.footer__brand span {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Scroll Animations ── */
.feature-card, .step, .waitlist__content {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible, .step.visible, .waitlist__content.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav { padding: 14px 20px; }
  .nav__links { display: none; }
  .nav__mobile { display: flex; }

  .hero { padding: 100px 20px 60px; }
  .hero__title { font-size: 2.2rem; }
  .hero__sub { font-size: 1rem; }

  .features { padding: 60px 20px; }
  .features__grid { grid-template-columns: 1fr; gap: 16px; }

  .how { padding: 60px 20px; }
  .how__steps { flex-direction: column; align-items: center; }
  .step__line {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
    margin: 20px 0;
  }

  .waitlist { padding: 60px 20px; }
  .waitlist__fields { flex-direction: column; }

  .footer { padding: 24px 20px; }
  .footer__inner { flex-direction: column; gap: 12px; text-align: center; }

  .proof { padding: 20px; }
  .proof__inner { gap: 16px; }
  .proof__dot { display: none; }
}
