/* ============================================================
   WA Marketing Service — Design tokens
   ============================================================ */
:root {
  /* Color */
  --ink: #0B1210;
  --ink-soft: #33413C;
  --paper: #FAFAF7;
  --surface: #F0F1EE;
  --surface-2: #E7E9E3;
  --line: #E2E5DF;
  --accent: #1FA463;
  --accent-deep: #0F7A4C;
  --accent-tint: #E7F5EC;
  --amber: #B9791F;
  --amber-tint: #FBF0DD;
  --white: #FFFFFF;

  /* Type */
  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --max: 1180px;
  --shadow-sm: 0 1px 2px rgba(11,18,16,0.06), 0 1px 1px rgba(11,18,16,0.04);
  --shadow-md: 0 8px 24px rgba(11,18,16,0.08), 0 2px 6px rgba(11,18,16,0.05);
  --shadow-lg: 0 24px 60px rgba(11,18,16,0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-soft); }
.mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
@media (max-width: 640px) { section { padding: 56px 0; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--accent-deep);
  background: var(--accent-tint); border: 1px solid rgba(31,164,99,0.25);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

h2.section-title { font-size: clamp(28px, 4vw, 40px); max-width: 720px; }
p.section-lead { font-size: 18px; max-width: 620px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 2px; }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #16211d; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--accent); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-accent:hover { background: var(--accent-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-on-dark { background: var(--white); color: var(--ink); }
.btn-on-dark:hover { background: var(--accent-tint); transform: translateY(-1px); }
.btn-outline-dark { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-outline-dark:hover { border-color: var(--white); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,247,0.92); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}
.nav.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11,18,16,0.06); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(155deg, var(--accent), var(--accent-deep)); display: flex; align-items: center; justify-content: center; color: white; font-family: var(--font-mono); font-size: 13px; font-weight: 700; flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-cta .btn {
  padding: 10px 18px;
  font-size: 13.5px;
  white-space: nowrap;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
.mobile-panel { display: none; }

@media (max-width: 1240px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-panel {
    display: block;
    position: fixed; inset: 74px 0 0 0; background: var(--paper); z-index: 99;
    transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
  }
  .mobile-panel.is-open { transform: translateX(0); }
  .mobile-panel .container { padding-top: 24px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 4px; }
  .mobile-panel a.mp-link { padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: 17px; font-weight: 500; }
  .mobile-panel .btn { margin-top: 20px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Top Announcement Banner ---------- */
.top-bar {
  background: linear-gradient(90deg, #0b1210 0%, #162c22 50%, #0b1210 100%);
  color: var(--white);
  font-size: 13.5px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(31, 164, 99, 0.3);
  position: relative;
  z-index: 101;
}
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.top-bar-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.top-bar-badge {
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: pulse-glow 2.5s infinite ease-in-out;
}
.top-bar-text {
  color: rgba(255, 255, 255, 0.92);
}
.top-bar-text strong {
  color: #55e69d;
  font-weight: 600;
}
.top-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}
.top-bar-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(31, 164, 99, 0.35);
}
.top-bar-cta .arrow {
  transition: transform 0.2s ease;
}
.top-bar-cta:hover .arrow {
  transform: translateX(3px);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(31, 164, 99, 0.4); }
  50% { opacity: 0.85; box-shadow: 0 0 10px 2px rgba(31, 164, 99, 0.6); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-bg-animated {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(11, 18, 16, 0.08) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: 0.65;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.38;
  will-change: transform;
}
.blob-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(31, 164, 99, 0.55) 0%, rgba(31, 164, 99, 0) 70%);
  top: -120px;
  left: -100px;
  animation: float-blob-1 14s infinite ease-in-out alternate;
}
.blob-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(16, 185, 129, 0) 70%);
  bottom: -150px;
  right: -120px;
  animation: float-blob-2 18s infinite ease-in-out alternate;
}
.blob-3 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.3) 0%, rgba(52, 211, 153, 0) 70%);
  top: 35%;
  left: 40%;
  animation: float-blob-3 12s infinite ease-in-out alternate;
}

@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, 70px) scale(1.1); }
  100% { transform: translate(-30px, 110px) scale(0.95); }
}
@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, -60px) scale(1.15); }
  100% { transform: translate(60px, -30px) scale(0.9); }
}
@keyframes float-blob-3 {
  0% { transform: translate(0, 0) scale(0.95); }
  50% { transform: translate(-70px, 60px) scale(1.2); }
  100% { transform: translate(80px, -40px) scale(1); }
}

.hero .container {
  position: relative;
  z-index: 1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }
.hero h1 { font-size: clamp(34px, 5vw, 56px); }
.hero .lead { font-size: 18px; max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 20px; }
.trust-line { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.trust-line .dot { color: var(--accent); }

/* Dashboard mockup — signature element */
.ledger {
  background: var(--ink); color: var(--white); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-lg); position: relative;
  border: 1px solid rgba(255,255,255,0.06);
}
.ledger-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ledger-dots { display: flex; gap: 6px; }
.ledger-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.18); }
.ledger-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.ledger-title { font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 4px; }
.ledger-name { font-family: var(--font-display); font-size: 20px; margin-bottom: 18px; }
.ledger-row { display: flex; justify-content: space-between; align-items: baseline; padding: 11px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.ledger-row .k { font-size: 13px; color: rgba(255,255,255,0.55); }
.ledger-row .v { font-family: var(--font-mono); font-size: 15px; }
.ledger-row .v.accent { color: #6EE7A8; }
.ledger-badge {
  margin-top: 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm); padding: 10px 12px; font-family: var(--font-mono);
  font-size: 11.5px; color: rgba(255,255,255,0.6); display: flex; gap: 8px; align-items: flex-start;
}
.ledger-badge .cursor { color: var(--accent); animation: blink 1.1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Trust bar ---------- */
.trustbar { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trustbar-title { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); text-align: center; margin-bottom: 24px; }
.chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 9px 18px; font-size: 14px; font-weight: 500; background: var(--surface); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(11, 18, 16, 0.08);
  border-color: rgba(31, 164, 99, 0.4);
}
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-tint);
  border: 1px solid rgba(31, 164, 99, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-deep);
  margin-bottom: 18px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}
.card-icon svg {
  stroke: var(--accent-deep);
  stroke-width: 1.8px;
  transition: all 0.3s ease;
}
.card:hover .card-icon {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--white);
  border-color: var(--accent);
  transform: scale(1.12) translateY(-3px) rotate(4deg);
  box-shadow: 0 8px 20px rgba(31, 164, 99, 0.35);
}
.card:hover .card-icon svg {
  stroke: #FFFFFF !important;
  color: #FFFFFF !important;
  transform: scale(1.08);
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 0; }
.card.soon { position: relative; opacity: 0.85; }
.tag-soon {
  position: absolute; top: 16px; right: 16px; font-family: var(--font-mono); font-size: 10.5px;
  text-transform: uppercase; letter-spacing: .04em; background: var(--amber-tint); color: var(--amber);
  padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(185,121,31,0.25);
}

/* ---------- Pain points transition ---------- */
.section-alt { background: var(--surface); }
.transition-line { text-align: center; font-family: var(--font-display); font-size: 22px; margin-top: 36px; }

/* ---------- Calculator ---------- */
.calc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow-md); }
@media (max-width: 860px) { .calc-wrap { grid-template-columns: 1fr; } }
.calc-form { padding: 36px; }
.calc-result { padding: 36px; background: var(--ink); color: var(--white); display: flex; flex-direction: column; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.field select, .field input {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--surface); font-family: var(--font-body); font-size: 14.5px; color: var(--ink);
}
.field select:focus, .field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: var(--white); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.calc-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }

.result-line { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.1); }
.result-line:first-of-type { border-top: none; }
.result-line .k { font-size: 13.5px; color: rgba(255,255,255,0.6); }
.result-line .v { font-family: var(--font-mono); font-size: 16px; }
.result-highlight { margin-top: auto; padding-top: 20px; }
.result-highlight .big { font-family: var(--font-mono); font-size: clamp(28px, 4vw, 38px); color: #6EE7A8; }
.result-highlight .cap { font-size: 12.5px; color: rgba(255,255,255,0.55); margin-top: 4px; text-transform: uppercase; letter-spacing: .05em; font-family: var(--font-mono); }
.illustrative-flag {
  display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-sm);
  padding: 10px 12px; margin: 18px 0;
}

/* ---------- Dark CTA band ---------- */
.band-dark { background: var(--ink); color: var(--white); text-align: center; }
.band-dark h2 { color: var(--white); }
.band-dark p { color: rgba(255,255,255,0.65); }
.band-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* ---------- Process / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 8px; }
.step-num { font-family: var(--font-mono); font-size: 13px; color: var(--accent-deep); margin-bottom: 10px; }
.step h3 { font-size: 17px; }
.step p { font-size: 14.5px; }

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare-col { border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.compare-col.us { background: var(--ink); color: var(--white); border-color: var(--ink); }
.compare-col h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; font-family: var(--font-mono); margin-bottom: 18px; }
.compare-col ul { list-style: none; margin: 0; padding: 0; }
.compare-col li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; display: flex; gap: 10px; }
.compare-col.us li { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }
.compare-col li:first-child { border-top: none; }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card .plan-name { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--accent-deep); }
.price-card h3 { font-size: 22px; margin: 8px 0 6px; }
.price-card .plan-fit { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.price-card .plan-quote { font-family: var(--font-mono); font-size: 26px; margin-bottom: 4px; }
.price-card ul { list-style: none; padding: 0; margin: 18px 0 24px; flex-grow: 1; }
.price-card li { font-size: 14px; padding: 8px 0; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.price-card li:first-child { border-top: none; }
.price-card.featured { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint), var(--shadow-md); }

/* ---------- Compliance ---------- */
.compliance-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
@media (max-width: 980px) { .compliance-grid { grid-template-columns: repeat(3,1fr);} }
@media (max-width: 640px) { .compliance-grid { grid-template-columns: 1fr 1fr;} }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 20px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-body); font-size: 16px; font-weight: 600; color: var(--ink);
}
.faq-q .plus { font-family: var(--font-mono); font-size: 20px; color: var(--accent-deep); transition: transform .2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-a-inner { padding: 0 4px 20px; font-size: 14.5px; color: var(--ink-soft); max-width: 680px; }

/* ---------- Lead form & Form Controls ---------- */
.lead-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .lead-wrap { grid-template-columns: 1fr; } }
.lead-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.lead-form .field.full { grid-column: 1 / -1; }

/* Form Controls & Inputs */
.form-group {
  margin-bottom: 20px;
  width: 100%;
}
.form-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select, select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2333413C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.form-group textarea, textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-soft); margin: 14px 0 20px; }
.consent input { width: auto; display: inline-block; margin-top: 3px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { font-size: 14px; margin-top: 14px; display: none; padding: 12px 14px; border-radius: var(--radius-sm); }
.form-status.show { display: block; }
.form-status.error { background: #FCEBEA; color: #9A2E27; }
.form-status.success { background: var(--accent-tint); color: var(--accent-deep); }
.success-panel { display: none; text-align: center; padding: 40px 20px; }
.success-panel.show { display: block; }
.success-panel .check { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; font-size: 26px; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 48px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: repeat(2,1fr); } }
.footer-col h4 { color: rgba(255,255,255,0.9); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; font-family: var(--font-mono); margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-col a:hover { color: white; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(255,255,255,0.45); }
.footer-disclaimer { font-size: 12px; color: rgba(255,255,255,0.4); max-width: 800px; margin-top: 10px; line-height: 1.6; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--white); border-top: 1px solid var(--line); padding: 12px 16px; box-shadow: 0 -8px 24px rgba(11,18,16,0.08); display: none; }
@media (max-width: 760px) { .sticky-cta { display: block; } body { padding-bottom: 72px; } }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 90px; right: 20px; background: var(--ink); color: white; padding: 12px 18px; border-radius: var(--radius-sm); font-size: 14px; box-shadow: var(--shadow-md); transform: translateY(20px); opacity: 0; pointer-events: none; transition: all .25s ease; z-index: 200; }
.toast.show { transform: translateY(0); opacity: 1; }
@media (max-width: 760px) { .toast { bottom: 90px; left: 20px; right: 20px; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Page header (subpages) ---------- */
.page-header { padding: 64px 0 40px; text-align: center; }
.page-header h1 { font-size: clamp(30px, 4.5vw, 44px); }
.page-header p { max-width: 600px; margin: 0 auto; font-size: 17px; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 20px; margin-top: 40px; }
.legal-content p, .legal-content li { color: var(--ink-soft); font-size: 15px; }
.legal-content .updated { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); margin-bottom: 40px; display: block; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--white); margin-bottom: 16px; }
.contact-card h3 { font-size: 15px; margin-bottom: 4px; }
.contact-card p { font-size: 14.5px; margin-bottom: 0; }

/* utility */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ---------- AEO (Answer Engine Optimization) Box ---------- */
.aeo-answer-box {
  background: linear-gradient(135deg, rgba(31, 164, 99, 0.06) 0%, rgba(16, 185, 129, 0.02) 100%);
  border: 1px solid rgba(31, 164, 99, 0.25);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 32px 0;
  box-shadow: 0 4px 20px rgba(31, 164, 99, 0.05);
}
.aeo-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.aeo-icon {
  font-size: 18px;
  background: var(--accent);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.aeo-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}
.aeo-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
.aeo-text strong {
  color: var(--ink);
}

/* ---------- Industry Template Cards ---------- */
.template-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 860px) {
  .template-grid { grid-template-columns: 1fr; }
}
.template-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.25s ease;
}
.template-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(31, 164, 99, 0.4);
}
.template-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.template-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 3px 8px;
  border-radius: 4px;
}
.template-category {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.template-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.template-code {
  background: #0B1210;
  color: #E2E8F0;
  font-family: var(--font-mono);
  font-size: 13.5px;
  line-height: 1.6;
  padding: 16px;
  border-radius: var(--radius);
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.template-var {
  color: #6EE7A8;
  font-weight: 600;
}
.template-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 8px;
}
.template-cta-spec {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
}
.btn-copy-template {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-copy-template:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* ---------- Case Study Metrics ---------- */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}
@media (max-width: 768px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}
.metric-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.metric-val {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 6px;
}
.metric-lbl {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Blog Engine ---------- */
.blog-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
  background: var(--surface);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.blog-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-cat-btn {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.blog-cat-btn:hover, .blog-cat-btn.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.blog-search-box {
  position: relative;
  min-width: 240px;
}
.blog-search-input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border-radius: 20px;
  border: 1px solid var(--line);
  font-size: 14px;
  background: var(--white);
}
.blog-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-soft);
  font-size: 14px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.blog-meta {
  display: flex;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.blog-card h3 {
  font-size: 19px;
  line-height: 1.35;
  margin-bottom: 10px;
  color: var(--ink);
}
.blog-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* ---------- ASK AI ABOUT WA MARKETING SERVICE (FOOTER GEO WIDGET) ---------- */
.ask-ai-widget {
  background: #0B1411;
  border: 1px solid rgba(31, 164, 99, 0.35);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.ask-ai-header {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  color: #34D399;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ask-ai-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 14px;
}
.ask-ai-icons {
  display: grid;
  grid-template-columns: repeat(5, 44px);
  gap: 10px;
}
@media (max-width: 480px) {
  .ask-ai-icons {
    grid-template-columns: repeat(5, 40px);
    gap: 8px;
  }
  .ai-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .ai-btn svg {
    width: 20px !important;
    height: 20px !important;
    max-width: 20px !important;
    max-height: 20px !important;
  }
}
.ai-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  position: relative;
}
.ai-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 6px 18px rgba(52, 211, 153, 0.45);
}
.ai-btn svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  display: block;
  flex-shrink: 0;
}
.ai-btn-tooltip {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #34D399;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  border: 1px solid rgba(52, 211, 153, 0.3);
  z-index: 10;
}
.ai-btn:hover .ai-btn-tooltip {
  opacity: 1;
}


