/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #1f2937;
  background: #f9fafb;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.text-emerald { color: #10b981; }

/* === Nav === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.6);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700; color: #1f2937;
}
.nav-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: #4f46e5; display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #6b7280; transition: color 0.2s; }
.nav-links a:hover { color: #4f46e5; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px;
  font-size: 15px; font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 8px 16px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-primary {
  background: #4f46e5; color: #fff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45); }

/* === Hero === */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f9fafb 0%, #eef2ff 50%, #f0fdf4 100%);
}
.hero-inner { display: flex; align-items: center; gap: 64px; }
.hero-content { flex: 1; }
.badge {
  display: inline-block; padding: 6px 14px; border-radius: 20px;
  background: #eef2ff; color: #4f46e5;
  font-size: 13px; font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-size: 48px; font-weight: 800; line-height: 1.15;
  color: #111827; margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px; color: #6b7280; line-height: 1.7;
  max-width: 480px; margin-bottom: 32px;
}
.hero-actions { margin-bottom: 40px; }
.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat strong { display: block; font-size: 24px; font-weight: 800; color: #111827; }
.stat span { font-size: 13px; color: #9ca3af; }
.stat-divider { width: 1px; height: 40px; background: #e5e7eb; }

/* === Phone Mockup === */
.hero-visual { flex-shrink: 0; }
.phone-mockup {
  width: 280px;
  background: #1f2937; border-radius: 36px;
  padding: 12px; box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}
.phone-screen {
  background: #f9fafb; border-radius: 26px;
  overflow: hidden;
}
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  border-radius: 26px;
}

/* === Screenshots === */
.screenshots { padding: 100px 0; background: #f9fafb; }
.screenshots-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
}
.screenshot-item { text-align: center; }
.screenshot-item h3 { font-size: 16px; font-weight: 700; margin-top: 20px; margin-bottom: 4px; color: #111827; }
.screenshot-item p { font-size: 13px; color: #9ca3af; }
.phone-mockup-sm {
  width: 220px; margin: 0 auto;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}
.phone-mockup-sm:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.18);
}

/* === Features === */
.features { padding: 100px 0; background: #fff; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; color: #111827; }
.section-header p { font-size: 17px; color: #6b7280; max-width: 520px; margin: 0 auto; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.feature-card {
  padding: 32px; border-radius: 20px;
  background: #f9fafb; border: 1px solid #f3f4f6;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06);
}
.feature-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: #eef2ff; display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #6b7280; line-height: 1.6; }

/* === How It Works === */
.how-it-works { padding: 100px 0; background: #f9fafb; }
.steps { display: flex; align-items: flex-start; justify-content: center; gap: 24px; }
.step {
  flex: 1; text-align: center; padding: 32px 24px;
  background: #fff; border-radius: 20px; border: 1px solid #f3f4f6;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: #4f46e5; color: #fff;
  font-size: 20px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 14px; color: #6b7280; }
.step-arrow {
  font-size: 24px; color: #d1d5db; margin-top: 48px; font-weight: 300;
}

/* === CTA === */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}
.cta-inner { text-align: center; }
.cta h2 { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta p { font-size: 17px; color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.cta .btn-primary {
  background: #fff; color: #4f46e5;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* === Footer === */
.footer { padding: 60px 0 0; background: #111827; color: #9ca3af; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #1f2937; }
.footer-brand .nav-brand { color: #fff; margin-bottom: 8px; }
.footer-tagline { font-size: 14px; color: #6b7280; max-width: 280px; }
.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { font-size: 14px; color: #9ca3af; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 13px; }

/* === Responsive === */
@media (max-width: 768px) {
  .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .hero-actions { display: flex; justify-content: center; }
  .features-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .phone-mockup-sm { width: 180px; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); margin: 0 auto; }
  .footer-inner { flex-direction: column; }
  .nav-links a:not(.btn) { display: none; }
}
