/* ===========================================================
   BuzzRelay — public site styles
   =========================================================== */
:root {
  /* Tells the browser this page manages its own colors, so it won't apply
     automatic "force dark" to form controls (a common cause of invisible
     typed text in mobile inputs) — re-enabled for the real dark theme below. */
  color-scheme: light;
  --green: #128C7E;
  --green-2: #25D366;
  --green-dark: #075E54;
  --ink: #0f1e2e;
  --ink-soft: #35495e;
  --muted: #6b7a8d;
  --line: #e6ecf1;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --bg-tint: #eefaf6;
  --white: #fff;
  --card: #ffffff;          /* elevated surfaces (cards, header, frames) */
  --card-2: #f5f8fa;        /* inset surfaces */
  --header-bg: rgba(255,255,255,.9);
  --bar: #f1f5f7;           /* browser bar / thumbs */
  --line-strong: #e6ecf1;   /* light-mode fallback for the dark-only "visible border on inset surfaces" variable */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(15,30,46,.06);
  --shadow: 0 12px 34px rgba(15,30,46,.10);
  --shadow-lg: 0 30px 70px rgba(15,30,46,.18);
  --maxw: 1160px;
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font-body); color: var(--ink);
  background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .4em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container.narrow { max-width: 860px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--green);
  background: var(--bg-tint); padding: 6px 14px; border-radius: 30px; margin-bottom: 14px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 15px; cursor: pointer;
  border: 0; border-radius: 12px; padding: 12px 22px; margin: 2px; /* breathing room so edges never clip */
  background-clip: padding-box; -webkit-background-clip: padding-box;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s; white-space: nowrap; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--green-2), var(--green)); color: #fff; box-shadow: 0 8px 22px rgba(18,140,126,.28); }
.btn-primary:hover { box-shadow: 0 14px 30px rgba(18,140,126,.38); transform: translateY(-2px); filter: brightness(1.03); }
.btn-ghost { background: var(--card, #fff); color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--green); color: var(--green); }
.btn-white { background: #fff; color: var(--green-dark); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { display: flex; width: calc(100% - 4px); }
.btn:disabled, .btn[disabled] {
  background: var(--line, #dde3ea); color: var(--muted, #94a3b8);
  box-shadow: none; cursor: not-allowed; opacity: .7;
}
.btn:disabled:hover, .btn[disabled]:hover { box-shadow: none; transform: none; filter: none; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 20px; color: var(--ink); }
.brand img { height: 30px; width: auto; }
.main-nav { display: flex; gap: 26px; margin-left: 12px; }
.main-nav a { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: var(--green); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.cur-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.cur-switch button { border: 0; background: #fff; padding: 7px 12px; font-weight: 700; font-size: 13px; color: var(--muted); cursor: pointer; }
.cur-switch button.active { background: var(--green); color: #fff; }
.cur-switch.inline { vertical-align: middle; margin-left: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(37,211,102,.14), transparent 60%),
    radial-gradient(700px 500px at 5% 10%, rgba(18,140,126,.10), transparent 55%),
    linear-gradient(180deg, #f7fbfa, #ffffff 70%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero-badge {
  display: inline-block; background: #fff; border: 1px solid var(--line); color: var(--green-dark);
  font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 30px; margin-bottom: 20px; box-shadow: var(--shadow-sm);
}
.hero-title { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; letter-spacing: -.02em; }
.hero-sub { font-size: 18px; color: var(--ink-soft); max-width: 560px; margin: 18px 0 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
/* Price line under the CTAs — same DB price/currency as the pricing card, kept
   smaller so it supports the buttons instead of competing with the headline. */
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 22px 0 0; }
.hero-price-now { font-family: var(--font-head); font-weight: 800; font-size: 30px; color: var(--ink); }
.hero-price-was { font-size: 17px; color: var(--muted); text-decoration: line-through; }
.hero-price-note { font-size: 14px; color: var(--ink-soft); }
.hero-trust { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-trust li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.hero-trust svg { width: 18px; height: 18px; color: var(--green); background: var(--bg-tint); border-radius: 50%; padding: 3px; }

.hero-visual { position: relative; }
.hero-glow {
  position: absolute; inset: -14% -10%; z-index: 0;
  background:
    radial-gradient(closest-side, rgba(37,211,102,.42), transparent 72%),
    radial-gradient(closest-side at 30% 70%, rgba(18,140,126,.32), transparent 70%);
  filter: blur(46px); opacity: .9;
  animation: heroGlow 7s ease-in-out infinite;
}
@keyframes heroGlow { 0%,100%{ transform: scale(1); opacity:.85; } 50%{ transform: scale(1.08); opacity:1; } }
.app-frame {
  position: relative; z-index: 1; background: var(--card); border: 1px solid var(--line);
  border-radius: 8px; overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(37,211,102,.12), 0 22px 60px -18px rgba(37,211,102,.45);
}
.app-frame img { width: 100%; display: block; }
.float-card {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line);
  border-radius: 6px; box-shadow: var(--shadow); padding: 12px 16px; display: flex; align-items: center; gap: 10px;
}
.float-rating { top: 16px; left: -26px; flex-direction: column; align-items: flex-start; }
.float-rating strong { font-size: 20px; font-family: var(--font-head); }
.float-rating span { font-size: 12px; color: var(--muted); }
.float-sent { bottom: 22px; right: -20px; }
.float-sent .fc-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-tint); color: var(--green); display: grid; place-items: center; font-weight: 800; }
.float-sent strong { display: block; font-family: var(--font-head); font-size: 17px; }
.float-sent span { font-size: 12px; color: var(--muted); }
.stars { display: inline-flex; gap: 2px; }
.stars .star { width: 16px; height: 16px; fill: #d7dee3; }
.stars .star.on { fill: #ffb100; }

/* ---- Stats band ---- */
.stats-band { background: var(--green-dark); color: #fff; padding: 28px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align: center; }
.stat-value { display: block; font-family: var(--font-head); font-weight: 800; font-size: 30px; }
.stat-label { color: #bfe6df; font-size: 14px; }

/* ---- Sections ---- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

/* ---- Features ---- */
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.feature-card { position: relative; isolation: isolate; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feature-icon {
  position: relative; width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--green-2), var(--green)); display: grid; place-items: center;
  margin-bottom: 18px; box-shadow: 0 10px 22px -6px rgba(37,211,102,.55);
  transition: box-shadow .25s, transform .25s;
}
.feature-icon::before {
  content: ""; position: absolute; inset: -8px; border-radius: 20px; z-index: -1;
  background: radial-gradient(circle at 50% 45%, rgba(37,211,102,.55), transparent 70%);
  filter: blur(10px); opacity: .75; transition: opacity .25s;
}
.feature-card:hover .feature-icon { transform: translateY(-2px); box-shadow: 0 14px 30px -6px rgba(37,211,102,.7); }
.feature-card:hover .feature-icon::before { opacity: 1; }
.feature-icon svg { width: 26px; height: 26px; color: #fff; }
.feature-card h3 { font-size: 18px; }
.feature-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ---- Highlight ---- */
.highlight { padding: 40px 0 72px; }
.highlight-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.highlight-item { text-align: center; padding: 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--bg-tint), #fff); border: 1px solid var(--line); }
.hl-icon { font-size: 34px; margin-bottom: 10px; }
.highlight-item h3 { font-size: 19px; }
.highlight-item p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ---- Demo video ---- */
/* The facade and the iframe that replaces it share one box, so the swap on
   click can't shift the page (no CLS on the main landing page). */
.video-facade, .video-embed {
  display: block; width: 100%; max-width: 960px; margin: 0 auto;
  /* Tighter than var(--radius) (16px) on purpose, and matched to the radius of
     the app window baked into the poster image so the two don't disagree. */
  aspect-ratio: 16 / 9; border-radius: 8px;
  border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow-lg); background: #000;
}
.video-embed { border: 0; }
.video-facade { position: relative; padding: 0; cursor: pointer; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-facade::after {
  /* Darkens the poster slightly so the play button and duration stay legible
     over a bright dashboard screenshot. */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,94,84,.18), rgba(15,30,46,.42));
  transition: opacity .25s; opacity: .85;
}
.video-facade:hover::after { opacity: .6; }
.video-play {
  position: absolute; inset: 0; margin: auto; z-index: 1;
  width: 78px; height: 78px; display: grid; place-items: center;
  border-radius: 50%; background: var(--green-2); color: #fff;
  box-shadow: 0 10px 34px rgba(0,0,0,.35);
  transition: transform .2s ease, background .2s ease;
}
.video-play svg { width: 34px; height: 34px; margin-left: 3px; }
.video-facade:hover .video-play { transform: scale(1.09); background: var(--green); }
.video-facade:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; }
.video-dur {
  position: absolute; right: 14px; bottom: 14px; z-index: 1;
  font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(15,30,46,.75); padding: 4px 10px; border-radius: 6px;
}
.hero-demo-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-weight: 600; font-size: 15px; color: var(--ink-soft);
}
.hero-demo-play {
  width: 30px; height: 30px; display: grid; place-items: center; flex: none;
  border-radius: 50%; background: var(--green-2); color: #fff;
  transition: transform .2s ease;
}
.hero-demo-play svg { width: 15px; height: 15px; margin-left: 2px; }
.hero-demo-link:hover { color: var(--green); }
.hero-demo-link:hover .hero-demo-play { transform: scale(1.12); }

/* ---- Screenshots ---- */
.shots { display: grid; grid-template-columns: 1fr; gap: 22px; }
.shots-main { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background:#fff; }
.shots-main img { width: 100%; }
.shots-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; color: #fff; font-weight: 600; background: linear-gradient(0deg, rgba(7,94,84,.85), transparent); }
.shots-thumbs { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; }
.shot-thumb { padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; background: #fff; aspect-ratio: 16/10; }
.shot-thumb img { width: 100%; height: 100%; object-fit: cover; }
.shot-thumb.active { border-color: var(--green); box-shadow: 0 6px 16px rgba(18,140,126,.25); }

/* ---- Testimonials ---- */
.testi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.testi-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.testi-card blockquote { margin: 12px 0 18px; font-size: 15px; color: var(--ink-soft); flex: 1; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-head); font-weight: 800; display: grid; place-items: center; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-card figcaption strong { display: block; font-size: 15px; }
.testi-card figcaption span { font-size: 13px; color: var(--muted); }

/* ---- Pricing ---- */
.pricing-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: start; max-width: 960px; margin: 0 auto; }
.price-card { position: relative; background: #fff; border: 2px solid var(--green); border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); transition: transform .25s ease, box-shadow .25s ease; }
.price-card:hover { transform: translateY(-6px); box-shadow: 0 30px 70px -12px rgba(18,140,126,.35), var(--shadow-lg); }
.price-ribbon { position: absolute; top: -14px; left: 34px; background: var(--green); color: #fff; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 20px; }
.price-card h3 { font-size: 20px; margin-top: 6px; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 10px 0; }
.price-now { font-family: var(--font-head); font-weight: 800; font-size: 46px; color: var(--ink); }
.price-was { font-size: 22px; color: var(--muted); text-decoration: line-through; }
.price-note { color: var(--muted); margin-bottom: 20px; }
.pay-badges { text-align: center; color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.plan-list { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.plan-list svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; margin-top: 3px; }
.price-aside h4 { font-size: 18px; }
.aside-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.aside-list li { font-size: 15px; color: var(--ink-soft); padding-left: 26px; position: relative; }
.aside-list li::before { content: "→"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.guarantee { display: flex; gap: 14px; background: var(--bg-tint); border-radius: var(--radius); padding: 18px; }
.guarantee svg { width: 34px; height: 34px; color: var(--green); flex-shrink: 0; }
.guarantee strong { display: block; } .guarantee span { font-size: 14px; color: var(--ink-soft); }

/* ---- FAQ ---- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 20px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 0; font-family: var(--font-head); font-weight: 700; font-size: 16px; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--green); border-radius: 2px; transition: transform .2s; }
.faq-plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 0 20px; color: var(--ink-soft); }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; align-items: center; }
/* Same fix as .trial-band — grid items ignore their track width by default. */
.contact-copy, .contact-form-wrap { min-width: 0; }
.contact-methods { display: grid; gap: 14px; margin-top: 24px; }
.cm-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); }
.cm-item:hover { border-color: var(--green); }
.cm-item svg { color: var(--green); }
.cm-wa svg { color: var(--green-2); }
.cm-item strong { display: block; } .cm-item span { font-size: 14px; color: var(--muted); }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 15px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(18,140,126,.12); }
.field small { color: var(--muted); font-size: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.req { color: #e5484d; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
.alert-ok { background: #e7f7ef; color: #0f7a48; border: 1px solid #bce9d2; }
.alert-err { background: #fdeceb; color: #b42318; border: 1px solid #f6cfcb; }
.alert-info { background: #eef4ff; color: #1d4ed8; border: 1px solid #cddcff; }
.otp-boxes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 20px; }
/* Scoped to .otp-boxes (not just .otp-box) so this beats ".field input"'s
   specificity — these inputs also live inside a ".field" wrapper, and
   ".field input" was silently winning the padding/font-size fight, shrinking
   the visible content area to ~0px and making typed digits invisible. */
.otp-boxes .otp-box {
  width: 100%; max-width: 46px; min-width: 0; height: 54px; padding: 0; text-align: center; font-size: 22px; font-weight: 700;
  border: 1px solid var(--line); border-radius: 10px; background: var(--card, #fff); color: var(--ink);
  justify-self: center;
}
.otp-boxes .otp-box:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(18,140,126,.12); }
.otp-boxes .otp-box:disabled { opacity: .6; }
.otp-section { background: var(--bg-tint, #f8fafc); border: 1px dashed var(--line); border-radius: 12px; padding: 16px; margin-top: 10px; }
.err-text { color: #b42318; }
.email-row { display: flex; gap: 8px; align-items: center; }
.email-row input { flex: 1; min-width: 0; }
.email-row input:disabled { background: var(--bg-tint, #f1f5f9); color: var(--muted); }
.otp-trigger { margin-top: 10px; }
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card, #fff); color: var(--muted); cursor: pointer;
}
.btn-icon:hover { border-color: var(--green); color: var(--green); }

/* ---- CTA band ---- */
.cta-band { background: linear-gradient(135deg, var(--green-dark), var(--green)); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(26px,3.4vw,38px); }
.cta-band p { color: #d5f2ec; font-size: 18px; margin-bottom: 26px; }
.cta-inner { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.cta-text { flex: 0 1 auto; }
.cta-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.cta-qr img { width: 120px; height: 120px; border-radius: 12px; background: #fff; padding: 8px; display: block; }
.cta-qr span { font-size: 13px; color: #d5f2ec; }

/* ---- Footer ---- */
.site-footer { background: #0d1b26; color: #b9c6d1; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; max-width: 360px; }
.footer-brand .muted { color: #7c8b98; font-size: 13px; }
.footer-social { margin-top: 18px; }
.footer-social h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center;
  background: #1c2c38; color: #b9c6d1; transition: background .2s, color .2s, transform .2s;
}
.social-icons a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; color: #b9c6d1; font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--green-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #1c2c38; margin-top: 40px; padding-top: 20px; font-size: 13px; }
.footer-bottom .muted { color: #6a7986; }

/* ---- Legal / policy pages ---- */
.legal-section { padding: 60px 0; }
.legal-head { margin-bottom: 26px; }
.legal-head h1 { font-size: clamp(28px, 3.4vw, 40px); }
.legal-body { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 34px; box-shadow: var(--shadow-sm); }
.legal-body h2 { font-size: 20px; margin: 26px 0 10px; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 15.5px; }
.legal-body ul { padding-left: 20px; margin: 10px 0; display: grid; gap: 8px; }
.legal-body a { text-decoration: underline; }
.legal-body em { color: var(--muted); }
.legal-foot { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }

/* ---- Contact page ---- */
.contact-page .section-head { text-align: center; }
.response-time { display: inline-block; margin-top: 6px; background: var(--bg-tint); color: var(--green-dark); font-weight: 600; font-size: 14px; padding: 6px 16px; border-radius: 30px; }
.biz-card { margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.biz-card h3 { font-size: 16px; margin-bottom: 8px; }
.biz-card p { margin: 4px 0; font-size: 14.5px; }

/* ---- Floating WhatsApp ---- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--green-2); color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.45); animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.06); }
@keyframes wa-pulse { 0%{ box-shadow: 0 0 0 0 rgba(37,211,102,.5);} 70%{ box-shadow: 0 0 0 16px rgba(37,211,102,0);} 100%{ box-shadow: 0 0 0 0 rgba(37,211,102,0);} }

/* ---- Checkout / Success ---- */
.back-link { display: inline-block; margin-bottom: 18px; color: var(--muted); font-weight: 600; }
.checkout-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 30px; align-items: start; }
.checkout-form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 30px; box-shadow: var(--shadow); }
.checkout-form-card h1 { font-size: 28px; }
.order-summary { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 26px; position: sticky; top: 90px; }
.os-row { display: flex; justify-content: space-between; padding: 8px 0; }
.os-divider { border-top: 1px dashed var(--line); margin: 8px 0; }
.os-total { font-size: 20px; font-family: var(--font-head); }
.os-list { list-style: none; padding: 16px 0 0; margin: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: 14px; color: var(--ink-soft); }
.secure-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 16px; }
#paypal-buttons { margin-top: 10px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-row input { flex: 1; text-transform: uppercase; }
.coupon-row .btn { flex-shrink: 0; }
.coupon-msg { font-size: 13px; margin-top: 6px; min-height: 16px; }
.coupon-msg.ok { color: #0f7a48; font-weight: 600; }
.coupon-msg.err { color: #b42318; }
.os-discount { color: #0f7a48; }
.os-discount strong { color: #0f7a48; }

.success-section { padding: 70px 0; }
.success-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 46px; text-align: center; box-shadow: var(--shadow-lg); }
.success-check { width: 76px; height: 76px; border-radius: 50%; background: var(--bg-tint); color: var(--green); display: grid; place-items: center; margin: 0 auto 18px; }
.success-check svg { width: 40px; height: 40px; }
.email-box { display: flex; align-items: center; gap: 16px; text-align: left; background: var(--bg-tint); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin: 26px 0; }
.email-box svg { width: 34px; height: 34px; color: var(--green); flex-shrink: 0; }
.email-box strong { display: block; font-family: var(--font-head); }
.email-box span { display: block; font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.license-box { background: var(--bg-soft); border: 1px dashed var(--green); border-radius: 14px; padding: 22px; margin: 26px 0; }
.license-label { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.license-key { font-family: ui-monospace, monospace; font-size: 26px; font-weight: 700; letter-spacing: 3px; color: var(--green-dark); margin-bottom: 12px; }
.success-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 22px; }
.success-help { border-top: 1px solid var(--line); padding-top: 18px; }

/* ---- Hero customers float card ---- */
.float-customers { top: 16px; left: -26px; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px; border: 2px solid var(--card); margin-left: -8px; font-family: var(--font-head); }
.avatar-stack span:first-child { margin-left: 0; }
.avatar-stack .more { background: var(--bg-tint); color: var(--green); }
.float-customers strong { display: block; font-family: var(--font-head); font-size: 17px; }
.float-customers span { font-size: 12px; color: var(--muted); }

/* ---- Trust bar ---- */
.trust-bar-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.trust-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding: 26px 22px; }
.tb-item { display: flex; align-items: center; gap: 12px; flex: 1 1 180px; }
.tb-item svg { width: 30px; height: 30px; color: var(--green); flex-shrink: 0; }
.tb-item strong { display: block; font-size: 14.5px; font-family: var(--font-head); }
.tb-item span { font-size: 12.5px; color: var(--muted); }

/* ---- Trial band ---- */
.trial-band { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: linear-gradient(135deg, var(--green-dark), var(--green)); border-radius: 24px; padding: 44px; color: #fff; box-shadow: var(--shadow-lg); }
/* Grid items default to min-width:auto, so they refuse to shrink below their
   content's natural width — without this, long perk text or the OTP boxes
   force these columns wider than the grid track, overflowing the card on
   narrow screens instead of wrapping/shrinking to fit. */
.trial-copy, .trial-form-card { min-width: 0; }
.trial-tag { display: inline-block; background: rgba(255,255,255,.16); color: #fff; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 30px; margin-bottom: 14px; }
.trial-copy h2 { color: #fff; font-size: clamp(24px,3vw,34px); }
.trial-copy p { color: #d9f2ec; font-size: 16px; }
.trial-perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.trial-perks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.trial-perks svg { width: 18px; height: 18px; color: #fff; background: rgba(255,255,255,.2); border-radius: 50%; padding: 3px; }
.trial-form-card { background: var(--card); color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.trial-form-card h3 { font-size: 20px; }

/* =========================================================
   DARK THEME (toggled from admin via <html data-theme="dark">)
   ========================================================= */
/* Scoped to body.is-home (home page only) — every other page keeps
   data-theme="dark" truthfully set, but since these variables never get
   redefined there, they fall back to the light :root values above, so all
   the dark-mode rules below render light on every page except home. */
html[data-theme="dark"] body.is-home {
  color-scheme: dark;
  --ink: #e6edf3; --ink-soft: #aeb9c4; --muted: #8593a0;
  --line: #26313d; --bg: #0d1117; --bg-soft: #0f1620; --bg-tint: #10231e;
  --card: #161e27; --card-2: #0f1620; --header-bg: rgba(13,17,23,.85); --bar: #0f1620;
  --line-strong: #38465a;   /* visible border on dark inset surfaces (OTP boxes, icon buttons) */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.4); --shadow: 0 12px 34px rgba(0,0,0,.5); --shadow-lg: 0 30px 70px rgba(0,0,0,.6);
}
html[data-theme="dark"] body { background: var(--bg); }
html[data-theme="dark"] .site-header { background: var(--header-bg); }
html[data-theme="dark"] body.is-home .site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.5); }
html[data-theme="dark"] .hero-bg {
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(37,211,102,.16), transparent 60%),
    radial-gradient(700px 500px at 5% 10%, rgba(18,140,126,.14), transparent 55%),
    linear-gradient(180deg, #0f1a18, var(--bg) 70%);
}
html[data-theme="dark"] .hero-badge,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .highlight-item,
html[data-theme="dark"] .shots-main,
html[data-theme="dark"] .testi-card,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .price-aside .guarantee,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .cm-item,
html[data-theme="dark"] .contact-form-wrap,
html[data-theme="dark"] .checkout-form-card,
html[data-theme="dark"] .success-card,
html[data-theme="dark"] .float-card,
html[data-theme="dark"] .app-frame,
html[data-theme="dark"] .trial-form-card,
html[data-theme="dark"] .trust-bar-section,
html[data-theme="dark"] .cur-switch,
html[data-theme="dark"] .cur-switch button { background: var(--card); border-color: var(--line); }
html[data-theme="dark"] .highlight-item { background: linear-gradient(180deg, var(--bg-tint), var(--card)); }
/* Brighter, clearly-visible glow around the hero image on dark backgrounds */
html[data-theme="dark"] .hero-glow {
  opacity: 1; filter: blur(52px);
  background:
    radial-gradient(closest-side, rgba(37,211,102,.60), transparent 72%),
    radial-gradient(closest-side at 30% 70%, rgba(18,140,126,.48), transparent 70%);
}
html[data-theme="dark"] .app-frame {
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(37,211,102,.30), 0 0 80px -4px rgba(37,211,102,.55);
}
html[data-theme="dark"] .shot-thumb { background: var(--card); border-color: var(--line); }
html[data-theme="dark"] .order-summary { background: var(--card-2); }
html[data-theme="dark"] .license-box { background: var(--card-2); }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .field select { background: var(--card-2); color: var(--ink); border-color: var(--line); }
/* OTP boxes, edit button & focus rings need extra contrast in dark mode
   (they otherwise inherit the shared light-mode surfaces → dark-on-dark). */
html[data-theme="dark"] .otp-box,
html[data-theme="dark"] .btn-icon {
  background: var(--card-2); border-color: var(--line-strong); color: var(--ink);
}
html[data-theme="dark"] .btn-icon:hover { border-color: var(--green-2); color: var(--green-2); }
html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field textarea:focus,
html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .otp-box:focus {
  border-color: var(--green-2); box-shadow: 0 0 0 3px rgba(37,211,102,.30);
}
html[data-theme="dark"] .cur-switch button { color: var(--muted); }
html[data-theme="dark"] body.is-home .cur-switch button.active { color: #fff; }
html[data-theme="dark"] body.is-home .eyebrow { background: rgba(37,211,102,.12); }
html[data-theme="dark"] .guarantee { background: var(--bg-tint); }

/* ---- Blog ---- */
.blog-head { padding: 56px 0 0; text-align: center; }
.blog-head h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; }
.blog-head-sub { color: var(--ink-soft); font-size: 17px; max-width: 620px; margin: 0 auto; }
.blog-back { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 14.5px; }
.blog-section { padding-top: 40px; }
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.blog-main { min-width: 0; }
.blog-count { margin: 0 0 16px; }

/* Post cards (listing, related block, homepage strip all share these) */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.related-section .post-grid, .home-blog .post-grid { grid-template-columns: repeat(3, 1fr); }
.post-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.post-card-media { display: block; aspect-ratio: 16/9; background: var(--card-2); overflow: hidden; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-fallback {
  width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--font-head);
  font-weight: 800; font-size: 44px; color: #fff;
  background: linear-gradient(135deg, var(--green-2), var(--green-dark));
}
.post-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 19px; margin: 10px 0 8px; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--green); }
.post-card-excerpt { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 16px; flex: 1; }
.post-cat {
  align-self: flex-start; font-family: var(--font-head); font-weight: 700; font-size: 11.5px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--green-dark);
  background: var(--bg-tint); padding: 5px 12px; border-radius: 30px;
}
.post-cat:hover { background: var(--green); color: #fff; }
.post-card-meta { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; flex-wrap: wrap; }
.post-card-meta .dot { opacity: .6; }
.post-avatar { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.post-avatar.lg { width: 46px; height: 46px; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.page-link {
  min-width: 40px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-soft); font-weight: 600; font-size: 14px; text-align: center;
  transition: border-color .2s, color .2s, background .2s;
}
.page-link:hover { border-color: var(--green); color: var(--green); }
.page-link.current { background: var(--green); border-color: var(--green); color: #fff; }

/* Sidebar */
.blog-side { position: sticky; top: 88px; display: grid; gap: 20px; }
.side-widget { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); }
.side-widget h3 { font-size: 15px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side-search { display: flex; gap: 8px; }
.side-search input {
  flex: 1; min-width: 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
  font-family: inherit; font-size: 14px; background: var(--card); color: var(--ink);
}
.side-search input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(18,140,126,.12); }
.side-search button { border: 0; border-radius: 10px; background: var(--green); color: #fff; padding: 0 13px; cursor: pointer; display: grid; place-items: center; }
.side-search button:hover { background: var(--green-dark); }
.side-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.side-recent a { display: flex; gap: 11px; align-items: flex-start; }
/* Same 16:9 crop as .post-card-media — a cover framed for the grid is never
   re-cropped to a different shape here. Title type is a step smaller so the
   remaining ~160px of column still fits a real headline in two or three lines. */
.side-recent img, .side-thumb-fallback {
  width: 84px; aspect-ratio: 16/9; border-radius: 8px; object-fit: cover; flex-shrink: 0;
}
.side-thumb-fallback {
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800;
  font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--green-2), var(--green-dark));
}
.side-recent strong { display: block; color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.4; }
.side-recent a:hover strong { color: var(--green); }
.side-recent em { display: block; color: var(--muted); font-size: 11.5px; font-style: normal; margin-top: 3px; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.side-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 9px; color: var(--ink-soft); font-size: 14.5px;
}
.side-list a:hover { background: var(--bg-tint); color: var(--green-dark); }
.side-list span { color: var(--muted); font-size: 12.5px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  background: var(--card-2); border: 1px solid var(--line); border-radius: 30px;
  padding: 6px 13px; font-size: 13px; color: var(--ink-soft);
}
.tag-chip:hover { background: var(--green); border-color: var(--green); color: #fff; }
.side-feed a { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; }

.blog-empty { text-align: center; padding: 60px 20px; background: var(--card); border: 1px dashed var(--line); border-radius: var(--radius); }
.blog-empty h2 { font-size: 22px; }
.blog-empty p { margin-bottom: 20px; }

/* Article page */
.post-page { padding: 46px 0 0; }
.crumbs { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 7px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--green); }
.post-head { margin-bottom: 26px; }
.post-head h1 { font-size: clamp(28px, 3.8vw, 43px); letter-spacing: -.02em; margin: 14px 0 12px; }
.post-lede { color: var(--ink-soft); font-size: 18px; margin: 0 0 20px; }
.post-meta { display: flex; align-items: center; gap: 12px; }
.post-meta strong { display: block; font-size: 15px; }
.post-cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-cover img { width: 100%; }

.post-body { color: var(--ink-soft); font-size: 17px; line-height: 1.75; }
.post-body > *:first-child { margin-top: 0; }
.post-body p { margin: 0 0 20px; }
.post-body h2 { font-size: clamp(22px, 2.4vw, 27px); margin: 40px 0 14px; }
.post-body h3 { font-size: 20px; margin: 32px 0 12px; }
.post-body h4 { font-size: 17px; margin: 26px 0 10px; }
.post-body ul, .post-body ol { padding-left: 22px; margin: 0 0 20px; display: grid; gap: 9px; }
.post-body li { font-size: 16.5px; }
.post-body a { text-decoration: underline; font-weight: 500; }
.post-body img { border-radius: 12px; margin: 24px 0; box-shadow: var(--shadow-sm); }
.post-body figure { margin: 26px 0; }
.post-body figcaption { text-align: center; color: var(--muted); font-size: 14px; margin-top: 8px; }
.post-body blockquote {
  margin: 26px 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--green-2);
  color: var(--ink); font-family: var(--font-head); font-size: 19px; font-style: italic;
}
.post-body blockquote p:last-child { margin-bottom: 0; }
.post-body code {
  background: var(--card-2); border: 1px solid var(--line); border-radius: 6px;
  padding: 2px 6px; font-size: .88em; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.post-body pre {
  background: #0f1e2e; color: #e6ecf1; border-radius: 12px; padding: 18px 20px;
  overflow-x: auto; margin: 24px 0; font-size: 14.5px; line-height: 1.6;
}
.post-body pre code { background: none; border: 0; padding: 0; color: inherit; font-size: inherit; }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
/* Tables and embeds must scroll inside the article, never widen the page. */
.post-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; display: block; overflow-x: auto; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.post-body th { background: var(--card-2); font-weight: 700; color: var(--ink); }
.post-body iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: 12px; margin: 24px 0; }

.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; }
.post-share { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.share-label { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; }
.share-links { display: flex; gap: 9px; }
.share-links a, .share-links button {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; cursor: pointer;
  background: var(--card-2); border: 1px solid var(--line); color: var(--ink-soft);
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.share-links a:hover, .share-links button:hover { background: var(--green); border-color: var(--green); color: #fff; transform: translateY(-2px); }
.share-links button.copied { background: var(--green-2); border-color: var(--green-2); color: #fff; }

.author-box {
  display: flex; gap: 20px; align-items: flex-start; margin-top: 34px; padding: 24px;
  background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--card); }
.author-box h3 { font-size: 18px; margin: 2px 0 4px; }
.author-box p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 6px; }
.author-box .author-role { color: var(--green-dark); font-weight: 600; font-size: 14px; }
.link-arrow { font-weight: 600; font-size: 14px; }

.post-cta {
  margin-top: 40px; padding: 36px; border-radius: var(--radius); text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
}
.post-cta h2 { color: #fff; font-size: clamp(22px, 2.6vw, 28px); }
.post-cta p { color: #d5f2ec; font-size: 16px; margin: 0 0 22px; }
.post-cta .btn-primary { background: #fff; color: var(--green-dark); }
.related-section { margin-top: 64px; }

/* Homepage "From the blog" strip */
.home-blog-foot { text-align: center; margin-top: 36px; }

/* ---- Responsive ---- */
/* Nav collapse sits in its own query, wider than the 980px layout block below:
   the header (brand + 8 links + currency switch + CTA) needs ~1020px, so it
   has to fold into the hamburger before the rest of the page reflows —
   otherwise it overflows the viewport and scrolls the page sideways.
   Background is var(--card), not #fff, so the dropdown also works on the
   dark-themed home page. */
@media (max-width: 1040px) {
  .main-nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--card); flex-direction: column; padding: 12px 22px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
}
@media (max-width: 980px) {
  .blog-layout { grid-template-columns: 1fr; }
  .blog-side { position: static; grid-template-columns: repeat(2, 1fr); }
  .related-section .post-grid, .home-blog .post-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 520px; }
  .feature-grid, .testi-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 26px; }
  .highlight-grid { grid-template-columns: 1fr; }
  .pricing-wrap { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .checkout-grid { grid-template-columns: 1fr; }
  .shots-thumbs { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trial-band { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
}
@media (max-width: 720px) {
  /* Nav collapse now lives in the 1040px block above; only the CTA button,
     which still fits at tablet widths, is dropped here. */
  .header-actions .btn-primary { display: none; }
  .video-play { width: 60px; height: 60px; }
  .video-play svg { width: 26px; height: 26px; }
  .section { padding: 60px 0; }
  .feature-grid, .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .float-rating { left: 0; } .float-sent { right: 0; }
  .success-card { padding: 30px 20px; }
  .license-key { font-size: 20px; letter-spacing: 2px; }
  /* More room for the OTP boxes on narrow phones, and a proportionally
     smaller digit so it never outgrows a box that's had to shrink. */
  .trial-form-card, .contact-form-wrap, .checkout-form-card { padding: 20px; }
  .otp-boxes { gap: 6px; }
  .otp-boxes .otp-box { font-size: 16px; height: 46px; }
  .post-grid, .related-section .post-grid, .home-blog .post-grid { grid-template-columns: 1fr; }
  .blog-side { grid-template-columns: 1fr; }
  .post-cta { padding: 26px 20px; }
  .author-box { flex-direction: column; gap: 14px; }
  .post-body { font-size: 16.5px; }
}
