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

:root {
  --bg:        #0D0D12;
  --bg-card:   #16161E;
  --bg-raised: #1E1E28;
  --green:     #34C759;
  --green-dim: rgba(52, 199, 89, 0.15);
  --white:     #FFFFFF;
  --text:      rgba(255,255,255,0.85);
  --muted:     rgba(255,255,255,0.5);
  --border:    rgba(255,255,255,0.08);
  --radius:    16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

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

/* ── Typography ── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--white); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--white); }
h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); }
h4 { font-size: 1rem; font-weight: 600; color: var(--white); }
p  { color: var(--text); }
em { font-style: italic; color: var(--white); }

.green { color: var(--green); }

/* ── Layout ── */
.container       { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow{ max-width: 640px;  margin: 0 auto; padding: 0 24px; }

.section        { padding: 100px 0; }
.section-dark   { background: var(--bg-card); }

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 600px;
  margin-top: 16px;
}

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(13,13,18,0.8);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.logo-icon { font-size: 1.2rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s;
  border-radius: var(--radius-sm);
}

.btn:hover   { opacity: 0.85; transform: translateY(-1px); }
.btn:active  { transform: translateY(0); }

.btn-sm {
  font-size: 0.875rem;
  padding: 8px 18px;
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(52,199,89,0.3);
}

.btn-primary {
  font-size: 1rem;
  padding: 14px 28px;
  background: var(--green);
  color: #000;
  white-space: nowrap;
}

/* ── Hero ── */
.hero {
  padding-top: 140px;
  padding-bottom: 100px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(52,199,89,0.12) 0%, transparent 70%);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-dim);
  border: 1px solid rgba(52,199,89,0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-text h1 { margin-bottom: 20px; }
.hero-text .hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 500px;
}

/* ── Notify Form ── */
.notify-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.notify-form input {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.15s;
}

.notify-form input:focus { border-color: rgba(52,199,89,0.5); }
.notify-form input::placeholder { color: var(--muted); }

.notify-form-center { justify-content: center; }

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
}

/* ── Phone Mockup ── */
.hero-mockup { display: flex; justify-content: center; align-items: center; }

.phone {
  width: 280px;
  max-height: 560px;
  border-radius: 44px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.phone-screenshot {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

/* ── Screenshot Showcase ── */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
  align-items: start;
}

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

.showcase-phone {
  width: 140px;
  max-height: 280px;
  border-radius: 32px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.04);
}

.showcase-phone .phone-screenshot {
  width: 100%;
  display: block;
  object-fit: cover;
  object-position: top;
}

.showcase-item h4 { font-size: 0.95rem; }
.showcase-item p  { font-size: 0.85rem; color: var(--muted); line-height: 1.55; }

@media (max-width: 900px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 500px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .showcase-phone { width: 120px; max-height: 240px; }
}

/* ── AI Value Prop ── */
.insight-card {
  margin: 48px 0;
  background: var(--bg-card);
  border: 1px solid rgba(52,199,89,0.2);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.insight-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
}

.insight-quote {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 16px;
}

.insight-quote::before { content: '"'; color: var(--green); font-size: 2rem; line-height: 0; vertical-align: -0.5rem; margin-right: 4px; }
.insight-quote::after  { content: '"'; color: var(--green); font-size: 2rem; line-height: 0; vertical-align: -0.5rem; margin-left: 4px; }

.insight-caption {
  font-size: 0.85rem;
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.value-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.value-icon { font-size: 1.6rem; margin-bottom: 14px; }
.value-item h4 { margin-bottom: 8px; }
.value-item p  { font-size: 0.9rem; color: var(--muted); }

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.feature-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(52,199,89,0.3);
  transform: translateY(-2px);
}

.feature-icon { font-size: 1.6rem; margin-bottom: 14px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p  { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── How it Works ── */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 60px;
}

.step { padding: 0 16px; }

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.step h3 { margin-bottom: 10px; font-size: 1.15rem; }
.step p   { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

.step-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
  margin-top: 20px;
  align-self: start;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 700px;
  margin: 48px auto 0;
}

.pricing-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}

.pricing-featured {
  border-color: rgba(52,199,89,0.4);
  background: linear-gradient(160deg, rgba(52,199,89,0.08) 0%, var(--bg-raised) 60%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 28px;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text);
}

/* ── App Store Badge ── */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 10px 18px;
  text-decoration: none;
  margin-top: 16px;
  transition: opacity 0.15s, transform 0.15s;
}


.appstore-apple { width: 24px; height: 24px; flex-shrink: 0; }

.appstore-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.appstore-sub  { font-size: 0.65rem; color: rgba(255,255,255,0.7); }
.appstore-main { font-size: 1.1rem; font-weight: 600; color: #fff; }

/* ── CTA Section ── */
.cta-section {
  text-align: center;
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(52,199,89,0.08) 0%, transparent 70%);
}

.cta-section h2 { margin-bottom: 12px; }

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

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

.footer-logo {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

.footer-links a:hover { color: var(--white); }

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted);
  width: 100%;
}

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--green);
  color: #000;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 100px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 200;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

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

  .hero-mockup { order: -1; }
  .phone { width: 220px; }

  .steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .step-divider {
    width: 80px;
    height: 1px;
    margin: 0 auto;
  }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .notify-form { flex-direction: column; }
  .notify-form input { min-width: unset; }
  .btn-primary { text-align: center; justify-content: center; }

  .section { padding: 70px 0; }
}
