:root {
  --bg: #F7F9FC;
  --surface: #FFFFFF;
  --border: #E5E9F0;
  --text: #14171F;
  --muted: #5B6472;
  --primary: #2F5DFF;
  --primary-dark: #1E40D6;
  --accent: #FF6B35;
  --accent-soft: rgba(255, 107, 53, 0.12);
  --live: #1FAD66;
  --live-soft: rgba(31, 173, 102, 0.12);
  --radius: 16px;
}

* { box-sizing: border-box; }

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

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
  letter-spacing: -0.01em;
}

p { line-height: 1.6; color: var(--muted); margin: 0 0 12px; }

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

.eyebrow {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.accent { color: var(--primary); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(47, 93, 255, 0.3);
}
.btn-primary:hover { transform: translateY(-1px); background: var(--primary-dark); }

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.btn-small { padding: 9px 16px; font-size: 14px; }

/* Nav */

.nav {
  position: sticky;
  top: 0;
  background: rgba(247, 249, 252, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 50;
}

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

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.nav-logo-icon {
  width: 26px;
  height: 26px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--primary); }

@media (max-width: 760px) {
  .nav-links { display: none; }
}

/* Hero */

.hero {
  padding: 64px 24px 40px;
}

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

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-text h1 {
  font-size: 46px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 24px;
}

.hero-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
}

.hero-form input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  background: var(--surface);
}
.hero-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(47,93,255,0.15); }

.hero-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 10px;
}

@media (max-width: 520px) {
  .hero-form { flex-direction: column; }
  .hero-text h1 { font-size: 34px; }
}

/* Hero visual */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}

.phone-mock {
  position: relative;
  z-index: 2;
  width: 220px;
  height: 460px;
  background: #fff;
  border: 8px solid #14171F;
  border-radius: 36px;
  box-shadow: 0 24px 60px rgba(20, 23, 31, 0.25);
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 18px;
  background: #14171F;
  border-radius: 0 0 12px 12px;
  z-index: 3;
}

.phone-screen {
  background: linear-gradient(160deg, #DCE6FF 0%, #F3F6FF 60%);
  height: 100%;
  padding: 36px 14px 14px;
}

.lockscreen-time {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 600;
  text-align: center;
  color: #1A2030;
}
.lockscreen-date {
  text-align: center;
  font-size: 12px;
  color: #5B6472;
  margin-bottom: 22px;
}

.notification {
  background: rgba(255,255,255,0.9);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(20,23,31,0.1);
}

.notification-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--primary);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-top {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #8089998;
  margin-bottom: 2px;
}
.notification-app { text-transform: uppercase; letter-spacing: 0.04em; color: #5B6472; }
.notification-title { font-weight: 700; font-size: 13px; margin-bottom: 2px; }
.notification-text { font-size: 12px; color: #2B3140; line-height: 1.45; }

.dashboard-mock {
  position: absolute;
  right: -30px;
  bottom: 0;
  width: 300px;
  background: #141D28;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(20, 23, 31, 0.3);
  overflow: hidden;
  z-index: 1;
}

@media (max-width: 900px) {
  .dashboard-mock { display: none; }
  .hero-visual { min-height: 420px; }
}

.dash-window-bar {
  display: flex;
  gap: 6px;
  padding: 10px 12px;
  background: #1C2836;
}
.dash-window-bar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3A4756;
}

.dash-body { padding: 16px; }

.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.dash-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--live-soft);
  color: var(--live);
}
.pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,173,102,0.5); }
  50% { box-shadow: 0 0 0 5px rgba(31,173,102,0); }
}

.dash-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.dash-tile {
  background: #1C2836;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-tile span { font-size: 9px; color: #7C8B9B; text-transform: uppercase; }
.dash-tile strong { font-family: 'Space Grotesk', sans-serif; font-size: 17px; color: #E7ECF1; }
.dash-tile-accent { background: linear-gradient(155deg, #1C2836, rgba(255,107,53,0.18)); }

.dash-gallery { display: flex; flex-direction: column; gap: 8px; }
.dash-card {
  display: flex; align-items: center; gap: 10px;
  background: #1C2836; border-radius: 10px; padding: 8px;
}
.dash-thumb { width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0; background-size: cover; }
.thumb-1 { background: linear-gradient(135deg, #2F5DFF, #6E8CFF); }
.thumb-2 { background: linear-gradient(135deg, #FF6B35, #FFA46B); }
.dash-card b { display: block; font-size: 11px; color: #E7ECF1; font-weight: 500; }
.dash-card span { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--accent); }

/* Sections */

.section { padding: 84px 24px; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1140px; margin: 0 auto; }
.section h2 { font-size: 32px; margin-bottom: 16px; max-width: 640px; }
.lead { font-size: 17px; max-width: 620px; margin-bottom: 32px; }

/* Use case carousel */

.usecase-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.usecase-carousel::-webkit-scrollbar { height: 6px; }
.usecase-carousel::-webkit-scrollbar-thumb { background: var(--border); border-radius: 6px; }

.usecase-card {
  scroll-snap-align: start;
  flex: 0 0 260px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.usecase-card img { width: 100%; height: 160px; object-fit: cover; display: block; }
.usecase-info { padding: 16px; }
.usecase-info h3 { font-size: 16px; margin-bottom: 6px; }
.usecase-info p { font-size: 13px; margin: 0; }

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; margin: 0; }

/* Pricing */

.pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin-bottom: 20px;
}
@media (max-width: 700px) { .pricing { grid-template-columns: 1fr; } }

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.price-card-featured {
  border-color: var(--primary);
  box-shadow: 0 12px 30px rgba(47,93,255,0.15);
}
.price-badge {
  position: absolute;
  top: -12px; right: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}
.price-name { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--muted); text-transform: uppercase; }
.price-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 38px;
  font-weight: 700;
  margin: 8px 0 20px;
}
.price-value small { font-size: 14px; font-weight: 500; color: var(--muted); }

.price-features { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.price-features li {
  font-size: 14px;
  padding-left: 22px;
  position: relative;
}
.price-features li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--live);
  font-weight: 700;
}
.price-card .btn { width: 100%; }

.pricing-note { font-size: 13px; color: var(--muted); max-width: 640px; }

/* FAQ */

.faq-list { max-width: 720px; display: flex; flex-direction: column; gap: 10px; }
.faq-list details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--primary); font-weight: 700; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin-top: 10px; font-size: 14px; }

/* CTA section */

.cta-section { background: linear-gradient(160deg, #14171F, #1E2A4A); }
.cta-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-section .eyebrow { color: var(--accent); }
.cta-section h2 { color: #fff; }
.cta-section .lead { color: #B7C0D6; }

.cta-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  width: 100%;
}
.cta-form input {
  flex: 1;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid #2C3550;
  background: #1A2236;
  color: #fff;
  font-size: 15px;
}
.cta-form input::placeholder { color: #6B7690; }
.cta-form input:focus { outline: none; border-color: var(--primary); }

.form-status { color: #B7C0D6; font-size: 13px; margin-top: 12px; min-height: 18px; }

@media (max-width: 520px) {
  .cta-form { flex-direction: column; }
}

/* Footer */

.footer { padding: 32px 24px; }
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--primary); }

@media (prefers-reduced-motion: reduce) {
  .pulse-dot { animation: none; }
}
