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

:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #EFF6FF;
  --dark: #0F172A;
  --mid: #334155;
  --muted: #64748B;
  --light: #94A3B8;
  --border: #E2E8F0;
  --bg: #F8FAFC;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  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;
  gap: 24px;
}

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

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon-sm {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.logo-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--dark); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
}

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

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.2s;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  gap: 4px;
}

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

.nav-mobile a {
  font-size: 16px;
  color: var(--muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile a:last-child { border-bottom: none; }

/* ── Hero ── */
.hero {
  background: linear-gradient(160deg, #F0F7FF 0%, var(--white) 60%);
  padding: 80px 24px 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 70%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #BFDBFE;
  margin-bottom: 20px;
  animation: fadeUp 0.6s ease both;
}

.hero-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--dark);
  margin-bottom: 20px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--blue), #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--dark);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--mid);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.hero-footnote {
  font-size: 13px;
  color: var(--light);
  animation: fadeUp 0.6s 0.35s ease both;
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeUp 0.8s 0.15s ease both;
}

.phone-mockup {
  width: 260px;
  height: 520px;
  background: var(--dark);
  border-radius: 40px;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.18),
    0 0 0 1px rgba(255,255,255,0.06) inset;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: var(--bg);
  border-radius: 30px;
  height: 100%;
  overflow: hidden;
}

.app-preview {
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.app-bar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  display: block;
}

.app-bar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.app-card {
  background: var(--blue);
  border-radius: 14px;
  padding: 14px;
  color: white;
}

.app-card-label {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.app-card-value {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.app-card-sub {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 2px;
}

.app-items {
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

.app-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--dark);
  border-bottom: 1px solid var(--bg);
}

.app-item:last-child { border-bottom: none; }

.app-item span:last-child {
  font-weight: 600;
  color: var(--blue);
}

.app-btn {
  background: var(--dark);
  color: white;
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  font-size: 12px;
  font-weight: 600;
}

.phone-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, transparent 70%);
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  filter: blur(20px);
}

.hero-scroll-hint {
  text-align: center;
  margin-top: 48px;
  animation: bounce 2s infinite;
}

/* ── Features ── */
.features {
  padding: 100px 0;
  background: var(--white);
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 56px;
}

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

.feature-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  opacity: 0;
  transform: translateY(20px);
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon.blue    { background: #EFF6FF; color: #2563EB; }
.feature-icon.purple  { background: #F5F3FF; color: #7C3AED; }
.feature-icon.green   { background: #F0FDF4; color: #16A34A; }
.feature-icon.orange  { background: #FFF7ED; color: #EA580C; }
.feature-icon.teal    { background: #F0FDFA; color: #0D9488; }
.feature-icon.indigo  { background: #EEF2FF; color: #4F46E5; }

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

.feature-premium {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #7C3AED;
  background: #F5F3FF;
  border: 1px solid #DDD6FE;
  border-radius: 5px;
  padding: 2px 7px;
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

/* ── Transparency Callout ── */
.transparency {
  padding: 0 0 80px;
  background: var(--white);
}

.transparency-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius);
  padding: 32px;
}

.transparency-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.transparency-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.transparency-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 720px;
}

@media (max-width: 600px) {
  .transparency-card { flex-direction: column; gap: 16px; padding: 24px; }
}

/* ── How It Works ── */
.how-it-works {
  background: var(--bg);
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}

.step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.step-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 220px;
  margin: 0 auto;
}

.step-connector {
  flex-shrink: 0;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), #6366F1);
  margin-top: 26px;
  border-radius: 2px;
  opacity: 0.4;
}

/* ── Download ── */
.download {
  padding: 100px 0;
  background: var(--white);
}

.download-card {
  background: linear-gradient(135deg, var(--dark) 0%, #1E293B 100%);
  border-radius: 24px;
  padding: 56px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  opacity: 0;
  transform: translateY(20px);
}

.download-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.download-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.download-content p {
  font-size: 16px;
  color: #94A3B8;
  margin-bottom: 24px;
}

.waitlist {
  display: flex;
  gap: 10px;
}

.waitlist-input {
  flex: 1;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  color: white;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.waitlist-input::placeholder { color: #64748B; }
.waitlist-input:focus { border-color: var(--blue); }

.waitlist-btn {
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.waitlist-btn:hover { background: var(--blue-dark); transform: translateY(-1px); }
.waitlist-btn:disabled { opacity: 0.6; cursor: default; transform: none; }

.download-footnote {
  font-size: 12px;
  color: #475569;
  margin-top: 10px;
}

.download-badge-group {
  flex-shrink: 0;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 20px;
  color: white;
  transition: background 0.2s, transform 0.15s;
}

.store-badge:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }

.store-badge-disabled { opacity: 0.4; cursor: default; pointer-events: none; }

.badge-sub { font-size: 11px; color: #94A3B8; }
.badge-main { font-size: 17px; font-weight: 700; }

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

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.footer-tagline {
  font-size: 13px;
  color: var(--light);
  margin-top: 8px;
}

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

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.2s;
}

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

.footer-support {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  font-size: 13px;
  color: var(--light);
  border-top: 1px solid var(--border);
  margin-top: 4px;
  flex-wrap: wrap;
}
.footer-support a { color: var(--mid); }
.footer-support a:hover { color: var(--dark); }
.footer-support-divider { color: var(--border); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--light);
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(6px); }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step { flex-direction: row; text-align: left; gap: 20px; width: 100%; max-width: 440px; }
  .step-number { margin-bottom: 0; flex-shrink: 0; }
  .step-content p { max-width: none; margin: 0; }
  .step-connector { width: 2px; height: 40px; margin: 0 0 0 25px; background: linear-gradient(180deg, var(--blue), #6366F1); }

  .download-card {
    flex-direction: column;
    padding: 40px 32px;
    text-align: center;
  }

  .waitlist { flex-direction: column; }
  .download-badge-group { width: 100%; display: flex; justify-content: center; }
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero { padding: 60px 24px 48px; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-badge { justify-content: center; display: inline-flex; }
  .hero-visual { order: -1; }
  .phone-mockup { width: 220px; height: 440px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .download-card { padding: 32px 24px; }
  .download-content h2 { font-size: 26px; }
  .footer-inner { flex-direction: column; gap: 20px; }
}
