* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --border: #1e1e2e;
  --text: #e2e2e8;
  --text-dim: #6b6b80;
  --accent: #3b82f6;
  --accent-green: #10b981;
  --accent-purple: #8b5cf6;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }
img { max-width: 100%; height: auto; }

/* Nav */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.nav-tag {
  font-size: 11px;
  color: var(--accent-green);
  border: 1px solid rgba(16,185,129,0.3);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 24px 50px;
  text-align: center;
}
.hero h1 {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  font-size: clamp(16px, 2.5vw, 19px);
  color: var(--text-dim);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Browser frame */
.browser-frame {
  max-width: 900px;
  margin: 50px auto 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 4px 24px rgba(0,0,0,0.4),
    0 0 0 1px rgba(255,255,255,0.03);
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #161620;
  border-bottom: 1px solid var(--border);
}
.browser-dots {
  display: flex;
  gap: 6px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.browser-url {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  background: rgba(255,255,255,0.04);
  padding: 4px 16px;
  border-radius: 6px;
  margin-right: 52px;
}
.hero-screenshot {
  display: block;
  width: 100%;
}

/* Section headers */
.section-header {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 60px;
}
.section-header h2 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Feature rows */
.feature-row {
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}
.feature-row.reverse {
  grid-template-columns: 1.3fr 1fr;
}
.feature-row.reverse .feature-text {
  order: 2;
}
.feature-text { padding: 20px 0; }
.feature-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.feature-badge.blue { background: rgba(59,130,246,0.15); color: var(--accent); }
.feature-badge.green { background: rgba(16,185,129,0.15); color: var(--accent-green); }
.feature-badge.purple { background: rgba(139,92,246,0.15); color: var(--accent-purple); }
.feature-badge.dim { background: rgba(107,107,128,0.15); color: var(--text-dim); }
.feature-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
.feature-text p {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.6;
}

/* Screenshot frame */
.screenshot-frame {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.screenshot-frame img {
  display: block;
  width: 100%;
}

/* Phone frame */
.phone-frame {
  width: 280px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 3px solid #2a2a3a;
  border-radius: 32px;
  padding: 8px;
  position: relative;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.phone-notch {
  width: 100px;
  height: 24px;
  background: #2a2a3a;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 4px;
}
.phone-frame img {
  display: block;
  width: 100%;
  border-radius: 20px;
}

/* CTA */
.cta {
  text-align: center;
  padding: 60px 24px 100px;
  max-width: 1100px;
  margin: 0 auto;
}
.cta h2 { font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.cta p { color: var(--text-dim); margin-bottom: 28px; font-size: 16px; }
.cta-form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}
.cta-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 15px;
  outline: none;
}
.cta-form input:focus { border-color: var(--accent); }
.cta-form button {
  padding: 12px 24px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.cta-form button:hover { opacity: 0.85; }

/* Footer */
footer {
  text-align: center;
  padding: 24px;
  color: var(--text-dim);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

/* Mobile */
@media (max-width: 768px) {
  .hero { padding: 50px 20px 40px; }
  .browser-frame { margin: 40px 16px 80px; }
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .feature-row.reverse .feature-text { order: 0; }
  .phone-frame { width: 240px; }
  .cta-form { flex-direction: column; }
}
