:root {
  --bg: #0d0f14;
  --surface: #161a22;
  --surface-high: #1e2330;
  --border: #2a2f3d;
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-glow: rgba(99, 102, 241, 0.18);
  --text: #f3f4f6;
  --text-sub: #d1d5db;
  --muted: #9ca3af;
  --success: #10b981;
  --radius: 14px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-ghost {
  color: var(--text-sub);
}

.btn-outline {
  border-color: var(--border);
  color: var(--text);
  background: transparent;
}

.btn-lg {
  padding: 0.85rem 1.4rem;
  font-size: 1rem;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(13, 15, 20, 0.85);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 0.8rem;
}

.nav {
  display: flex;
  gap: 1.5rem;
  color: var(--text-sub);
}

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

.header-actions {
  display: flex;
  gap: 0.5rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--primary-glow), transparent),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-lead {
  color: var(--text-sub);
  font-size: 1.1rem;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-trust li::before {
  content: "✓ ";
  color: var(--success);
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.phone-card,
.dashboard-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.phone-card {
  padding: 1.25rem;
  max-width: 280px;
  margin-left: auto;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.phone-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

.phone-steps {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: var(--surface-high);
  color: var(--text-sub);
  font-size: 0.9rem;
}

.step span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--border);
  font-size: 0.75rem;
}

.step.done span {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}

.step.active {
  border: 1px solid var(--primary);
  color: var(--text);
}

.step.active span {
  background: var(--primary);
  color: white;
}

.phone-status {
  text-align: center;
  color: var(--success);
  font-weight: 600;
  font-size: 0.9rem;
}

.dashboard-card {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 1rem 1.25rem;
  width: min(260px, 90%);
}

.card-label {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.stat-row strong {
  display: block;
  font-size: 1.4rem;
}

.stat-row span {
  color: var(--muted);
  font-size: 0.75rem;
}

.metrics {
  padding: 0;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.metric {
  padding: 1.75rem 1rem;
  text-align: center;
}

.metric strong {
  display: block;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.metric span {
  color: var(--muted);
  font-size: 0.85rem;
}

section {
  padding: 4.5rem 0;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--text-sub);
  max-width: 42rem;
  margin-bottom: 2rem;
}

.pain-grid,
.features-grid,
.how-steps {
  display: grid;
  gap: 1.25rem;
}

.pain-grid {
  grid-template-columns: repeat(2, 1fr);
}

.pain-card,
.feature,
.how-steps article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.pain-card h3,
.feature h3,
.how-steps h3 {
  margin-bottom: 0.75rem;
}

.pain-card ul {
  list-style: none;
  color: var(--text-sub);
}

.pain-card li {
  padding: 0.35rem 0;
}

.pain-card li::before {
  content: "· ";
  color: var(--muted);
}

.pain-card-highlight {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.08), var(--surface));
}

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

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature p,
.how-steps p {
  color: var(--text-sub);
  font-size: 0.95rem;
}

.how-steps {
  grid-template-columns: repeat(3, 1fr);
}

.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-glow);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.audience {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.audience-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.audience p {
  color: var(--text-sub);
}

.audience-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.audience-list li {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--surface-high);
  border: 1px solid var(--border);
}

.contact {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: 0.75rem;
}

.contact-email {
  margin-top: 1.25rem;
  font-size: 0.95rem;
}

.contact-email a {
  color: var(--primary);
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.contact-field {
  display: grid;
  gap: 0.35rem;
}

.contact-field label {
  font-size: 0.9rem;
  color: var(--text-sub);
  font-weight: 500;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-high);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid var(--primary-glow);
  border-color: var(--primary);
}

.contact-field.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-status {
  font-size: 0.9rem;
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

.contact-status.is-success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.contact-status.is-error {
  background: rgba(239, 68, 68, 0.1);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.contact-submit {
  width: 100%;
}

.contact-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cta-inner {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(79, 70, 229, 0.08));
  border: 1px solid rgba(99, 102, 241, 0.35);
}

.cta-inner p {
  color: var(--text-sub);
  margin-bottom: 1.5rem;
}

.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: grid;
  gap: 0.75rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 700;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

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

.footer-links-legal {
  flex-wrap: wrap;
  row-gap: 0.5rem;
}

.legal-page {
  padding: 2.5rem 0 4rem;
}

.legal-back {
  display: inline-block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.legal-back:hover {
  color: var(--text);
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal-content {
  max-width: 720px;
}

.legal-content section {
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.legal-content p {
  color: var(--text-sub);
  margin-bottom: 0.75rem;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--text);
}

.legal-disclaimer {
  margin-top: 2.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .pain-grid,
  .features-grid,
  .how-steps,
  .audience-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav,
  .header-actions {
    display: none;
  }

  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    padding: 1rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }

  .menu-toggle {
    display: flex;
  }

  .hero-visual {
    min-height: 300px;
  }

  .dashboard-card {
    position: static;
    margin-top: 1rem;
    width: 100%;
  }

  .phone-card {
    margin: 0 auto;
  }
}
