:root {
  --blue-1: #29c0ff;
  --blue-2: #0290ff;
  --navy: #28327c;
  --violet: #8082ff;
  --grad: linear-gradient(135deg, var(--blue-1), var(--blue-2));

  --bg: #ffffff;
  --bg-alt: #f4f8ff;
  --surface: #ffffff;
  --text: #141a3d;
  --muted: #5a6282;
  --border: #e3e9f5;
  --heading: var(--navy);
  --shadow: 0 20px 50px -20px rgba(2, 64, 160, 0.28);
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1030;
    --bg-alt: #10173d;
    --surface: #151d4a;
    --text: #e8ecff;
    --muted: #a3abd1;
    --border: #243066;
    --heading: #ffffff;
    --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  }
}
:root[data-theme="dark"] {
  --bg: #0b1030;
  --bg-alt: #10173d;
  --surface: #151d4a;
  --text: #e8ecff;
  --muted: #a3abd1;
  --border: #243066;
  --heading: #ffffff;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { color: var(--heading); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 780px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { color: var(--blue-2); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.8em; }
.lead { color: var(--muted); font-size: 1.12rem; max-width: 38em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.85em 1.5em; border-radius: 999px; font-weight: 700; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s;
  border: 2px solid transparent; font-size: 1rem; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(2, 144, 255, .6); }
.btn-ghost { border-color: var(--border); color: var(--heading); background: var(--surface); }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.92rem; }
.theme-toggle {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--heading);
  transition: background .15s, transform .15s;
}
.theme-toggle:hover { background: var(--bg-alt); transform: rotate(-12deg); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .icon-moon { fill: currentColor; stroke: none; }
/* Show the moon in light mode (click → dark) and the sun in dark mode (click → light). */
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
body, .nav, .feature, .plan, .compare-card, .steps li, details, .preview { transition: background-color .25s ease, border-color .25s ease; }
.link-quiet { text-decoration: none; font-weight: 600; color: var(--muted); }
.link-quiet:hover { color: var(--heading); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-text { font-weight: 800; font-size: 1.25rem; color: var(--heading); line-height: 1; display: flex; flex-direction: column; }
.brand-text small { font-size: 0.66rem; font-weight: 500; color: var(--violet); margin-top: 3px; letter-spacing: 0.02em; }
.nav-links { display: none; gap: 28px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--heading); }
.nav-cta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
@media (min-width: 900px) { .nav-links { display: flex; } .nav-cta { margin-left: 12px; } }
.brand-text small { white-space: nowrap; }
@media (max-width: 420px) {
  .link-quiet { display: none; }
  .nav-inner, .nav-cta { gap: 10px; }
  .brand { gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-text { font-size: 1.1rem; }
  .brand-text small { font-size: 0.6rem; }
  .theme-toggle { width: 36px; height: 36px; }
}

/* Hero */
.hero {
  position: relative; padding: 64px 0 80px;
  background:
    radial-gradient(800px 400px at 85% 10%, rgba(41, 192, 255, .18), transparent 60%),
    radial-gradient(600px 400px at 5% 90%, rgba(128, 130, 255, .14), transparent 60%);
}
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; } .hero { padding: 96px 0 110px; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.hero-points li::before { content: "✓"; color: var(--blue-2); font-weight: 800; margin-right: 7px; }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 10px 0 30px; }
.phone {
  width: min(330px, 100%); background: var(--surface); border-radius: 34px; padding: 12px;
  border: 1px solid var(--border); box-shadow: var(--shadow), 0 0 0 8px color-mix(in srgb, var(--surface) 60%, transparent);
  transform: rotate(-2deg);
}
.phone-bar { background: var(--bg-alt); border-radius: 14px; padding: 8px 12px; font-size: 0.78rem; color: var(--muted); text-align: center; }
.phone-bar b { color: #d1477a; }
.store { padding: 16px 6px 6px; }
.store-head { display: flex; justify-content: space-between; align-items: center; }
.store-head strong { font-family: Georgia, serif; font-size: 1.2rem; color: #d1477a; }
.cart-pill { background: #d1477a; color: #fff; font-size: 0.75rem; padding: 3px 9px; border-radius: 99px; font-weight: 700; }
.store-tag { font-size: 0.8rem; color: var(--muted); margin: 4px 0 14px; }
.store-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.p { background: var(--bg-alt); border-radius: 14px; padding: 8px; font-size: 0.78rem; display: flex; flex-direction: column; gap: 2px; position: relative; }
.p span { font-weight: 600; }
.p b { color: var(--heading); }
.p em { position: absolute; top: 14px; left: 14px; background: #fff; color: #b3261e; font-style: normal; font-size: 0.64rem; font-weight: 700; padding: 2px 7px; border-radius: 99px; }
.p-img { aspect-ratio: 1; border-radius: 10px; margin-bottom: 6px; }
.i1 { background: linear-gradient(135deg, #6b3e26, #3b2014); }
.i2 { background: linear-gradient(135deg, #e14b5a, #a61e3a); }
.i3 { background: linear-gradient(135deg, #8a5a3b, #4d2e1b); }
.i4 { background: linear-gradient(135deg, #ffc1d6, #f47fa8); }
.toast {
  position: absolute; bottom: 0; right: 50%; transform: translateX(calc(50% + 90px));
  display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--border);
  padding: 12px 18px; border-radius: 16px; box-shadow: var(--shadow); font-size: 0.85rem;
  animation: pop 0.6s 0.6s both cubic-bezier(.2, 1.4, .4, 1);
}
.toast b { display: block; color: var(--heading); }
.toast small { color: var(--muted); }
.toast-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34, 197, 94, .2); flex: none; }
@media (max-width: 520px) { .toast { transform: translateX(50%); right: 50%; } }
@keyframes pop { from { opacity: 0; transform: translateX(calc(50% + 90px)) translateY(16px) scale(.9); } }
@media (max-width: 520px) { @keyframes pop { from { opacity: 0; transform: translateX(50%) translateY(16px) scale(.9); } } }

/* Sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }

.compare { display: grid; gap: 20px; }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr 1fr; } }
.compare-card { border-radius: var(--radius); padding: 30px; border: 1px solid var(--border); background: var(--surface); }
.compare-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.compare-card li { padding-left: 32px; position: relative; }
.compare-card li::before { position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 0.75rem; font-weight: 800; }
.before li { color: var(--muted); }
.before li::before { content: "✕"; background: rgba(179, 38, 30, .12); color: #d9534f; }
.after { border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.after li::before { content: "✓"; background: var(--grad); color: #fff; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; }
.steps p { color: var(--muted); margin: 0; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 18px; }

.features { display: grid; gap: 18px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: var(--surface); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature p { color: var(--muted); margin: 0; font-size: 0.97rem; }
.f-icon { font-size: 1.6rem; width: 52px; height: 52px; display: grid; place-items: center; background: var(--bg-alt); border-radius: 14px; margin-bottom: 16px; }
.feature.soon { border-style: dashed; }
.badge { display: inline-block; vertical-align: middle; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; background: rgba(128, 130, 255, .16); color: var(--violet); padding: 3px 8px; border-radius: 99px; margin-left: 4px; }
@media (min-width: 1000px) { .feature.soon { grid-column: 2; } }

/* Industries */
.industries { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .industries { grid-template-columns: 1fr 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.chips button {
  font: inherit; font-size: 0.92rem; font-weight: 600; cursor: pointer; color: var(--text);
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 99px; padding: 8px 16px 8px 12px;
  display: inline-flex; align-items: center; gap: 8px; transition: border-color .15s, background .15s;
}
.chips button i { width: 12px; height: 12px; border-radius: 50%; background: var(--chip); }
.chips button:hover { border-color: var(--chip); }
.chips button[aria-selected="true"] { border-color: var(--chip); background: color-mix(in srgb, var(--chip) 12%, var(--surface)); }
.preview { --pv-accent: #d1477a; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.preview-bar { display: flex; gap: 6px; padding: 12px 16px; background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.preview-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.preview-body { padding: 24px; }
.preview-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.pv-name { font-family: var(--pv-font); color: var(--pv-accent); font-size: 1.2rem; transition: color .3s; }
.pv-btn { background: var(--pv-accent); color: #fff; padding: 6px 14px; border-radius: 99px; font-size: 0.8rem; font-weight: 700; transition: background .3s; }
.pv-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 0 0 6px; }
.pv-tagline { font-family: var(--pv-font); font-size: 1.7rem; margin-bottom: 28px; }
.pv-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pv-row div { aspect-ratio: 3/4; border-radius: 12px; background: color-mix(in srgb, var(--pv-accent) 22%, var(--bg-alt)); transition: background .3s; }
.pv-row div:nth-child(2) { background: color-mix(in srgb, var(--pv-accent) 40%, var(--bg-alt)); }

/* Pricing */
.plans { display: grid; gap: 20px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px;
}
.plan h3 { font-size: 1.3rem; margin-bottom: 4px; }
.plan-for { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.price { color: var(--muted); font-weight: 600; margin-bottom: 24px; }
.price span { font-size: 2.6rem; font-weight: 800; color: var(--heading); letter-spacing: -0.03em; margin-right: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; font-size: 0.97rem; }
.plan li { padding-left: 28px; position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-2); font-weight: 800; }
.plan .btn { width: 100%; }
.plan.featured {
  border: 2px solid transparent;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow);
}
@media (min-width: 900px) { .plan.featured { transform: scale(1.04); } }
.plan-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 4px 14px; border-radius: 99px; white-space: nowrap;
}
.plans-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin: 32px 0 0; }

/* FAQ */
details { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); margin-bottom: 12px; }
summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 700; color: var(--heading); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--blue-2); transition: transform .2s; }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* CTA band */
.cta-band { background: var(--grad); color: #fff; padding: 80px 0; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 80% 0, rgba(255,255,255,.25), transparent 60%), radial-gradient(500px 300px at 10% 100%, rgba(40,50,124,.35), transparent 60%); }
.cta-inner { position: relative; }
.cta-band h2 { color: #fff; max-width: 720px; margin: 0 auto 0.4em; }
.cta-band p { font-size: 1.15rem; opacity: .92; margin-bottom: 28px; }

/* Footer */
.footer { padding: 36px 0; border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.footer p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
