:root {
  --bg-rgb: 247,249,252;
  --bg: rgb(var(--bg-rgb));
  --bg-soft: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f3f6fb;
  --border: #dde3ee;
  --text: #101828;
  --text-dim: #57607a;
  --blue: #3b82f6;
  --blue-light: #2563eb;
  --green: #16803c;
  --overlay-1: rgba(15,23,42,.04);
  --overlay-2: rgba(15,23,42,.08);
  --glow-opacity: .18;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(15,23,42,.10);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg-rgb: 11,18,32;
    --bg-soft: #0f1a2e;
    --surface: #121d33;
    --surface-2: #16233c;
    --border: #223054;
    --text: #eaf0fb;
    --text-dim: #9fb0cc;
    --blue-light: #60a5fa;
    --green: #22c55e;
    --overlay-1: rgba(255,255,255,.04);
    --overlay-2: rgba(255,255,255,.08);
    --glow-opacity: .35;
    --shadow: 0 20px 50px rgba(0,0,0,.35);
  }
}

:root[data-theme="dark"] {
  --bg-rgb: 11,18,32;
  --bg-soft: #0f1a2e;
  --surface: #121d33;
  --surface-2: #16233c;
  --border: #223054;
  --text: #eaf0fb;
  --text-dim: #9fb0cc;
  --blue-light: #60a5fa;
  --green: #22c55e;
  --overlay-1: rgba(255,255,255,.04);
  --overlay-2: rgba(255,255,255,.08);
  --glow-opacity: .35;
  --shadow: 0 20px 50px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); text-align: center; }
p { color: var(--text-dim); margin: 0 0 1em; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .75em 1.4em;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; flex-shrink: 0; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), #2563eb);
  color: #fff;
  box-shadow: 0 8px 24px rgba(59,130,246,.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(59,130,246,.45); }
.btn-ghost {
  background: var(--overlay-1);
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover { background: var(--overlay-2); }
.btn-lg { padding: .9em 1.7em; font-size: 1.02rem; }

/* Sticky call button (mobile) */
.skip-call {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 60;
  display: none;
  align-items: center;
  gap: .5em;
  background: linear-gradient(135deg, var(--green), #16a34a);
  color: #05170a;
  font-weight: 700;
  padding: .85em 1.2em;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(34,197,94,.45);
}
.skip-call svg { width: 1.2em; height: 1.2em; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(var(--bg-rgb), .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.logo span { color: var(--blue-light); }
.logo-mark {
  width: 30px;
  height: 30px;
  color: var(--blue-light);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: .92rem;
  color: var(--text-dim);
}
.nav-links a:hover { color: var(--text); }
.nav-cta { font-size: .85rem; padding: .6em 1.1em; }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--overlay-1);
  color: var(--text-dim);
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle:hover { background: var(--overlay-2); color: var(--text); }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--overlay-1);
  color: var(--text-dim);
  cursor: pointer;
  flex-shrink: 0;
}
.menu-toggle:hover { background: var(--overlay-2); color: var(--text); }
.menu-toggle svg { width: 20px; height: 20px; }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: block; }
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 70px;
}
.hero-glow {
  position: absolute;
  top: -200px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,var(--glow-opacity)), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  color: var(--blue-light);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1em;
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  letter-spacing: -.02em;
}
.accent { color: var(--blue-light); }
.hero .lead {
  font-size: 1.1rem;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 40px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.6rem; color: var(--text); }
.hero-stats span { font-size: .82rem; color: var(--text-dim); max-width: 16ch; }

.hero-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.hero-card-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: .92rem;
  color: var(--text-dim);
}
.hero-card-row:last-of-type { border-bottom: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-dim); flex-shrink: 0; }
.dot-blue { background: var(--blue-light); }
.dot-green { background: var(--green); }
.hero-card-price {
  margin-top: 18px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(59,130,246,.1);
  border: 1px solid rgba(59,130,246,.25);
  font-size: .88rem;
  color: var(--text);
}

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-soft); }
.section-lead {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 48px;
}

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--blue); }
.card .icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3 { font-size: 1.1rem; }
.card p { margin: 0; font-size: .92rem; }

.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.feature h3 { font-size: 1.15rem; color: var(--text); }
.feature p { margin: 0; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  text-align: center;
  padding: 20px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #2563eb);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .9rem; margin: 0; }

.review {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.review p { color: var(--text); font-style: italic; }
.review-name { color: var(--blue-light); font-weight: 600; font-size: .9rem; }

/* Pill lists (brands / service area) */
.pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pill {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .55em 1.2em;
  font-size: .9rem;
  color: var(--text-dim);
}
.pill-accent {
  background: rgba(59,130,246,.12);
  border-color: rgba(59,130,246,.4);
  color: var(--text);
  font-weight: 600;
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--blue-light);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 14px 0 0; font-size: .92rem; }

/* CTA / Form */
.cta { padding-bottom: 100px; }
.cta-inner {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta h2 { text-align: left; }
.cta p { max-width: 42ch; }

.cta-call {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.cta-call-note { font-size: .85rem; color: var(--text-dim); }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  background: var(--bg-soft);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 24px;
}
.footer-inner p { margin-top: 8px; font-size: .9rem; }
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.footer-contact a { font-weight: 700; font-size: 1.1rem; color: var(--text); }
.footer-contact span { font-size: .85rem; color: var(--text-dim); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: .82rem;
  color: var(--text-dim);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { grid-template-columns: 1fr; padding: 32px; }
  .cta h2, .cta p { text-align: left; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .6em 0; }
  .skip-call { display: inline-flex; }
}

@media (max-width: 560px) {
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .hero { padding: 60px 0 50px; }
  .section { padding: 56px 0; }
  .footer-inner { flex-direction: column; }
  .footer-contact { align-items: flex-start; }
}
