/* ==========================================================================
   ADSTIME - shared stylesheet
   One color system (CSS variables) + shared button/card/section styles.
   Edit the :root variables below to re-theme the entire site.
   ========================================================================== */

:root {
  /* Color system - Adstime brand: indigo -> violet -> coral -> amber gradient
     on a warm paper ground. Re-theme the whole site by editing these. */
  --color-primary: #4338CA;        /* indigo */
  --color-primary-dark: #342AA0;
  --color-primary-light: #ECEAFB;
  --color-accent: #F0466B;         /* coral - results/positive stats, "most popular" tags */
  --color-ink: #16121F;            /* near-black text, warm-biased */
  --color-body: #55506A;           /* body copy */
  --color-muted: #85809A;
  --color-border: #E7E2D8;
  --color-surface: #ffffff;        /* cards */
  --color-surface-alt: #F3EEE3;    /* alternating section background */
  --color-page: #FBF9F4;           /* page ground, sits behind white cards */
  --color-danger: #e5484d;

  /* Brand gradient - indigo -> violet -> coral -> amber. Used sparingly: headline
     accents, the hero dashboard badges, and the CTA band. */
  --color-violet: #9333EA;
  --color-amber: #FBA919;
  --gradient-brand: linear-gradient(100deg, var(--color-primary) 0%, var(--color-violet) 34%, var(--color-accent) 66%, var(--color-amber) 100%);

  /* Type: Unbounded for headings/numbers (bold, geometric), Plus Jakarta Sans for
     body copy, JetBrains Mono for eyebrows/labels/data. */
  --font-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Unbounded', 'Arial Black', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  /* Layout */
  --container-width: 1160px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(22, 18, 31, 0.06);
  --shadow-md: 0 12px 32px rgba(22, 18, 31, 0.10);
  --transition: 180ms ease;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-body);
  background: var(--color-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.1rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
a { color: var(--color-primary); text-decoration: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--color-ink);
  color: var(--color-page);
  box-shadow: 0 20px 46px -18px rgba(67, 56, 202, 0.45);
}
.btn--primary:hover { background: var(--color-ink); box-shadow: 0 24px 54px -16px rgba(67, 56, 202, 0.55); }
.btn--ghost {
  background: transparent;
  border-color: var(--color-border);
  color: var(--color-ink);
}
.btn--ghost:hover { border-color: var(--color-ink); background: var(--color-surface); }
.btn--sm { padding: 9px 18px; font-size: 0.88rem; }
.btn--block { width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card__icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.card__icon svg { width: 20px; height: 20px; }

.badge {
  display: inline-block;
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ---------- Header / Nav ---------- */
.site-header {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: rgba(251, 249, 244, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo__img { height: 50px; width: 180px; display: block; }
.logo--footer .logo__img { height: 28px; }
.logo {

  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.logo__dot { color: var(--color-accent); }
.logo-mark {
  width: 10px; height: 10px; border-radius: 3px;
  background: var(--gradient-brand);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  color: var(--color-body);
  font-weight: 600;
  font-size: 0.96rem;
  transition: color var(--transition);
}
.site-nav a:hover, .site-nav a.is-active { color: var(--color-primary); }
.site-nav .nav-cta { color: var(--color-page); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--color-ink); border-radius: 2px; }

/* ---------- Header mega-menu dropdowns (Marketing / Technology / Industry) ---------- */
html { scroll-padding-top: 100px; scroll-behavior: smooth; }

.nav-item--dropdown { position: relative; }
.nav-drop-trigger {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: none; padding: 0; margin: 0; cursor: pointer;
  color: var(--color-body); font-family: inherit; font-weight: 600; font-size: 0.96rem;
  transition: color var(--transition);
}
.nav-drop-trigger:hover, .nav-drop-trigger.is-active { color: var(--color-primary); }
.nav-caret-icon { width: 13px; height: 13px; transition: transform 0.28s cubic-bezier(.4,0,.2,1); flex-shrink: 0; }
.nav-item--dropdown:hover .nav-caret-icon,
.nav-item--dropdown.is-open .nav-caret-icon { transform: rotate(180deg); }

.nav-mega {
  position: absolute; top: calc(100% + 20px); left: 50%;
  transform: translateX(-50%) translateY(10px) scale(0.97);
  min-width: 300px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -20px rgba(22,18,31,0.28);
  padding: 10px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.26s cubic-bezier(.4,0,.2,1), transform 0.26s cubic-bezier(.4,0,.2,1), visibility 0.26s;
  z-index: 200;
  overflow: hidden;
}
.nav-mega::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1) 0.08s;
}
.nav-mega--wide { min-width: 560px; }

.nav-item--dropdown:hover .nav-mega,
.nav-item--dropdown.is-open .nav-mega {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1);
}
.nav-item--dropdown:hover .nav-mega::before,
.nav-item--dropdown.is-open .nav-mega::before { transform: scaleX(1); }

.nav-mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-mega__grid--1col { grid-template-columns: 1fr; }

.nav-mega__item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px; border-radius: var(--radius-md);
  transition: background 0.18s ease, transform 0.18s ease;
}
.nav-mega__item:hover { background: var(--color-surface-alt); transform: translateX(2px); }
.nav-mega__icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1);
}
.nav-mega__item:hover .nav-mega__icon { transform: scale(1.1) rotate(-4deg); }
.nav-mega__icon svg { width: 18px; height: 18px; }
.nav-mega__item strong { display: block; color: var(--color-ink); font-size: 0.9rem; font-weight: 700; margin-bottom: 2px; }
.nav-mega__item small { display: block; color: var(--color-muted); font-size: 0.78rem; line-height: 1.4; }

.nav-mega__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 6px; padding: 12px 14px 8px;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 600; color: var(--color-primary);
}
.nav-mega__footer svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.nav-mega__footer:hover svg { transform: translateX(3px); }

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section--alt { background: var(--color-surface-alt); }
.section-head { max-width: 620px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 16px; height: 1.5px;
  background: var(--gradient-brand);
  display: inline-block;
}
.section-head.center .eyebrow { justify-content: center; }

.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Hero ---------- */
.hero {
  padding: 90px 0 70px;
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-page) 60%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero p.lead { font-size: 1.15rem; color: var(--color-body); }
.hero__actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__note { margin-top: 18px; font-size: 0.88rem; color: var(--color-muted); }
.hero__art img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* ---------- Stats ---------- */
.stats {
  display: flex; justify-content: center; align-items: flex-start;
  gap: 64px; flex-wrap: wrap; padding: 40px 0;
  border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
}
.stat { text-align: center; min-width: 150px; }
.stat__num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.stat__num span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { color: var(--color-muted); font-size: 0.92rem; }

/* ---------- Logos strip ---------- */
.logo-strip { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: space-between; opacity: 0.75; }
.logo-strip img { height: 28px; width: auto; filter: grayscale(100%); }

/* ---------- Pricing ---------- */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card__tag {
  position: absolute; top: -14px; right: 24px;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  padding: 6px 14px; border-radius: 999px;
}
.price-card__amount { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--color-ink); margin: 12px 0 4px; }
.price-card__amount small { font-size: 0.95rem; font-weight: 600; color: var(--color-muted); }
.price-card__list { list-style: none; padding: 0; margin: 24px 0; flex-grow: 1; }
.price-card__list li { padding: 9px 0; border-top: 1px solid var(--color-border); font-size: 0.95rem; color: var(--color-body); }
.price-card__list li:first-child { border-top: none; }
.price-card__list li::before { content: "✓ "; color: var(--color-accent); font-weight: 700; }

/* Featured plan - matches the dark, gradient-glow "Growth" treatment from index.html
   rather than a light card with a colored border, so the recommended plan reads as
   the one visual break on the page, same as the brand reference. */
.price-card--featured {
  background: var(--color-ink);
  border-color: transparent;
  box-shadow: 0 20px 60px -20px rgba(67, 56, 202, 0.45);
  transform: translateY(-8px);
}
.price-card--featured h3,
.price-card--featured .price-card__amount { color: var(--color-page); }
.price-card--featured p,
.price-card--featured .form-note,
.price-card--featured .price-card__amount small { color: #B7B2C9; }
.price-card--featured .price-card__list li { color: #D8D4E6; border-top-color: rgba(231, 226, 240, 0.16); }
.price-card--featured .price-card__list li::before { color: #C9BEFF; }
.price-card--featured .btn--primary {
  background: #fff;
  color: var(--color-ink);
  box-shadow: none;
}
.price-card--featured .btn--primary:hover { box-shadow: var(--shadow-md); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--color-border); padding: 22px 0; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--color-ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--color-primary); flex-shrink: 0; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { margin-top: 12px; }

/* ---------- Testimonial / quote ---------- */
.quote-card { background: var(--color-ink); color: #fff; border-radius: var(--radius-lg); padding: 48px; }
.quote-card p { font-size: 1.3rem; color: #fff; font-weight: 500; }
.quote-card__who { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.quote-card__who img { width: 48px; height: 48px; border-radius: 50%; }
.quote-card__who strong { color: #fff; display: block; }
.quote-card__who span { color: #b7bbd6; font-size: 0.88rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--color-ink);
  border-radius: var(--radius-lg);
  padding: 60px;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: -40% -10% auto auto;
  width: 420px; height: 420px;
  background: var(--gradient-brand);
  filter: blur(100px);
  opacity: 0.4;
  border-radius: 50%;
}
.cta-band > * { position: relative; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,0.5); color: #fff; }
.cta-band .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card img { border-radius: var(--radius-md); margin-bottom: 16px; aspect-ratio: 1/1; object-fit: cover; }
.team-card h3 { margin-bottom: 2px; }
.team-card span { color: var(--color-muted); font-size: 0.9rem; }

/* ---------- Timeline (About) ---------- */
.timeline { border-left: 2px solid var(--color-border); padding-left: 28px; display: flex; flex-direction: column; gap: 32px; }
.timeline__item strong { display: block; color: var(--color-primary); font-size: 0.85rem; margin-bottom: 4px; }

/* ---------- Forms ---------- */
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; color: var(--color-ink); margin-bottom: 6px; font-size: 0.92rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-base);
  font-size: 0.98rem;
  color: var(--color-ink);
  transition: border-color var(--transition);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--color-muted); margin-top: -10px; }
.form-success { background: #eafbf3; border: 1px solid var(--color-accent); color: #0f7a54; padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.form-error { background: #fdecec; border: 1px solid var(--color-danger); color: #a3252a; padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; }
.honeypot-field { position: absolute; left: -9999px; top: -9999px; } /* WHY: hidden anti-spam field, see contact.php */

/* ---------- Contact info cards ---------- */
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; }

/* ---------- Blog ---------- */
.post-list { display: flex; flex-direction: column; gap: 0; }
.post-row { display: flex; justify-content: space-between; gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--color-border); }
.post-row:first-child { padding-top: 0; }
.post-row time { color: var(--color-muted); font-size: 0.85rem; }
.post-row h2 { font-size: 1.35rem; margin: 6px 0 8px; }
.post-row h2 a { color: var(--color-ink); }
.post-row h2 a:hover { color: var(--color-primary); }
.post-row__meta { flex-shrink: 0; width: 130px; }
.post-empty { color: var(--color-muted); }

.blog-post h1 { margin-bottom: 8px; }
.blog-post .post-date { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 32px; display: block; }
.blog-post img { border-radius: var(--radius-md); margin: 28px 0; }
.blog-post h2 { margin-top: 40px; }
.blog-post ul, .blog-post ol { padding-left: 22px; }
.blog-post li { margin-bottom: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink); color: #b7bbd6; padding: 64px 0 28px; margin-top: 60px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 40px; }
.site-footer .logo--footer { color: #fff; }
.site-footer .logo--footer .logo__img { height: 34px; width: auto; display: block; }
.footer__brand p { max-width: 320px; margin-top: 14px; }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}
.footer__social-link svg { width: 17px; height: 17px; }
.footer__social-link:hover { background: var(--color-primary); transform: translateY(-2px); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.footer__col a, .footer__col span { color: #b7bbd6; font-size: 0.95rem; }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  display: flex; justify-content: space-between;
  margin-top: 48px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.85rem;
  color: #7d81a0;
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 500;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(37,211,102,0.6), 0 2px 8px rgba(22,18,31,0.15);
  transition: transform 0.25s cubic-bezier(.34,1.56,.64,1), box-shadow 0.25s ease;
  animation: whatsapp-pulse 2.6s ease-in-out infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 16px 34px -6px rgba(37,211,102,0.7), 0 2px 10px rgba(22,18,31,0.2);
}
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 12px 28px -8px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 12px 28px -8px rgba(37,211,102,0.6), 0 0 0 10px rgba(37,211,102,0); }
}
@media (max-width: 720px) {
  .whatsapp-float { left: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 27px; height: 27px; }
}

/* ---------- Legal pages (Privacy Policy / Terms) ---------- */
.legal-page { max-width: 820px; margin: 0 auto; }
.legal-page .legal-updated { color: var(--color-muted); font-size: 0.9rem; margin-bottom: 32px; display: block; }
.legal-page h2 { margin-top: 40px; }
.legal-page h3 { margin-top: 26px; font-size: 1.1rem; }
.legal-page ul, .legal-page ol { padding-left: 22px; }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--color-primary); }

/* ---------- Thank-you page ---------- */
.thankyou-page { text-align: center; padding: 100px 0; }
.thankyou-page .thankyou-icon {
  width: 76px; height: 76px; margin: 0 auto 24px;
  border-radius: 50%; background: rgba(30,174,85,0.12);
  display: flex; align-items: center; justify-content: center;
  color: #1EAE55;
}
.thankyou-page .thankyou-icon svg { width: 38px; height: 38px; }
.thankyou-page .btn-row { display: flex; gap: 14px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 140px 0; }
.error-page h1 { font-size: 5rem; }

/* ---------- Gradient text utility ---------- */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Trust strip (homepage, under hero) ---------- */
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 30px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.trust-strip__label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  flex-shrink: 0;
}
.trust-strip__names {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 44px);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-muted);
  opacity: 0.8;
}

/* ---------- Hero dashboard (homepage hero__art replacement) ---------- */
.hero-dashboard-stage { position: relative; padding: 30px 20px 24px; }
.hero-dashboard {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 20px 16px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}
.hero-dashboard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hero-dashboard__title { font-size: 0.84rem; font-weight: 700; color: var(--color-ink); }
.hero-dashboard__pill {
  font-family: var(--font-mono);
  font-size: 0.7rem; font-weight: 600;
  color: #0F9D58;
  background: rgba(15,157,88,0.1);
  padding: 4px 10px;
  border-radius: 999px;
  display: flex; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.hero-dashboard__pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #0F9D58; }

.channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.channel-tile { background: var(--color-surface); padding: 12px 13px; display: flex; align-items: center; gap: 10px; }
.channel-tile__dot { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.channel-tile__dot svg { width: 15px; height: 15px; }
.channel-tile__name { font-size: 0.74rem; font-weight: 700; color: var(--color-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.channel-tile__metric { font-family: var(--font-mono); font-size: 0.68rem; color: var(--color-body); margin-top: 1px; }

/* floating channel badges around the hero dashboard */
@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(var(--tilt, 0deg)); }
  50% { transform: translateY(-9px) rotate(var(--tilt, 0deg)); }
}
.float-badge {
  position: absolute;
  z-index: 3;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  padding: 10px;
  animation: floaty 5.4s ease-in-out infinite;
}
.float-badge svg { width: 100%; height: 100%; display: block; }
.badge-1 { top: -10px; left: -6px; --tilt: -6deg; animation-delay: 0s; }
.badge-2 { top: -18px; right: 54px; --tilt: 5deg; animation-delay: .9s; width: 42px; height: 42px; font-size: 1.1rem; }
.badge-3 { bottom: 22px; left: -16px; --tilt: -4deg; animation-delay: 1.7s; width: 42px; height: 42px; font-size: 1.1rem; }
.badge-4 { bottom: -12px; right: -6px; --tilt: 6deg; animation-delay: .4s; }

.float-tag {
  position: absolute;
  z-index: 3;
  display: flex; align-items: center; gap: 7px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 12px 7px 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  animation: floaty 6s ease-in-out infinite;
  white-space: nowrap;
}
.float-tag i { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.tag-1 { top: -36px; left: 110px; animation-delay: 1.2s; }
.tag-2 { bottom: -32px; right: 100px; animation-delay: .2s; }

@media (max-width: 1080px) { .tag-1, .tag-2 { display: none; } }
@media (max-width: 720px) {
  .hero-dashboard-stage { padding: 24px 10px 14px; }
  .badge-2 { right: 30px; }
  .badge-1, .badge-2, .badge-3, .badge-4 { width: 38px; height: 38px; font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .float-badge, .float-tag { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .price-card--featured { transform: none; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 10px 0; }
  .site-nav .nav-cta { margin-top: 10px; }

  /* Mega menus become inline expand/collapse panels on mobile instead of floating dropdowns */
  .nav-item--dropdown { width: 100%; }
  .nav-drop-trigger { width: 100%; justify-content: space-between; padding: 10px 0; }
  .nav-mega {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: none; box-shadow: none; padding: 0 0 0 8px; min-width: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-mega::before { display: none; }
  .nav-item--dropdown:hover .nav-mega,
  .nav-item--dropdown.is-open .nav-mega {
    /* WHY: without repeating this override here, the higher-specificity desktop
       hover/open rule (translateX(-50%) translateY(0) scale(1)) wins over the
       plain ".nav-mega { transform: none }" above and shifts the open panel
       half its own width off-screen to the left on mobile. */
    transform: none;
    max-height: 600px;
    margin-bottom: 8px;
  }
  .nav-mega__grid, .nav-mega--wide .nav-mega__grid { grid-template-columns: 1fr; }
  .nav-mega__footer { border-top: none; padding: 8px 10px; }

  .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .stats { gap: 24px; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 6px; }
  .cta-band { padding: 40px 24px; }
  section { padding: 60px 0; }
  .post-row { flex-direction: column; gap: 6px; }
  .post-row__meta { width: auto; order: 2; }
}
