/* ==========================================================================
   AMOS — Hastech IT Solutions
   Self-contained design system. No CDN. No external fonts. No JS libraries.
   Everything below ships with the app so nothing breaks if a 3rd-party CDN dies.
   ========================================================================== */

/* ---------- 1. Design Tokens ---------- */
:root {
  /* Brand palette — colourful but restrained, white-dominant.
     Swap these values to match the exact Hastech brand hex codes. */
  --c-primary:        #1a80c9;   /* logo blue */
  --c-primary-dark:   #12639f;
  --c-primary-darker: #0b3a63;
  --c-primary-050:    #e9f4fb;   /* tint for soft backgrounds */
  --c-primary-100:    #c9e6f7;
  --c-accent:         #10a7e4;   /* logo cyan accent */
  --c-accent-dark:    #0d88bd;
  --c-accent-050:     #e6f6fd;

  --c-heading:        #0c1b33;
  --c-text:           #38455a;
  --c-muted:          #6b7a90;
  --c-border:         #e6ecf3;

  --c-bg:             #ffffff;
  --c-bg-soft:        #f5f8fc;   /* alternating section bg */
  --c-bg-ink:         #0b1b33;   /* dark sections / footer */
  --c-bg-ink-soft:    #12274a;

  --c-success:        #1ea672;
  --c-star:           #ffb400;

  /* Gradients */
  --g-primary: linear-gradient(135deg, #105cab 0%, #1a80c9 45%, #10a7e4 100%);
  --g-accent:  linear-gradient(135deg, #10a7e4 0%, #17c1e8 100%);
  --g-ink:     linear-gradient(160deg, #08213b 0%, #0f3b63 100%);

  /* Typography — system stack (fast, no web-font download) */
  --font-sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Segoe UI Semibold", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  /* Spacing / sizing */
  --container: 1280px;
  --container-narrow: 820px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(12, 27, 51, .06);
  --shadow-sm: 0 4px 14px rgba(12, 27, 51, .07);
  --shadow-md: 0 12px 30px rgba(12, 27, 51, .10);
  --shadow-lg: 0 26px 60px rgba(12, 27, 51, .16);
  --shadow-primary: 0 14px 30px rgba(26, 128, 201, .30);

  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
/* Inline icons (rendered without a class) get a sane default; context rules override. */
svg:not([class]) { width: 1.15em; height: 1.15em; flex: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--c-heading); line-height: 1.18; font-weight: 700; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid rgba(26,99,216,.45); outline-offset: 2px; border-radius: 4px; }

/* ---------- 3. Layout primitives ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 2.4vw, 40px); }
.container-narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(44px, 5.2vw, 82px); }
.section--soft { background: var(--c-bg-soft); }
.section--ink { background: var(--g-ink); color: #cfe0f5; }
.section--tight { padding-block: clamp(32px, 4vw, 54px); }

/* Scale the whole UI up on large monitors so a 24"–32" screen feels as balanced
   as a 13" laptop (rem/clamp values track the root size and container). */
@media (min-width: 1680px) { :root { --container: 1420px; } html { font-size: 17px; } }
@media (min-width: 2200px) { :root { --container: 1560px; } html { font-size: 18.5px; } }

.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); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.stack-sm > * + * { margin-top: 10px; }
.stack > * + * { margin-top: 18px; }

/* ---------- 4. Typography helpers ---------- */
.display { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.08; }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--c-muted); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-primary-dark); background: #fff;
  border: 1px solid var(--c-primary-100);
  padding: 8px 16px; border-radius: var(--radius-pill);
  box-shadow: 0 3px 12px rgba(26,99,216,.08);
}
.eyebrow svg { width: 15px; height: 15px; color: var(--c-primary); }
.eyebrow--light { color: #dbe8ff; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); box-shadow: none; }
.eyebrow--light svg { color: #9fc0ff; }
.text-muted { color: var(--c-muted); }
.text-gradient { background: var(--g-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: .08em; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.section-head { max-width: 680px; margin: 0 auto clamp(28px, 3.4vw, 46px); }
.section-head.text-left { margin-inline: 0; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--radius-pill);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap; border: 1.5px solid transparent;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--c-primary); color: #fff; box-shadow: var(--shadow-primary); }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--accent { background: var(--c-accent); color: #fff; box-shadow: 0 14px 30px rgba(255,106,61,.28); }
.btn--accent:hover { background: var(--c-accent-dark); }
.btn--ghost { background: #fff; color: var(--c-heading); border-color: var(--c-border); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-arrow { transition: transform .2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- 6. Header + Nav ---------- */
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--c-primary); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 8px; }
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s, background .25s;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--c-border); background: rgba(255,255,255,.95); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 800; font-size: 1.32rem; color: var(--c-heading); letter-spacing: -.02em; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px; background: var(--g-primary);
  display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: var(--shadow-primary);
}
.brand__mark span { font-size: 1.1rem; }
.brand em { color: var(--c-primary); font-style: normal; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 15px; border-radius: 10px; font-weight: 500; color: var(--c-heading);
  transition: color .18s, background .18s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--c-primary); background: var(--c-primary-050); }
.nav-link .caret { width: 15px; height: 15px; transition: transform .2s; }
.nav-link[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Mega menu */
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(8px);
  width: min(720px, 88vw); background: #fff; border: 1px solid var(--c-border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 22px;
  opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease); z-index: 950;
}
.has-mega:hover .mega, .mega.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mega__item { display: flex; gap: 13px; padding: 13px; border-radius: var(--radius); transition: background .18s; }
.mega__item:hover { background: var(--c-bg-soft); }
.mega__ico { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--c-primary-050); color: var(--c-primary); }
.mega__ico svg { width: 22px; height: 22px; }
.mega__t { font-weight: 600; color: var(--c-heading); font-size: .98rem; }
.mega__d { font-size: .85rem; color: var(--c-muted); line-height: 1.45; }
.mega__foot { margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--c-border); display: flex; align-items: center; justify-content: space-between; }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--c-border); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--c-heading); margin: 4px auto; transition: transform .25s, opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 7. Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(60px, 8vw, 108px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 8%, rgba(26,99,216,.10), transparent 60%),
    radial-gradient(50% 50% at 8% 90%, rgba(255,106,61,.08), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { margin-block: 18px 20px; }
.hero .lead { max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--c-border); }
.hero__trust-item { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: var(--c-heading); }
.hero__trust-item svg { width: 20px; height: 20px; color: var(--c-primary); }

/* Hero visual card */
.hero__visual { position: relative; }
.hero-card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px;
}
.hero-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.hero-card__dot { display: flex; gap: 6px; }
.hero-card__dot i { width: 10px; height: 10px; border-radius: 50%; background: var(--c-border); }
.hero-card__dot i:first-child { background: #ff5f57; } .hero-card__dot i:nth-child(2){ background:#febc2e;} .hero-card__dot i:nth-child(3){ background:#28c840;}
.metric-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px dashed var(--c-border); }
.metric-row:last-child { border-bottom: none; }
.metric-row__label { display: flex; align-items: center; gap: 10px; color: var(--c-muted); font-size: .92rem; }
.metric-row__ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--c-primary-050); color: var(--c-primary); }
.metric-row__ico svg { width: 18px; height: 18px; }
.metric-row__val { font-family: var(--font-head); font-weight: 800; color: var(--c-heading); }
.metric-row__val small { color: var(--c-success); font-weight: 700; font-size: .78rem; margin-left: 6px; }
.hero-badge {
  position: absolute; z-index: 3; padding: 12px 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--c-heading); font-size: .9rem;
}
.hero-badge svg { width: 22px; height: 22px; color: var(--c-accent); }
.hero-badge--tl { top: -18px; left: -20px; }
.hero-badge--br { bottom: -18px; right: -14px; }
.hero-badge--br svg { color: var(--c-success); }

/* ---------- 8. Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg);
  padding: 26px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--g-primary); color: #fff; box-shadow: var(--shadow-primary); margin-bottom: 18px; }
.card__ico svg { width: 26px; height: 26px; }
.card--accent .card__ico { background: var(--g-accent); box-shadow: 0 14px 30px rgba(255,106,61,.26); }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--c-muted); }
.card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 18px; font-weight: 600; color: var(--c-primary); }
.card__link svg { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }
.card__list { margin-top: 16px; }
.card__list li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; color: var(--c-text); font-size: .95rem; }
.card__list svg { flex: none; width: 18px; height: 18px; color: var(--c-success); margin-top: 3px; }

/* Industry / compact tiles */
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 28px 18px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); transition: transform .22s var(--ease), box-shadow .22s, border-color .22s; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-sm); border-color: var(--c-primary-100); }
.tile__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--c-primary-050); color: var(--c-primary); }
.tile__ico svg { width: 26px; height: 26px; }
.tile span { font-weight: 600; color: var(--c-heading); font-size: .98rem; }

/* ---------- 9. Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 30px 24px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); }
.step__num { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; background: var(--g-primary); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 14px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--c-muted); font-size: .93rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -14px; width: 26px; height: 2px; background: var(--c-border); }

/* ---------- 10. Stats bar ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 10px; }
.stat__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.1rem, 4vw, 3rem); background: var(--g-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section--ink .stat__num { background: linear-gradient(135deg,#7fb0ff,#fff); -webkit-background-clip: text; background-clip: text; }
.stat__label { font-weight: 600; color: var(--c-muted); margin-top: 4px; }
.section--ink .stat__label { color: #9fb4d4; }

/* ---------- 11. Locations pills ---------- */
.loc-cloud { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.loc-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-pill); background: #fff; border: 1px solid var(--c-border); font-weight: 600; color: var(--c-heading); transition: all .2s var(--ease); }
.loc-pill svg { width: 17px; height: 17px; color: var(--c-primary); }
.loc-pill:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); transform: translateY(-3px); box-shadow: var(--shadow-primary); }
.loc-pill:hover svg { color: #fff; }

/* ---------- 12. Testimonials (carousel) ---------- */
.carousel { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; transition: transform .5s var(--ease); }
.carousel__slide { flex: 0 0 100%; padding: 6px; }
.testi { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.testi__stars { display: flex; gap: 3px; color: var(--c-star); margin-bottom: 16px; }
.testi__stars svg { width: 20px; height: 20px; }
.testi__quote { font-size: 1.12rem; color: var(--c-heading); line-height: 1.6; }
.testi__by { display: flex; align-items: center; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--c-border); }
.testi__avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--g-primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; }
.testi__name { font-weight: 700; color: var(--c-heading); }
.testi__role { font-size: .88rem; color: var(--c-muted); }
.carousel__nav { display: flex; gap: 10px; justify-content: center; margin-top: 26px; }
.carousel__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-border); transition: all .2s; }
.carousel__dot.is-active { background: var(--c-primary); width: 30px; border-radius: 6px; }
.carousel__btn { position: absolute; top: 42%; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 1px solid var(--c-border); box-shadow: var(--shadow-sm); display: grid; place-items: center; color: var(--c-heading); transition: all .2s; z-index: 2; }
.carousel__btn:hover { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn--prev { left: -22px; } .carousel__btn--next { right: -22px; }

/* ---------- 13. Insights cards (clean, text-first, compact) ---------- */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-top: 3px solid var(--c-primary); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .78rem; color: var(--c-muted); margin-bottom: 10px; }
.post-card__date { color: var(--c-accent-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.post-card h3 { font-size: 1.1rem; line-height: 1.3; margin-bottom: 9px; }
.post-card h3 a:hover { color: var(--c-primary); }
.post-card p { color: var(--c-muted); font-size: .9rem; flex: 1; }
.post-card__links { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.post-card__src { font-weight: 600; font-size: .85rem; color: var(--c-accent-dark); display: inline-flex; gap: 6px; align-items: center; }
.post-card__src:hover { text-decoration: underline; }
.post-card__src svg { width: 14px; height: 14px; }
.post-card__link { font-weight: 700; font-size: .9rem; color: var(--c-primary); display: inline-flex; gap: 7px; align-items: center; }
.post-card__link:hover { gap: 10px; }

/* ---------- 14. FAQ accordion ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.faq__item.is-open { box-shadow: var(--shadow-sm); border-color: var(--c-primary-100); }
.faq__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--c-heading); }
.faq__q .ic { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--c-primary-050); color: var(--c-primary); display: grid; place-items: center; transition: transform .25s, background .2s, color .2s; }
.faq__item.is-open .faq__q .ic { transform: rotate(45deg); background: var(--c-primary); color: #fff; }
.faq__q .ic svg { width: 18px; height: 18px; }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq__a-inner { padding: 0 24px 22px; color: var(--c-muted); }

/* ---------- 15. CTA banner ---------- */
.cta-banner { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--g-ink); color: #fff; padding: clamp(40px, 6vw, 68px); text-align: center; }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 120% at 50% 0%, rgba(26,99,216,.5), transparent 60%); }
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #b9cbe8; max-width: 560px; margin: 14px auto 30px; }
.cta-banner__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- 16. Breadcrumbs + interior page hero ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: var(--c-muted); }
.crumbs a:hover { color: var(--c-primary); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }
.crumbs [aria-current] { color: var(--c-heading); font-weight: 600; }
.page-hero { background: var(--c-bg-soft); border-bottom: 1px solid var(--c-border); padding-block: clamp(34px, 5vw, 56px); }
.page-hero h1 { margin-top: 14px; font-size: clamp(1.9rem, 4vw, 2.9rem); }
.page-hero .lead { margin-top: 14px; max-width: 620px; }

/* ---------- 17. Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--c-heading); }
.field input, .field select, .field textarea {
  padding: 13px 15px; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .18s, box-shadow .18s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(26,99,216,.12); outline: none; }
.field textarea { min-height: 130px; resize: vertical; }
.form-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); }

/* Contact info list */
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--c-border); }
.info-item:last-child { border-bottom: none; }
.info-item__ico { flex: none; width: 48px; height: 48px; border-radius: 13px; background: var(--c-primary-050); color: var(--c-primary); display: grid; place-items: center; }
.info-item__ico svg { width: 22px; height: 22px; }
.info-item__t { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); font-weight: 700; }
.info-item__v { font-weight: 600; color: var(--c-heading); }

/* ---------- 18. Article (insight detail) ---------- */
.article { max-width: 760px; }
.article > * + * { margin-top: 22px; }
.article h2 { font-size: 1.65rem; margin-top: 40px; }
.article h3 { font-size: 1.3rem; margin-top: 30px; }
.article p { color: var(--c-text); }
.article ul, .article ol { padding-left: 22px; }
.article ul li { list-style: disc; margin: 8px 0; }
.article ol li { list-style: decimal; margin: 8px 0; }
.article a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.article-toplinks { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.article-toplinks a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--c-primary); }
.article-toplinks a:hover { text-decoration: underline; }
.article-toplinks a svg { width: 15px; height: 15px; }
.article-toplinks a:first-child svg { transform: rotate(180deg); }
.article-toplinks__src { color: var(--c-accent-dark) !important; }
.article-cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--c-bg-soft); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 26px 28px; }
.article-cta h3 { font-size: 1.2rem; }
.article-cta p { margin-top: 6px; }
.article-cta .btn { flex: none; }
.summary-box { background: var(--c-primary-050); border: 1px solid var(--c-primary-100); border-left: 4px solid var(--c-primary); border-radius: var(--radius); padding: 24px 26px; }
.summary-box h4 { color: var(--c-primary-dark); margin-bottom: 12px; }
.summary-box li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.summary-box svg { flex: none; width: 18px; height: 18px; color: var(--c-primary); margin-top: 4px; }
.toc { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px 24px; }
.toc h4 { margin-bottom: 12px; }
.toc a { color: var(--c-text); padding: 5px 0; display: block; }
.toc a:hover { color: var(--c-primary); }
.article-layout { display: grid; grid-template-columns: 1fr 280px; gap: 44px; align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 20px); }
/* Two-column splits that must collapse on mobile (contact form + info, ROI tool) */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 44px; align-items: start; }
.roi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.author-box { display: flex; gap: 16px; align-items: center; padding: 24px; background: var(--c-bg-soft); border-radius: var(--radius); }
.author-box__avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--g-primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.3rem; }

/* ---------- 19. Footer ---------- */
.site-footer { position: relative; background: var(--g-ink); color: #a9bcda; padding-top: clamp(48px, 6vw, 72px); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--c-primary), #3f8bff 55%, var(--c-accent)); }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1.25fr; gap: 40px; }
.site-footer .brand__logo { height: 34px; }
.site-footer h4 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 16px; }
.footer-links li { margin: 10px 0; }
.footer-links a { transition: color .18s, padding .18s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.site-footer .brand { color: #fff; }
.footer-about p { margin: 16px 0 20px; font-size: .95rem; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #cfe0f5; transition: background .2s, transform .2s; }
.footer-social a:hover { background: var(--c-primary); color: #fff; transform: translateY(-3px); }
.footer-social svg { width: 19px; height: 19px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; margin: 12px 0; }
.footer-contact svg { flex: none; width: 19px; height: 19px; color: #7fb0ff; margin-top: 3px; }
.footer-bottom { margin-top: clamp(40px, 5vw, 60px); border-top: 1px solid rgba(255,255,255,.1); padding-block: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }

/* ---------- 20. Scroll-reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

/* floaty animation for hero badges */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-badge { animation: floaty 4s ease-in-out infinite; }
.hero-badge--br { animation-delay: 1.5s; }

/* ---------- 21. Misc ---------- */
.divider { height: 1px; background: var(--c-border); border: none; }
.pill-tag { display: inline-block; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--c-primary-050); color: var(--c-primary); font-size: .8rem; font-weight: 600; }
.badge-check { display:inline-grid; place-items:center; width:22px;height:22px;border-radius:50%;background:var(--c-primary-050);color:var(--c-primary);}
.badge-check svg{width:14px;height:14px;}
.mt-0{margin-top:0!important;} .mb-0{margin-bottom:0!important;}

/* ---------- 22. Responsive ---------- */
.mobile-nav { display: none; }
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:not(:last-child)::after { display: none; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}
@media (max-width: 860px) {
  .nav-menu { display: none; }
  .nav-actions { display: none; }
  .nav-toggle { display: block; }
  .grid-3, .grid-4, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid, .roi-grid { grid-template-columns: 1fr; gap: 28px; }
  .carousel__btn { display: none; }
  .mobile-nav { display: block; position: fixed; inset: var(--header-h) 0 0 auto; width: min(340px, 84vw); background: #fff; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .3s var(--ease); z-index: 940; padding: 22px; overflow-y: auto; border-left: 1px solid var(--c-border); }
  .mobile-nav.is-open { transform: translateX(0); }
  .mobile-nav > a { display: block; padding: 14px 12px; border-radius: 10px; font-weight: 600; color: var(--c-heading); }
  .mobile-nav > a:hover { background: var(--c-bg-soft); color: var(--c-primary); }
  .mnav-group { border-top: 1px solid var(--c-border); }
  .mnav-group:first-of-type { border-top: none; }
  .mnav-group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 15px 12px; font-weight: 700; color: var(--c-heading); }
  .mnav-group > summary::-webkit-details-marker { display: none; }
  .mnav-group > summary svg { width: 18px; height: 18px; color: var(--c-muted); transition: transform .25s var(--ease); }
  .mnav-group[open] > summary svg { transform: rotate(180deg); }
  .mnav-group[open] > summary { color: var(--c-primary); }
  .mnav-group__items { padding: 2px 0 10px; }
  .mnav-group__items a { display: block; padding: 11px 12px 11px 22px; border-radius: 10px; font-weight: 500; color: var(--c-text); }
  .mnav-group__items a:hover { background: var(--c-bg-soft); color: var(--c-primary); }
  .mobile-nav .btn { display: flex; margin-top: 16px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(11,27,51,.4); opacity: 0; visibility: hidden; transition: opacity .3s; z-index: 930; }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
}
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 430px) {
  .container { padding-inline: 16px; }
  .hero__cta { flex-wrap: wrap; }
}

/* ==========================================================================
   23. New modules: geo banner, charts, AI diagram, KB, pricing, case study, tools
   ========================================================================== */

/* ---- Geo suggestion banner ---- */
.geo-banner { background: var(--c-primary-050); border-bottom: 1px solid var(--c-primary-100); }
.geo-banner__in { display: flex; align-items: center; gap: 14px; padding: 11px 0; font-size: .92rem; }
.geo-banner__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: #fff; color: var(--c-primary); flex: none; }
.geo-banner__ico svg { width: 17px; height: 17px; }
.geo-banner__txt { color: var(--c-heading); }
.geo-banner__txt strong { color: var(--c-primary-dark); }
.geo-banner__cta { color: var(--c-primary); font-weight: 700; white-space: nowrap; }
.geo-banner__cta:hover { text-decoration: underline; }
.geo-banner__spacer { margin-left: auto; }
.geo-banner__close { width: 28px; height: 28px; border-radius: 7px; color: var(--c-muted); display: grid; place-items: center; }
.geo-banner__close:hover { background: #fff; color: var(--c-heading); }
.geo-banner__close svg { width: 16px; height: 16px; transform: rotate(45deg); }
.geo-banner select { border: 1px solid var(--c-primary-100); border-radius: 8px; padding: 4px 8px; background: #fff; font-size: .88rem; }

/* ---- Charts ---- */
.chart-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.chart-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.chart-card__head h4 { font-size: 1rem; }
.chart-line { width: 100%; height: auto; display: block; }
.chart-line polyline { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: dash 1.8s var(--ease) forwards; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.chart-ring { width: 128px; height: 128px; }
.chart-ring circle:last-of-type { transition: stroke-dashoffset 1.4s var(--ease); }
.chart-bars { display: flex; flex-direction: column; gap: 14px; }
.chart-bars__row { display: grid; grid-template-columns: 130px 1fr 34px; align-items: center; gap: 12px; }
.chart-bars__label { font-size: .88rem; color: var(--c-heading); font-weight: 600; }
.chart-bars__track { height: 10px; background: var(--c-bg-soft); border-radius: 999px; overflow: hidden; }
.chart-bars__fill { display: block; height: 100%; width: var(--w); background: var(--g-primary); border-radius: 999px; transform-origin: left; animation: growX 1.1s var(--ease); }
@keyframes growX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.chart-bars__val { font-weight: 700; color: var(--c-primary); text-align: right; font-size: .9rem; }

/* Mini bar column chart (CSS only) */
.col-chart { display: flex; align-items: flex-end; gap: 10px; height: 140px; }
.col-chart__bar { flex: 1; background: var(--g-primary); border-radius: 8px 8px 0 0; min-height: 6px; height: var(--h); animation: growY 1s var(--ease); position: relative; }
.col-chart__bar span { position: absolute; top: -22px; left: 0; right: 0; text-align: center; font-size: .72rem; font-weight: 700; color: var(--c-muted); }
@keyframes growY { from { height: 0; } }

/* ---- Funnel diagram ---- */
.funnel { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.funnel__row { color: #fff; text-align: center; padding: 14px; border-radius: 10px; font-weight: 600; background: var(--g-primary); }
.funnel__row small { display: block; opacity: .85; font-weight: 500; font-size: .8rem; }
.funnel__row:nth-child(1){ width: 100%; }
.funnel__row:nth-child(2){ width: 82%; background: linear-gradient(135deg,#2b74e6,#5a9bff); }
.funnel__row:nth-child(3){ width: 64%; background: linear-gradient(135deg,#3f8bff,#77b0ff); }
.funnel__row:nth-child(4){ width: 46%; background: var(--g-accent); }

/* ---- AI pipeline diagram ---- */
.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
.pipe-node { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px 18px; text-align: center; position: relative; z-index: 1; }
.pipe-node__ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin: 0 auto 12px; background: var(--c-primary-050); color: var(--c-primary); }
.pipe-node__ico svg { width: 24px; height: 24px; }
.pipe-node h4 { font-size: 1rem; margin-bottom: 4px; }
.pipe-node p { font-size: .84rem; color: var(--c-muted); }
.pipe-node:not(:last-child)::after { content: ""; position: absolute; top: 46px; right: -12px; width: 12px; height: 2px; background: var(--c-primary-100); z-index: 0; }
.pipe-node__step { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--c-primary); color: #fff; font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

/* ---- Knowledge Base ---- */
.kb-hero__in { max-width: 720px; margin: 16px auto 0; }
.kb-search { position: relative; max-width: 640px; margin: 26px auto 0; display: flex; gap: 10px; }
.kb-search__ico { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: var(--c-muted); pointer-events: none; }
.kb-search__ico svg { width: 20px; height: 20px; }
.kb-search input { flex: 1; padding: 16px 18px 16px 50px; border: 1.5px solid var(--c-border); border-radius: var(--radius-pill); background: #fff; box-shadow: var(--shadow-md); }
.kb-search input:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 4px rgba(26,128,201,.14); }
.kb-search .btn { border-radius: var(--radius-pill); }
.kb-suggest { margin-top: 16px; font-size: .9rem; color: var(--c-muted); }
.kb-suggest a { color: var(--c-primary); font-weight: 600; margin: 0 5px; }
.kb-suggest a:hover { text-decoration: underline; }

/* Help topic cards with colourful badges */
.kb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kb-card { display: flex; flex-direction: column; align-items: flex-start; text-align: left; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 24px; height: 100%; transition: transform .22s var(--ease), box-shadow .22s, border-color .22s; }
.kb-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--c-primary-100); }
.kb-card h3 { font-size: 1.12rem; margin-bottom: 7px; }
.kb-card p { color: var(--c-muted); font-size: .92rem; line-height: 1.55; flex: 1; }
.kb-card__count { margin-top: 16px; font-weight: 700; color: var(--c-primary); display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; }
.kb-card:hover .kb-card__count { gap: 10px; }
.kb-card__btn { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border-radius: var(--radius-pill); background: var(--c-primary); color: #fff; font-weight: 700; font-size: .85rem; transition: background .2s, gap .2s; }
.kb-card__btn svg { width: 15px; height: 15px; }
.kb-card:hover .kb-card__btn { background: var(--c-primary-dark); gap: 10px; }
.kb-card__btn--ghost { background: #fff; color: var(--c-primary); border: 1.5px solid var(--c-border); }
.kb-card:hover .kb-card__btn--ghost { background: var(--c-primary-050); border-color: var(--c-primary-100); }
.kb-card--ask { background: var(--c-bg-soft); border-style: dashed; }
.kb-badge { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.02rem; margin-bottom: 16px; box-shadow: 0 10px 20px rgba(12,27,51,.16); transition: transform .22s var(--ease); }
.kb-card:hover .kb-badge { transform: scale(1.06) rotate(-3deg); }
.kb-badge svg { width: 24px; height: 24px; }

/* Popular questions list */
.kb-pop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.kb-pop__item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px 20px; transition: box-shadow .2s, border-color .2s, transform .2s; }
.kb-pop__item:hover { box-shadow: var(--shadow-sm); border-color: var(--c-primary-100); transform: translateY(-3px); }
.kb-pop__item.is-hidden { display: none; }
.kb-pop__q { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--c-heading); line-height: 1.35; }
.kb-pop__a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--c-muted); font-size: .875rem; margin-top: 6px; }
.kb-pop__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--c-primary); font-weight: 600; font-size: .85rem; }
@media (max-width: 960px) { .kb-grid, .kb-pop { grid-template-columns: repeat(2, 1fr); } .kb-search { flex-direction: row; } }
@media (max-width: 560px) { .kb-grid, .kb-pop { grid-template-columns: 1fr; } }
.kb-topic { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 26px; height: 100%; transition: transform .22s var(--ease), box-shadow .22s; }
.kb-topic:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.kb-topic__head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.kb-topic__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--c-primary-050); color: var(--c-primary); flex: none; }
.kb-topic__ico svg { width: 23px; height: 23px; }
.kb-topic h3 { font-size: 1.12rem; }
.kb-qlist li { border-top: 1px solid var(--c-border); }
.kb-qlist a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; color: var(--c-text); font-weight: 500; }
.kb-qlist a:hover { color: var(--c-primary); }
.kb-qlist svg { width: 16px; height: 16px; flex: none; opacity: .5; }
.kb-answer { max-width: 760px; }
.kb-answer .direct-answer { font-size: 1.18rem; color: var(--c-heading); line-height: 1.6; background: var(--c-primary-050); border-left: 4px solid var(--c-primary); border-radius: var(--radius); padding: 22px 26px; }
.kb-answer p { margin-top: 18px; color: var(--c-text); }
.helpful { display: flex; align-items: center; gap: 14px; margin-top: 30px; padding: 20px 24px; background: var(--c-bg-soft); border-radius: var(--radius); }
.helpful span { font-weight: 600; color: var(--c-heading); }
.helpful button { border: 1.5px solid var(--c-border); border-radius: 999px; padding: 8px 18px; font-weight: 600; background: #fff; transition: all .18s; }
.helpful button:hover { border-color: var(--c-primary); color: var(--c-primary); }
.helpful button.is-picked { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.related-links { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 22px 24px; background: #fff; }
.related-links h4 { margin-bottom: 12px; }
.related-links a { display: flex; gap: 8px; align-items: center; padding: 8px 0; color: var(--c-text); }
.related-links a:hover { color: var(--c-primary); }
.related-links svg { width: 16px; height: 16px; color: var(--c-primary); flex: none; }

/* ---- Pricing ---- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s; }
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card--featured { border-color: var(--c-primary); box-shadow: var(--shadow-md); position: relative; }
.price-card--featured::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--c-primary); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 16px; border-radius: 999px; }
.price-card h3 { font-size: 1.3rem; }
.price-card__blurb { color: var(--c-muted); font-size: .92rem; margin-top: 6px; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 4px; margin: 20px 0; }
.price__amt { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: var(--c-heading); }
.price__per { color: var(--c-muted); }
.price-features { flex: 1; margin: 8px 0 22px; }
.price-features li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: .94rem; }
.price-features svg { flex: none; width: 18px; height: 18px; color: var(--c-success); margin-top: 3px; }

/* ---- Comparison table ---- */
.compare { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--c-border); }
.compare thead th { background: var(--c-bg-soft); font-family: var(--font-head); color: var(--c-heading); }
.compare td.center, .compare th.center { text-align: center; }
.compare .yes { color: var(--c-success); } .compare .no { color: var(--c-muted); opacity: .5; }

/* ---- Case study ---- */
.cs-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; height: 100%; transition: transform .25s var(--ease), box-shadow .25s; }
.cs-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cs-card__top { padding: 24px 24px 0; }
.cs-card__tags { display: flex; gap: 8px; margin-bottom: 12px; }
.cs-card__body { padding: 0 24px 24px; display: flex; flex-direction: column; flex: 1; }
.cs-metrics { display: flex; gap: 18px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--c-border); }
.cs-metric__val { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; background: var(--g-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-metric__lbl { font-size: .78rem; color: var(--c-muted); }
.cs-results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cs-result { text-align: center; padding: 26px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); }
.cs-result__val { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem,4vw,2.8rem); background: var(--g-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- Tools ---- */
.tool-card { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 30px; height: 100%; display: flex; flex-direction: column; transition: transform .22s var(--ease), box-shadow .22s; }
.tool-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tool-result { margin-top: 26px; padding: 26px; border: 1px solid var(--c-primary-100); background: var(--c-primary-050); border-radius: var(--radius-lg); }
.tool-result[hidden] { display: none; }
.tool-scorewrap { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.roi-output { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.roi-output .cs-result { padding: 20px; }

/* ---- Responsive for new modules ---- */
@media (max-width: 1024px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .pipe-node:not(:last-child)::after { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .cs-results-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .geo-banner__in { font-size: .84rem; gap: 10px; }
  .chart-bars__row { grid-template-columns: 100px 1fr 30px; }
  .roi-output { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pipeline { grid-template-columns: 1fr; }
  .cs-results-grid { grid-template-columns: 1fr; }
  .kb-search .btn { padding-inline: 18px; }
  .compare { display: block; overflow-x: auto; white-space: nowrap; }
  .cs-metrics { flex-wrap: wrap; gap: 14px 18px; }
  .geo-banner__in { flex-wrap: wrap; gap: 8px 12px; padding: 10px 0; }
  .geo-banner__ico { display: none; }
  .geo-banner__txt { flex: 1 1 100%; font-size: .88rem; }
}

/* ==========================================================================
   24. Revision: logo, hero form, hero blobs, upgraded pipeline, micro-interactions
   ========================================================================== */

/* ---- Logo ---- */
.brand { gap: 0; }
.brand__logo { height: 40px; width: auto; display: block; }
.footer-brand { display: inline-block; }
.footer-brand .brand__logo { height: 44px; filter: brightness(0) invert(1); }

/* ---- Hero: decorative animated blobs + soft grid ---- */
.hero::after {
  content: ""; position: absolute; z-index: -1; top: -140px; right: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(63,139,255,.16), transparent 68%);
  animation: floaty 10s ease-in-out infinite;
}
.hero-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.hero-blob--1 { bottom: -80px; left: -60px; width: 260px; height: 260px; background: radial-gradient(circle, rgba(255,106,61,.12), transparent 70%); animation: floaty 12s ease-in-out infinite reverse; }

/* Page-hero two-column with lead form */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; z-index: 0; top: -120px; right: -100px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,99,216,.10), transparent 68%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero__grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.page-hero__grid .lead { margin-top: 14px; }

/* ---- Lead form (hero) ---- */
.lead-form { position: relative; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 26px; overflow: hidden; }
.lead-form__glow { position: absolute; top: -70px; right: -70px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(26,99,216,.16), transparent 70%); }
.lead-form > *:not(.lead-form__glow) { position: relative; z-index: 1; }
.lead-form__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.lead-form__title { font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; color: var(--c-heading); letter-spacing: -.01em; }
.lead-form__pill { display: inline-flex; align-items: center; gap: 5px; font-size: .72rem; font-weight: 700; color: var(--c-accent-dark); background: var(--c-accent-050); padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.lead-form__pill svg { width: 13px; height: 13px; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); background: #fff; font: inherit; transition: border-color .18s, box-shadow .18s; }
.lead-form textarea { resize: vertical; min-height: 58px; line-height: 1.5; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--c-primary); outline: none; box-shadow: 0 0 0 4px rgba(26,99,216,.12); }
.lf-field { margin-bottom: 12px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }

/* Honeypot — hidden from humans, visible to bots */
.lf-hp { position: absolute !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* Phone with country-code select */
.lf-phone { display: flex; gap: 8px; }
.lf-phone select[data-dialcode] { flex: 0 0 auto; width: auto; padding-inline: 10px; font-weight: 600; }
.lf-phone input { flex: 1; min-width: 0; }

/* Inline validation */
.lf-err { display: block; color: #d63d4c; font-size: .78rem; margin-top: 5px; }
.lf-err:empty { display: none; }
.lead-form .is-invalid, .form-card .is-invalid { border-color: #d63d4c !important; box-shadow: 0 0 0 3px rgba(214,61,76,.14) !important; }

/* Two-step form: progress indicator, intro, back button */
.lf-steps { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.lf-steps__dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 700; background: var(--c-bg-soft); color: var(--c-muted); border: 1.5px solid var(--c-border); flex: none; }
.lf-steps__dot.is-on { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.lf-steps__dot.is-done { background: var(--c-success); color: #fff; border-color: var(--c-success); }
.lf-steps__dot svg { width: 15px; height: 15px; }
.lf-steps__bar { height: 2px; flex: 1; background: var(--c-border); border-radius: 2px; }
.lf-steps__bar.is-on { background: var(--c-primary); }
.lf-step2-intro { font-size: .9rem; color: var(--c-muted); margin-bottom: 14px; }
.lf-back { display: inline-flex; align-items: center; gap: 5px; color: var(--c-muted); font-weight: 600; font-size: .9rem; padding: 8px 6px; }
.lf-back:hover { color: var(--c-primary); }
.lf-back svg { width: 16px; height: 16px; }
.lead-form .lf-back { display: flex; justify-content: center; margin: 12px auto 0; }
.lead-form__note { display: flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--c-muted); margin-top: 13px; }
.lead-form__note svg { width: 15px; height: 15px; color: var(--c-success); flex: none; }
.lead-form__ok { color: var(--c-success); font-weight: 600; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; gap: 34px; } }
@media (max-width: 400px) { .lf-row { grid-template-columns: 1fr; } }

/* ---- Upgraded AI pipeline: gradient nodes + arrow connectors ---- */
.pipe-node { transition: transform .22s var(--ease), box-shadow .22s; overflow: visible; }
.pipe-node:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.pipe-node__ico { background: var(--g-primary); color: #fff; box-shadow: var(--shadow-primary); }
.pipe-node:not(:last-child)::after {
  content: ""; position: absolute; top: 48px; right: -14px; width: 0; height: 0;
  border-left: 9px solid var(--c-primary); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  opacity: .55;
}

/* ---- Button shine micro-interaction ---- */
.btn--primary, .btn--accent { position: relative; overflow: hidden; }
.btn--primary::after, .btn--accent::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn--primary:hover::after, .btn--accent:hover::after { left: 130%; }

/* Nav link animated underline */
.nav-link { position: relative; }

/* ---- CTA banner animated gradient ---- */
.cta-banner { background: linear-gradient(130deg, #0b1b33, #133163, #0b1b33); background-size: 200% 200%; animation: gradShift 9s ease infinite; }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---- Marquee (trust strip) ---- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 46px; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 10px; color: var(--c-muted); font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.marquee__item svg { width: 20px; height: 20px; color: var(--c-primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Chart polish ---- */
.chart-line .grid-line { stroke: var(--c-border); stroke-width: 1; opacity: .7; }
.chart-card { background: #fff; }

/* ---- Section divider wave (subtle) ---- */
.card, .tile, .post-card, .kb-topic, .price-card, .cs-card, .tool-card, .pipe-node, .step { will-change: transform; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
