:root {
  --navy: #003087;
  --navy-dark: #001f52;
  --green: #00843d;
  --green-light: #00a34d;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --text: #1a1a2e;
  --muted: #5c6578;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0, 48, 135, 0.08);
  --font: "Plus Jakarta Sans", "Roboto", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, #0047ab 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 48, 135, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(0, 48, 135, 0.35);
}

.btn-secondary {
  background: var(--surface);
  color: var(--navy);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--navy);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 14px;
}

.btn-block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 7rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% -20%, rgba(0, 132, 61, 0.12), transparent),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: rgba(0, 132, 61, 0.1);
  color: var(--green);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--navy-dark);
}

.hero h1 span {
  background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 32rem;
  margin: 0 0 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Phone mock */
.phone-wrap {
  display: flex;
  justify-content: center;
}

.phone {
  width: min(280px, 100%);
  background: var(--navy-dark);
  border-radius: 36px;
  padding: 12px;
  box-shadow: 0 32px 64px rgba(0, 31, 82, 0.25);
}

.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  display: flex;
  flex-direction: column;
}

.phone-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
  padding: 1.25rem 1rem 1.5rem;
  color: #fff;
  text-align: center;
}

.phone-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin: 0 auto 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.phone-header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
}

.phone-header p {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  opacity: 0.85;
}

.phone-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mock-card {
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem;
  border: 1px solid var(--border);
  font-size: 0.72rem;
}

.mock-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.mock-card span {
  color: var(--muted);
}

.mock-chip {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(0, 132, 61, 0.12);
  color: var(--green);
}

/* Sections */
section {
  padding: 4.5rem 0;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-dark);
  margin: 0 0 0.75rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0 0 2.5rem;
}

/* Steps */
.steps {
  display: grid;
  gap: 1.5rem;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 48, 135, 0.15);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--navy);
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Features */
.features {
  display: grid;
  gap: 1.25rem;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature:hover {
  border-color: rgba(0, 48, 135, 0.2);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(0, 48, 135, 0.1) 0%, rgba(0, 132, 61, 0.1) 100%);
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--navy);
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Install CTA */
.install {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #004d2e 100%);
  color: #fff;
  border-radius: 24px;
  padding: 3rem 2rem;
  margin: 0 1rem;
}

.install-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.install h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.install > .container > .install-grid > div > p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.qr-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  max-width: 280px;
  margin-inline: auto;
}

.qr-box img.qr {
  width: 180px;
  height: 180px;
  margin: 0 auto 1rem;
  border-radius: 8px;
}

.qr-box p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.install-steps {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.install-steps li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.install-steps li:first-child {
  border-top: none;
}

.install-steps .num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.install .btn-primary {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.install .btn-primary:hover {
  background: #f0f4ff;
}

/* Trust strip */
.trust {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.trust-items span::before {
  content: "✓ ";
  color: var(--green);
}

/* Footer */
.footer {
  padding: 3rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.footer a {
  color: var(--navy);
  font-weight: 600;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-disclaimer {
  max-width: 32rem;
  margin: 1.5rem auto 0;
  font-size: 0.75rem;
  line-height: 1.5;
  opacity: 0.8;
}

/* Mobile sticky CTA */
.mobile-cta {
  display: none;
  position: fixed;
  inset: auto 0 0;
  z-index: 99;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .install-grid {
    grid-template-columns: 1fr 1fr;
  }

  .install {
    margin: 0;
  }
}

@media (min-width: 900px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .mobile-cta {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }

  .nav .btn-secondary {
    display: none;
  }
}
