/* ============================================================
   MSG99 — vibrant modern SaaS theme.
   WhatsApp-green + blue gradients, glass cards, soft depth, motion.
   Brand colours via CSS variables (swap to match final logo).
   ============================================================ */
:root {
  --brand: #1a5fd8;          /* MSG99 primary blue */
  --brand-dark: #1447a8;
  --brand-light: #3f82f7;
  --accent: #25d366;         /* WhatsApp green */
  --accent-dark: #12a150;
  --accent-deep: #04331a;

  --grad: linear-gradient(135deg, #1a5fd8 0%, #25d366 100%);
  --grad-soft: linear-gradient(135deg, #eef4ff 0%, #eafff3 100%);
  --grad-blue: linear-gradient(135deg, #1447a8, #3f82f7);

  --ink: #0b1220;
  --body: #465066;
  --muted: #6b7688;
  --line: #e8edf6;
  --bg: #ffffff;
  --bg-alt: #f4f8fe;
  --card: #ffffff;
  --glass: rgba(255, 255, 255, .72);

  --shadow-sm: 0 2px 10px rgba(16, 42, 90, .06);
  --shadow: 0 12px 34px rgba(16, 42, 90, .10);
  --shadow-lg: 0 26px 60px rgba(16, 42, 90, .16);
  --shadow-brand: 0 14px 34px rgba(26, 95, 216, .34);
  --shadow-accent: 0 14px 34px rgba(37, 211, 102, .34);

  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --maxw: 1160px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --head: 'Sora', var(--font);
}
[data-theme="dark"] {
  --ink: #f3f6fc;
  --body: #b6c2d6;
  --muted: #8b98ae;
  --line: #223049;
  --bg: #070d1a;
  --bg-alt: #0d1728;
  --card: #101c33;
  --glass: rgba(16, 28, 51, .6);
  --brand-light: #6aa1ff;
  --grad-soft: linear-gradient(135deg, #0e1a30, #0c2418);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .3);
  --shadow: 0 12px 34px rgba(0, 0, 0, .4);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, .5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.14; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--brand); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--brand-dark); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 800px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--brand); background: color-mix(in srgb, var(--brand) 10%, transparent);
  padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }

.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 12px; top: 12px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font); font-weight: 650; font-size: .96rem;
  padding: .82rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, filter .18s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); background-size: 140% 140%; }
.btn-primary:hover { color: #fff; box-shadow: var(--shadow-accent); background-position: 100% 0; }
.btn-ghost { background: var(--card); color: var(--brand); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--brand-dark); border-color: var(--brand-light); }
.btn-light { background: #fff; color: var(--brand); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.btn-light:hover { color: var(--brand-dark); }
.btn-lg { padding: .98rem 2.1rem; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* ---------------- header ---------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.brand img { height: 40px; width: auto; }
.nav-list { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--body); font-weight: 550; font-size: .96rem; position: relative; }
.nav-list a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--grad); border-radius: 2px; transition: width .2s ease; }
.nav-list a:hover { color: var(--brand); }
.nav-list a:hover::after { width: 100%; }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.theme-toggle { background: var(--card); border: 1px solid var(--line); border-radius: 999px; width: 40px; height: 40px; cursor: pointer; font-size: 1rem; transition: transform .2s; }
.theme-toggle:hover { transform: rotate(-15deg); }
.nav-toggle { display: none; background: transparent; border: 0; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; border-radius: 2px; }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(760px 420px at 82% -8%, rgba(37, 211, 102, .20), transparent 60%),
  radial-gradient(720px 500px at 8% 8%, rgba(63, 130, 247, .18), transparent 60%); }
.hero-blob { position: absolute; z-index: -1; filter: blur(60px); opacity: .5; border-radius: 50%; }
.hero-blob.b1 { width: 320px; height: 320px; background: var(--accent); top: -60px; right: 12%; opacity: .22; }
.hero-blob.b2 { width: 360px; height: 360px; background: var(--brand-light); bottom: -120px; left: -60px; opacity: .18; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.2rem; align-items: center; }
.hero-sub { font-size: 1.16rem; color: var(--body); max-width: 35rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.8rem 0 1.4rem; }
.hero-trust { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.trust-avatars { display: flex; }
.trust-avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: #fff; background: var(--grad-blue); }
.trust-avatars span:first-child { margin-left: 0; }
.trust-text { font-size: .88rem; color: var(--muted); }
.trust-text strong { color: var(--ink); }
.stars { color: #f5b90a; letter-spacing: 1px; }

/* phone mockup */
.hero-visual { display: flex; justify-content: center; position: relative; }
.phone { position: relative; width: 300px; background: var(--grad-blue); border-radius: 34px; padding: 16px; box-shadow: var(--shadow-lg); }
.phone-screen { background: #e6ddd4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 0h40v40H0z' fill='%23dfd7cc'/%3E%3C/svg%3E"); border-radius: 24px; padding: 16px 14px; min-height: 380px; display: flex; flex-direction: column; gap: 10px; }
.phone-top { display: flex; align-items: center; gap: 10px; background: #075e54; margin: -16px -14px 6px; padding: 14px; border-radius: 24px 24px 0 0; color: #fff; }
.phone-top .pic { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.phone-top .who { font-size: .85rem; font-weight: 700; line-height: 1.1; }
.phone-top .who span { font-size: .68rem; font-weight: 400; opacity: .8; }
.chat-bubble { padding: 9px 13px; border-radius: 12px; font-size: .84rem; max-width: 82%; color: #0b1220; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.14); position: relative; }
.chat-bubble.out { align-self: flex-end; background: #d9fdd3; }
.chat-bubble .tick { color: #34b7f1; font-size: .7rem; margin-left: 4px; }
.float-badge { position: absolute; background: var(--glass); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 14px; padding: .6rem .9rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 650; color: var(--ink); }
.float-badge .dot { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font-size: .95rem; }
.float-badge.fb1 { top: -20px; left: -24px; animation: floaty 4s ease-in-out infinite; }
.float-badge.fb1 .dot { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.float-badge.fb2 { bottom: 42px; right: -30px; animation: floaty 4s ease-in-out infinite .8s; }
.float-badge.fb2 .dot { background: color-mix(in srgb, var(--brand) 18%, transparent); }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* software / campaign-dashboard mockup */
.app-window { width: 100%; max-width: 540px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.app-bar .wd { width: 11px; height: 11px; border-radius: 50%; }
.wd.r { background: #ff5f57; } .wd.y { background: #febc2e; } .wd.g { background: #28c840; }
.app-url { margin-left: 10px; font-size: .74rem; color: var(--muted); font-weight: 600; }
.app-body { display: grid; grid-template-columns: 58px 1fr; min-height: 296px; }
.app-side { background: var(--grad-blue); display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 16px 0; }
.app-logo { width: 32px; height: 32px; border-radius: 9px; background: rgba(255,255,255,.2); color: #fff; display: grid; place-items: center; font-family: var(--head); font-weight: 800; }
.app-nav { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.24); }
.app-nav.on { background: #fff; }
.app-main { padding: 18px 20px; display: flex; flex-direction: column; gap: 16px; }
.app-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.app-top b { font-family: var(--head); font-size: 1.02rem; color: var(--ink); display: block; }
.app-top small { color: var(--muted); font-size: .8rem; }
.app-live { font-size: .7rem; font-weight: 700; color: var(--accent-dark); background: color-mix(in srgb, var(--accent) 16%, transparent); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.app-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.app-kpi { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px; padding: 12px 8px; text-align: center; }
.app-kpi b { font-family: var(--head); font-size: 1.3rem; color: var(--ink); display: block; }
.app-kpi small { color: var(--muted); font-size: .72rem; }
.app-kpi.hot b { color: var(--accent-dark); }
.app-chart { display: flex; align-items: flex-end; gap: 8px; height: 92px; }
.app-chart i { flex: 1; height: var(--h); background: var(--grad); border-radius: 6px 6px 0 0; opacity: .88; }

/* small phone floating over the dashboard */
.floaty-phone { position: absolute; right: -12px; bottom: -22px; width: 158px; padding: 8px; border-radius: 24px; box-shadow: var(--shadow-lg); animation: floaty 4.5s ease-in-out infinite; }
.floaty-phone .phone-screen { min-height: 0; padding: 10px 9px; border-radius: 17px; gap: 7px; }
.floaty-phone .phone-top { margin: -8px -9px 4px; padding: 9px; border-radius: 17px 17px 0 0; gap: 6px; }
.floaty-phone .phone-top .pic { width: 24px; height: 24px; font-size: .6rem; }
.floaty-phone .phone-top .who { font-size: .64rem; }
.floaty-phone .phone-top .who span { font-size: .5rem; }
.floaty-phone .chat-bubble { font-size: .64rem; padding: 6px 9px; border-radius: 9px; }

/* ---------------- trusted strip ---------------- */
.trusted { padding: 1.8rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.trusted p { text-align: center; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 700; color: var(--muted); margin: 0 0 1rem; }
.trusted-row { display: flex; flex-wrap: wrap; gap: 1.4rem 2.4rem; justify-content: center; align-items: center; }
.trusted-row span { font-family: var(--head); font-weight: 700; font-size: 1.15rem; color: var(--muted); opacity: .8; }

/* ---------------- stats band ---------------- */
.stats-band { background: var(--grad); color: #fff; padding: 2.6rem 0; position: relative; overflow: hidden; }
.stats-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 200px at 90% 120%, rgba(255,255,255,.18), transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; position: relative; }
.stat-num { font-family: var(--head); font-size: 2.3rem; font-weight: 800; }
.stat-label { opacity: .9; font-size: .92rem; }

/* ---------------- sections ---------------- */
.section { padding: clamp(3.4rem, 6.5vw, 6rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 3rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.feature-card .feature-icon { font-size: 1.7rem; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 1.1rem; background: var(--grad-soft); box-shadow: inset 0 0 0 1px var(--line); }
.feature-card h3 { margin-bottom: .45rem; }
.feature-card p { color: var(--muted); margin: 0; font-size: .97rem; }

.steps .step { text-align: left; position: relative; overflow: hidden; }
.steps .step::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--grad); }
.step-num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #fff; font-family: var(--head); font-weight: 800; margin-bottom: 1rem; box-shadow: var(--shadow-brand); }

/* ---------------- pricing ---------------- */
.pricing-grid { align-items: stretch; }
.plan-card { display: flex; flex-direction: column; position: relative; }
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan-featured { border: 1.5px solid transparent; background:
  linear-gradient(var(--card), var(--card)) padding-box,
  var(--grad) border-box; box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .7rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; box-shadow: var(--shadow-brand); }
.plan-price { font-family: var(--head); font-size: 2.3rem; font-weight: 800; color: var(--ink); margin: .3rem 0; }
.plan-price span { font-size: .9rem; font-weight: 500; color: var(--muted); }
.plan-limit { color: var(--brand); font-weight: 650; font-size: .92rem; }
.plan-features { list-style: none; padding: 0; margin: 1.1rem 0 1.5rem; flex: 1; }
.plan-features li { padding: .42rem 0 .42rem 1.7rem; position: relative; font-size: .92rem; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; top: .42rem; color: #fff; font-weight: 700; font-size: .62rem; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }

/* ---------------- testimonials ---------------- */
.testimonial { display: flex; flex-direction: column; gap: 1rem; }
.testimonial .stars { font-size: .95rem; }
.testimonial .quote { font-size: 1.03rem; color: var(--ink); margin: 0; }
.testimonial .who { display: flex; align-items: center; gap: .75rem; margin-top: auto; }
.testimonial .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; flex-shrink: 0; }
.testimonial .who b { color: var(--ink); display: block; font-size: .95rem; }
.testimonial .who span { color: var(--muted); font-size: .84rem; }

/* ---------------- faq ---------------- */
.faq { display: flex; flex-direction: column; gap: .8rem; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md); padding: .3rem 1.3rem; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: color-mix(in srgb, var(--brand) 35%, var(--line)); box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; font-weight: 650; color: var(--ink); padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: var(--brand); font-weight: 400; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 1rem; color: var(--muted); }

/* ---------------- CTA band ---------------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 240px at 15% 0%, rgba(255,255,255,.22), transparent), radial-gradient(500px 240px at 85% 120%, rgba(255,255,255,.16), transparent); }
.cta-inner { position: relative; }
.cta-band h2 { color: #fff; }
.cta-inner p { opacity: .94; max-width: 40rem; margin: 0 auto 1.6rem; font-size: 1.08rem; }

/* ---------------- page hero / prose ---------------- */
.page-hero { position: relative; padding: clamp(3rem, 5vw, 4.6rem) 0 2rem; background: var(--grad-soft); border-bottom: 1px solid var(--line); text-align: center; overflow: hidden; }
.page-hero p { color: var(--body); max-width: 42rem; margin: 0 auto; font-size: 1.1rem; }
.center-hero { padding-bottom: 4.5rem; }
.prose { font-size: 1.04rem; }
.prose h2 { margin-top: 2.2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin: .45rem 0; }

/* ---------------- blog ---------------- */
.blog-search { display: flex; gap: .5rem; max-width: 480px; margin: 1.6rem auto 0; }
.blog-search input { flex: 1; padding: .8rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.post-card { display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card h3 { margin: .6rem 0; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { color: var(--muted); font-size: .96rem; }
.post-tags { display: flex; gap: .4rem; flex-wrap: wrap; }
.post-tags span { font-size: .7rem; font-weight: 700; color: var(--brand); background: color-mix(in srgb, var(--brand) 9%, transparent); padding: 4px 11px; border-radius: 999px; }
.read-more { font-weight: 650; font-size: .9rem; margin-top: auto; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 1rem; }
.post-title { margin-top: .6rem; }
.post-meta { color: var(--muted); font-size: .9rem; }
.post-body { margin: 1.6rem 0; }
.post-body h2 { margin-top: 2rem; }
.post-cta { text-align: center; margin-top: 2.6rem; background: var(--grad-soft); border: 1px solid var(--line); }

/* ---------------- contact ---------------- */
.contact-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 1.6rem; align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 1.2rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 650; font-size: .9rem; margin-bottom: .35rem; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); font-family: inherit; font-size: .96rem; transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 15%, transparent); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: .35rem 0 .35rem 1.7rem; position: relative; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .45rem; color: #fff; font-weight: 700; font-size: .62rem; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.form-status { font-weight: 650; margin-top: .8rem; }
.form-status.ok { color: var(--accent-dark); }
.form-status.err { color: #d92d20; }
.form-note { font-size: .82rem; margin-top: .6rem; }

/* ---------------- footer ---------------- */
.site-footer { background: #060c18; color: #aeb9cc; padding: 3.4rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2rem; }
.footer-logo { font-family: var(--head); font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: .6rem; }
.footer-logo span { color: var(--accent); }
.footer-brand p { font-size: .92rem; color: #8b98ae; max-width: 22rem; }
.footer-contact a { color: #cbd5e1; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin: .48rem 0; }
.footer-col a { color: #8b98ae; font-size: .92rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #18233a; margin-top: 2.4rem; padding-top: 1.4rem; }
.footer-bottom p { font-size: .8rem; color: #64748b; margin: 0; }

/* ---------------- footer subscribe ---------------- */
.footer-subscribe { margin-top: 1.2rem; }
.footer-subscribe label { display: block; font-size: .82rem; font-weight: 600; color: #cbd5e1; margin-bottom: .5rem; }
.subscribe-row { display: flex; gap: .5rem; }
.subscribe-row input { flex: 1; min-width: 0; padding: .6rem .8rem; border: 1px solid #24314a; border-radius: 999px; background: #0d1728; color: #fff; font-size: .88rem; }
.subscribe-row .btn { padding: .6rem 1.1rem; font-size: .85rem; }
.subscribe-status { font-size: .8rem; margin: .5rem 0 0; min-height: 1em; }
.subscribe-status.ok { color: #6ee7a8; }
.subscribe-status.err { color: #fca5a5; }

/* ---------------- lead popup ---------------- */
.lead-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.lead-modal.open { display: flex; }
.lead-modal-overlay { position: absolute; inset: 0; background: rgba(6, 12, 24, .6); backdrop-filter: blur(3px); }
.lead-modal-card { position: relative; width: 100%; max-width: 440px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 2rem; animation: popIn .25s ease; max-height: 92vh; overflow-y: auto; }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.lead-modal-x { position: absolute; top: 12px; right: 16px; background: none; border: 0; font-size: 1.7rem; line-height: 1; color: var(--muted); cursor: pointer; }
.lead-modal-x:hover { color: var(--ink); }
.lead-modal-head { text-align: center; margin-bottom: 1.2rem; }
.lead-modal-head h3 { margin: .3rem 0 .4rem; }
.lead-modal-head p { color: var(--muted); font-size: .94rem; margin: 0; }
.lead-modal .field { margin-bottom: .7rem; }
.lead-modal input, .lead-modal textarea { width: 100%; padding: .75rem .95rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font-family: inherit; font-size: .95rem; }
.lead-modal input:focus, .lead-modal textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 15%, transparent); }
.lead-consent { display: flex; gap: .55rem; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: .3rem 0 1rem; }
.lead-consent input { width: auto; margin-top: 3px; }
.lead-modal-status { font-weight: 600; text-align: center; margin: .7rem 0 0; min-height: 1em; }
.lead-modal-status.ok { color: var(--accent-dark); }
.lead-modal-status.err { color: #d92d20; }

/* ---------------- responsive ---------------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 0; }
  .hero-visual { order: 1; margin-top: 1rem; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: flex; }
  .nav-list { position: absolute; top: 74px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 1rem 22px; border-bottom: 1px solid var(--line); gap: .3rem; display: none; box-shadow: var(--shadow); }
  .main-nav.open .nav-list { display: flex; }
  .float-badge.fb1 { top: 10px; left: 4px; }
  .float-badge.fb2 { bottom: 24px; right: 4px; }
}
@media (max-width: 560px) {
  .grid-3, .grid-4, .stats-grid, .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-cta .btn-ghost { display: none; }
  .plan-featured { transform: none; }
  /* Keep the hero mockup tidy and fully on-screen; extras are decorative. */
  .phone { width: 100%; max-width: 288px; }
  .float-badge, .floaty-phone { display: none; }
}
