/* ═══════════════════════════════════════════════════════
   Commission Factory — Shared Stylesheet
   2026 Redesign | Inspired by Awin Group
═══════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────── */
:root {
  --dark-blue:   #10162E;
  --iris:        #5756D5;
  --iris-mid:    #6967DC;
  --iris-light:  #8584E8;
  --apple-green: #70F8BA;
  --sky-blue:    #00AADF;
  --white:       #ffffff;
  --grey-bg:     #F2F2F2;
  --light-bg:    #F8F8FC;
  --text-body:   #3D3D3D;
  --text-muted:  #6B6B7A;
  --border:      #E4E4EE;
  --font:        'Poppins', sans-serif;
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.25s ease;
  --shadow-sm:   0 2px 8px rgba(16,22,46,0.07);
  --shadow-md:   0 4px 16px rgba(16,22,46,0.08);
  --shadow-lg:   0 8px 32px rgba(16,22,46,0.10);
  --shadow-xl:   0 12px 40px rgba(16,22,46,0.10);
  --color-success:    #00b870;
  --color-success-fg: #008a52;
  --color-danger-fg:  #c0421a;
  --color-sky-fg:     #0082aa;
}

/* ── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 15px;
  font-weight: 400;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── TYPOGRAPHY ─────────────────────────────────────── */
h1 {
  font-size: clamp(32px, 4.5vw, 42px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-top: 22px;
}

h2 {
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  color: var(--dark-blue);
}

h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--dark-blue);
}

h4 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 10px;
  color: var(--dark-blue);
}

/* Heading color modifiers */
h2.light-heading,
h3.light-heading { color: var(--white); }

h2.iris-heading,
h3.iris-heading { color: var(--iris); }

/* Heading size modifiers (rare cases only) */
h2.h2-lg {
  font-size: clamp(28px, 3.5vw, 44px);
}

h2.h2-sm {
  font-size: clamp(20px, 2.2vw, 28px);
}

/* Base paragraph style */
p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 24px;
}

/* Paragraph color modifiers */
p.muted {
  color: var(--text-muted) !important;  /* !important to override contextual selectors */
}

p.light-text {
  color: rgba(255,255,255,0.72);
}

p.white-text {
  color: var(--white);
}

/* Paragraph size modifiers (use sparingly) */
p.p-lg {
  font-size: 17px;
  line-height: 1.75;
}

p.p-sm {
  font-size: 14px;
  line-height: 1.65;
}

p.p-xs {
  font-size: 13px;
  line-height: 1.6;
}

/* Paragraph spacing modifiers */
p.p-tight {
  margin-bottom: 16px;
}

p.p-loose {
  margin-bottom: 32px;
}

p.p-no-margin {
  margin-bottom: 0;
}

ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── LAYOUT ─────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ── SECTION LABEL ──────────────────────────────────── */
.section-label {
  font-size: 16px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--iris);
  margin-bottom: 12px; display: block;
}
.section-label--light { color: var(--apple-green); }
.section-label--white { color: rgba(255,255,255,0.6); }

/* ── BUTTONS ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 19px; border-radius: 100px; font-family: var(--font);
  font-weight: 500; font-size: 14px; line-height: 1; transition: var(--transition);
  white-space: nowrap; cursor: pointer; letter-spacing: 0.01em; border: 2px solid transparent;
  -webkit-appearance: none; appearance: none; min-height: 44px;
}
.btn-primary { background: var(--iris); color: var(--white); }
.btn-primary:hover { background: var(--iris-mid); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(87,86,213,0.35); }
.btn-green { background: var(--apple-green); color: var(--dark-blue); }
.btn-green:hover { background: #8fffd0; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(112,248,186,0.4); }
.btn-dark { background: var(--dark-blue); color: var(--white); }
.btn-dark:hover { background: #1a2340; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--dark-blue); border: 2px solid var(--dark-blue); }
.btn-outline:hover { background: var(--dark-blue); color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--dark-blue); border: 2px solid var(--dark-blue); }
.btn-outline-dark:hover { background: var(--dark-blue); color: var(--white); }
.btn-outline-iris { background: transparent; color: var(--iris); border: 2px solid var(--iris); }
.btn-outline-iris:hover { background: var(--iris); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-outline-green { background: transparent; color: var(--apple-green); border: 2px solid var(--apple-green); }
.btn-outline-green:hover { background: rgba(112,248,186,0.12); transform: translateY(-1px); }
.btn-text {
  color: var(--iris); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--transition); background: none; border: none; cursor: pointer;
}
.btn-text:hover { gap: 10px; }
.btn-text--light { color: var(--apple-green); }
.btn:focus-visible { outline: 2px solid var(--iris); outline-offset: 2px; }
.btn-outline-white:focus-visible { outline: 2px solid rgba(255,255,255,0.8); outline-offset: 2px; }
.btn-lg { padding: 11px 24px; font-size: 15px; }
.btn-sm { padding: 6px 13px; font-size: 13px; }

/* ── NAVBAR — floating pill ─────────────────────────── */
.nav-wrapper {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 45px 40px; pointer-events: none;
}
.nav-pill {
  max-width: 1120px; margin: 0 auto;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-radius: 100px;
  padding: 10px 10px 10px 24px;
  display: flex; align-items: center; gap: 4px;
  box-shadow: 0 2px 24px rgba(16,22,46,0.13), 0 0 0 1px rgba(16,22,46,0.06);
  pointer-events: all;
  transition: box-shadow 0.3s ease;
}
.nav-pill.scrolled {
  box-shadow: 0 4px 32px rgba(16,22,46,0.18), 0 0 0 1px rgba(16,22,46,0.09);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; margin-right: 16px; }
.nav-logo svg { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 2px; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 500; color: var(--text-body);
  padding: 8px 14px; border-radius: 100px; min-height: 44px;
  transition: var(--transition); letter-spacing: 0.01em;
}
.nav-link:hover, .nav-link.active, .nav-item.open > .nav-link { color: var(--iris); background: rgba(87,86,213,0.07); }
.nav-chevron {
  width: 14px; height: 14px; flex-shrink: 0;
  stroke: currentColor; fill: none; stroke-width: 2.5;
  transition: transform var(--transition);
}
.nav-dropdown {
  position: absolute; top: calc(100% + 12px); left: 0;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: 0 12px 40px rgba(16,22,46,0.12);
  padding: 8px; min-width: 268px; z-index: 300;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all var(--transition);
}
/* Desktop click-based dropdown control */
.nav-item.open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item.open .nav-chevron { transform: rotate(180deg); }
.nav-dropdown-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px; border-radius: 8px; transition: background var(--transition);
}
.nav-dropdown-item:hover { background: var(--light-bg); }
.dd-icon { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.dd-icon svg { width: 20px; height: 20px; stroke: var(--iris); fill: none; stroke-width: 2; }
.dd-label { font-size: 13px; font-weight: 600; color: var(--dark-blue); margin-bottom: 2px; }
.dd-desc { font-size: 12px; color: var(--text-muted); line-height: 1.4; text-wrap: balance; }
.nav-right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-region {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 12px; border: 1px solid var(--border); border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--text-body);
  transition: var(--transition); cursor: pointer; font-family: var(--font);
  background: none;
}
.nav-region:hover { border-color: var(--iris); color: var(--iris); }
.nav-login {
  font-size: 14px; font-weight: 500; color: var(--text-body);
  padding: 8px 16px; border-radius: 100px; transition: var(--transition);
}
.nav-login:hover { color: var(--iris); background: rgba(87,86,213,0.07); }
.nav-pill .btn-primary { padding: 7px 15px; font-size: 13px; }
.nav-mobile-toggle {
  display: none; width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--border); align-items: center; justify-content: center;
  cursor: pointer; background: none; flex-shrink: 0;
}
.nav-mobile-toggle svg { display: block; flex-shrink: 0; }
.nav-mobile-toggle .icon-close { display: none; }
.nav-mobile-toggle.is-open .icon-menu { display: none; }
.nav-mobile-toggle.is-open .icon-close { display: block; }
.nav-mobile-ctas { display: none; }

/* ── HERO — base (iris) ─────────────────────────────── */
.hero {
  background: var(--iris);
  position: relative; overflow: hidden;
  min-height: 620px; display: flex; align-items: center;
  padding-top: 140px; padding-bottom: 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 90% at 0% 50%, rgba(16,22,46,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 20%, rgba(0,170,223,0.35) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 80% 100%, rgba(112,248,186,0.2) 0%, transparent 50%);
  pointer-events: none; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; top: -120px; right: -80px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,170,223,0.25) 0%, rgba(87,86,213,0.1) 40%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero .container {
  position: relative; z-index: 5;
  display: flex; align-items: center; gap: 60px;
}
.hero-content { max-width: 560px; flex-shrink: 0; }
.hero h1 {
  font-size: clamp(32px, 4vw, 42px);
  color: var(--white);
  margin-bottom: 22px;
}
.hero h1 strong { display: block; font-weight: 700; color: var(--apple-green); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual {
  flex: 1; max-width: 500px; width: 100%;
  display: flex; justify-content: flex-end; align-items: center;
}
/* Hero dark variant */
.hero--dark { background: var(--dark-blue); }
.hero--dark::before {
  background:
    radial-gradient(ellipse 60% 80% at 100% 10%, rgba(87,86,213,0.4) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 80%, rgba(0,170,223,0.2) 0%, transparent 55%);
}
/* Hero green variant */
.hero--green { background: var(--apple-green); }
.hero--green::before {
  background:
    radial-gradient(ellipse 60% 80% at 100% 10%, rgba(16,22,46,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 80%, rgba(0,170,223,0.12) 0%, transparent 55%);
}
.hero--green h1 { color: var(--dark-blue); }
.hero--green h1 strong { color: var(--iris); }
.hero--green .light { color: rgba(16,22,46,0.68); }
/* Hero sky variant */
.hero--sky { background: linear-gradient(135deg, var(--dark-blue) 0%, #1a2952 50%, #153060 100%); }
.hero--sky::before {
  background:
    radial-gradient(ellipse 60% 80% at 100% 10%, rgba(0,170,223,0.3) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 0% 80%, rgba(87,86,213,0.3) 0%, transparent 55%);
}
/* Text-only centred variant — keeps base hero colours, removes two-column split */
.hero--text-only .container { justify-content: center; }
.hero--text-only .hero-content { max-width: 720px; text-align: center; }
.hero--text-only .hero-ctas { justify-content: center; }

/* Agency hero — matches pricing-hero spacing */
.hero--agency {
  padding-bottom: 100px;
}
.hero--agency .hero-content {
  max-width: 700px;
}

/* ── UNIVERSAL SIMPLE HERO (H1 + Text + CTA) ─────────── */
/* Standard hero for all simple centered layouts across the site */
.hero--simple {
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero--simple-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero--simple h1 {
  margin-bottom: 20px;
  text-wrap: balance;
}
.hero--simple h1 strong {
  font-weight: 700;
}
.hero--simple .light {
  font-size: 16px;
  line-height: 1.65;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.hero--simple-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
/* Color variants — inherit from base .hero color classes */
.hero--simple.hero--dark { background: var(--dark-blue); }
.hero--simple.hero--dark h1 { color: var(--white); }
.hero--simple.hero--dark h1 strong { color: var(--apple-green); }
.hero--simple.hero--iris { background: var(--iris); }
.hero--simple.hero--iris h1 { color: var(--white); }
.hero--simple.hero--iris h1 strong { color: var(--apple-green); }
.hero--simple.hero--sky { background: linear-gradient(135deg, var(--dark-blue) 0%, #1a2952 50%, #153060 100%); }
.hero--simple.hero--sky h1 { color: var(--white); }
.hero--simple.hero--sky h1 strong { color: var(--apple-green); }
.hero--simple.hero--green { background: var(--apple-green); }
.hero--simple.hero--green h1 { color: var(--dark-blue); }
.hero--simple.hero--green h1 strong { color: var(--iris); }
.hero--simple.hero--green .light { color: rgba(16,22,46,0.68); }
/* Background decorations (optional — add via modifier classes) */
.hero--simple::before {
  content: '';
  position: absolute;
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,86,213,0.28) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.hero--simple::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112,248,186,0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
/* Remove decorations for white/light backgrounds */
.hero--simple:not(.hero--dark):not(.hero--iris):not(.hero--sky):not(.hero--green)::before,
.hero--simple:not(.hero--dark):not(.hero--iris):not(.hero--sky):not(.hero--green)::after {
  display: none;
}
@media (max-width: 768px) {
  .hero--simple { padding: 100px 0 64px; }
}
@media (max-width: 600px) {
  .hero--simple { padding: 80px 0 56px; }
}

/* Centred hero — content only, no side visual */
.hero--centered { height: 100svh; min-height: 620px; background: var(--white); align-items: stretch; }
.hero--centered::before { background: none; }
.hero--centered::after { display: none; }
.hero--centered h1 { color: var(--dark-blue); }
.hero--centered h1 strong { color: var(--iris); }
.hero--centered .light { color: var(--text-muted); }
.hero--centered .container { flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 40px; }
.hero--centered .hero-content { max-width: 720px; text-align: center; flex-shrink: 0; }
.hero--centered .hero-ctas { justify-content: center; }
.hero--centered .hero-img {
  max-width: 900px;
  margin-top: 0;
  mask-image:
    linear-gradient(to right,  transparent 0%, black 15%, black 85%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 15%, black 85%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-composite: source-in;
}

/* ── HOME HERO VISUAL STACK ─────────────────────────── */
/* Wraps the three card images and the platform screenshot */
/* CSS colour glow — replicates the ambient background from the hero image */
/* Starts solid at the hero bottom and fades to transparent upward */
.hero-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 70% at 22% 100%, rgba(0, 185, 240, 0.42) 0%, transparent 60%),
    radial-gradient(ellipse 50% 65% at 80% 90%,  rgba(87, 86, 213, 0.28) 0%, transparent 58%),
    linear-gradient(to top, rgba(215, 220, 250, 0.55) 0%, transparent 100%);
}

/* ── HERO ORBIT RINGS ───────────────────────────────── */
.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1000px;
  height: 1000px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.hero-orbit svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: orbit-spin 45s linear infinite;
  transform-origin: center;
}
@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orbit svg { animation: none; }
}
@media (max-width: 768px) {
  .hero-orbit { display: none; }
}
@media (max-width: 780px) {
  .hero-orbit { width: 640px; height: 640px; transform: translate(-50%, calc(-50% - 160px)); }
}

/* ── HERO TILES ─────────────────────────────────────── */
.hero-tiles {
  display: flex;
  gap: 16px;
  width: 100%;
  flex: 1;
  min-height: 0;
}
/* Centred hero: cap tiles height */
.hero--centered .hero-tiles {
  max-height: 300px;
}
.hero-tile {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.hero-tile:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 48px rgba(16,22,46,0.20);
}
.hero-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.hero-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16,22,46,0.60) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.hero-tile-label {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--font);
}
.hero-tile-label-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
}
.hero-tile-label-sub {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.3;
}
.hero-tile-label svg {
  width: 30px;
  height: 30px;
  stroke: #fff;
  stroke-width: 1.75;
  fill: none;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .hero-tiles { flex-direction: column; }
}
@media (max-width: 1024px) {
  .hero--centered {
    /* Always place H1 exactly 25px below the nav pill (measured by JS → --nav-bottom) */
    padding-top: calc(var(--nav-bottom, 74px) + 25px);
    /* Allow hero to grow taller than viewport if content needs it —
       prevents justify-content:center from overflowing upward into nav */
    height: auto;
    min-height: 100svh;
    padding-bottom: 48px;
  }
  .hero--centered .container {
    justify-content: flex-start;
    height: auto;
  }
  .hero--centered .hero-tiles { display: none; }
}

/* ── PARTNER CARDS (split glass / white landscape cards) */
/*
  Layout: [glass left] | [icon straddles divide] | [white content right]
  Glass panel width: 120px. Icon: 56px centred on the divide.
  Icon left = 120 - 28 = 92px. Content padding-left = 28 + 18 = 46px.
*/
.partner-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 960px;
  margin-top: 0;
}
.partner-card {
  position: relative;
  display: flex;
  flex-direction: row;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 152px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  will-change: transform;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.30);
}

/* Left glass panel — blurs the iris hero behind it */
.partner-card-glass {
  width: 50px;
  flex-shrink: 0;
  background: transparent;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-right: 1px solid rgba(255,255,255,0.22);
}

/* Icon badge — sits on the dividing line, half glass / half white */
.partner-card-icon {
  position: absolute;
  left: 22px;          /* 50px glass width - 28px (half of 56px icon) */
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}
.partner-card-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}
/* Override inline white fill — icons sit on white badge, need dark colour */
.partner-card-icon svg * {
  fill: var(--iris);
}

/* Right white content panel */
.partner-card-content {
  flex: 1;
  background: var(--white);
  padding: 24px 24px 24px 46px; /* left padding clears icon (28px overlap + 18px gap) */
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.partner-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1.2;
}
.partner-card-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted);
}
.partner-card-cta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 600;
  color: var(--iris);
  margin-top: 4px;
}
.partner-card-cta::after {
  content: '→';
  display: inline-block;
  transition: transform 0.22s ease;
}
.partner-card:hover .partner-card-cta::after {
  transform: translateX(4px);
}

@media (max-width: 780px) {
  .partner-cards { grid-template-columns: 1fr; }
}

/* Inner page hero (shorter, no visual) */
.hero--inner { min-height: 360px; }
.hero--inner .container { justify-content: center; }
.hero--inner .hero-content { max-width: 720px; text-align: center; }
.hero--inner .hero-ctas { justify-content: center; }
.hero--inner .light { max-width: 100%; }

/* ── DASHBOARD MOCKUP ───────────────────────────────── */
.dashboard-mock {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px; overflow: hidden; width: 100%;
  backdrop-filter: blur(10px);
}
.dashboard-header {
  background: rgba(87,86,213,0.55); padding: 12px 18px;
  display: flex; align-items: center; gap: 8px;
}
.dash-dot { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.dash-title { font-size: 12px; color: rgba(255,255,255,0.65); font-weight: 500; margin-left: 6px; }
.dashboard-body { padding: 20px; }
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.dash-stat { background: rgba(255,255,255,0.07); border-radius: 10px; padding: 14px 12px; text-align: center; }
.dash-num { font-size: 20px; font-weight: 700; color: var(--apple-green); }
.dash-lbl { font-size: 10px; color: rgba(255,255,255,0.42); margin-top: 4px; }
.dash-chart { background: rgba(255,255,255,0.05); border-radius: 10px; padding: 16px; margin-bottom: 12px; }
.dash-chart-label { font-size: 11px; color: rgba(255,255,255,0.38); margin-bottom: 12px; }
.dash-bars { display: flex; align-items: flex-end; gap: 5px; height: 60px; }
.d-bar { flex: 1; border-radius: 3px 3px 0 0; background: rgba(255,255,255,0.1); }
.d-bar.hi { background: var(--apple-green); }
.d-bar.mid { background: rgba(112,248,186,0.45); }
.dash-chips { display: flex; gap: 8px; }
.dash-chip { flex: 1; border-radius: 8px; padding: 8px 10px; font-size: 11px; text-align: center; font-weight: 500; }
.dash-chip--green { background: rgba(112,248,186,0.1); border: 1px solid rgba(112,248,186,0.25); color: rgba(112,248,186,0.85); }
.dash-chip--blue  { background: rgba(0,170,223,0.1); border: 1px solid rgba(0,170,223,0.25); color: rgba(0,170,223,0.85); }
.dash-chip--white { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.45); }

/* ── LOGOS STRIP ────────────────────────────────────── */
.logos-section { background: var(--grey-bg); padding: 150px 0; }
.logos-heading {
  text-align: center; font-size: 18px; font-weight: 400;
  color: var(--text-body); max-width: 580px; margin: 0 auto 36px;
}
.logos-heading strong { color: var(--iris); font-weight: 700; }
.logos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-card {
  background: var(--white); border-radius: var(--radius);
  padding: 22px 14px; display: flex; align-items: center;
  justify-content: center; min-height: 80px; transition: var(--transition);
}
.logo-card:hover { box-shadow: 0 4px 16px rgba(87,86,213,0.1); transform: translateY(-2px); }
.logo-card img {
  max-height: 36px; width: auto; max-width: 110px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.6);
  transition: filter var(--transition);
}
.logo-card:hover img { filter: grayscale(0) opacity(1); }

/* ── LOGOS DOCK ──────────────────────────────────────── */
/* Spacer: keeps the gap between hero and nexus while the
   dock is fixed. JS removes the inline height on settle. */
.logos-dock-wrap { /* height set via JS */ }

/* Default state: fixed to viewport bottom, compact bar */
.logos-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(16, 22, 46, 0.07);
  box-shadow: 0 -8px 40px rgba(16, 22, 46, 0.06);
  overflow: hidden;
  max-height: 100px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hidden state: slides down and fades out when hero leaves viewport */
.logos-dock--hidden {
  opacity: 0;
  transform: translateY(100%);
  pointer-events: none;
}

/* Settled state: moves into document flow, keeps identical visual */
.logos-dock.is-settled {
  position: relative;
}

/* Compact bar */
.logos-dock-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  box-sizing: border-box;
}
.logos-dock-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.logos-dock-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.logos-dock-track {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.logos-dock-track:last-child { display: none; }
.logos-dock-strip img {
  max-height: 22px;
  width: auto;
  max-width: 76px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.35);
  transition: filter var(--transition);
  flex-shrink: 0;
}
.logos-dock-strip img:hover { filter: grayscale(0) opacity(0.9); }

/* Full content — always hidden (dock stays compact in both states) */
.logos-dock-full { display: none; }

/* ── LOGOS MARQUEE — mobile ─────────────────────────── */
@media (max-width: 1024px) {
  .logos-dock-bar { justify-content: flex-start; }
  .logos-dock-strip {
    justify-content: flex-start;
    overflow: visible;
    animation: logos-marquee 24s linear infinite;
  }
  .logos-dock-strip:hover { animation-play-state: paused; }
  .logos-dock-track { gap: 28px; padding-right: 28px; }
  .logos-dock-track:last-child { display: flex; }
}
@keyframes logos-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-dock-strip { animation: none; }
}
@media (max-width: 768px) {
  .logos-dock { max-height: 60px; }
  .logos-dock-bar { padding: 15px 0; }
  .logos-dock-label { display: none; }
  .logos-dock-track { gap: 20px; padding-right: 20px; }
  .logos-dock-strip img { max-height: 30px; max-width: 80px; }
}

/* ── SECTION UTILITIES ──────────────────────────────── */
.section-padded    { padding: 150px 0; }
.section-padded-sm { padding: 72px 0; }
.section-white  { background: var(--white); }
.section-grey   { background: var(--grey-bg); }
.section-light  { background: var(--light-bg); }
.section-dark   { background: var(--dark-blue); }
.section-iris   { background: var(--iris); }
.section-header { text-align: center; max-width: 740px; margin: 0 auto 56px; }
.section-header h2 { color: var(--dark-blue); margin-bottom: 16px; font-size: clamp(24px, 3vw, 38px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,0.62); }

/* ── GET STARTED 3-CARD GRID ────────────────────────── */
.gs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gs-card {
  border: 1.5px solid var(--border); border-radius: var(--radius-lg);
  padding: 40px 32px; transition: var(--transition); background: var(--white);
}
.gs-card:hover { border-color: var(--iris); box-shadow: 0 8px 32px rgba(87,86,213,0.09); }
.gs-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(87,86,213,0.08); display: flex; align-items: center;
  justify-content: center; margin-bottom: 24px;
}
.gs-icon svg { width: 26px; height: 26px; stroke: var(--iris); fill: none; stroke-width: 2; }
.gs-card-title { font-size: 20px; font-weight: 700; color: var(--dark-blue); margin-bottom: 12px; }
.dark  {
  /* Deprecated — use base <p> instead. Kept for backward compatibility. */
  font-size: 15px !important;           /* Updated from 14px to match base p */
  color: var(--text-body) !important;   /* !important added to override contextual selectors */
  line-height: 1.7 !important;          /* Updated from 1.75 to match base p */
  margin-bottom: 24px;
}
.gs-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.gs-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--text-body); }
.gs-check {
  width: 18px; height: 18px; border-radius: 50%; background: var(--iris);
  flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center;
}
.gs-check svg { width: 10px; height: 10px; stroke: white; fill: none; stroke-width: 3; }
.gs-card .btn { width: 100%; }

/* ── SECTORS / CATEGORY CARDS ───────────────────────── */
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: center; transition: var(--transition);
  border: 1.5px solid var(--border);
}
.sector-card:hover { box-shadow: 0 8px 28px rgba(87,86,213,0.1); transform: translateY(-3px); border-color: var(--iris); }
.sector-icon-wrap {
  width: 64px; height: 64px; border-radius: 50%; background: var(--iris);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.sector-icon-wrap svg { width: 28px; height: 28px; stroke: white; fill: none; stroke-width: 1.75; }
.sector-card h3 { font-size: 17px; font-weight: 600; color: var(--dark-blue); margin-bottom: 10px; }
.sector-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* ── PLANS SECTION (dark) ───────────────────────────── */
.plans-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.plans-header { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.plans-header .light { margin-bottom: 28px; }
.plan-cards--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.plan-cards { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.plan-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 26px 30px;
  transition: var(--transition); position: relative;
}
.plan-card:hover { background: rgba(255,255,255,0.1); }
.plan-card--featured { border-color: var(--apple-green); background: rgba(112,248,186,0.06); }
.plan-recommended {
  position: absolute; top: -11px; left: 28px;
  background: var(--apple-green); color: var(--dark-blue);
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 3px 12px; border-radius: 100px;
}
.plan-name { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.plan-desc { font-size: 13px; color: rgba(255,255,255,0.52); line-height: 1.65; margin-bottom: 18px; }
.plan-links { display: flex; gap: 20px; }
.plan-link { font-size: 13px; font-weight: 600; color: var(--iris-light); transition: color var(--transition); }
.plan-link:hover { color: var(--white); }
.plan-link--green { color: var(--apple-green); }
/* Plans dashboard mock */
.plans-mock { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); overflow: hidden; }
.plans-mock-header { background: var(--iris); padding: 12px 18px; display: flex; align-items: center; gap: 8px; }
.plans-mock-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.plans-mock-title { font-size: 12px; color: rgba(255,255,255,0.65); font-weight: 500; margin-left: 4px; }
.plans-mock-body { padding: 24px 20px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.mini-stat { background: rgba(255,255,255,0.06); border-radius: 8px; padding: 12px; text-align: center; }
.mini-stat-num { font-size: 17px; font-weight: 700; color: var(--apple-green); }
.mini-stat-lbl { font-size: 10px; color: rgba(255,255,255,0.38); margin-top: 2px; }
.mini-chart-area { background: rgba(255,255,255,0.05); border-radius: 8px; padding: 14px; margin-bottom: 10px; }
.mini-chart-label { font-size: 10px; color: rgba(255,255,255,0.35); margin-bottom: 10px; }
.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 50px; }
.m-bar { flex: 1; border-radius: 3px 3px 0 0; background: rgba(255,255,255,0.1); }
.m-bar.hi  { background: var(--apple-green); }
.m-bar.mid { background: rgba(112,248,186,0.4); }
.mini-chips { display: flex; gap: 8px; }
.mini-chip { flex: 1; border-radius: 6px; padding: 8px 6px; font-size: 10px; text-align: center; font-weight: 500; }
.mini-chip--green { background: rgba(112,248,186,0.1); border: 1px solid rgba(112,248,186,0.2); color: rgba(112,248,186,0.8); }
.mini-chip--blue  { background: rgba(0,170,223,0.1); border: 1px solid rgba(0,170,223,0.2); color: rgba(0,170,223,0.8); }
.mini-chip--white { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.45); }

/* ── PUBLISHERS / PARTNERS BAND ─────────────────────── */
.pub-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pub-visual {
  background: linear-gradient(135deg, var(--iris) 0%, var(--sky-blue) 100%);
  border-radius: var(--radius-lg); min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.pub-visual-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 1px, transparent 0, transparent 50%);
  background-size: 20px 20px;
}
.pub-badges { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding: 32px; }
.pub-badge { font-size: 14px; font-weight: 700; padding: 12px 22px; border-radius: 100px; display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.pub-badge svg { width: 18px; height: 18px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; }
.pub-badge--green { background: var(--apple-green); color: var(--dark-blue); transform: rotate(-3deg); }
.pub-badge--white { background: var(--white); color: var(--dark-blue); transform: rotate(2deg); align-self: flex-end; font-size: 13px; }
.pub-badge--glass { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.3); transform: rotate(-1deg); font-size: 13px; font-weight: 500; }
/* ── AGENCIES BAND (iris) ───────────────────────────── */
.agencies-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.light {
  /* Deprecated — use .light-text modifier instead. Kept for backward compatibility. */
  color: rgba(255,255,255,0.72);  /* Standardized from 0.7 */
  font-size: 15px;
  line-height: 1.7;               /* Updated from 1.75 to match base p */
  margin-bottom: 32px;
}
.agencies-visual {
  background: rgba(255,255,255,0.1); border-radius: var(--radius-lg);
  padding: 36px; min-height: 300px; display: flex; align-items: center; justify-content: center;
}
.agency-nodes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; }
.agency-node {
  aspect-ratio: 1; border-radius: 50%; background: rgba(255,255,255,0.12);
  border: 2px solid rgba(255,255,255,0.22); display: flex; align-items: center; justify-content: center;
}
.agency-node svg { width: 20px; height: 20px; stroke: rgba(255,255,255,0.8); fill: none; stroke-width: 1.75; }
.agency-node:nth-child(3n+1) { background: rgba(112,248,186,0.18); border-color: rgba(112,248,186,0.32); }
.agency-node:nth-child(3n+1) svg { stroke: rgba(112,248,186,0.9); }
.agency-node:nth-child(5) { background: rgba(255,255,255,0.28); }

/* ── NEWS / INSIGHTS GRID ───────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.news-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition); border: 1px solid var(--border);
}
.news-card:hover { box-shadow: 0 12px 36px rgba(87,86,213,0.1); transform: translateY(-4px); border-color: transparent; }
.news-img {
  aspect-ratio: 16/10; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden;
}
.news-img-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(16,22,46,0.4) 0%, transparent 60%); }
.news-img-icon { position: relative; z-index: 1; }
.news-img-icon svg { width: 44px; height: 44px; stroke: rgba(255,255,255,0.9); fill: none; stroke-width: 1.5; }
.news-body { padding: 20px; }
.news-cat { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--iris); margin-bottom: 8px; display: block; }
.news-card h3 { font-size: 14px; font-weight: 600; color: var(--dark-blue); line-height: 1.5; margin-bottom: 10px; }
.news-date { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.bg-iris   { background: var(--iris); }
.bg-green  { background: linear-gradient(135deg, #3cb371, var(--apple-green)); }
.bg-sky    { background: linear-gradient(135deg, var(--sky-blue), #4257d4); }
.bg-dark   { background: var(--dark-blue); }
.bg-orange { background: linear-gradient(135deg, #e8553a, #ff8c42); }

/* ── TESTIMONIALS ───────────────────────────────────── */
/* Testimonial Carousel */
.testi-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 48px;
}

.testi-carousel {
  overflow: hidden;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .testi-carousel {
    padding: 0 40px;
  }
}

@media (min-width: 1024px) {
  .testi-carousel {
    padding: 0 60px;
  }

  section:has(.testi-carousel-wrapper) {
    margin-left: 50px;
    margin-right: 50px;
  }
}

.testi-carousel-track {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.testi-carousel-track::-webkit-scrollbar {
  display: none;
}

.testi-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  padding: 32px 32px 20px 32px;
  border: 1px solid var(--border);
  scroll-snap-align: start;
  min-width: 320px;
}

.testi-quote {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 24px;
  position: relative;
}

.testi-quote::before {
  content: '"';
  font-size: 48px;
  color: var(--iris);
  line-height: 1;
  display: block;
  margin-bottom: 0;
  font-weight: 600;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--iris), var(--sky-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  color: white;
  font-size: 18px;
}

.testi-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-blue);
}

.testi-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

.testi-tag {
  display: block;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 12px;
}

.testi-logo {
  height: 48px;
  width: auto;
  min-width: 50px;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}

.testi-tag--advertiser {
  background: rgba(87,86,213,0.08);
  color: var(--iris);
}

.testi-tag--affiliate {
  background: rgba(112,248,186,0.15);
  color: #1e9a68;
}

.testi-tag--agency {
  background: rgba(0,170,223,0.1);
  color: #0088b8;
}

.testi-tag--technology {
  background: rgba(255,107,53,0.1);
  color: #c04a1a;
}

.testi-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
  color: var(--dark-blue);
}

.testi-carousel-nav:hover {
  background: var(--iris);
  border-color: var(--iris);
  color: white;
  box-shadow: 0 4px 16px rgba(87,86,213,0.2);
}

.testi-carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.testi-carousel-prev {
  left: 0;
}

.testi-carousel-next {
  right: 0;
}

.testi-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.testi-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
}

.testi-dot:hover {
  background: var(--iris);
  opacity: 0.6;
}

.testi-dot.active {
  background: var(--iris);
  width: 24px;
  border-radius: 4px;
}

/* ── CTA BAND ───────────────────────────────────────── */
.cta-band { padding: 96px 0; text-align: center; }
.cta-band.section-iris { background: var(--iris); }
.cta-band.section-dark { background: var(--dark-blue); }
.cta-band h2 { font-size: clamp(24px, 3vw, 40px); font-weight: 700; color: var(--white); margin-bottom: 16px; letter-spacing: -0.01em; line-height: 1.2; }
.cta-band p { color: rgba(255,255,255,0.72); font-size: 16px; max-width: 540px; margin: 0 auto 40px; line-height: 1.7; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── STATS BAND ─────────────────────────────────────── */
.stats-band { padding: 80px 0; background: var(--dark-blue); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-num { font-size: clamp(36px, 4vw, 52px); font-weight: 800; color: var(--apple-green); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.6); font-weight: 400; }
.stat-sub { font-size: 12px; color: rgba(255,255,255,0.38); margin-top: 4px; }

/* ── ICON STATS ROW ─────────────────────────────────── */
.icon-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.icon-stat { padding: 32px 24px; text-align: center; border-right: 1px solid var(--border); }
.icon-stat:last-child { border-right: none; }
.icon-stat-icon {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(87,86,213,0.08);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.icon-stat-icon svg { width: 24px; height: 24px; stroke: var(--iris); fill: none; stroke-width: 2; }
.icon-stat h4 { color: var(--dark-blue); font-size: 15px; margin-bottom: 6px; font-weight: 600; }
.icon-stat p  { color: var(--text-muted); font-size: 13px; line-height: 1.6; }

/* ── SIMPLE 2-COL ROW (used on careers, WIAM) ───────── */
.pb-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.pb-row--reverse .pb-text { order: 2; }
.pb-row--reverse .pb-visual { order: 1; }
.pb-text .section-label { margin-bottom: 12px; }
.pb-text h2 { font-size: clamp(22px, 2.5vw, 32px); color: var(--dark-blue); margin-bottom: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.pb-text p  { color: var(--text-muted); line-height: 1.85; font-size: 15px; margin-bottom: 16px; }
.pb-visual  { border-radius: var(--radius-lg); overflow: hidden; }

/* ── POINT BLOCKS (alternating feature rows) ────────── */
.point-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 72px;
  align-items: center; padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.point-block:last-child { border-bottom: none; }
.point-block:nth-child(even) .point-block-visual { order: -1; }
.point-block-visual {
  background: var(--light-bg); border-radius: var(--radius-lg);
  min-height: 320px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.point-block-visual--iris   { background: linear-gradient(135deg, var(--iris), var(--sky-blue)); }
.point-block-visual--green  { background: linear-gradient(135deg, #3cb371, var(--apple-green)); }
.point-block-visual--dark   { background: linear-gradient(135deg, var(--dark-blue), #1c2952); }
.point-block-visual--purple { background: linear-gradient(135deg, #6b48ff, var(--iris)); }
.point-block-visual--sky    { background: linear-gradient(135deg, var(--sky-blue), #0077af); }
.point-block-content .section-label { margin-bottom: 12px; }
.point-block-visual-inner { padding: 24px; }
/* abstract CSS illustration inside point-block-visual */
.pb-illustration { display: flex; flex-direction: column; gap: 12px; width: 80%; }
.pb-row { display: flex; gap: 10px; }
.pb-block { border-radius: 8px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); }
.pb-block--lg   { flex: 2; height: 48px; }
.pb-block--sm   { flex: 1; height: 48px; }
.pb-block--xs   { flex: 1; height: 32px; }
.pb-block--full { width: 100%; height: 12px; border-radius: 6px; background: rgba(255,255,255,0.12); }
.pb-block--accent { background: rgba(112,248,186,0.3); border-color: rgba(112,248,186,0.5); }

/* ── STACK BLOCK (centered header + full-width visual) ── */
.stack-block {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.stack-block:last-child { border-bottom: none; }
.stack-block-header {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.stack-block-header .section-label { margin-bottom: 12px; }
.stack-block-header .btn { display: inline-flex; }
.stack-block-visual {
  width: 100%;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .stack-block { padding: 48px 0; }
  .stack-block-header { margin-bottom: 40px; }
  .stack-block-visual { min-height: 300px; }
}

/* ── FAQ ────────────────────────────────────────────── */
.faq-category { margin-bottom: 52px; }
.faq-category-title {
  font-size: 22px; font-weight: 700; color: var(--dark-blue);
  padding-bottom: 14px; border-bottom: 2px solid var(--iris);
  margin-bottom: 8px; display: inline-block;
}
.faq-sub-label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--iris); margin: 28px 0 10px; display: block;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; cursor: pointer; text-align: left;
  font-size: 15px; font-weight: 500; color: var(--dark-blue);
  background: none; border: none; font-family: var(--font); gap: 16px;
}
.faq-question:hover { color: var(--iris); }
.faq-chevron {
  width: 20px; height: 20px; flex-shrink: 0;
  stroke: currentColor; fill: none; stroke-width: 2.5;
  transition: transform var(--transition);
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.38s ease; }
.faq-answer-inner { padding-bottom: 20px; color: var(--text-muted); font-size: 14px; line-height: 1.85; }
.faq-answer-inner p { margin: 0 0 12px 0; }
.faq-answer-inner p:last-child { margin-bottom: 0; }
.faq-answer-inner ol,
.faq-answer-inner ul { margin: 12px 0; padding-left: 24px; }
.faq-answer-inner ol { list-style-type: decimal; }
.faq-answer-inner ul { list-style-type: disc; }
.faq-answer-inner li { margin-bottom: 8px; padding-left: 4px; }
.faq-answer-inner li:last-child { margin-bottom: 0; }
.faq-answer-inner a { color: var(--iris); text-decoration: none; font-weight: 500; transition: color var(--transition); }
.faq-answer-inner a:hover { color: var(--iris-mid); text-decoration: underline; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-item.open .faq-answer { max-height: 800px; }
.faq-item.open .faq-question { color: var(--iris); }

/* ── CONTACT ────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-form { background: var(--light-bg); border-radius: var(--radius-lg); padding: 48px 40px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark-blue); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: var(--radius); font-family: var(--font); font-size: 14px;
  color: var(--text-body); background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--iris); box-shadow: 0 0 0 3px rgba(87,86,213,0.08); }
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid { outline: none; border-color: var(--color-danger-fg); }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
/* Deleted — now use <p class="muted p-loose"> in HTML */
.contact-card { background: var(--light-bg); border-radius: var(--radius-lg); padding: 28px 32px; margin-bottom: 16px; }
.contact-card h4 { color: var(--dark-blue); margin-bottom: 8px; font-size: 16px; font-weight: 600; }
.contact-card p  { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.contact-card a  { color: var(--iris); }

/* ── ADVERTISER DIRECTORY ───────────────────────────── */
.dir-controls {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.dir-search {
  position: relative;
  flex: 0.7;
  min-width: 280px;
}

.dir-search-input {
  width: 100%;
  padding: 11px 20px 11px 44px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 400;
  color: var(--text-body);
  background: var(--white);
  transition: var(--transition);
}

.dir-search-input::placeholder {
  color: var(--text-muted);
}

.dir-search-input:focus {
  outline: none;
  border-color: var(--iris);
  box-shadow: 0 0 0 3px rgba(87,86,213,0.1);
}

.dir-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}

.dir-dropdowns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dir-select {
  padding: 11px 36px 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  appearance: none;
  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='%233D3D3D' 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 12px center;
  background-size: 16px;
  min-width: 160px;
  max-width: 280px;
}

.dir-select:hover {
  border-color: var(--iris);
}

.dir-select:focus {
  outline: none;
  border-color: var(--iris);
  box-shadow: 0 0 0 3px rgba(87,86,213,0.1);
}
.dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.dir-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  transition: var(--transition); text-align: center;
  text-decoration: none; color: inherit; display: block;
}
.dir-card:hover { border-color: var(--iris); box-shadow: 0 6px 24px rgba(87,86,213,0.1); transform: translateY(-2px); }
.dir-logo {
  width: 64px; height: 64px; border-radius: 50%; background: var(--light-bg);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 20px; font-weight: 800; color: var(--iris);
}
.dir-card h4 { color: var(--dark-blue); font-size: 15px; margin-bottom: 4px; font-weight: 600; }
.dir-card p  { color: var(--text-muted); font-size: 12px; }
.dir-tag { display: inline-block; margin-top: 12px; padding: 3px 12px; border-radius: 100px; font-size: 11px; font-weight: 600; background: rgba(87,86,213,0.08); color: var(--iris); }

/* ── ADVERTISER SHOW PAGE ──────────────────────────────── */
.advertiser-show-header {
  background: var(--white);
  padding: 160px 0 16px;
}

.advertiser-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: var(--transition);
}

.advertiser-back-link:hover {
  color: var(--iris);
}

.advertiser-back-link svg {
  width: 20px;
  height: 20px;
}

.advertiser-hero {
  text-align: center;
}

.advertiser-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.advertiser-logo-wrap {
  width: 100%;
  max-width: 300px;
  min-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.advertiser-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.advertiser-hero h1 {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--dark-blue);
  margin-bottom: 6px;
  line-height: 1.2;
}

.advertiser-meta {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.advertiser-meta-sep {
  margin: 0 8px;
  opacity: 0.5;
}

.advertiser-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.advertiser-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-bg);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  transition: var(--transition);
  text-decoration: none;
}

.advertiser-social-link:hover {
  border-color: var(--iris);
  background: rgba(87,86,213,0.06);
  color: var(--iris);
}

.advertiser-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats Section */
.advertiser-stats-section {
  background: var(--light-bg);
  padding: 32px 0;
}

.advertiser-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  text-align: center;
}

.advertiser-stat {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}

.advertiser-stat-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--iris);
  margin-bottom: 8px;
  line-height: 1;
}

.advertiser-stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.advertiser-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.advertiser-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
}

.advertiser-feature-icon {
  color: var(--apple-green);
  flex-shrink: 0;
}

/* Description Section */
.advertiser-description-section {
  background: var(--white);
  padding: 48px 0 !important;
}

.advertiser-description {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-body);
}

.advertiser-description p {
  margin-bottom: 24px;
  color: var(--text-body);
}

.advertiser-description h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-blue);
  margin: 40px 0 20px;
}

.advertiser-benefits {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.advertiser-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-body);
  padding-left: 0;
}

.advertiser-benefits li::before {
  content: '•';
  color: var(--iris);
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.2;
}

.advertiser-signature {
  font-style: italic;
  color: var(--text-muted);
  margin-top: 32px;
}

/* Similar Advertisers */
.similar-advertisers-section {
  padding: 56px 0 !important;
}

.similar-advertisers-title {
  text-align: center;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 48px;
}

.similar-advertisers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── CAREERS ────────────────────────────────────────── */
.careers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.career-value { background: var(--light-bg); border-radius: var(--radius-lg); padding: 32px 28px; text-align: center; }
.career-icon { width: 56px; height: 56px; border-radius: 14px; background: rgba(87,86,213,0.08); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.career-icon svg { width: 24px; height: 24px; stroke: var(--iris); fill: none; stroke-width: 2; }
.career-value h4 { color: var(--dark-blue); margin-bottom: 10px; font-size: 16px; font-weight: 600; }
.career-value p  { color: var(--text-muted); font-size: 13px; line-height: 1.7; }

/* ── FOOTER ─────────────────────────────────────────── */
footer { background: var(--dark-blue); padding: 80px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr;
  gap: 48px; padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { margin-bottom: 16px; }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.48); line-height: 1.75; max-width: 260px; }
.footer-awin-badge {
  display: inline-block; margin-top: 16px; padding: 5px 14px; border-radius: 100px;
  font-size: 12px; font-weight: 500; border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.55);
}
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); color: rgba(255,255,255,0.55);
}
.social-btn:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.social-btn svg { width: 16px; height: 16px; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.72); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact-title { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.footer-contact-sub { font-size: 13px; color: rgba(255,255,255,0.48); line-height: 1.65; margin-bottom: 14px; }
.footer-bottom {
  padding: 24px 0; display: flex; align-items: center; gap: 32px; flex-wrap: wrap;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.32); }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,0.38); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }
.footer-region { margin-left: auto; font-size: 12px; color: rgba(255,255,255,0.48); transition: color var(--transition); }
.footer-region:hover { color: rgba(255,255,255,0.9); }

/* ── SCROLL REVEAL ──────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ── UTILITIES ──────────────────────────────────────── */
.text-center { text-align: center; }
.text-iris   { color: var(--iris); }
.text-green  { color: var(--apple-green); }
.text-white  { color: var(--white); }

/* ── RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .plan-cards--grid { grid-template-columns: repeat(3, 1fr); }
  .news-grid    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
  .dir-grid     { grid-template-columns: repeat(3, 1fr); }
  .related-advertisers-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .pb-visual { display: none; }
  .pb-row { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-wrapper { padding: 36px 24px; }
  .gs-grid { grid-template-columns: 1fr 1fr; }
  .plans-inner, .pub-inner, .agencies-inner { grid-template-columns: 1fr; gap: 48px; }
  .point-block { grid-template-columns: 1fr; gap: 40px; }
  .point-block:nth-child(even) .point-block-visual { order: 0; }
  .point-block .point-block-content { order: 1; }
  .point-block .point-block-visual  { order: 2; }
  .pb-row { grid-template-columns: 1fr; gap: 40px; }
  .pb-row--reverse .pb-text, .pb-row--reverse .pb-visual { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .testi-carousel {
    padding: 0;
  }
  .testi-carousel-track {
    gap: 16px;
  }
  .testi-card {
    flex: 0 0 calc(50% - 8px);
    min-width: 280px;
  }
  .testi-carousel-nav {
    display: none;
  }
  .icon-stats { grid-template-columns: repeat(2, 1fr); }
  .icon-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .icon-stat:nth-child(even) { border-right: 1px solid var(--border); }
  .icon-stat:last-child { border-bottom: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .nav-wrapper { padding: 28px 16px; }
  .nav-pill { padding: 8px 8px 8px 16px; position: relative; }
  /* Hide desktop CTAs from the pill header */
  .nav-right .nav-login,
  .nav-right .btn-primary { display: none; }
  /* Menu panel */
  .nav-links {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    background: var(--white); border-radius: 20px;
    padding: 8px; box-shadow: 0 12px 40px rgba(16,22,46,0.15);
    flex-direction: column; gap: 0; align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-region { display: none; }
  .nav-mobile-toggle { display: flex; }
  /* Nav items full-width */
  .nav-item { width: 100%; }
  .nav-link {
    width: 100%; border-radius: 10px;
    justify-content: space-between;
    padding: 12px 14px;
  }
  .nav-link-premium {
    justify-content: flex-end;
    gap: 12px;
    flex-direction: row-reverse;
  }
  .nav-link-premium svg {
    margin-left: 0 !important;
  }
  /* Sub-menus collapsed by default */
  .nav-dropdown {
    position: static; display: none;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none;
    background: var(--light-bg); border-radius: 10px;
    min-width: 0; margin: 2px 0 6px; padding: 4px;
  }
  .nav-item.open .nav-dropdown { display: block; }
  .nav-item.open > .nav-link .nav-chevron { transform: rotate(180deg); }
  /* CTAs at the bottom of the mobile menu */
  .nav-mobile-ctas {
    display: flex; flex-direction: column; gap: 8px;
    padding: 12px 6px 6px; margin-top: 4px;
    border-top: 1px solid var(--border);
  }
  .nav-mobile-login {
    display: block; text-align: center; width: 100%;
    padding: 11px 14px; border-radius: 10px;
    border: 1.5px solid var(--border);
    font-size: 14px; font-weight: 500; color: var(--text-body);
    transition: var(--transition);
  }
  .nav-mobile-login:hover { border-color: var(--iris); color: var(--iris); }
  .nav-mobile-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; padding: 11px 14px; font-size: 14px; border-radius: 10px;
    border: 1.5px solid transparent; box-sizing: border-box;
  }
}
@media (max-width: 768px) {
  .logos-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-cards--grid { grid-template-columns: 1fr; }
  .hero .container { flex-direction: column; gap: 40px; }
  .hero-visual { display: none; }
  .hero--inner { min-height: 280px; }
  .gs-grid { grid-template-columns: 1fr; }
  .careers-grid { grid-template-columns: 1fr 1fr; }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .related-advertisers-grid { grid-template-columns: repeat(2, 1fr); }
  .dir-controls { flex-direction: column; }
  .dir-search { width: 100%; min-width: 0; flex: none; }
  .dir-dropdowns { width: 100%; flex-direction: column; }
  .dir-select { flex: none; min-width: 0; width: 100%; }
  .news-grid { grid-template-columns: 1fr; }
  .testi-card {
    flex: 0 0 calc(100% - 32px);
    min-width: 0;
  }
  .testi-carousel-track {
    padding: 0 16px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-brand-desc { max-width: none; }
  .footer-awin-badge { margin-top: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-region { margin-left: 0; }
  .section-padded { padding: 64px 0; }
  .section-padded-sm { padding: 48px 0; }
}
@media (max-width: 480px) {
  .sectors-grid { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
  .related-advertisers-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .careers-grid { grid-template-columns: 1fr; }
  .icon-stats { grid-template-columns: 1fr; }
  .icon-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── VISUAL SHADOW ──────────────────────────────────── */
/* Reusable card shadow for point-block visuals and images across all pages */
.visual-shadow {
  box-shadow:
    0 2px 4px rgba(16,22,46,0.04),
    0 8px 24px rgba(16,22,46,0.10),
    0 24px 56px rgba(16,22,46,0.12);
}

/* ── HERO IMAGE ─────────────────────────────────────── */
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
}

/* ── HERO DASHBOARD ──────────────────────────────────── */
.hero-dash {
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.12);
  background: var(--white);
  font-family: var(--font);
}
.hd-bar {
  background: #1a2040;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hd-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.hd-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  display: block;
}
.hd-dots span:nth-child(1) { background: #ff5f57; }
.hd-dots span:nth-child(2) { background: #febc2e; }
.hd-dots span:nth-child(3) { background: #28c840; }
.hd-url {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  height: 18px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}
.hd-body {
  padding: 20px;
  min-height: 268px;
  position: relative;
}
.hd-progress {
  display: flex;
  gap: 5px;
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
}
.hd-prog-dot {
  width: 18px; height: 3px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.4s ease;
}
.hd-prog-dot--active { background: var(--iris); }

/* Frames — stack via position absolute */
.hd-frame {
  position: absolute;
  inset: 20px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hd-frame.is-active {
  opacity: 1;
  pointer-events: auto;
}
.hd-frame-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding-right: 88px; /* clear the progress dots */
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Frame 1 — Revenue */
.hd-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}
.hd-stat {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 10px 8px;
  text-align: center;
}
.hd-stat-val {
  font-size: 14px;
  font-weight: 800;
  color: var(--dark-blue);
  letter-spacing: -0.02em;
}
.hd-stat-val--green { color: var(--color-success-fg); }
.hd-stat-lbl {
  font-size: 8px;
  color: var(--text-muted);
  margin-top: 3px;
}
.hd-chart-mini {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 10px 10px 6px;
  flex: 1;
}
.hd-bars-mini {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 52px;
}
.hd-bar-mini {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: rgba(87,86,213,0.15);
}
.hd-bar-mini--hi { background: var(--iris); }
.hd-notif {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(112,248,186,0.08);
  border: 1px solid rgba(112,248,186,0.3);
  border-radius: 8px;
  padding: 10px 12px;
}
.hd-notif-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--apple-green);
  flex-shrink: 0;
  animation: hd-pulse 2s ease-in-out infinite;
}
@keyframes hd-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(112,248,186,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(112,248,186,0); }
}
.hd-notif-body { flex: 1; min-width: 0; }
.hd-notif-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 2px;
}
.hd-notif-meta { font-size: 10px; color: var(--text-muted); }
.hd-notif-badge {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--apple-green);
  color: var(--dark-blue);
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Frame 2 — Earnings */
.hd-earnings-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.hd-earn-total {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark-blue);
  letter-spacing: -0.03em;
}
.hd-earn-period { font-size: 11px; color: var(--text-muted); }
.hd-earn-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.hd-earn-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--light-bg);
  border-radius: 8px;
  padding: 8px 10px;
}
.hd-earn-row--new {
  background: rgba(112,248,186,0.08);
  border: 1px solid rgba(112,248,186,0.25);
  animation: hd-row-in 0.4s ease 0.6s both;
}
@keyframes hd-row-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.hd-earn-logo {
  width: 28px; height: 28px;
  border-radius: 6px;
  font-size: 8px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hd-earn-logo--a { background: rgba(87,86,213,0.12); color: var(--iris); }
.hd-earn-logo--b { background: rgba(0,170,223,0.12); color: var(--sky-blue); }
.hd-earn-logo--c { background: rgba(112,248,186,0.2); color: var(--color-success-fg); }
.hd-earn-info { flex: 1; min-width: 0; }
.hd-earn-brand { font-size: 11px; font-weight: 700; color: var(--dark-blue); }
.hd-earn-type  { font-size: 9px; color: var(--text-muted); }
.hd-earn-amount {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-blue);
  flex-shrink: 0;
}
.hd-earn-amount--new { color: var(--color-success-fg); }
.hd-paid-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--iris);
  background: rgba(87,86,213,0.06);
  border-radius: 6px;
  padding: 8px 10px;
}
.hd-paid-badge svg {
  width: 13px; height: 13px;
  stroke: var(--iris);
  fill: none;
  flex-shrink: 0;
}

/* Frame 3 — Nexus AI */
.hd-nexus-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  color: var(--iris);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hd-nexus-eyebrow svg { width: 13px; height: 13px; flex-shrink: 0; }
.hd-nexus-prompt {
  background: var(--light-bg);
  border: 1.5px solid rgba(87,86,213,0.18);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark-blue);
  line-height: 1.4;
}
.hd-nexus-response {
  background: rgba(87,86,213,0.04);
  border: 1px solid rgba(87,86,213,0.12);
  border-radius: 8px;
  padding: 10px 12px;
  flex: 1;
}
.hd-nexus-lbl {
  font-size: 9px;
  font-weight: 700;
  color: var(--iris);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.hd-nexus-text {
  font-size: 11px;
  line-height: 1.55;
  color: var(--dark-blue);
  min-height: 46px;
}
.hd-nexus-cursor {
  display: inline-block;
  width: 1px; height: 11px;
  background: var(--iris);
  margin-left: 1px;
  vertical-align: middle;
  animation: hd-blink 1s step-end infinite;
}
@keyframes hd-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.hd-nexus-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.hd-nx-chip {
  font-size: 9px;
  font-weight: 700;
  background: rgba(87,86,213,0.08);
  color: var(--iris);
  border-radius: 4px;
  padding: 4px 8px;
}
.hd-nx-chip--green {
  background: rgba(112,248,186,0.15);
  color: var(--color-success-fg);
}

/* Frame 4 — Partner approval */
.hd-f4-pending {
  font-size: 8px;
  font-weight: 700;
  background: rgba(254,188,46,0.15);
  color: #a06800;
  border-radius: 4px;
  padding: 2px 6px;
  text-transform: none;
  letter-spacing: 0;
}
.hd-f4-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  transition: opacity 0.4s ease;
}
.hd-partner-app {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--light-bg);
  border-radius: 8px;
  padding: 12px;
}
.hd-pa-logo {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(0,170,223,0.12);
  color: var(--sky-blue);
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hd-pa-info { flex: 1; min-width: 0; }
.hd-pa-name { font-size: 12px; font-weight: 700; color: var(--dark-blue); }
.hd-pa-meta { font-size: 9px; color: var(--text-muted); margin-top: 2px; }
.hd-pa-tag {
  font-size: 9px;
  font-weight: 700;
  background: rgba(254,188,46,0.15);
  color: #a06800;
  border-radius: 4px;
  padding: 3px 7px;
}
.hd-approve-row { display: flex; gap: 8px; }
.hd-approve-btn {
  flex: 1;
  background: var(--iris);
  color: var(--white);
  border: none;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  padding: 8px;
  cursor: default;
  transition: background 0.25s ease, color 0.25s ease;
}
.hd-approve-btn.is-clicked { background: var(--color-success-fg); }
.hd-decline-btn {
  background: var(--light-bg);
  color: var(--text-muted);
  border: none;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  padding: 8px 14px;
  cursor: default;
}
.hd-success {
  position: absolute;
  inset: 40px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 0 8px;
}
.hd-success.is-visible { opacity: 1; }
.hd-success-check {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(112,248,186,0.15);
  border: 2px solid var(--apple-green);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hd-success-check svg { width: 18px; height: 18px; stroke: var(--color-success-fg); }
.hd-success-text {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1.3;
}
.hd-success-meta { font-size: 10px; color: var(--text-muted); }

/* Reduced motion overrides */
@media (prefers-reduced-motion: reduce) {
  .hd-frame          { transition: none; }
  .hd-notif-pulse    { animation: none; }
  .hd-nexus-cursor   { animation: none; }
  .hd-earn-row--new  { animation: none; opacity: 1; transform: none; }
  .hd-f4-main,
  .hd-success,
  .hd-approve-btn    { transition: none; }
}

/* ── NEXUS AI SECTION ───────────────────────────────── */
.nexus-section {
  background: var(--dark-blue);
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}
.nexus-section::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,86,213,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.nexus-section::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112,248,186,0.12) 0%, transparent 65%);
  pointer-events: none;
}
/* Single shooting-star arc — thin glowing line curling over .nexus-logo-wrap,
   sweeping down past the CTA, and continuing behind the Nexus image */
.nexus-glow-line {
  position: absolute;
  width: 820px;
  height: 820px;
  border-radius: 50%;
  /* Ring centre aligned to logo-wrap centre; top arc arches over it */
  top: 60px;
  left: max(-220px, calc((100vw - 1200px) / 2 - 220px));
  /* Thin ring mask — exposes only a 4px stroke at the outer edge */
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 5px),
    #fff        calc(100% - 4px),
    #fff        100%
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 5px),
    #fff        calc(100% - 4px),
    #fff        100%
  );
  /* Shooting-star arc: sky-blue head at 12 o'clock, iris tails fade to both sides */
  background: conic-gradient(
    from 90deg at 50% 50%,
    rgba(0, 170, 223, 1.0)   0deg,
    rgba(87, 86, 213, 0.70) 28deg,
    rgba(87, 86, 213, 0.35) 58deg,
    transparent              84deg,
    transparent             250deg,
    rgba(87, 86, 213, 0.10) 258deg,
    rgba(87, 86, 213, 0.40) 286deg,
    rgba(87, 86, 213, 0.70) 320deg,
    rgba(0, 170, 223, 0.90) 350deg,
    rgba(0, 170, 223, 1.0)  360deg
  );
  filter: blur(5px);
  pointer-events: none;
  z-index: 0;
  animation: nexus-star-orbit 20s linear infinite;
}
@keyframes nexus-star-orbit {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .nexus-glow-line { animation: none; }
}
.nexus-inner {
  display: grid;
  grid-template-columns: 1fr 52vw;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding-left: max(40px, calc((100vw - 1200px) / 2 + 40px));
}

.nexus-inner > div:first-child {
  max-width: 450px;
}
.nexus-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.nexus-logo-wrap {
  display: flex;
  align-items: center;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}
.nexus-logo-wrap .nexus-spark {
  color: var(--apple-green);
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
}
.nexus-logo-wrap .nexus-spark svg {
  height: 0.8em;
  width: auto;
}
.nexus-logo-wrap .nexus-name {
  color: var(--apple-green);
}
.nexus-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(112,248,186,0.12);
  border: 1px solid rgba(112,248,186,0.3);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apple-green);
}
.nexus-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--apple-green);
  animation: nexus-pulse 2s ease-in-out infinite;
}
@keyframes nexus-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}
.nexus-headline {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.nexus-image {
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  align-self: stretch;
  position: relative;
  display: flex;
  flex-direction: column;
}
.nexus-chrome-bar {
  background: #f4f5f8;
  border-bottom: 1px solid rgba(16,22,46,0.07);
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 14px;
  flex-shrink: 0;
}
.nexus-win-ctrl {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nexus-win-ctrl span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.nexus-win-ctrl span:nth-child(1) { background: rgba(255,95,87,0.75); }
.nexus-win-ctrl span:nth-child(2) { background: rgba(254,188,46,0.75); }
.nexus-win-ctrl span:nth-child(3) { background: rgba(40,200,64,0.75); }
.nexus-url-bar {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nexus-url-bar span {
  width: 200px;
  height: 18px;
  border-radius: 9px;
  background: rgba(16,22,46,0.05);
  border: 1px solid rgba(16,22,46,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nexus-url-bar span::after {
  content: '';
  display: block;
  width: 80px;
  height: 5px;
  border-radius: 2.5px;
  background: rgba(16,22,46,0.18);
}
.nexus-screen {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.nexus-screen-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
}
.nexus-screen-img.active {
  opacity: 1;
}
.nexus-overlay-grid {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: 1.25rem;
  width: 84%;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.nexus-overlay-grid.active {
  display: grid;
}
.nexus-overlay-card {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(16,22,46,0.18);
  animation: nexus-card-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
  opacity: 0;
}
.nexus-overlay-card:nth-child(1) { animation-delay: 0.5s; }
.nexus-overlay-card:nth-child(2) { animation-delay: 0.65s; }
.nexus-overlay-card:nth-child(3) { animation-delay: 0.8s; }
.nexus-overlay-card:nth-child(4) { animation-delay: 0.95s; }
@keyframes nexus-card-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .nexus-overlay-card { animation: none; opacity: 1; }
}
.nexus-headline span {
  color: var(--apple-green);
}
.nexus-intro {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 400;
  max-width: 460px;
}
.nexus-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.nexus-section .nexus-ctas .btn { width: 100%; }
.nexus-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.nexus-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px 28px 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.nexus-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--apple-green), var(--sky-blue));
  opacity: 0;
  transition: opacity var(--transition);
}
.nexus-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(112,248,186,0.2);
  transform: translateX(4px);
}
.nexus-card:hover::before {
  opacity: 1;
}
/* Tablet image container - hidden by default */
.nexus-image-tablet {
  display: none;
  position: relative;
}
.nexus-image-tablet .nexus-screen-img-tablet {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-lg);
}
.nexus-image-tablet .nexus-screen-img-tablet.active {
  opacity: 1;
}
@media (max-width: 1100px) {
  .nexus-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 0;
    padding-right: 0;
  }
  .nexus-inner > div:first-child {
    display: contents;
  }
  /* Order: eyebrow → carousel → image → dots → ctas (headline hidden) */
  .nexus-eyebrow {
    order: 1;
    margin-bottom: 0;
    padding-left: 40px;
    padding-right: 40px;
  }
  /* Hide headline at tablet breakpoint */
  .nexus-headline {
    display: none;
  }
  /* Hide entire desktop chrome structure */
  .nexus-image-desktop {
    display: none !important;
  }
  /* Carousel wrapper - no horizontal padding, allows scroll edge-to-edge */
  .nexus-carousel-wrapper {
    order: 3;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0 !important;
  }
  /* Show tablet images between 768px and 1100px */
  .nexus-image-tablet {
    display: block;
    order: 4;
    margin-bottom: 0;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 600px;
    aspect-ratio: 4/3;
    position: relative;
    padding-left: 40px;
    padding-right: 40px;
    margin-left: auto;
    margin-right: auto;
  }
  .nexus-carousel-dots {
    order: 5;
    margin-top: 0;
    padding-left: 40px;
    padding-right: 40px;
  }
  .nexus-ctas {
    order: 6;
    padding-left: 40px;
    padding-right: 40px;
  }
  .nexus-image {
    order: 3;
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    align-self: auto;
  }
  /* Remove track padding and gap on mobile */
  .nexus-section .nexus-carousel-track {
    padding-left: 0;
    padding-right: 0;
    gap: 0;
  }
  /* Cards fill entire viewport width with internal padding for content */
  .nexus-section .nexus-tab-content-v2 {
    width: 100vw;
    flex-shrink: 0;
    padding-left: 40px;
    padding-right: 40px;
    box-sizing: border-box;
  }
  .nexus-section .nexus-tab-nav-v2 {
    order: 4;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 32px;
    justify-content: flex-start;
  }
  .nexus-tab-v2 {
    flex: 1 1 0;
    padding: 14px 16px;
    flex-direction: row;
    text-align: left;
    gap: 12px;
  }
  .nexus-tab-v2-icon {
    width: 36px;
    height: 36px;
  }
  .nexus-tab-v2-label {
    font-size: 14px;
  }
  .nexus-section .nexus-tab-content-v2 {
    order: 5;
  }
  .nexus-ctas {
    order: 6;
    width: 100%;
  }
}
@media (max-width: 900px) {
  /* Reduce padding to match container at 900px */
  .nexus-section .nexus-eyebrow,
  .nexus-section .nexus-headline,
  .nexus-section .nexus-image-tablet,
  .nexus-section .nexus-carousel-dots,
  .nexus-section .nexus-ctas {
    padding-left: 24px;
    padding-right: 24px;
  }
  /* Cards get smaller internal padding at 900px */
  .nexus-section .nexus-tab-content-v2 {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 768px) {
  .nexus-section { padding: 64px 0; }
  /* Hide tablet images on mobile (below 768px) */
  .nexus-image-tablet {
    display: none !important;
  }
}

/* ── GETTING STARTED GATEWAY ────────────────────────── */
.gateway-section { overflow: hidden; }
.gateway-inner {
  display: grid;
  grid-template-columns: 1fr 52vw;
  gap: 60px;
  align-items: center;
  padding-left: max(40px, calc((100vw - 1200px) / 2 + 40px));
}
.gateway-content h2 {
  font-size: 40px; font-weight: 700; color: var(--dark-blue);
  margin: 12px 0 20px; line-height: 1.2;
}
.gateway-intro {
  font-size: 16px; line-height: 1.75; color: var(--text-muted);
  margin-bottom: 32px; max-width: 480px;
}
.gateway-roles {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.gateway-role {
  display: flex; align-items: flex-start; gap: 14px;
}
.gateway-role-icon {
  width: 38px; height: 38px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.gateway-role-icon--iris { background: rgba(87,86,213,0.08); color: var(--iris); }
.gateway-role-icon--sky  { background: rgba(0,170,223,0.1);  color: var(--sky-blue); }
.gateway-role-icon--green { background: rgba(112,248,186,0.15); color: #1A7A52; }
.gateway-role-icon svg { width: 18px; height: 18px; }
.gateway-role strong {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--dark-blue); margin-bottom: 3px;
}
.gateway-role span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.gateway-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.gateway-ctas-wrapper {
  display: none;
}

/* ── MODAL (Agency Directory) ─────────────────────────────────────── */
.quiz-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.quiz-modal[hidden] { display: none; }
.quiz-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16,22,46,0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.quiz-modal-panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(16,22,46,0.18);
  text-align: left;
}
.quiz-modal-panel h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 12px;
  line-height: 1.2;
}
.quiz-modal-panel h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-blue);
}
.quiz-modal-panel p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 12px;
}
.agency-modal-content {
  text-align: left;
}
.quiz-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
  z-index: 1;
}
.quiz-modal-close:hover { color: var(--dark-blue); background: var(--light-bg); }
.quiz-modal-close svg { width: 20px; height: 20px; display: block; }

/* Mobile Optimizations */
@media (max-width: 768px) {
  .quiz-modal {
    padding: 0;
    align-items: flex-start;
  }
  .quiz-modal-panel {
    padding: 60px 24px 24px;
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
    min-height: 100vh;
  }
  .quiz-modal-panel img {
    max-width: 150px !important;
  }
  .quiz-modal-close {
    top: 12px;
    right: 12px;
    padding: 12px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }
  .quiz-modal-close svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .quiz-modal-panel {
    padding: 56px 20px 20px;
  }
  .quiz-modal-panel h2 {
    font-size: 20px;
  }
  .quiz-modal-panel p {
    font-size: 14px;
  }
  .quiz-modal-panel img {
    max-width: 120px !important;
  }
}
.gateway-graphic {
  overflow: hidden;
  position: relative;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow:
    0 2px 4px rgba(16,22,46,0.02),
    0 6px 16px rgba(16,22,46,0.05),
    0 16px 36px rgba(16,22,46,0.07);
}
.gateway-diagram { width: 100%; height: auto; display: block; }
@keyframes gw-btn-press {
  0%   { transform: scale(1); }
  40%  { transform: scale(0.95); }
  100% { transform: scale(0.95); }
}
@keyframes gw-btn-color {
  0%   { fill: #5756D5; }
  40%  { fill: #4240B0; }
  100% { fill: #4240B0; }
}
.gw-btn {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: gw-btn-press 0.3s ease-in 2s 1 forwards;
}
.gw-btn-rect { animation: gw-btn-color 0.3s ease-in 2s 1 forwards; }
@keyframes gw-login-fade {
  to { opacity: 0; }
}
@keyframes gw-disc-appear {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.gw-login-card {
  animation: gw-login-fade 0.4s ease-out 2.5s 1 forwards;
}
.gw-disc-cards {
  opacity: 0;
  animation: gw-disc-appear 0.5s ease-out 3s 1 forwards;
}
@media (prefers-reduced-motion: reduce) {
  .gw-btn, .gw-btn-rect { animation: none; }
  .gw-login-card { animation: none; }
  .gw-disc-cards { animation: none; opacity: 1; }
}

@media (max-width: 1100px) {
  .gateway-inner { grid-template-columns: 1fr; gap: 40px; padding-left: 40px; padding-right: 40px; }
  .gateway-graphic { align-self: auto; border-radius: var(--radius-lg); }
  .gateway-content h2 { font-size: 32px; }
  .gateway-intro { max-width: none; }
  .gateway-ctas-wrapper { display: block; text-align: center; margin-top: 0; }
}
@media (max-width: 640px) {
  .gateway-content h2 { font-size: 28px; }
  .gateway-intro { font-size: 15px; }
}

/* ── HERO SECTION TAGS ──────────────────────────────── */
/* Apple-green pill — use on dark/iris/sky hero backgrounds */
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(112,248,186,0.1);
  border: 1px solid rgba(112,248,186,0.25);
  border-radius: 100px; padding: 6px 18px;
  font-size: 12px; font-weight: 600; color: var(--apple-green);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 24px;
}
.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--apple-green);
  flex-shrink: 0;
  animation: hero-dot-pulse 2.4s ease-in-out infinite;
}
@keyframes hero-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(112,248,186,0.5); }
  60%  { box-shadow: 0 0 0 5px rgba(112,248,186,0); }
  100% { box-shadow: 0 0 0 0 rgba(112,248,186,0); }
}
/* Dark-blue pill — use on green hero background */
.hero-tag--dark {
  background: rgba(16,22,46,0.12);
  border-color: rgba(16,22,46,0.25);
  color: var(--dark-blue);
}
.hero-tag--dark .hero-tag-dot {
  background: var(--dark-blue);
  animation: hero-dot-pulse-dark 2.4s ease-in-out infinite;
}
@keyframes hero-dot-pulse-dark {
  0%   { box-shadow: 0 0 0 0 rgba(16,22,46,0.4); }
  60%  { box-shadow: 0 0 0 5px rgba(16,22,46,0); }
  100% { box-shadow: 0 0 0 0 rgba(16,22,46,0); }
}

/* ── HERO ARTWORK CARDS ─────────────────────────────── */
/* Shared base — same visual language as pod-artwork    */
.hero-art {
  flex-shrink: 0; width: 260px; height: 260px; border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.hero-art::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,170,223,0.25), transparent 65%);
  pointer-events: none;
}
.ha-inner {
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1;
}
.ha-icon {
  width: 60px; height: 60px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.ha-icon svg { width: 28px; height: 28px; fill: none; stroke-width: 1.75; }

/* Animated bar chart */
.ha-bars {
  display: flex; align-items: flex-end; gap: 6px; width: 100%;
  height: 52px; margin-bottom: 18px;
}
.ha-bar {
  flex: 1; border-radius: 3px 3px 0 0;
  animation: ha-breathe 2.4s ease-in-out infinite alternate;
  transform-origin: bottom;
}
.ha-bar:nth-child(2) { animation-delay: 0.2s; }
.ha-bar:nth-child(3) { animation-delay: 0.4s; }
.ha-bar:nth-child(4) { animation-delay: 0.6s; }
.ha-bar:nth-child(5) { animation-delay: 0.8s; }
.ha-bar:nth-child(6) { animation-delay: 1.0s; }
.ha-bar:nth-child(7) { animation-delay: 1.2s; }
@keyframes ha-breathe {
  0%   { opacity: 0.55; transform: scaleY(0.82); }
  100% { opacity: 1;    transform: scaleY(1); }
}

/* Data rows */
.ha-rows { width: 100%; display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.ha-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 7px 11px; border-radius: 8px;
}

/* Network nodes (Advertiser → Affiliate → Consumer) */
.ha-nodes {
  display: flex; align-items: center; gap: 0; width: 100%; margin-bottom: 10px;
}
.ha-node {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ha-node svg { width: 17px; height: 17px; fill: none; stroke-width: 2; }
.ha-connector-line {
  flex: 1; height: 1px; position: relative; overflow: visible;
}
/* Track spans full connector width; dot sits at left:0 inside it.
   HTML expected: <div class="ha-dot-track ha-dot-N"><div class="ha-connector-dot"></div></div> */
.ha-dot-track {
  position: absolute; left: 0; right: 0; top: -3.5px; height: 7px;
  will-change: transform;
}
.ha-connector-dot {
  width: 7px; height: 7px; border-radius: 50%;
  position: absolute; left: 0; top: 0;
  opacity: 0;
}
.ha-dot-1 { animation: ha-travel-1 4s linear infinite; }
.ha-dot-2 { animation: ha-travel-2 4s linear infinite; }

/* translateX(calc(100% - 7px)) travels from left edge to right edge of the connector.
   100% here is the track width (= connector width), so calc(100% - 7px)
   positions the 7px dot flush with the right edge. */

/* Dot 1: Consumer → Affiliate */
@keyframes ha-travel-1 {
  0%        { transform: translateX(0);                opacity: 0; }
  5%        { transform: translateX(0);                opacity: 1; animation-timing-function: ease-in-out; }
  32%       { opacity: 1; }
  42%       { transform: translateX(calc(100% - 7px)); opacity: 0; }
  43%, 100% { transform: translateX(0);                opacity: 0; }
}
/* Dot 2: Affiliate → Advertiser (starts just after dot 1 fades out) */
@keyframes ha-travel-2 {
  0%, 43%   { transform: translateX(0);                opacity: 0; }
  48%       { transform: translateX(0);                opacity: 1; animation-timing-function: ease-in-out; }
  84%       { opacity: 1; }
  94%       { transform: translateX(calc(100% - 7px)); opacity: 0; }
  95%, 100% { transform: translateX(0);                opacity: 0; }
}
/* Node pulse — Consumer fires when dot 1 fades in (5%) */
@keyframes ha-pulse-consumer {
  0%, 4%   { box-shadow: 0 0 0 0px rgba(180,180,255,0); }
  5%       { box-shadow: 0 0 0 0px rgba(180,180,255,0.55); }
  18%      { box-shadow: 0 0 0 10px rgba(180,180,255,0); }
  100%     { box-shadow: 0 0 0 0px rgba(180,180,255,0); }
}
/* Node pulse — Affiliate fires when dot 2 fades in (43%) */
@keyframes ha-pulse-affiliate {
  0%, 42%  { box-shadow: 0 0 0 0px rgba(0,170,223,0); }
  43%      { box-shadow: 0 0 0 0px rgba(0,170,223,0.55); }
  56%      { box-shadow: 0 0 0 10px rgba(0,170,223,0); }
  100%     { box-shadow: 0 0 0 0px rgba(0,170,223,0); }
}
.ha-node-consumer { animation: ha-pulse-consumer 4s linear infinite; }
.ha-node-affiliate { animation: ha-pulse-affiliate 4s linear infinite; }

/* Chat bubbles (FAQ) */
.ha-bubbles { width: 100%; display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.ha-bubble {
  padding: 8px 13px; border-radius: 10px; max-width: 90%;
  font-size: 11px; font-family: var(--font); line-height: 1.45;
}
.ha-bubble--q { align-self: flex-start; border-radius: 10px 10px 10px 2px; }
.ha-bubble--a { align-self: flex-end;   border-radius: 10px 10px 2px 10px; }

/* Stat chips */
.ha-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ha-chip {
  padding: 5px 11px; border-radius: 100px;
  font-size: 11px; font-weight: 600; font-family: var(--font);
}

/* Live indicator dot */
.ha-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; font-family: var(--font);
}
.ha-live-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  animation: ha-live-pulse 2s ease-in-out infinite;
}
@keyframes ha-live-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(112,248,186,0.5); }
  50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(112,248,186,0); }
}

/* Bottom label */
.ha-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; text-align: center; margin-top: 14px;
  font-family: var(--font);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-art { width: 200px; height: 200px; }
}
@media (max-width: 740px) {
  .hero-art { display: none; }
}

/* ── PODCAST PAGE ───────────────────────────────────── */

/* Platform pills in hero */
.pod-platforms-hero { display: flex; flex-wrap: wrap; gap: 10px; }
.pod-platform-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  transition: var(--transition);
}
.pod-platform-pill svg { width: 15px; height: 15px; flex-shrink: 0; }
.pod-platform-pill:hover {
  border-color: var(--apple-green); color: var(--apple-green);
  background: rgba(112,248,186,0.08);
}

/* Podcast artwork */
.pod-artwork {
  flex-shrink: 0; width: 338px; height: 338px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
/* Hide mobile artwork on desktop */
.pod-artwork-mobile {
  display: none;
}
.pod-artwork-inner {
  display: flex; flex-direction: column; align-items: center;
  position: relative; z-index: 1;
}
.pod-artwork-mic { width: 83px; height: 83px; margin-bottom: 26px; }
.pod-artwork-waves {
  display: flex; align-items: center; gap: 5px; margin-bottom: 26px;
}
.pod-artwork-waves span {
  display: block; width: 4px; border-radius: 2px;
  background: rgba(112,248,186,0.6);
  animation: pod-wave 1.4s ease-in-out infinite;
}
.pod-artwork-waves span:nth-child(1) { height: 16px; animation-delay: 0s; }
.pod-artwork-waves span:nth-child(2) { height: 29px; animation-delay: 0.15s; }
.pod-artwork-waves span:nth-child(3) { height: 39px; animation-delay: 0.3s; }
.pod-artwork-waves span:nth-child(4) { height: 29px; animation-delay: 0.45s; }
.pod-artwork-waves span:nth-child(5) { height: 16px; animation-delay: 0.6s; }
@keyframes pod-wave {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(1.5); opacity: 1; }
}
.pod-artwork-label {
  font-size: 14px; font-weight: 800; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--white); text-align: center;
}
.pod-artwork-sub {
  font-size: 13px; color: rgba(255,255,255,0.4);
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 500; margin-top: 8px;
}

/* Intro stat strip */
.pod-intro-strip { padding: 40px 0; border-bottom: 1px solid var(--border); }
.pod-intro-grid {
  display: flex; align-items: center; gap: 0;
  flex-wrap: wrap; justify-content: center;
}
.pod-intro-stat {
  padding: 0 40px; text-align: center; flex-shrink: 0;
}
.pod-intro-num {
  font-size: 36px; font-weight: 800; color: var(--dark-blue); line-height: 1;
  letter-spacing: -0.03em;
}
.pod-intro-num span { font-size: 24px; color: var(--iris); }
.pod-intro-label {
  font-size: 12px; color: var(--text-muted); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px;
}
.pod-intro-divider {
  width: 1px; height: 48px; background: var(--border); flex-shrink: 0;
}
.pod-intro-desc {
  flex: 1; min-width: 240px; padding-left: 40px;
}
.pod-intro-desc p {
  font-size: 15px; color: var(--text-muted); line-height: 1.75;
  max-width: 480px;
}

/* Season 2 episode grid */
.pod-episodes-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.pod-episode-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 0;
  transition: var(--transition); display: flex; flex-direction: column;
  overflow: hidden; text-decoration: none; color: inherit;
  cursor: pointer;
}
.pod-episode-card:hover {
  border-color: var(--iris);
  box-shadow: 0 8px 32px rgba(87,86,213,0.09);
  transform: translateY(-3px);
}
.pod-episode-card:hover .pod-listen-link {
  gap: 10px;
}
.pod-ep-img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 3/2; object-fit: cover;
}
.pod-ep-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; padding: 24px 32px 0 32px;
}
.pod-ep-num {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
}
.pod-ep-season {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--iris);
  background: rgba(87,86,213,0.08); border-radius: 100px;
  padding: 3px 10px;
}
.pod-ep-guest {
  font-size: 20px; font-weight: 700; color: var(--dark-blue);
  line-height: 1.2; margin-bottom: 4px; padding: 0 32px;
}
.pod-ep-company {
  font-size: 13px; color: var(--iris); font-weight: 600;
  margin-bottom: 14px; padding: 0 32px;
}
.pod-episode-card .dark { flex: 1; padding: 0 32px; }
.pod-listen-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--iris);
  transition: gap var(--transition); margin-top: auto;
  padding: 0 32px 32px 32px;
}
.pod-listen-link:hover { gap: 10px; }
.pod-listen-link svg {
  width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5;
}
.pod-listen-link--sm { font-size: 12px; }

/* Season 1 grid */
.pod-s1-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.pod-s1-card {
  background: var(--white); border-radius: var(--radius);
  padding: 0; border: 1.5px solid var(--border);
  transition: var(--transition); display: flex; flex-direction: column;
  overflow: hidden;
}
.pod-s1-card:hover {
  border-color: var(--iris);
  box-shadow: 0 4px 16px rgba(87,86,213,0.08);
  transform: translateY(-2px);
}
.pod-s1-img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 3/2; object-fit: cover;
}
.pod-s1-ep {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 10px; padding: 20px 24px 0 24px;
}
.pod-s1-guest {
  font-size: 17px; font-weight: 700; color: var(--dark-blue);
  margin-bottom: 3px; line-height: 1.2; padding: 0 24px;
}
.pod-s1-company {
  font-size: 12px; color: var(--iris); font-weight: 600;
  margin-bottom: 12px; padding: 0 24px;
}
.pod-s1-card .dark { flex: 1; padding: 0 24px; }
.pod-s1-card .pod-listen-link { padding: 0 24px 24px 24px; }

/* Listen everywhere */
.pod-listen-grid {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  max-width: 900px; margin: 0 auto;
}
.pod-listen-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: var(--radius);
  background: var(--white); border: 1.5px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--dark-blue);
  transition: var(--transition);
}
.pod-listen-badge:hover {
  border-color: var(--iris); color: var(--iris);
  box-shadow: 0 4px 14px rgba(87,86,213,0.1);
  transform: translateY(-2px);
}
.pod-listen-badge svg {
  width: 18px; height: 18px; stroke: currentColor;
  fill: none; stroke-width: 1.75; flex-shrink: 0;
}

/* Guest + Sponsor CTA cards */
.pod-cta-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.pod-cta-card {
  border-radius: var(--radius-lg); padding: 48px 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.pod-cta-card--guest {
  background: var(--dark-blue);
}
.pod-cta-card--sponsor {
  background: var(--light-bg); border: 1.5px solid var(--border);
}
.pod-cta-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 4px;
}
.pod-cta-card--guest .pod-cta-icon {
  background: rgba(255,255,255,0.08);
}
.pod-cta-card--guest .pod-cta-icon svg {
  width: 24px; height: 24px; stroke: var(--apple-green); fill: none; stroke-width: 2;
}
.pod-cta-card--sponsor .pod-cta-icon {
  background: rgba(87,86,213,0.08);
}
.pod-cta-card--sponsor .pod-cta-icon svg {
  width: 24px; height: 24px; stroke: var(--iris); fill: none; stroke-width: 2;
}
.pod-cta-card--guest h3 { font-size: 22px; font-weight: 700; color: var(--white); }
.pod-cta-card--guest p  { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.75; }
.pod-cta-card--sponsor h3 { font-size: 22px; font-weight: 700; color: var(--dark-blue); }
.pod-cta-card--sponsor p  { font-size: 15px; color: var(--text-muted); line-height: 1.75; }
.pod-cta-card .btn { align-self: flex-start; margin-top: 8px; }

/* Individual Episode Page */
.pod-back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--iris);
  margin-top: 60px; margin-bottom: 10px; transition: gap var(--transition);
}
.pod-back-link:hover { gap: 12px; }
.pod-back-link svg { stroke: currentColor; fill: none; }

.pod-ep-title {
  font-size: 40px; font-weight: 800; color: var(--dark-blue);
  line-height: 1.15; margin-bottom: 40px; letter-spacing: -0.02em;
}

.pod-ep-about {
  margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.pod-ep-about h2 {
  font-size: 18px; font-weight: 700; color: var(--dark-blue);
  margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em;
}
.pod-ep-about p {
  font-size: 17px; color: var(--text-body); line-height: 1.75;
}

.pod-ep-listen {
  margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.pod-ep-listen h3 {
  font-size: 18px; font-weight: 700; color: var(--dark-blue);
  margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em;
}
.pod-ep-platforms {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.pod-platform-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: var(--radius);
  background: var(--white); border: 1.5px solid var(--border);
  font-size: 15px; font-weight: 600; color: var(--dark-blue);
  transition: var(--transition);
}
.pod-platform-badge:hover {
  border-color: var(--iris); color: var(--iris);
  box-shadow: 0 4px 14px rgba(87,86,213,0.1);
  transform: translateY(-2px);
}
.pod-platform-badge svg { width: 20px; height: 20px; flex-shrink: 0; }

.pod-ep-video {
  margin-bottom: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.pod-ep-video h3 {
  font-size: 18px; font-weight: 700; color: var(--dark-blue);
  margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em;
}
.pod-ep-video-wrapper {
  position: relative; width: 100%; padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: var(--grey-bg); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.pod-ep-video-wrapper iframe {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}

.pod-ep-transcript {
  margin-bottom: 48px;
}
.pod-ep-transcript h3 {
  font-size: 18px; font-weight: 700; color: var(--dark-blue);
  margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.05em;
}
.pod-transcript-content {
  display: flex; flex-direction: column; gap: 28px;
}
.pod-transcript-entry {
  display: flex; flex-direction: column; gap: 8px;
}
.pod-transcript-speaker {
  font-size: 14px; font-weight: 700; color: var(--iris);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.pod-transcript-text {
  font-size: 16px; color: var(--text-body); line-height: 1.75;
}

/* Podcast responsive */
@media (max-width: 768px) {
  /* Center all content on mobile */
  .hero--sky .hero-content {
    text-align: center;
  }
  /* Hide desktop artwork, show mobile artwork */
  .hero--sky .hero-visual {
    display: none;
  }
  .pod-artwork-mobile {
    display: flex;
    width: 200px;
    height: 200px;
    margin: 32px auto;
  }
  .pod-artwork-mobile .pod-artwork-mic { width: 64px; height: 64px; margin-bottom: 20px; }
  .pod-artwork-mobile .pod-artwork-waves { gap: 4px; margin-bottom: 20px; }
  .pod-artwork-mobile .pod-artwork-waves span { width: 3px; }
  .pod-artwork-mobile .pod-artwork-waves span:nth-child(1) { height: 12px; }
  .pod-artwork-mobile .pod-artwork-waves span:nth-child(2) { height: 22px; }
  .pod-artwork-mobile .pod-artwork-waves span:nth-child(3) { height: 30px; }
  .pod-artwork-mobile .pod-artwork-waves span:nth-child(4) { height: 22px; }
  .pod-artwork-mobile .pod-artwork-waves span:nth-child(5) { height: 12px; }
  .pod-artwork-mobile .pod-artwork-label { font-size: 11px; }
  .pod-artwork-mobile .pod-artwork-sub { font-size: 10px; margin-top: 6px; }
  /* Center platform pills */
  .pod-platforms-hero {
    justify-content: center;
  }
  .pod-episodes-grid { grid-template-columns: 1fr; }
  .pod-s1-grid { grid-template-columns: 1fr 1fr; }
  .pod-cta-grid { grid-template-columns: 1fr; }
  .pod-intro-stat { padding: 0 24px; }
  /* Episode page mobile */
  .pod-ep-title { font-size: 32px; }
  .pod-ep-about h2,
  .pod-ep-listen h3,
  .pod-ep-video h3,
  .pod-ep-transcript h3 {
    font-size: 16px;
  }
  .pod-ep-about p { font-size: 16px; }
  .pod-platform-badge { padding: 12px 20px; font-size: 14px; }
  .pod-platform-badge svg { width: 18px; height: 18px; }
  .pod-transcript-text { font-size: 15px; }
}
@media (max-width: 640px) {
  .pod-artwork-mobile {
    width: 180px;
    height: 180px;
  }
  .pod-artwork-mobile .pod-artwork-mic { width: 58px; height: 58px; margin-bottom: 18px; }
  .pod-artwork-mobile .pod-artwork-waves { gap: 3px; margin-bottom: 18px; }
  .pod-artwork-mobile .pod-artwork-waves span { width: 3px; }
  .pod-artwork-mobile .pod-artwork-waves span:nth-child(1) { height: 11px; }
  .pod-artwork-mobile .pod-artwork-waves span:nth-child(2) { height: 20px; }
  .pod-artwork-mobile .pod-artwork-waves span:nth-child(3) { height: 27px; }
  .pod-artwork-mobile .pod-artwork-waves span:nth-child(4) { height: 20px; }
  .pod-artwork-mobile .pod-artwork-waves span:nth-child(5) { height: 11px; }
  .pod-artwork-mobile .pod-artwork-label { font-size: 10px; }
  .pod-artwork-mobile .pod-artwork-sub { font-size: 9px; }
  .pod-s1-grid { grid-template-columns: 1fr; }
  .pod-intro-grid { gap: 24px; flex-direction: column; align-items: flex-start; }
  .pod-intro-divider { width: 40px; height: 1px; }
  .pod-intro-stat { padding: 0; text-align: left; }
  .pod-intro-desc { padding-left: 0; }
  /* Episode page small mobile */
  .pod-ep-title { font-size: 28px; }
  .pod-ep-about h2,
  .pod-ep-listen h3,
  .pod-ep-video h3,
  .pod-ep-transcript h3 {
    font-size: 15px;
  }
}

/* ── REDUCED MOTION ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  /* Kill all infinite decorative loops and transitions sitewide */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Reveal elements: show final state immediately, no movement */
  .reveal,
  .feat-card,
  .ha-node-consumer,
  .ha-node-affiliate,
  .ha-dot-1,
  .ha-dot-2 {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ════════════════════════════════════════════════
   PAGE: advertiser-tour.html
════════════════════════════════════════════════ */

/* ── FULLSCREEN HERO ─────────────────────────────────── */
.hero--fullscreen {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
}
.hero--fullscreen .container {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hero--fullscreen .hero-content {
  max-width: 820px;
  text-align: center;
}
.hero--fullscreen .light {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.hero--fullscreen .hero-ctas {
  justify-content: center;
}
.hero-video-wrap {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
.point-block-visual .adv-hero-dash-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
}
.adv-hero-dash-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* ── TRACKING INLINE QUOTE ────────────────────────────── */
.adv-track-quote {
  margin-top: 28px;
  padding: 20px 22px;
  background: rgba(87,86,213,0.06);
  border: 1.5px solid rgba(87,86,213,0.18);
  border-radius: 8px;
}
.adv-track-quote p {
  font-size: 14px;
  font-style: italic;
  color: var(--dark-blue);
  line-height: 1.7;
  margin-bottom: 10px;
}
.adv-track-quote-attr {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── PARTNERSHIP DISCOVERY ────────────────────────────── */
.adv-discovery {
  padding: 100px 0;
  background: #f7f6ff;
  border-top: 1px solid var(--border);
}
.adv-discovery-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.adv-discovery-text .section-label { margin-bottom: 12px; display: block; }
.adv-discovery-text h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 18px;
}
.adv-discovery-text p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}
.adv-discovery-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(16,22,46,0.2), 0 0 0 1px rgba(16,22,46,0.08);
}

/* ── SECURITY PILLARS ─────────────────────────────────── */
.adv-security {
  padding: 100px 0;
  background: var(--dark-blue);
}
.adv-security-header {
  text-align: center;
  margin-bottom: 56px;
}
.adv-security-header h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.adv-security-header p {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}
.adv-security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.adv-sec-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.adv-sec-icon {
  width: 44px; height: 44px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  background: rgba(112,248,186,0.1);
  border: 1px solid rgba(112,248,186,0.2);
}
.adv-sec-icon svg {
  width: 20px; height: 20px;
  stroke: rgba(112,248,186,0.9); fill: none; stroke-width: 1.75;
}
.adv-sec-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.adv-sec-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.adv-sec-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(112,248,186,0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.adv-sec-link:hover { color: var(--apple-green); }

/* ── NEXUS CALLOUT ────────────────────────────────────── */
.adv-nexus {
  padding: 100px 0;
  background: var(--white);
}
.adv-nexus-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.adv-nexus-visual {
  background: var(--dark-blue);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 12px 40px rgba(16,22,46,0.2);
}
.adv-nexus-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(112,248,186,0.1);
  border: 1px solid rgba(112,248,186,0.25);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 10px;
  font-weight: 700;
  color: var(--apple-green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.adv-nexus-tag-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--apple-green);
  animation: adv-pulse 2s infinite;
}
@keyframes adv-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}
.adv-nexus-prompt {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 10px;
}
.adv-nexus-prompt::before {
  content: '"';
  color: var(--iris);
  font-weight: 700;
  font-style: normal;
  margin-right: 3px;
}
.adv-nexus-response {
  background: rgba(87,86,213,0.12);
  border: 1px solid rgba(87,86,213,0.22);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
}
.adv-nexus-response-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--apple-green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.adv-nexus-response p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}
.adv-nexus-text .section-label { margin-bottom: 12px; display: block; }
.adv-nexus-text h3 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  line-height: 1.2;
}

/* ── NEXUS SEQUENCE ─────────────────────────────────── */
.adv-nexus-seq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nx-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.nx-item.is-visible { opacity: 1;  transform: translateY(0); }
.nx-item.is-past    { opacity: 1; transform: translateY(0); }
.nx-item.is-out     { opacity: 0;  transform: translateY(-14px); }
.nx-logo { display: block; height: 30px; width: auto; }
.nx-prompt {
  background: rgba(87,86,213,0.06);
  border: 1px solid rgba(87,86,213,0.14);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--dark-blue);
  font-style: italic;
  line-height: 1.55;
}
.nx-response {
  background: var(--dark-blue);
  border-radius: 10px;
  padding: 14px 16px;
}
.nx-response-lbl {
  font-size: 9.5px; font-weight: 700;
  color: var(--apple-green);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 7px;
}
.nx-response p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65; margin: 0;
  transition: opacity 0.9s ease;
}
.nx-para-hidden {
  opacity: 0;
}
/* Response body — relative container so dots overlay without affecting height */
.nx-response-body {
  position: relative;
}
/* Typewriter cursor */
.nx-cursor {
  display: inline-block;
  width: 1.5px;
  height: 0.85em;
  background: var(--iris);
  margin-left: 1px;
  vertical-align: middle;
  border-radius: 1px;
  animation: nx-blink 0.75s step-end infinite;
}
.nx-cursor.nx-cursor--hide {
  opacity: 0;
  animation: none;
}
@keyframes nx-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
/* Thinking dots — absolutely positioned so they overlay text without changing box height */
.nx-thinking-dots {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  display: none;
  gap: 5px;
  align-items: center;
}
.nx-thinking-dots span {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  animation: nx-dot 1.1s ease-in-out infinite;
}
.nx-thinking-dots span:nth-child(2) { animation-delay: 0.18s; }
.nx-thinking-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes nx-dot {
  0%, 80%, 100% { transform: scale(0.65); opacity: 0.3; }
  40%           { transform: scale(1.1);  opacity: 1;   }
}
@media (prefers-reduced-motion: reduce) {
  .nx-response p { transition: none; }
  .nx-para-hidden { opacity: 1; }
}
/* Nexus table styling */
.nx-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 12.5px;
}
.nx-table th,
.nx-table td {
  padding: 8px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nx-table th {
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}
.nx-table td {
  color: rgba(255,255,255,0.65);
}
.nx-table tr.nx-table-total td {
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  border-top: 2px solid rgba(255,255,255,0.3);
  padding-top: 10px;
}

/* ── INTEGRATION MARKETPLACE ──────────────────────────── */
.adv-integrations {
  padding: 80px 0;
  background: var(--light-bg);
  border-top: 1px solid var(--border);
}
.adv-int-header {
  text-align: center;
  margin-bottom: 44px;
}
.adv-int-header h2 {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.adv-int-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}
.adv-int-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.adv-int-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
}
.adv-int-item-icon {
  width: 40px; height: 40px;
  background: rgba(87,86,213,0.07);
  border: 1px solid rgba(87,86,213,0.14);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.adv-int-item-icon svg {
  width: 18px; height: 18px;
  stroke: var(--iris); fill: none; stroke-width: 1.75;
}
.adv-int-item h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 5px;
}
.adv-int-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── SINGLEVIEW NOTE ──────────────────────────────────── */
.adv-sv-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.65;
}

/* ── CASE STUDIES ─────────────────────────────────────── */
.adv-case-studies {
  padding: 100px 0;
  background: #f7f6ff;
  border-top: 1px solid var(--border);
}
.adv-cs-header {
  text-align: center;
  margin-bottom: 60px;
}
.adv-cs-header h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.adv-cs-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}
.adv-cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.adv-cs-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(16,22,46,0.06), 0 0 0 1px rgba(16,22,46,0.06);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}
.adv-cs-card:hover {
  box-shadow: 0 16px 48px rgba(16,22,46,0.14), 0 0 0 1px rgba(87,86,213,0.15);
  transform: translateY(-5px);
}
.adv-cs-card-accent {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
}
.adv-cs-card-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.adv-cs-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.adv-cs-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.adv-cs-metrics {
  display: flex;
  gap: 28px;
  margin-bottom: 22px;
  padding-bottom: 22px;
}
.adv-cs-metric strong {
  display: block;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 5px;
}
.adv-cs-metric span {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.adv-cs-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.01em;
  line-height: 1.45;
  margin-bottom: 10px;
}
.adv-cs-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 0;
}
.adv-cs-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}
.adv-cs-link svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 2;
  flex-shrink: 0;
}
.adv-cs-link:hover { gap: 10px; }
.adv-cs-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.adv-cs-logo-wrap {
  display: flex;
  align-items: center;
}
.adv-cs-logo-wrap img {
  height: 48px;
  width: auto;
  min-width: 50px;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
}
.adv-cs-brand-logo {
  max-height: 22px;
  max-width: 90px;
  width: auto;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1);
  opacity: 0.4;
}
.adv-cs-cta {
  text-align: center;
  margin-top: 52px;
}
/* card colour variants */
.adv-cs-card--iris .adv-cs-card-accent { background: linear-gradient(90deg, var(--iris) 0%, rgba(87,86,213,0.3) 100%); }
.adv-cs-card--iris .adv-cs-tag        { color: var(--iris); }
.adv-cs-card--iris .adv-cs-tag-dot    { background: var(--iris); }
.adv-cs-card--iris .adv-cs-metric strong { color: var(--iris); }
.adv-cs-card--iris .adv-cs-link       { color: var(--iris); }
.adv-cs-card--green .adv-cs-card-accent { background: linear-gradient(90deg, #00b870 0%, rgba(0,184,112,0.3) 100%); }
.adv-cs-card--green .adv-cs-tag        { color: #009058; }
.adv-cs-card--green .adv-cs-tag-dot    { background: var(--color-success); }
.adv-cs-card--green .adv-cs-metric strong { color: var(--color-success-fg); }
.adv-cs-card--green .adv-cs-link       { color: var(--color-success-fg); }
.adv-cs-card--sky .adv-cs-card-accent  { background: linear-gradient(90deg, var(--sky-blue) 0%, rgba(0,170,223,0.3) 100%); }
.adv-cs-card--sky .adv-cs-tag          { color: var(--color-sky-fg); }
.adv-cs-card--sky .adv-cs-tag-dot      { background: var(--sky-blue); }
.adv-cs-card--sky .adv-cs-metric strong { color: var(--color-sky-fg); }
.adv-cs-card--sky .adv-cs-link         { color: var(--color-sky-fg); }
/* scroll-in animation overrides for case study cards */
.adv-cs-card.reveal {
  transform: translateY(52px) scale(0.97);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.adv-cs-card.reveal.visible {
  transform: translateY(0) scale(1);
}

/* ── PRODUCT UI MOCKUPS ───────────────────────────────── */
.ui-mock {
  background: var(--white);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(16,22,46,0.1), 0 0 0 1px rgba(16,22,46,0.07);
  font-size: 12px; font-family: var(--font);
}
/* tracking */
.ui-track-kpi { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.ui-track-stat { font-size: 32px; font-weight: 800; color: var(--iris); letter-spacing: -0.03em; line-height: 1; }
.ui-track-stat-lbl { font-size: 10px; color: var(--text-muted); font-weight: 500; line-height: 1.4; }
.ui-table { border: 1px solid var(--border); border-radius: 7px; overflow: hidden; margin-bottom: 12px; }
.ui-tr { display: grid; gap: 6px; padding: 6px 10px; border-bottom: 1px solid var(--border); align-items: center; }
.ui-tr:last-child { border-bottom: none; }
.ui-tr.hdr { background: var(--light-bg); font-size: 9px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.ui-tr.data { font-size: 10px; }
.ui-tr .bold { font-weight: 700; color: var(--dark-blue); }
.ui-tag { display: inline-flex; padding: 2px 7px; border-radius: 100px; font-size: 8px; font-weight: 700; }
.ui-tag--green { background: rgba(0,184,112,0.1); color: var(--color-success-fg); border: 1px solid rgba(0,184,112,0.2); }
.ui-tag--iris { background: rgba(87,86,213,0.1); color: var(--iris); border: 1px solid rgba(87,86,213,0.15); }
.ui-tag--sky { background: rgba(0,170,223,0.1); color: var(--color-sky-fg); border: 1px solid rgba(0,170,223,0.15); }
.ui-methods { display: flex; gap: 5px; }
.ui-method { flex: 1; padding: 5px 4px; text-align: center; border-radius: 6px; font-size: 8px; font-weight: 700; letter-spacing: 0.03em; border: 1px solid; }
/* partner discovery */
.ui-pd-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ui-pd-title { font-size: 11px; font-weight: 700; color: var(--dark-blue); }
.ui-pd-filter { font-size: 9px; color: var(--iris); font-weight: 600; border: 1px solid rgba(87,86,213,0.2); background: rgba(87,86,213,0.05); padding: 3px 9px; border-radius: 100px; }
.ui-partner { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.ui-partner:last-of-type { border-bottom: none; }
.ui-p-icon { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
.ui-p-info { flex: 1; min-width: 0; }
.ui-p-name { font-weight: 700; color: var(--dark-blue); font-size: 10px; }
.ui-p-type { font-size: 8px; color: var(--text-muted); }
.ui-p-match { width: 48px; }
.ui-p-match-lbl { font-size: 7px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; margin-bottom: 3px; }
.ui-p-track { height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.ui-p-fill { height: 100%; border-radius: 2px; background: var(--iris); }
.ui-invite { font-size: 8px; font-weight: 700; color: var(--iris); border: 1px solid rgba(87,86,213,0.25); padding: 3px 8px; border-radius: 5px; white-space: nowrap; }
.ui-pd-note { font-size: 8px; color: var(--text-muted); text-align: center; margin-top: 8px; font-style: italic; }
/* commissioning */
.ui-comm-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ui-add-btn { font-size: 9px; font-weight: 700; color: var(--iris); border: 1px solid rgba(87,86,213,0.25); padding: 4px 10px; border-radius: 6px; cursor: pointer; }
/* singleview */
.ui-sv-hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ui-sv-toggle { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.ui-sv-btn { font-size: 8px; font-weight: 600; padding: 3px 8px; color: var(--text-muted); }
.ui-sv-btn.active { background: var(--iris); color: white; }
.ui-journey { display: flex; align-items: flex-start; gap: 2px; margin-bottom: 14px; position: relative; }
.ui-journey::before { content: ''; position: absolute; top: 14px; left: 14px; right: 14px; height: 2px; background: linear-gradient(90deg, var(--iris), var(--sky-blue), #00b870); z-index: 0; }
.ui-tp { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.ui-tp-dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 10px; margin-bottom: 5px; border: 2px solid white; flex-shrink: 0; }
.ui-tp-lbl { font-size: 7px; font-weight: 700; color: var(--dark-blue); text-align: center; line-height: 1.3; margin-bottom: 2px; }
.ui-tp-pct { font-size: 10px; font-weight: 800; text-align: center; }
.ui-sv-compare { background: var(--light-bg); border: 1px solid var(--border); border-radius: 7px; padding: 8px 10px; }
.ui-sv-row { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; font-size: 9px; border-bottom: 1px solid var(--border); }
.ui-sv-row:last-child { border-bottom: none; }
.ui-sv-row .lbl { color: var(--text-muted); }
.ui-sv-row .old { color: #bbb; text-decoration: line-through; }
.ui-sv-row .new { color: var(--iris); font-weight: 700; }

/* ── TESTIMONIAL UPDATES ──────────────────────────────── */
.testi-roi {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(87,86,213,0.06); border: 1px solid rgba(87,86,213,0.12);
  border-radius: 6px; padding: 5px 10px; margin-top: 12px;
}
.testi-roi strong { font-size: 13px; font-weight: 800; color: var(--iris); letter-spacing: -0.02em; }
.testi-roi span { font-size: 11px; color: var(--text-muted); }

/* ── TRUST BAR ────────────────────────────────────────── */
.adv-trust-bar { padding: 28px 0; background: var(--light-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.adv-trust-inner { display: flex; align-items: center; justify-content: center; gap: 36px; flex-wrap: wrap; }
.adv-trust-item { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--text-muted); }
.adv-trust-icon { width: 26px; height: 26px; border-radius: 7px; background: rgba(87,86,213,0.07); border: 1px solid rgba(87,86,213,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.adv-trust-icon svg { width: 13px; height: 13px; stroke: var(--iris); fill: none; stroke-width: 2; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  .adv-discovery-inner,
  .adv-nexus-inner { grid-template-columns: 1fr; gap: 48px; }
  .adv-security-grid { grid-template-columns: 1fr; }
  .adv-int-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-cs-grid { grid-template-columns: 1fr; }
  /* Hero */
  .hero--fullscreen { padding-top: 90px; padding-bottom: 56px; }
  .hero--fullscreen .hero-content { max-width: 100%; }
}
@media (max-width: 768px) {
  /* Hero */
  .hero--fullscreen { padding-top: 100px; padding-bottom: 48px; }
  /* Scroll sections — reduce section padding, strip redundant point-block padding */
  .fp-section.section-padded,
  .fp-section.adv-nexus,
  .fp-section.nexus-section { padding: 40px 0; }
  .fp-section .point-block { padding: 0; border-bottom: none; }
  .fp-section + .fp-section { border-top: 1px solid var(--border); }
}
@media (max-width: 600px) {
  .adv-discovery { padding: 40px 0; }
  .adv-security { padding: 40px 0; }
  .adv-nexus { padding: 40px 0; }
  .adv-case-studies { padding: 40px 0; }
  /* Hero */
  .hero--fullscreen { padding-top: 90px; padding-bottom: 40px; }
  /* Collapse integrations grid to single column */
  .adv-int-grid { grid-template-columns: 1fr; }
  /* Tighten gaps */
  .adv-discovery-inner,
  .adv-nexus-inner { gap: 32px; }
}
@media (max-width: 480px) {
  /* Hero */
  .hero--fullscreen { padding-top: 80px; padding-bottom: 32px; }
  /* Tighten grids further */
  .adv-discovery-inner,
  .adv-nexus-inner { gap: 24px; }
  .fp-section.section-padded,
  .fp-section.adv-nexus,
  .fp-section.nexus-section { padding: 32px 0; }
}
/* ── TRACKING SEQUENCE ───────────────────────────── */
/* shared phase wrappers */
.adv-track-intro-phase,
.adv-track-purchase-phase {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  padding: 32px 36px;
  gap: 0;
}
.adv-track-intro-phase.ds-active,
.adv-track-purchase-phase.ds-active { opacity: 1; }
/* --- Phase 1: Foundation --- */
.adv-tfound-title {
  font-size: 9px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 18px; opacity: 0;
}
.adv-track-intro-phase.is-playing .adv-tfound-title { animation: adv-ti-fade 0.4s ease 0.1s forwards; }
.adv-tfound-layers { width: 100%; max-width: 230px; display: flex; flex-direction: column; gap: 7px; }
.adv-tfound-layer {
  height: 32px; border-radius: 8px; display: flex; align-items: center; padding: 0 13px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
  opacity: 0; transform: translateY(8px);
}
.adv-tfound-layer--a { background: rgba(87,86,213,0.1); color: var(--iris); border: 1px solid rgba(87,86,213,0.2); }
.adv-tfound-layer--b { background: rgba(0,170,223,0.1); color: var(--color-sky-fg); border: 1px solid rgba(0,170,223,0.2); }
.adv-tfound-layer--c { background: rgba(0,184,112,0.1); color: var(--color-success-fg); border: 1px solid rgba(0,184,112,0.2); }
/* build from bottom (--c) up to top (--a) */
.adv-track-intro-phase.is-playing .adv-tfound-layer--c { animation: adv-tfound-rise 0.45s ease 0.5s forwards; }
.adv-track-intro-phase.is-playing .adv-tfound-layer--b { animation: adv-tfound-rise 0.45s ease 1.0s forwards; }
.adv-track-intro-phase.is-playing .adv-tfound-layer--a { animation: adv-tfound-rise 0.45s ease 1.5s forwards; }
@keyframes adv-tfound-rise { to { opacity: 1; transform: translateY(0); } }
.adv-tfound-result {
  margin-top: 16px; font-size: 10px; font-weight: 600; color: var(--color-success-fg);
  opacity: 0; letter-spacing: 0.02em; display: flex; align-items: center; gap: 6px;
}
.adv-tfound-result::before { content: '✓'; }
.adv-track-intro-phase.is-playing .adv-tfound-result { animation: adv-ti-fade 0.5s ease 2.3s forwards; }
/* --- Phase 2: Customer purchase --- */
.adv-tpurch-journey {
  display: flex; align-items: center; width: 100%; max-width: 240px; margin-bottom: 22px;
}
.adv-tpurch-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0; transform: scale(0.7); flex-shrink: 0;
}
.adv-tpurch-icon-wrap {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.adv-tpurch-icon-wrap svg { width: 20px; height: 20px; fill: none; stroke-width: 2; }
.adv-tpurch-step--person .adv-tpurch-icon-wrap { background: rgba(87,86,213,0.1); border: 1px solid rgba(87,86,213,0.2); }
.adv-tpurch-step--person svg { stroke: var(--iris); }
.adv-tpurch-step--cart .adv-tpurch-icon-wrap { background: rgba(0,170,223,0.1); border: 1px solid rgba(0,170,223,0.2); }
.adv-tpurch-step--cart svg { stroke: #0082aa; }
.adv-tpurch-step--done .adv-tpurch-icon-wrap { background: rgba(0,184,112,0.1); border: 1px solid rgba(0,184,112,0.2); }
.adv-tpurch-step--done svg { stroke: var(--color-success-fg); stroke-width: 2.5; }
.adv-tpurch-lbl { font-size: 8.5px; font-weight: 700; color: var(--text-muted); letter-spacing: 0.03em; }
.adv-tpurch-connector {
  flex: 1; height: 2px; background: var(--border); position: relative; overflow: hidden;
  margin: 0 4px; margin-bottom: 14px;
}
.adv-tpurch-connector::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--iris), #0082aa);
  transform: scaleX(0); transform-origin: left;
}
.adv-track-purchase-phase.is-playing .adv-tpurch-step--person { animation: adv-tpurch-pop 0.4s ease 0.2s forwards; }
.adv-track-purchase-phase.is-playing .adv-tpurch-journey > :nth-child(2)::after { animation: adv-tpurch-line 0.5s ease 0.7s forwards; }
.adv-track-purchase-phase.is-playing .adv-tpurch-step--cart { animation: adv-tpurch-pop 0.4s ease 1.3s forwards; }
.adv-track-purchase-phase.is-playing .adv-tpurch-journey > :nth-child(4)::after { animation: adv-tpurch-line 0.5s ease 1.8s forwards; }
.adv-track-purchase-phase.is-playing .adv-tpurch-step--done { animation: adv-tpurch-pop 0.4s ease 2.4s forwards; }
@keyframes adv-tpurch-pop { to { opacity: 1; transform: scale(1); } }
@keyframes adv-tpurch-line { to { transform: scaleX(1); } }
.adv-tpurch-event {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; color: var(--dark-blue);
  letter-spacing: 0.04em; text-transform: uppercase; opacity: 0;
}
.adv-track-purchase-phase.is-playing .adv-tpurch-event { animation: adv-ti-fade 0.4s ease 3.2s forwards; }
/* --- Phase 3: Platform checklist --- */
.adv-track-ui-phase { width: 100%; opacity: 0; transition: opacity 0.5s ease; }
.adv-track-ui-phase.ds-active { opacity: 1; }
.adv-tui-card {
  background: white; border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; box-shadow: 0 4px 20px rgba(16,22,46,0.08); max-width: 260px; margin: 0 auto;
}
.adv-tui-header {
  background: var(--dark-blue); padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.adv-tui-header-title { font-size: 10px; font-weight: 700; color: white; letter-spacing: 0.03em; }
.adv-tui-header-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-success); animation: adv-pulse 2s ease-in-out infinite; }
.adv-tui-items { padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.adv-tui-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border-radius: 8px; background: var(--light-bg); border: 1px solid var(--border);
  opacity: 0; transform: translateX(-6px);
}
.adv-tui-item-icon { width: 28px; height: 28px; border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.adv-tui-item-icon svg { width: 14px; height: 14px; stroke-width: 2; fill: none; stroke: currentColor; }
.adv-tui-item--ss .adv-tui-item-icon { background: rgba(87,86,213,0.1); color: var(--iris); }
.adv-tui-item--cl .adv-tui-item-icon { background: rgba(0,170,223,0.1); color: var(--color-sky-fg); }
.adv-tui-item--av .adv-tui-item-icon { background: rgba(0,184,112,0.1); color: var(--color-success-fg); }
.adv-tui-item-label { flex: 1; font-size: 10px; font-weight: 700; color: var(--dark-blue); }
.adv-tui-item-check {
  width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: white; font-weight: 800; flex-shrink: 0; opacity: 0; transform: scale(0.5);
}
.adv-track-ui-phase.is-playing .adv-tui-item:nth-child(1) { animation: adv-ti-slide 0.4s ease 0.3s forwards; }
.adv-track-ui-phase.is-playing .adv-tui-item:nth-child(2) { animation: adv-ti-slide 0.4s ease 0.9s forwards; }
.adv-track-ui-phase.is-playing .adv-tui-item:nth-child(3) { animation: adv-ti-slide 0.4s ease 1.5s forwards; }
.adv-track-ui-phase.is-playing .adv-tui-item:nth-child(1) .adv-tui-item-check { animation: adv-tui-tick 0.3s ease 0.85s forwards; }
.adv-track-ui-phase.is-playing .adv-tui-item:nth-child(2) .adv-tui-item-check { animation: adv-tui-tick 0.3s ease 1.45s forwards; }
.adv-track-ui-phase.is-playing .adv-tui-item:nth-child(3) .adv-tui-item-check { animation: adv-tui-tick 0.3s ease 2.05s forwards; }
@keyframes adv-tui-tick {
  0%   { opacity: 0; transform: scale(0.5); background: transparent; border-color: var(--border); }
  60%  { transform: scale(1.2); background: var(--color-success-fg); border-color: var(--color-success-fg); opacity: 1; }
  100% { transform: scale(1); background: var(--color-success-fg); border-color: var(--color-success-fg); opacity: 1; }
}
/* pulse dot + shared keyframes */
.adv-track-pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--apple-green); flex-shrink: 0;
  animation: adv-pulse 1.6s ease-in-out infinite;
}
@keyframes adv-ti-fade  { to { opacity: 1; } }
@keyframes adv-ti-slide { to { opacity: 1; transform: translateX(0); } }
.adv-track-ui-phase.ds-active { opacity: 1; }


/* Fade decorative SVG backgrounds at section edges so adjacent sections blend */
.fp-section > svg[aria-hidden="true"] {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 18%, black 82%, transparent 100%);
}
.fp-section.section-padded    { padding: 150px 0; }
.fp-section.adv-nexus         { padding: 150px 0; }
.fp-section.adv-case-studies  { padding: 150px 0; }
.fp-section.nexus-section     { padding: 150px 0; }
.fp-section > .container   { width: 100%; }
/* nexus-inner is not .container — ensure it stretches full-width inside flex */
.fp-section > .nexus-inner { width: 100%; }
/* Strip internal padding from point-block and stack-block — section handles centering */
.fp-section .point-block   { padding: 0; border-bottom: none; }
.fp-section .stack-block   { padding: 0; border-bottom: none; }
@media (max-width: 960px) {
  .fp-section                 { min-height: auto; display: block; }
  .fp-section.section-padded  { padding: 64px 0; }
  .fp-section.adv-nexus       { padding: 64px 0; }
  .fp-section.nexus-section   { padding: 64px 0; }
  .fp-section .point-block    { padding: 72px 0; border-bottom: 1px solid var(--border); }
  .fp-section .point-block:last-child { border-bottom: none; }
  .fp-section .stack-block    { padding: 72px 0; border-bottom: 1px solid var(--border); }
  .fp-section .stack-block:last-child { border-bottom: none; }
}

/* ── PARTNERSHIP DISCOVERY SEQUENCE ─────────────── */
.adv-disc-search-phase {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.adv-disc-search-phase.ds-active { opacity: 1; }
.adv-disc-search-box {
  background: white;
  border: 1.5px solid var(--iris);
  border-radius: 10px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 68%;
  box-shadow: 0 4px 20px rgba(87,86,213,0.18), 0 1px 4px rgba(16,22,46,0.08);
}
.adv-disc-search-box svg {
  width: 15px; height: 15px;
  stroke: var(--iris); fill: none; stroke-width: 2;
  flex-shrink: 0;
}
.adv-disc-search-label {
  font-size: 13px;
  color: var(--dark-blue);
  font-family: inherit;
  flex: 1;
}
.adv-disc-search-cursor {
  color: var(--iris);
  font-size: 15px;
  line-height: 1;
  animation: ds-cursor-blink 0.7s step-end infinite;
}
@keyframes ds-cursor-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
.adv-disc-ui-phase {
  position: absolute; inset: 0;
  display: flex;
  align-items: stretch;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.adv-disc-ui-phase.ds-active { opacity: 1; }
.adv-disc-ui-phase .ui-mock { flex: 1; border-radius: 0; box-shadow: none; }
.adv-disc-ui-phase .ui-mock > div:not(.nexus-chrome-bar) { flex: 1; min-height: 0; }

/* ── SETUP / DISCOVERY VISUAL HEIGHTS ───────────────── */
.adv-setup-visual { min-height: 500px; }
@media (max-width: 1100px) { .adv-setup-visual { min-height: 400px; } }
@media (max-width: 640px)  { .adv-setup-visual { min-height: 320px; } }

.adv-disc-visual { min-height: 560px; }
@media (max-width: 1100px) { .adv-disc-visual { min-height: 500px; } }
@media (max-width: 640px)  { .adv-disc-visual { min-height: 460px; } }

/* ── SETUP SEQUENCE ─────────────────────────────── */
.adv-setup-intro-phase {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: #fff;
  z-index: 3; opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  padding: 60px 28px 24px; gap: 18px;
}
.adv-setup-intro-phase .nexus-chrome-bar { position: absolute; top: 0; left: 0; right: 0; }
.adv-setup-intro-phase.ds-active { opacity: 1; }
.adv-setup-eyebrow {
  display: flex; align-items: center; gap: 7px;
  font-size: 10px; font-weight: 700;
  color: var(--text-muted); letter-spacing: 0.07em; text-transform: uppercase;
}
.adv-setup-eyebrow svg { width: 14px; height: 14px; stroke: var(--iris); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.adv-setup-tiles { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.adv-setup-tile {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.adv-setup-tile.is-visible { opacity: 1; transform: translateY(0); }
.adv-setup-tile-icon {
  width: 74px; height: 74px; border-radius: 17px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.14); overflow: hidden;
}
.adv-setup-tile-name {
  font-size: 8.5px; font-weight: 600;
  color: var(--dark-blue); text-align: center; max-width: 62px; line-height: 1.3;
}
.adv-setup-tile-badge {
  position: absolute; top: -6px; right: -6px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-success-fg); color: white;
  font-size: 8px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.3);
  transition: opacity 0.2s ease, transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.adv-setup-tile.badge-on .adv-setup-tile-badge { opacity: 1; transform: scale(1); }
.adv-setup-intro-result {
  font-size: 10.5px; font-weight: 600; color: var(--color-success-fg);
  opacity: 0; transition: opacity 0.5s ease; letter-spacing: 0.01em;
}
.adv-setup-intro-result.is-visible { opacity: 1; }

/* ── PARTNERSHIP DISCOVERY CARD LOGO HEADER ────── */
.adv-disc-card-logo {
  height: 75px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 1100px) { .adv-disc-card-logo { height: 60px; } }
@media (max-width: 640px)  { .adv-disc-card-logo { height: 48px; } }

/* Large variant — used in 2-column card layouts */
.adv-disc-card-logo--lg {
  height: 95px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 1100px) { .adv-disc-card-logo--lg { height: 76px; } }
@media (max-width: 640px)  { .adv-disc-card-logo--lg { height: 60px; } }

/* ── PARTNERSHIP DISCOVERY CARD ANIMATION ─────── */
.adv-disc-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.adv-disc-card.is-visible { opacity: 1; transform: translateY(0); }
.adv-disc-card:nth-child(2) { transition-delay: 0.12s; }
.adv-disc-card:nth-child(3) { transition-delay: 0.24s; }

/* ── SMARTER NOTIFICATIONS ─────────────────────── */
.adv-notif-badges-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  gap: 52px;
}
.adv-notif-badge {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  will-change: transform, opacity;
}
.adv-notif-badge-icon-wrap {
  position: relative;
}
.adv-notif-bell {
  position: absolute; top: -12px; right: -12px;
  width: 48px; height: 48px; border-radius: 50%;
  background: #F2405C;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(242,64,92,0.45);
  opacity: 0; transform: scale(0.3);
}
.adv-notif-bell svg { width: 22px; height: 22px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.adv-notif-badge-icon {
  width: 192px; height: 192px; border-radius: 40px;
  background: white;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
}
.adv-notif-badge-name {
  font-size: 12px; font-weight: 700; color: var(--dark-blue);
  text-align: center; line-height: 1.4;
}
@keyframes adv-badge-float {
  0%, 100% { transform: scale(1) translateY(0px);  }
  50%       { transform: scale(1) translateY(-9px); }
}
@keyframes adv-bell-ping {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(2.6); opacity: 0;   }
}
@keyframes adv-bell-ring {
  0%, 100% { transform: rotate(0deg); }
  10%  { transform: rotate(-22deg); }
  28%  { transform: rotate(18deg); }
  44%  { transform: rotate(-13deg); }
  58%  { transform: rotate(9deg); }
  72%  { transform: rotate(-6deg); }
  86%  { transform: rotate(3deg); }
}
.adv-notif-ping {
  position: absolute; inset: 0; border-radius: 50%;
  background: #F2405C; opacity: 0; pointer-events: none;
}
.adv-notif-ping.is-active {
  animation: adv-bell-ping 0.65s ease-out forwards;
}
.adv-notif-bell.is-ringing svg {
  animation: adv-bell-ring 0.55s ease-in-out;
  transform-origin: 50% 25%;
}

/* ── REDUCED MOTION ───────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  /* Kill all infinite decorative loops */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  /* Reveal elements: skip animation, show final state immediately */
  .reveal,
  .adv-disc-card,
  .nx-item,
  .adv-setup-tile,
  .adv-tfound-layer,
  .adv-tfound-title,
  .adv-tfound-result,
  .adv-tpurch-step,
  .adv-tui-item,
  .adv-comm-rule,
  .adv-comm-bottom {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* Sequence phases: show final state, skip intro animations */
  .adv-setup-intro-phase { opacity: 1 !important; }
  .adv-setup-intro-result { opacity: 1 !important; }
  .adv-disc-search-phase { display: none !important; }
  .adv-disc-ui-phase { opacity: 1 !important; }
}

/* ── ANIMATION GATING ─────────────────────────────────── */
/* Pause all CSS animations when their parent section is off-screen.
   Re-enables automatically when IntersectionObserver adds .is-visible.
   Only affects animation: rules — CSS transitions (reveal etc.) are unaffected. */
section:not(.is-visible) * {
  animation-play-state: paused !important;
}

/* ── SLACK NOTIFICATION CARD ──────────────────────── */
.adv-slack-notif {
  position: absolute; left: 50%; top: 50%;
  width: 320px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.16), 0 1px 6px rgba(0,0,0,0.09);
  padding: 14px 16px 14px;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  font-family: -apple-system, BlinkMacSystemFont, "Slack-Lato", "Lato", sans-serif;
}
.sn-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.sn-app-icon {
  width: 34px; height: 34px; border-radius: 6px;
  background: #000; overflow: hidden; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.sn-app-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.sn-app-meta { display: flex; align-items: center; gap: 5px; flex-wrap: nowrap; min-width: 0; }
.sn-app-name { font-size: 12.5px; font-weight: 700; color: #1d1c1d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-app-badge { font-size: 9px; font-weight: 700; color: #616061; background: #e8e8e8; border-radius: 3px; padding: 1px 4px; text-transform: uppercase; letter-spacing: 0.04em; flex-shrink: 0; }
.sn-time { font-size: 11px; color: #9e9e9e; white-space: nowrap; flex-shrink: 0; }
.sn-title { font-size: 14.5px; font-weight: 700; color: #1d1c1d; margin-bottom: 3px; line-height: 1.3; }
.sn-body { font-size: 13px; color: #1d1c1d; margin-bottom: 8px; line-height: 1.5; }
.sn-context { font-size: 12px; color: #616061; margin-bottom: 3px; line-height: 1.7; }
.sn-link { color: #1264a3; text-decoration: none; }
.sn-actions { display: flex; gap: 8px; margin-top: 10px; }
.sn-btn { padding: 6px 14px; border-radius: 4px; font-size: 12.5px; font-weight: 700; border: none; cursor: default; line-height: 1.4; }
.sn-btn--approve { background: #007a5a; color: #fff; }
.sn-btn--decline { background: #e01e5a; color: #fff; }
/* Approve button click states */
@keyframes sn-btn-press {
  0%   { transform: scale(1); }
  30%  { transform: scale(0.88); }
  65%  { transform: scale(1.07); }
  100% { transform: scale(1); }
}
.sn-btn--approve.is-pressing { animation: sn-btn-press 0.28s cubic-bezier(0.16,1,0.3,1) forwards; }
.sn-btn--approve.is-approved { background: #00956e; }
/* Success card */
.adv-success-card {
  position: absolute; left: 50%; top: 50%;
  width: 292px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.14), 0 1px 6px rgba(0,0,0,0.08);
  border-top: 3px solid #007a5a;
  padding: 26px 24px 22px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}
.adv-success-check {
  width: 52px; height: 52px; border-radius: 50%;
  background: #e6f9f3;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.adv-success-check svg {
  width: 26px; height: 26px; stroke: #007a5a; fill: none;
  stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 24; stroke-dashoffset: 24;
}
@keyframes sn-check-draw {
  to { stroke-dashoffset: 0; }
}
.adv-success-card.is-visible .adv-success-check svg {
  animation: sn-check-draw 0.38s ease-out 0.15s forwards;
}
.adv-success-logo {
  width: 108px; height: 34px;
  margin: 0 auto 12px;
  background: #000; border-radius: 5px; overflow: hidden;
}
.adv-success-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.adv-success-title { font-size: 14.5px; font-weight: 700; color: #1d1c1d; margin-bottom: 5px; line-height: 1.35; }
.adv-success-sub { font-size: 12px; color: #888; line-height: 1.5; }
.adv-success-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 600; color: #007a5a;
  background: #e6f9f3; border-radius: 20px;
  padding: 3px 10px; margin-top: 13px;
}

/* ════════════════════════════════════════════════
   PAGE: affiliate-tour.html
════════════════════════════════════════════════ */
/* ── COMING SOON PLACEHOLDER ─────────────────────── */
@keyframes soon-dot  { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.65)} }
@keyframes soon-fade { 0%,100%{opacity:.35} 50%{opacity:.7} }
.soon-dot { animation: soon-dot 2.2s ease-in-out infinite; }
.soon-bar { animation: soon-fade 1.9s ease-in-out infinite; }
.soon-b1  { animation-delay:.15s }
.soon-b2  { animation-delay:.3s  }
.soon-b3  { animation-delay:.45s }
.soon-b4  { animation-delay:.6s  }

/* ════════════════════════════════════════════════
   PAGE: agency-tour.html
════════════════════════════════════════════════ */
/* ── Agency hero-art animations ──────────────────────── */
@keyframes ha-acy-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}
@keyframes ha-acy-icon-in {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ha-acy-row-in {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ha-acy-val-pulse {
  0%, 100% { opacity: 0.88; }
  50%       { opacity: 1; text-shadow: 0 0 10px rgba(112,248,186,0.45); }
}
@keyframes ha-acy-live-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.ha-acy-float  { animation: ha-acy-float 5.5s ease-in-out infinite; }
.ha-acy-icon   { animation: ha-acy-icon-in 0.4s ease forwards; animation-delay: 0.05s; opacity: 0; }
.ha-acy-row-1  { animation: ha-acy-row-in 0.45s ease forwards; animation-delay: 0.2s;  opacity: 0; }
.ha-acy-row-2  { animation: ha-acy-row-in 0.45s ease forwards; animation-delay: 0.35s; opacity: 0; }
.ha-acy-row-3  { animation: ha-acy-row-in 0.45s ease forwards; animation-delay: 0.5s;  opacity: 0; }
.ha-acy-live   { animation: ha-acy-live-in 0.4s ease forwards; animation-delay: 0.7s;  opacity: 0; }
.ha-acy-val    { animation: ha-acy-val-pulse 2.8s ease-in-out infinite; }
/* ── COMING SOON PLACEHOLDER ─────────────────────── */
@keyframes soon-dot  { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.65)} }
@keyframes soon-fade { 0%,100%{opacity:.35} 50%{opacity:.7} }
.soon-dot { animation: soon-dot 2.2s ease-in-out infinite; }
.soon-bar { animation: soon-fade 1.9s ease-in-out infinite; }
.soon-b1  { animation-delay:.15s }
.soon-b2  { animation-delay:.3s  }
.soon-b3  { animation-delay:.45s }
.soon-b4  { animation-delay:.6s  }

/* ── Agency tour: point-block UI mockups ──────────── */
@keyframes ag-live-pulse { 0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(0,184,112,0.4)} 50%{opacity:.8;box-shadow:0 0 0 5px rgba(0,184,112,0)} }
@keyframes ag-tick-in    { from{opacity:0;transform:translateX(-4px)} to{opacity:1;transform:none} }

/* shared visual wrapper */
.ag-visual-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 12px;
  overflow: hidden;
}
.ag-visual-body {
  flex: 1;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ag-visual-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ag-visual-title {
  font-size: 11px;
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: 0.01em;
}

/* live badge */
.ag-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 700;
  color: #00924a;
  background: rgba(0,184,112,0.1);
  border: 1px solid rgba(0,184,112,0.25);
  padding: 2px 8px 2px 5px;
  border-radius: 100px;
}
.ag-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  animation: ag-live-pulse 2.2s ease-in-out infinite;
}

/* stat grid */
.ag-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.ag-stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
}
.ag-stat-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--dark-blue);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 3px;
}
.ag-stat-lbl {
  font-size: 8.5px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* client rows */
.ag-client-rows { display: flex; flex-direction: column; gap: 0; }
.ag-client-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}
.ag-client-row:last-child { border-bottom: none; }
.ag-client-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ag-client-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--dark-blue);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ag-sparkline {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 20px;
  width: 50px;
  flex-shrink: 0;
}
.ag-sparkline span {
  flex: 1;
  border-radius: 2px 2px 0 0;
  background: var(--iris);
  opacity: 0.45;
}
.ag-sparkline span:last-child { opacity: 1; }
.ag-badge {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 100px;
  flex-shrink: 0;
}
.ag-badge--up   { background: rgba(0,184,112,0.1); color: var(--color-success-fg); border: 1px solid rgba(0,184,112,0.25); }
.ag-badge--down { background: rgba(232,85,58,0.1);  color: var(--color-danger-fg); border: 1px solid rgba(232,85,58,0.25); }
.ag-badge--flat { background: rgba(107,114,128,0.1); color: var(--text-muted); border: 1px solid rgba(107,114,128,0.2); }

/* Control / approvals section */
.ag-app-rows { display: flex; flex-direction: column; gap: 0; }
.ag-app-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.ag-app-row:last-child { border-bottom: none; }
.ag-app-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: rgba(87,86,213,0.08);
  border: 1px solid rgba(87,86,213,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.ag-app-info { flex: 1; min-width: 0; }
.ag-app-name { font-size: 10px; font-weight: 700; color: var(--dark-blue); }
.ag-app-type { font-size: 8px; color: var(--text-muted); }
.ag-app-btns { display: flex; gap: 5px; }
.ag-app-btn {
  width: 24px;
  height: 24px;
  border-radius: 5px;
  border: 1px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  cursor: default;
}
.ag-app-btn--ok  { background: rgba(0,184,112,0.08); color: var(--color-success-fg); border-color: rgba(0,184,112,0.25); }
.ag-app-btn--no  { background: rgba(232,85,58,0.08);  color: var(--color-danger-fg); border-color: rgba(232,85,58,0.25); }
.ag-app-status {
  font-size: 8px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
}
.ag-app-status--approved { background: rgba(0,184,112,0.1); color: var(--color-success-fg); border: 1px solid rgba(0,184,112,0.2); }
.ag-app-status--declined { background: rgba(232,85,58,0.08); color: var(--color-danger-fg); border: 1px solid rgba(232,85,58,0.2); }

/* audit trail */
.ag-audit {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ag-audit-lbl {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.ag-audit-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 9px;
  color: var(--dark-blue);
  opacity: 0.7;
  animation: ag-tick-in 0.35s ease both;
}
.ag-audit-row:nth-child(2) { animation-delay: .1s; }
.ag-audit-row:nth-child(3) { animation-delay: .2s; }
.ag-audit-time {
  font-size: 8px;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  margin-top: 1px;
}

/* Partnership / reporting section */
.ag-report-preview {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
}
.ag-report-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.ag-report-title { font-size: 10px; font-weight: 700; color: var(--dark-blue); }
.ag-report-badge {
  font-size: 8px;
  font-weight: 700;
  color: var(--iris);
  background: rgba(87,86,213,0.08);
  border: 1px solid rgba(87,86,213,0.2);
  padding: 2px 7px;
  border-radius: 100px;
}
.ag-report-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.ag-report-kpi { text-align: center; }
.ag-report-kpi-val { font-size: 14px; font-weight: 800; color: var(--dark-blue); letter-spacing: -0.03em; line-height: 1; }
.ag-report-kpi-lbl { font-size: 8px; color: var(--text-muted); margin-top: 2px; }
.ag-report-bars { display: flex; flex-direction: column; gap: 6px; }
.ag-report-bar-row { display: flex; align-items: center; gap: 7px; }
.ag-report-bar-lbl { font-size: 9px; color: var(--dark-blue); width: 60px; flex-shrink: 0; }
.ag-report-bar-track { flex: 1; height: 4px; background: rgba(16,22,46,0.07); border-radius: 100px; overflow: hidden; }
.ag-report-bar-fill { height: 100%; border-radius: 100px; }
.ag-report-bar-pct { font-size: 9px; font-weight: 600; color: var(--dark-blue); width: 28px; text-align: right; flex-shrink: 0; }

/* support card */
.ag-support-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
}
.ag-support-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--iris), var(--sky-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.ag-support-info { flex: 1; min-width: 0; }
.ag-support-name { font-size: 10px; font-weight: 700; color: var(--dark-blue); }
.ag-support-role { font-size: 8px; color: var(--text-muted); }
.ag-support-online {
  font-size: 8px;
  font-weight: 700;
  color: var(--color-success-fg);
  display: flex;
  align-items: center;
  gap: 4px;
}
.ag-support-online::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  animation: ag-live-pulse 2.2s ease-in-out infinite;
}

/* Global management section */
.ag-glob-rows { display: flex; flex-direction: column; gap: 0; }
.ag-glob-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.ag-glob-row:last-child { border-bottom: none; }
.ag-glob-flag {
  font-size: 18px;
  width: 30px;
  text-align: center;
  flex-shrink: 0;
  line-height: 1;
}
.ag-glob-info { flex: 1; min-width: 0; }
.ag-glob-client-name { font-size: 10px; font-weight: 700; color: var(--dark-blue); }
.ag-glob-meta { font-size: 8px; color: var(--text-muted); }
.ag-glob-rev { font-size: 11px; font-weight: 800; color: var(--dark-blue); letter-spacing: -0.02em; }
.ag-fx-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(0,170,223,0.07);
  border: 1px solid rgba(0,170,223,0.2);
  border-radius: 100px;
  padding: 5px 14px;
}
.ag-fx-pill svg { width: 11px; height: 11px; stroke: var(--sky-blue); fill: none; stroke-width: 2; }

/* visual min-heights */
.ag-rt-visual, .ag-ctrl-visual, .ag-part-visual, .ag-glob-visual { min-height: 480px; height: 480px; }
.ag-part-visual { background: transparent; box-shadow: none; min-height: auto; height: auto; }
@media (max-width: 1100px) {
  .ag-rt-visual, .ag-ctrl-visual, .ag-part-visual, .ag-glob-visual { min-height: 420px; height: 420px; }
  .ag-part-visual { height: auto; }
}
@media (max-width: 640px) {
  .ag-rt-visual, .ag-ctrl-visual, .ag-part-visual, .ag-glob-visual { min-height: 360px; height: 360px; }
  .ag-part-visual { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .ag-live-dot, .ag-support-online::before { animation: none; }
  .ag-audit-row { animation: none; }
}

/* ── Agency: Partnership illustration ── */
.ag-part-wrap {
  background: transparent;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  position: relative;
  width: 100%;
}
.ag-part-col { display: flex; flex-direction: column; align-items: center; z-index: 1; }
.ag-part-col-label {
  font-size: 10px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px;
}
.ag-part-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 18px;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; width: auto; min-width: 180px; box-shadow: var(--shadow-md);
}
.ag-part-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.ag-part-icon-iris { background: rgba(87,86,213,0.1); color: var(--iris); }
.ag-part-icon-green { background: rgba(112,248,186,0.25); color: var(--color-success-fg); }
.ag-part-card-title { font-size: 12px; font-weight: 600; color: var(--dark-blue); text-align: center; line-height: 1.35; }
.ag-part-card-rows { display: flex; flex-direction: column; gap: 6px; width: 100%; margin-top: 2px; }
.ag-part-card-row { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.ag-part-card-row svg { flex-shrink: 0; opacity: 0.5; }
.ag-part-connector { display: flex; align-items: center; width: 44px; margin-top: 60px; flex-shrink: 0; }
.ag-part-conn-line {
  flex: 1; height: 2px;
  background: repeating-linear-gradient(to right, var(--iris-light) 0, var(--iris-light) 5px, transparent 5px, transparent 10px);
  background-size: 20px 2px;
  animation: ag-part-flow 0.9s linear infinite;
}
.ag-part-conn-arrow {
  width: 0; height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--iris-light);
  flex-shrink: 0;
}
.ag-part-hub {
  background: var(--iris); border-radius: var(--radius);
  padding: 26px 20px;
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; width: auto; min-width: 190px;
  box-shadow: 0 0 0 10px rgba(87,86,213,0.12);
  z-index: 1;
  animation: ag-part-pulse 3s ease-in-out infinite;
}
.ag-part-hub-logo {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
}
.ag-part-hub-name { font-size: 11px; font-weight: 600; color: var(--white); text-align: center; line-height: 1.3; }
.ag-part-hub-subtitle { font-size: 10px; font-weight: 400; opacity: 0.7; }
.ag-part-hub-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.18); }
.ag-part-hub-rows { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.ag-part-hub-row { display: flex; align-items: center; gap: 7px; font-size: 11px; color: rgba(255,255,255,0.85); white-space: nowrap; }
.ag-part-hub-row svg { flex-shrink: 0; opacity: 0.6; }

@keyframes ag-part-flow {
  from { background-position: 0 0; }
  to   { background-position: 20px 0; }
}
@keyframes ag-part-pulse {
  0%,100% { box-shadow: 0 0 0 8px rgba(87,86,213,0.12); }
  50%     { box-shadow: 0 0 0 16px rgba(87,86,213,0.05); }
}

@media (max-width: 520px) {
  .ag-part-wrap { flex-direction: column; gap: 20px; padding: 28px 16px; min-height: auto; }
  .ag-part-connector { transform: rotate(90deg); margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-part-conn-line { animation: none; }
  .ag-part-hub      { animation: none; box-shadow: 0 0 0 8px rgba(87,86,213,0.12); }
}

/* ════════════════════════════════════════════════
   PAGE: advertiser-directory.html
════════════════════════════════════════════════ */
.dir-logo {
  width: 100%;
  height: 150px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px 0;
  padding: 14px 22px;
  box-sizing: border-box;
}
.dir-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ════════════════════════════════════════════════
   PAGE: faq.html
════════════════════════════════════════════════ */
/* ── FAQ hero-art animations ─────────────────────────── */
@keyframes ha-faq-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes ha-faq-icon-in {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes ha-faq-icon-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(112,248,186,0.3); }
  50%       { box-shadow: 0 0 0 8px rgba(112,248,186,0); }
}
@keyframes ha-faq-bubble-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ha-faq-float   { animation: ha-faq-float 6s ease-in-out infinite; }
.ha-faq-icon    { animation: ha-faq-icon-in 0.4s ease forwards, ha-faq-icon-pulse 2.6s ease-in-out 0.5s infinite; opacity: 0; }
.ha-faq-b1      { animation: ha-faq-bubble-in 0.4s ease forwards; animation-delay: 0.2s; opacity: 0; }
.ha-faq-b2      { animation: ha-faq-bubble-in 0.4s ease forwards; animation-delay: 0.38s; opacity: 0; }
.ha-faq-b3      { animation: ha-faq-bubble-in 0.4s ease forwards; animation-delay: 0.56s; opacity: 0; }
.ha-faq-b4      { animation: ha-faq-bubble-in 0.4s ease forwards; animation-delay: 0.74s; opacity: 0; }

/* ════════════════════════════════════════════════
   PAGE: artificial-intelligence.html
════════════════════════════════════════════════ */

/* ── HERO ────────────────────────────────────────────── */
.nexus-hero {
  background: var(--dark-blue);
  padding: 140px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nexus-hero::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,86,213,0.28) 0%, transparent 65%);
  pointer-events: none;
}
.nexus-hero::after {
  content: '';
  position: absolute;
  bottom: -120px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112,248,186,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.nexus-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}
.nexus-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(112,248,186,0.1);
  border: 1px solid rgba(112,248,186,0.25);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 700;
  color: var(--apple-green);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.nexus-hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--apple-green);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}
.nexus-hero h1 {
  font-size: clamp(36px, 4.5vw, 42px);
  color: var(--white);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.nexus-hero h1 .nexus-spark {
  color: var(--apple-green);
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}
.nexus-hero h1 .nexus-spark svg {
  height: 0.8em;
  width: auto;
}
.nexus-hero h1 .nexus-name {
  color: var(--apple-green);
}
.nexus-pro-badge {
  display: inline-block;
  background: linear-gradient(90deg, var(--iris), var(--iris-mid));
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 6px;
  vertical-align: middle;
  margin-left: 6px;
  position: relative;
  top: -6px;
}
.nexus-hero .light {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.nexus-hero-pills {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.nexus-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
}
.nexus-pill--free {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.75);
}
.nexus-pill--pro {
  background: rgba(87,86,213,0.2);
  border: 1px solid rgba(87,86,213,0.4);
  color: var(--apple-green);
}
.nexus-pill svg {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 2;
}

/* ── NEXUS vs NEXUS PRO ──────────────────────────────── */
.nexus-tiers {
  padding: 90px 0 80px;
  background: var(--light-bg);
}
.nexus-tiers-header {
  text-align: center;
  margin-bottom: 52px;
}
.nexus-tiers-header h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.nexus-tiers-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}
.nexus-tiers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.nexus-tier-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  position: relative;
}
.nexus-tier-card--pro {
  background: var(--dark-blue);
  border-color: var(--iris);
  box-shadow: 0 8px 40px rgba(87,86,213,0.2);
}
.nexus-tier-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.nexus-tier-icon--base {
  background: rgba(87,86,213,0.08);
  border: 1px solid rgba(87,86,213,0.15);
}
.nexus-tier-icon--pro {
  background: rgba(112,248,186,0.12);
  border: 1px solid rgba(112,248,186,0.25);
}
.nexus-tier-icon svg {
  width: 24px; height: 24px;
  stroke-width: 1.75; fill: none;
}
.nexus-tier-icon--base svg { stroke: var(--iris); }
.nexus-tier-icon--pro svg { stroke: var(--apple-green); }
.nexus-tier-availability {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.nexus-tier-availability--base {
  background: rgba(87,86,213,0.08);
  color: var(--iris);
}
.nexus-tier-availability--pro {
  background: rgba(112,248,186,0.12);
  color: var(--apple-green);
}
.nexus-tier-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.nexus-tier-card--pro h3 { color: var(--white); }
.nexus-tier-card--pro .dark { color: rgba(255,255,255,0.55); }
.nexus-tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.nexus-tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}
.nexus-tier-card--pro .nexus-tier-features li { color: rgba(255,255,255,0.8); }
.nexus-tier-check {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.nexus-tier-check--base {
  background: rgba(87,86,213,0.08);
  border: 1px solid rgba(87,86,213,0.2);
}
.nexus-tier-check--pro {
  background: rgba(112,248,186,0.12);
  border: 1px solid rgba(112,248,186,0.3);
}
.nexus-tier-check svg {
  width: 10px; height: 10px;
  fill: none; stroke-width: 2.5;
}
.nexus-tier-check--base svg { stroke: var(--iris); }
.nexus-tier-check--pro svg { stroke: var(--apple-green); }

/* ── ROLE SECTION ─────────────────────────────────────── */
.nexus-roles {
  padding: 90px 0 100px;
  background: var(--white);
  border-top: 1px solid var(--border);
}
.nexus-roles-header {
  text-align: center;
  margin-bottom: 60px;
}
.nexus-roles-header h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.nexus-roles-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}
.nexus-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.nexus-role-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.nexus-role-header {
  padding: 28px 28px 22px;
  border-bottom: 1px solid var(--border);
  background: var(--light-bg);
}
.nexus-role-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iris);
  margin-bottom: 6px;
}
.nexus-role-header h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.nexus-role-header p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.nexus-role-body {
  padding: 24px 28px 28px;
  background: var(--white);
}
.nexus-role-body h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.nexus-prompts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nexus-prompt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--dark-blue);
  line-height: 1.45;
  font-style: italic;
}
.nexus-prompt::before {
  content: '"';
  font-size: 20px;
  color: var(--iris);
  line-height: 1;
  font-style: normal;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: -1px;
}
.nexus-role-card--affiliate .nexus-prompt::before { color: #28c87a; }
.nexus-role-card--affiliate .nexus-role-label { color: #28c87a; }
/* Agencies role uses sky-blue accent */
.nexus-role-card--agency .nexus-prompt {
  border-left-color: var(--sky-blue);
}
.nexus-role-card--agency .nexus-prompt::before { color: var(--sky-blue); }
.nexus-role-card--agency .nexus-role-label { color: var(--sky-blue); }

/* ── TIPS STRIP ───────────────────────────────────────── */
.nexus-tips {
  background: var(--light-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.nexus-tips-header {
  text-align: center;
  margin-bottom: 44px;
}
.nexus-tips-header h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.nexus-tips-header p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.7;
}
.nexus-tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.nexus-tip {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-align: center;
}
.nexus-tip-icon {
  width: 42px; height: 42px;
  background: rgba(87,86,213,0.07);
  border: 1px solid rgba(87,86,213,0.14);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.nexus-tip-icon svg {
  width: 18px; height: 18px;
  stroke: var(--iris); fill: none; stroke-width: 1.75;
}
.nexus-tip h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 6px;
}
.nexus-tip p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── DISCLAIMER ───────────────────────────────────────── */
.nexus-disclaimer {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.nexus-disclaimer-inner {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(87,86,213,0.04);
  border: 1px solid rgba(87,86,213,0.12);
  border-radius: var(--radius);
  padding: 24px 28px;
}
.nexus-disclaimer-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(87,86,213,0.08);
  border: 1px solid rgba(87,86,213,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nexus-disclaimer-icon svg {
  width: 16px; height: 16px;
  stroke: var(--iris); fill: none; stroke-width: 2;
}
.nexus-disclaimer-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}
.nexus-disclaimer-text strong {
  color: var(--dark-blue);
  font-weight: 600;
}

/* ── CTA BAND ─────────────────────────────────────────── */
.nexus-cta-band {
  background: var(--dark-blue);
  padding: 90px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.nexus-cta-band::before {
  content: '';
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,86,213,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.nexus-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto;
}
.nexus-cta-band h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.nexus-cta-band p {
  color: rgba(255,255,255,0.58);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.nexus-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── AI ATTRIBUTION ───────────────────────────────────── */
.nexus-attribution {
  padding: 150px 0;
  background: var(--white);
}
.nexus-attribution-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 72px;
}
.nexus-attribution-header .section-label {
  display: inline-block;
  margin-bottom: 12px;
}
.nexus-attribution-header h2 {
  margin-bottom: 18px;
}
.nexus-attribution-header p {
  font-size: 16px;
  line-height: 1.75;
}
.nexus-attribution-visual {
  max-width: 1200px;
  margin: 0 auto 80px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.nexus-attribution-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.nexus-attribution-faqs {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.nexus-faq h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 14px;
}
.nexus-faq p {
  font-size: 15px;
  line-height: 1.7;
}

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1000px) {
  .nexus-roles-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .nexus-tips-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nexus-hero { padding: 90px 0 72px; }
  .nexus-tiers-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .nexus-tiers-grid .nexus-tier-card { padding: 32px 28px; }
  .nexus-tips-grid { grid-template-columns: 1fr 1fr; }
  .nexus-attribution { padding: 90px 0; }
  .nexus-attribution-header { margin-bottom: 56px; }
  .nexus-attribution-visual { margin-bottom: 64px; }
  .nexus-attribution-faqs { gap: 36px; }
}
@media (max-width: 520px) {
  .nexus-tips-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .nexus-hero-pills { flex-direction: column; align-items: center; }
  .nexus-attribution { padding: 72px 0; }
  .nexus-attribution-header { margin-bottom: 40px; }
  .nexus-attribution-visual { margin-bottom: 48px; }
  .nexus-attribution-faqs { gap: 28px; }
}

/* ════════════════════════════════════════════════
   PAGE: blog.html
════════════════════════════════════════════════ */


/* ── MARKET INSIGHTS HERO ───────────────────────────────────────── */
.mi-hero {
  background: var(--dark-blue);
  padding: 140px 0 64px;
  position: relative;
  overflow: hidden;
}
.mi-hero::before {
  content: '';
  position: absolute;
  top: -150px; right: -100px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,86,213,0.28) 0%, transparent 65%);
  pointer-events: none;
}
.mi-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112,248,186,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.mi-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.mi-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.mi-hero h1 strong {
  font-weight: 700;
  color: var(--apple-green);
}

/* ── MARKET INSIGHTS LAYOUT ─────────────────────────────────────── */
.mi-body {
  background: var(--light-bg);
  padding: 64px 0 100px;
}

/* ── FEATURED POST ───────────────────────────────────── */
.featured-post,
.featured-post-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  margin-bottom: 48px;
  transition: box-shadow var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.featured-post:hover,
.featured-post-link:hover {
  box-shadow: var(--shadow-xl);
}
.featured-post-img {
  min-height: 340px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--dark-blue);
}
.featured-post-body {
  padding: 44px 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.latest-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iris);
  margin-bottom: 16px;
}
.latest-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--iris);
}
.featured-post-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 14px;
}
.featured-post-excerpt {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 28px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
}
.post-meta-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.post-meta-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--border);
}
.post-meta-name { font-weight: 500; color: var(--dark-blue); }

/* ── CATEGORY FILTERS ────────────────────────────────── */
.mi-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.mi-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  font-family: var(--font);
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.mi-filter-btn:hover {
  border-color: var(--iris);
  color: var(--iris);
}
.mi-filter-btn.active {
  background: var(--dark-blue);
  border-color: var(--dark-blue);
  color: var(--white);
}

/* ── INSIGHTS SECTION ───────────────────────────────── */
.insights-section {
  background: var(--dark-blue);
  position: relative;
}
.insights-section .container { position: relative; }

/* ── MARKET INSIGHTS GRID ───────────────────────────────────────── */
.mi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.mi-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  will-change: transform;
}
.mi-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.mi-card-img {
  height: 180px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.mi-card-img-overlay {
  position: absolute;
  inset: 0;
}
.mi-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mi-cat-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
  width: fit-content;
}
.mi-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-blue);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  flex: 1;
}
.mi-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mi-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
}
.mi-card-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.mi-card-author { font-weight: 500; color: var(--dark-blue); font-size: 12px; }
.mi-card-sep { color: var(--border); }

/* Category colours */
.cat-affiliate    { background: rgba(0,170,223,0.1);   color: var(--sky-blue); }
.cat-technology   { background: rgba(87,86,213,0.1);   color: var(--iris); }
.cat-advertiser   { background: rgba(112,248,186,0.15); color: #1a9960; }
.cat-affiliate-tips { background: rgba(87,86,213,0.08); color: var(--iris-mid); }
.cat-industry     { background: rgba(16,22,46,0.07);   color: var(--dark-blue); }
.cat-seasonal     { background: rgba(255,168,0,0.12);  color: #c07c00; }

/* Card image gradients by category */
.bg-cat-affiliate    { background: linear-gradient(135deg, var(--iris), #3d3cbf); }
.bg-cat-industry     { background: linear-gradient(135deg, var(--sky-blue), #0070a8); }
.bg-cat-advertiser   { background: linear-gradient(135deg, #28c87a, var(--sky-blue)); }
.bg-cat-affiliate-tips { background: linear-gradient(135deg, var(--iris-mid), var(--iris)); }
.bg-cat-technology   { background: linear-gradient(135deg, var(--dark-blue), var(--iris)); }
.bg-cat-seasonal     { background: linear-gradient(135deg, #f0a500, #e06020); }

/* Avatar colours by author */
.av-sc { background: var(--iris); }
.av-jw { background: var(--sky-blue); }
.av-ps { background: #28c87a; }
.av-ml { background: #9b59b6; }
.av-et { background: #e67e22; }
.av-dp { background: #e74c3c; }

/* ── LOAD MORE ───────────────────────────────────────── */
.load-more {
  text-align: center;
  margin-top: 56px;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .mi-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-post,
  .featured-post-link {
    grid-template-columns: 1fr;
  }
  .featured-post-img {
    min-height: 280px;
  }
  .featured-post-body {
    padding: 36px;
  }
}
@media (max-width: 768px) {
  .featured-post { grid-template-columns: 1fr; }
  .featured-post-img { min-height: 220px; }
  .featured-post-body { padding: 28px; }
  .mi-grid { grid-template-columns: 1fr; }
  .mi-hero { padding: 60px 0 48px; }
}

/* ── MARKET INSIGHTS POST DETAIL ────────────────────────────────── */
.mi-post {
  background: var(--white);
}

/* Container variant for narrower article content */
.container--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Post header */
.post-header {
  padding: 140px 0 48px;
  background: var(--white);
}

.post-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
  transition: color var(--transition), gap var(--transition);
}
.post-back-link svg {
  width: 18px;
  height: 18px;
}
.post-back-link:hover {
  color: var(--iris);
  gap: 4px;
}

.post-header .mi-cat-tag {
  margin-bottom: 16px;
}

.post-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1.2;
  margin-bottom: 28px;
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.post-meta-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.post-meta-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-meta-author > span {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-blue);
}

.post-meta-details {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.post-meta-sep {
  color: var(--border);
}

/* Featured image */
.post-featured-image {
  background: var(--white);
  padding-bottom: 64px;
}

.post-featured-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* Article body — handles all injected HTML content */
.post-body {
  padding: 48px 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
}

.post-body > * + * {
  margin-top: 24px;
}

.post-body h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-blue);
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin-top: 48px;
  margin-bottom: 20px;
}

.post-body h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-blue);
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-top: 40px;
  margin-bottom: 16px;
}

.post-body h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-blue);
  line-height: 1.4;
  margin-top: 32px;
  margin-bottom: 12px;
}

.post-body p {
  margin-bottom: 20px;
}

.post-body a {
  color: var(--iris);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color var(--transition);
}

.post-body a:hover {
  color: var(--iris-mid);
}

.post-body strong {
  font-weight: 600;
  color: var(--dark-blue);
}

.post-body em {
  font-style: italic;
}

.post-body img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin: 32px 0;
}

.post-body ul,
.post-body ol {
  margin: 24px 0;
  padding-left: 28px;
}

.post-body ul {
  list-style: disc;
}

.post-body ol {
  list-style: decimal;
}

.post-body li {
  margin-bottom: 12px;
  line-height: 1.7;
}

.post-body li::marker {
  color: var(--iris);
  font-weight: 600;
}

.post-body blockquote {
  margin: 40px 0;
  padding: 24px 28px;
  background: var(--light-bg);
  border-left: 4px solid var(--iris);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.post-body blockquote p {
  font-size: 18px;
  font-weight: 500;
  color: var(--dark-blue);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 12px;
}

.post-body blockquote cite {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  font-style: normal;
  margin-top: 12px;
}

.post-body hr {
  margin: 48px 0;
  border: none;
  border-top: 2px solid var(--border);
}

.post-body code {
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Courier New', monospace;
  font-size: 14px;
  background: rgba(87,86,213,0.08);
  color: var(--iris);
  padding: 3px 6px;
  border-radius: 4px;
}

.post-body pre {
  background: var(--dark-blue);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin: 32px 0;
}

.post-body pre code {
  background: none;
  color: inherit;
  padding: 0;
  font-size: 14px;
  line-height: 1.6;
}

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 32px 0;
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  margin-top: 48px;
}

.post-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--light-bg);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  border-radius: 100px;
  transition: background var(--transition), color var(--transition);
}

.post-tag:hover {
  background: rgba(87,86,213,0.1);
  color: var(--iris);
}

/* Author bio */
.post-author-bio {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 28px;
  background: var(--light-bg);
  border-radius: var(--radius-lg);
  margin-top: 32px;
}

.post-author-bio-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.post-author-bio-content {
  flex: 1;
}

.post-author-bio-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 8px;
}

.post-author-bio-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Related posts */
.related-posts {
  padding: 80px 0;
  background: var(--light-bg);
  margin-top: 80px;
}

.related-posts-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 40px;
  text-align: center;
}

/* Post CTA */
.post-cta {
  margin-top: 80px;
  padding: 64px 0;
  background: linear-gradient(135deg, var(--iris) 0%, var(--iris-mid) 100%);
  border-radius: var(--radius-lg);
}

.post-cta-inner {
  text-align: center;
}

.post-cta h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  margin-top: 0;
}

.post-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.post-cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .post-header {
    padding: 120px 0 32px;
  }
  .post-header h1 {
    font-size: 26px;
  }
  .post-featured-image {
    padding-bottom: 48px;
  }
  .post-body {
    font-size: 15px;
    padding: 32px 0;
  }
  .post-body h2 {
    font-size: 24px;
    margin-top: 36px;
  }
  .post-body h3 {
    font-size: 20px;
    margin-top: 32px;
  }
  .post-body blockquote {
    padding: 20px 20px;
    margin: 32px 0;
  }
  .post-body blockquote p {
    font-size: 16px;
  }
  .post-author-bio {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .related-posts {
    padding: 56px 0 0;
    margin-top: 56px;
  }
  .post-cta {
    margin-top: 56px;
    padding: 48px 0;
  }
  .post-cta-buttons {
    flex-direction: column;
  }
  .post-cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ════════════════════════════════════════════════
   PAGE: service-plans.html
════════════════════════════════════════════════ */


/* ── SERVICE HERO ────────────────────────────────────── */
.service-hero {
  background: linear-gradient(135deg, #5756D5 0%, #3d3bb5 55%, #10162E 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-hero::before {
  content: '';
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.service-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112,248,186,0.18) 0%, transparent 65%);
  pointer-events: none;
}
.service-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.service-hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-wrap: balance;
}
.service-hero h1 strong {
  font-weight: 700;
  color: var(--apple-green);
}
.service-hero-inner .light {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.service-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.service-hero .btn-ghost {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.32);
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.service-hero .btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.55);
}

@media (max-width: 600px) {
  .service-hero { padding: 72px 0 56px; }
}

/* ── SERVICE TIER CARDS ──────────────────────────────── */
.service-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .service-tiers { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}
.service-card--featured {
  background: var(--dark-blue);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(16,22,46,0.25);
}
.service-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.service-card--featured .service-card-tag { color: rgba(255,255,255,0.5); }
.service-card-tag-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--iris);
}
.service-card--featured .service-card-tag-dot { background: var(--apple-green); }
.service-card h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.25;
}
.service-card--featured h3 { color: var(--white); }
.service-card--featured .dark { color: rgba(255,255,255,0.62); }
.service-card-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}
.service-card--featured .service-card-divider { border-color: rgba(255,255,255,0.12); }
.service-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex-grow: 1;
}
.service-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.5;
}
.service-card--featured .service-card-features li { color: rgba(255,255,255,0.82); }
.service-check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(87,86,213,0.08);
  border: 1px solid rgba(87,86,213,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.service-check svg { width: 10px; height: 10px; stroke: var(--iris); fill: none; stroke-width: 2.5; }
.service-card--featured .service-check {
  background: rgba(112,248,186,0.15);
  border-color: rgba(112,248,186,0.35);
}
.service-card--featured .service-check svg { stroke: var(--apple-green); }
.service-card-cta { margin-top: auto; }
.service-card-cta .btn { width: 100%; justify-content: center; padding: 14px 28px; font-size: 15px; }

/* ── ADDITIONAL SERVICES ─────────────────────────────── */
.add-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .add-services-grid { grid-template-columns: 1fr; }
}
.add-service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
}
.add-service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(87,86,213,0.08);
  border: 1px solid rgba(87,86,213,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.add-service-icon svg { width: 22px; height: 22px; stroke: var(--iris); fill: none; stroke-width: 1.75; }
.add-service-card h4 { font-size: 15px; font-weight: 700; color: var(--dark-blue); margin-bottom: 8px; }
.add-service-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }
.add-service-proof {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-body);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.add-service-proof img {
  min-width: 50px;
  max-width: 100px;
  height: auto;
  width: auto;
  opacity: 0.75;
  margin-bottom: 4px;
}
.proof-link {
  color: var(--iris);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.proof-link:hover {
  color: var(--iris-mid);
  text-decoration: underline;
}
.add-service-card .btn {
  margin-top: 20px;
}

/* ── CASE STUDIES ────────────────────────────────────── */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 768px) {
  .case-studies-grid { grid-template-columns: 1fr; }
}
.case-study-card {
  background: var(--dark-blue);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}
.case-study-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,86,213,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.case-study-stat {
  font-size: clamp(38px, 5vw, 52px);
  font-weight: 800;
  color: var(--apple-green);
  letter-spacing: -0.03em;
  line-height: 1;
}
.case-study-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.45;
}
.case-study-brand {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}


/* ════════════════════════════════════════════════
   PAGE: technology-plans.html
════════════════════════════════════════════════ */


/* ── PRICING HERO ────────────────────────────────────── */
.pricing-hero {
  background: var(--dark-blue);
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-hero::before {
  content: '';
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,86,213,0.3) 0%, transparent 65%);
  pointer-events: none;
}
.pricing-hero::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112,248,186,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.pricing-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}
.pricing-hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  text-wrap: balance;
}
.pricing-hero h1 strong {
  font-weight: 700;
  color: var(--apple-green);
}
.pricing-hero-inner .light {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.pricing-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(112,248,186,0.1);
  border: 1px solid rgba(112,248,186,0.25);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 12px;
  font-weight: 600;
  color: var(--apple-green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.pricing-hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--apple-green);
  animation: hero-dot-pulse 2.4s ease-in-out infinite;
}

/* ── PRICING PLANS ───────────────────────────────────── */
.pricing-section {
  padding: 150px 0 100px;
  background: var(--light-bg);
}
.pricing-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.pricing-section-header h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.pricing-section-header p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.pricing-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.pricing-card--featured {
  background: var(--dark-blue);
  border-color: var(--iris);
  box-shadow: 0 8px 32px rgba(87,86,213,0.2);
}
.pricing-card--featured:hover {
  box-shadow: 0 16px 48px rgba(87,86,213,0.3);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--apple-green), #4be1c2);
  color: var(--dark-blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-plan-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iris);
  margin-bottom: 10px;
}
.pricing-card--featured .pricing-plan-name {
  color: var(--apple-green);
}
.pricing-price {
  margin-bottom: 6px;
}
.pricing-amount {
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing-card--featured .pricing-amount {
  color: var(--white);
}
.pricing-amount sup {
  font-size: 22px;
  font-weight: 600;
  vertical-align: super;
  line-height: 1;
}
.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 400;
}
.pricing-card--featured .pricing-period {
  color: rgba(255,255,255,0.5);
}
.pricing-card .dark { margin-bottom: 24px; }
.pricing-card--featured .dark { color: rgba(255,255,255,0.62); }
.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 28px;
}
.pricing-card--featured .pricing-divider {
  border-color: rgba(255,255,255,0.12);
}
.pricing-features {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.5;
}
.pricing-card--featured .pricing-features li {
  color: rgba(255,255,255,0.82);
}
.pricing-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(112,248,186,0.15);
  border: 1px solid rgba(112,248,186,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.pricing-check svg {
  width: 10px;
  height: 10px;
  stroke: var(--apple-green);
  fill: none;
  stroke-width: 2.5;
}
.pricing-card:not(.pricing-card--featured) .pricing-check {
  background: rgba(87,86,213,0.08);
  border-color: rgba(87,86,213,0.2);
}
.pricing-card:not(.pricing-card--featured) .pricing-check svg {
  stroke: var(--iris);
}
.pricing-cta {
  margin-top: auto;
}
.pricing-cta .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 28px;
  font-size: 15px;
}

/* ── ENTERPRISE CUSTOM PRICE ─────────────────────────── */
.pricing-custom {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 6px;
  white-space: nowrap;
}

/* ── PRICING CARD ALIGNMENT (Large Screens) ──────────── */
@media (min-width: 992px) {
  .pricing-card .pricing-price {
    height: 58px;
  }
  .pricing-card .dark {
    height: 74px;
  }
}

/* ── FEATURE COMPARISON TABLE ────────────────────────── */
.comparison-section {
  padding: 150px 0 100px;
  background: var(--light-bg);
  border-top: 1px solid var(--border);
}
.comparison-section-header {
  text-align: center;
  margin-bottom: 56px;
}
.comparison-section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.comparison-section-header p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}
.comparison-table-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
/* Plan header row */
.comparison-table thead tr th {
  padding: 28px 24px 24px;
  text-align: center;
  border-bottom: 1.5px solid var(--border);
  vertical-align: bottom;
  background: var(--white);
}
.comparison-table thead tr th:first-child {
  text-align: left;
  width: 40%;
}
.comparison-col-name {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--iris);
  margin-bottom: 8px;
  padding: 3px 12px;
  border-radius: 6px;
  background: rgba(87,86,213,0.08);
}
.comparison-col-name--featured {
  background: var(--iris);
  color: var(--white);
}
.comparison-col-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-blue);
  letter-spacing: -0.02em;
  line-height: 1;
}
.comparison-col-price sup {
  font-size: 13px;
  vertical-align: super;
  font-weight: 600;
}
.comparison-col-period {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.comparison-featured-th {
  background: rgba(87,86,213,0.04);
  border-left: 1px solid rgba(87,86,213,0.12);
  border-right: 1px solid rgba(87,86,213,0.12);
  border-top: 3px solid var(--iris);
}
/* Category header rows */
.comparison-table .category-row td {
  background: transparent;
  padding: 28px 24px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--iris);
  border-top: none;
  border-bottom: none;
}
.comparison-table tbody tr:first-child.category-row td {
  padding-top: 20px;
}
.comparison-table .category-row td.featured-col {
  background: rgba(87,86,213,0.04);
  border-left: 1px solid rgba(87,86,213,0.12);
  border-right: 1px solid rgba(87,86,213,0.12);
}
/* Feature rows */
.comparison-table .feature-row td {
  padding: 14px 24px;
  border-top: 1px solid rgba(228,228,238,0.7);
  vertical-align: middle;
  color: var(--text-body);
}
.comparison-table .feature-row:last-child td {
  border-bottom: none;
}
.comparison-table .feature-row td.featured-col {
  background: rgba(87,86,213,0.03);
  border-left: 1px solid rgba(87,86,213,0.12);
  border-right: 1px solid rgba(87,86,213,0.12);
}
.comparison-table .feature-row:hover td {
  background: rgba(87,86,213,0.025);
}
.comparison-table .feature-row:hover td.featured-col {
  background: rgba(87,86,213,0.06);
}
.feature-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dark-blue);
  line-height: 1.4;
}
.feature-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 3px;
}
.comparison-table td:not(:first-child) {
  text-align: center;
}
/* Check / Cross icons */
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(112,248,186,0.12);
  border: 1px solid rgba(112,248,186,0.35);
}
.check-icon svg {
  width: 11px;
  height: 11px;
  stroke: #28c87a;
  fill: none;
  stroke-width: 2.5;
}
.dash-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}
.dash-icon svg {
  width: 12px;
  height: 12px;
  stroke: rgba(180,180,200,0.9);
  fill: none;
  stroke-width: 2;
}
/* Bottom border closing the featured column */
.comparison-table tfoot td.featured-col {
  border-left: 1px solid rgba(87,86,213,0.12);
  border-right: 1px solid rgba(87,86,213,0.12);
  border-bottom: 3px solid var(--iris);
  padding: 0;
}
@media (max-width: 768px) {
  .comparison-section { padding: 56px 0 72px; }
  .comparison-table-wrap { overflow-x: visible; }

  /* Transform table into mobile grid layout */
  .comparison-table {
    display: block;
    font-size: 13px;
    width: 100%;
  }

  .comparison-table thead,
  .comparison-table tbody,
  .comparison-table tfoot,
  .comparison-table tr {
    display: block;
  }

  .comparison-table tbody {
    padding: 0 20px 20px 20px;
  }

  /* Sticky header with plan names */
  .comparison-table thead {
    position: sticky;
    top: 0;
    z-index: 10;
    background: white;
    border-bottom: 2px solid var(--border);
    padding: 12px 0;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(16,22,46,0.04);
  }

  .comparison-table thead tr {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 0;
  }

  .comparison-table thead tr th:first-child {
    display: none;
  }

  .comparison-table thead tr th {
    padding: 8px;
    text-align: center;
    background: transparent;
    border: none;
  }

  .comparison-table thead tr th.comparison-featured-th {
    background: rgba(87,86,213,0.04);
    border-left: 2px solid var(--iris);
  }

  .comparison-col-name {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .comparison-col-price {
    font-size: 18px;
    margin-bottom: 2px;
  }

  .comparison-col-period {
    font-size: 11px;
  }

  /* Category rows */
  .comparison-table .category-row {
    display: block;
    margin-top: 0;
    margin-bottom: 12px;
  }

  .comparison-table .category-row:not(:first-child) {
    margin-top: 24px;
  }

  .comparison-table .category-row td {
    display: block;
    padding: 0 0 8px 0;
    text-align: left;
    background: transparent;
    border: none;
    font-size: 18px;
    font-weight: 600;
  }

  .comparison-table .category-row td:not(:first-child),
  .comparison-table .category-row td.featured-col {
    display: none;
  }

  /* Feature rows - grid layout */
  .comparison-table .feature-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
  }

  .comparison-table .feature-row:hover td {
    background: transparent;
  }

  /* Feature name spans full width and appears first */
  .comparison-table .feature-row td:first-child {
    grid-column: 1 / -1;
    padding: 0 0 12px 0;
    border: none;
    background: transparent;
  }

  .feature-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-blue);
    display: block;
  }

  /* Hide feature descriptions on mobile */
  .feature-desc {
    display: none;
  }

  /* Checkmarks grid */
  .comparison-table .feature-row td:not(:first-child) {
    display: grid;
    place-content: center;
    padding: 8px;
    border: none;
    background: transparent;
  }

  .comparison-table .feature-row {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .comparison-table .feature-row td:first-child {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .comparison-table .feature-row td:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .comparison-table .feature-row td:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .comparison-table .feature-row td:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
  }

  .comparison-table .feature-row td.featured-col {
    background: rgba(87,86,213,0.04);
    border-left: 2px solid var(--iris);
  }

  /* Footer */
  .comparison-table tfoot {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────
   Awards Grid
   ───────────────────────────────────────────────────── */
.awards-grid {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
}
.awards-grid img {
  width: 110px;
  height: auto;
  object-fit: contain;
}
.awards-disclaimer {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 32px auto 0;
  line-height: 1.6;
}
@media (max-width: 768px) {
  .awards-grid {
    flex-direction: column;
    gap: 32px;
  }
  .awards-disclaimer {
    font-size: 12px;
    margin-top: 24px;
  }
}

/* ── PRICING FAQ / TRUST BAND ────────────────────────── */
.pricing-trust {
  background: var(--white);
  padding: 64px 0;
  border-top: 1px solid var(--border);
}
.pricing-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.pricing-trust-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 8px;
}
.pricing-trust-item p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}
.pricing-trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(87,86,213,0.08);
  border: 1px solid rgba(87,86,213,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.pricing-trust-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--iris);
  fill: none;
  stroke-width: 1.75;
}

/* ── PRICING CTA BAND ────────────────────────────────── */
.pricing-cta-band {
  background: var(--dark-blue);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.pricing-cta-band::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(87,86,213,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.pricing-cta-band-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}
.pricing-cta-band h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
  line-height: 1.2;
}
.pricing-cta-band p {
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 32px;
}
.pricing-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing-trust-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .pricing-hero { padding: 80px 0 64px; }
  .pricing-section { padding: 56px 0 72px; }
}

/* ════════════════════════════════════════════════
   PRODUCT RELEASE PAGES
════════════════════════════════════════════════ */

/* ── SEASON SWITCHER ──────────────────────────── */
.release-page-header { padding: 130px 0 32px; text-align: center; }
.release-page-header h2 { font-size: 28px; font-weight: 500; margin: 0 0 20px; line-height: 1.2; }
.release-switcher {
  display: inline-flex; gap: 4px;
  background: rgba(16,22,46,0.06); border-radius: 40px; padding: 4px;
}
.release-switcher-tab {
  display: inline-block; padding: 10px 28px; border-radius: 40px;
  font-size: 15px; font-weight: 600; color: var(--dark-blue);
  text-decoration: none; transition: var(--transition);
}
.release-switcher-tab.is-active { background: var(--dark-blue); color: white; }
.release-switcher-tab:hover:not(.is-active) { background: rgba(16,22,46,0.08); }

/* ── SUMMER 2026 HERO ─────────────────────────── */
.release-hero-summer-2026 {
  height: 700px; padding: 64px 0;
  background: linear-gradient(120.5deg, #FF7B2F 34.73%, #FCA16C 87.13%);
  position: relative; text-align: center;
}
.release-hero-summer-2026 .content { position: relative; z-index: 5; }
.release-hero-summer-2026 .bg-back {
  width: 100%; height: 100%; position: absolute; z-index: 1; top: 0;
  background: url('/assets/product-releases/summer-2026/hero-bg-1.png'),
              url('/assets/product-releases/summer-2026/hero-bg-2.png'),
              url('/assets/product-releases/summer-2026/hero-bg-3.png');
  background-repeat: no-repeat,no-repeat,no-repeat;
  background-size: auto,auto,auto;
  background-position: center bottom, left bottom, right top;
}
.release-hero-summer-2026 .bg-icons-animation {
  width: 800px; height: 450px; position: absolute; z-index: 2; bottom: 0;
  left: 50%; transform: translate(-50%, 0);
  background: url('/assets/product-releases/summer-2026/hero-icon-1.png'),
              url('/assets/product-releases/summer-2026/hero-icon-2.png'),
              url('/assets/product-releases/summer-2026/hero-icon-3.png'),
              url('/assets/product-releases/summer-2026/hero-icon-4.png'),
              url('/assets/product-releases/summer-2026/hero-icon-5.png');
  background-repeat: no-repeat; background-size: auto;
  background-position: left 15px top 200px, right 0px top 31px, right 30px top 230px, left 100px top 30px, left 20px top 120px;
  opacity: 0;
}
.release-hero-summer-2026.is-ready .bg-icons-animation {
  animation: rp-slide-top 1250ms cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}
.release-hero-summer-2026 .bg-main-image {
  width: 100%; height: 100%; position: absolute; z-index: 3; top: 0;
  background: url('/assets/product-releases/summer-2026/hero-main-image.png');
  background-repeat: no-repeat; background-size: auto; background-position: center bottom;
}
.release-hero-summer-2026 .content h1 {
  color: white;
  font-size: 42px;
  margin-bottom: 16px;
}
.release-hero-summer-2026 .content p {
  color: white; max-width: 760px; margin: 0 auto 16px; font-size: 16px;
}

/* ── WINTER 2025 HERO ─────────────────────────── */
.release-hero {
  background-color: #289AC4;
  background-image: url('/assets/product-releases/winter-2025/hero-2.png'),
                    url('/assets/product-releases/winter-2025/graphic1.png'),
                    url('/assets/product-releases/winter-2025/graphic2.png');
  background-position: center bottom 0, right top, left bottom;
  background-size: 940px, 340px, 250px; background-repeat: no-repeat;
  height: 640px; padding: 64px 0; text-align: center;
}
.release-hero .content h1 {
  color: white;
  font-size: 42px;
  margin-bottom: 16px;
}
.release-hero .content p { color: white; max-width: 760px; margin: 0 auto 16px; font-size: 16px; }

/* ── FEATURE ROWS ─────────────────────────────── */
.rf-section { padding: 150px 0 8px; }
.rf-row {
  display: grid; grid-template-columns: 5fr 7fr;
  gap: 48px; align-items: center; margin-bottom: 72px;
}
.rf-row--right { grid-template-columns: 7fr 5fr; }
.rf-row--right .rf-info { order: 2; }
.rf-row--right .rf-visual { order: 1; }
.rf-info { display: flex; align-items: center; }
.rf-info > div h3 { margin: 0 0 12px; font-size: 28px; font-weight: 600; line-height: 1.25; }
.rf-info > div p { color: var(--dark-blue); font-size: 16px; line-height: 1.7; margin-bottom: 0; }
.rf-btn-wrap { margin-top: 20px; }
.rp-visual-btn {
  display: block; width: 100%; background: none; border: none; padding: 0; cursor: pointer;
}

/* ── FEATURE DYNAMIC IMAGES ───────────────────── */
.feature-dynamic-image {
  width: 100%; height: 320px;
  background-color: #E0F5FB; border: 2px solid #F2F4F7; border-radius: 18px;
  position: relative; overflow: hidden;
  background-image: url("/assets/product-releases/winter-2025/bg-graphic.png");
  background-size: 240px; background-repeat: no-repeat; transition: ease-in 0.2s all;
}
.feature-dynamic-image.bg-orange {
  background-color: #FEF0C7;
  background-image: url("/assets/product-releases/winter-2025/bg-graphic-orange.png");
}
.feature-dynamic-image.bg-pink {
  background-color: #FFE4E8;
  background-image: url("/assets/product-releases/winter-2025/bg-graphic-pink.png");
}
.feature-dynamic-image .key-feature-flag {
  position: absolute;
  background-image: url("/assets/product-releases/winter-2025/key-feature.png");
  background-size: 100%; background-repeat: no-repeat;
  width: 120px; height: 28px; top: 0; left: 0;
}
.feature-dynamic-image::before {
  content: ""; position: absolute; width: 100%; height: 100%;
  top: 40px; left: 140px; background-size: 550px; background-repeat: no-repeat;
  transition: ease-in 0.2s all;
}
.feature-dynamic-image:hover { background-color: #289AC4; box-shadow: 2px 4px 10px rgba(0,0,0,0.2); }
.feature-dynamic-image.bg-orange:hover { background-color: #FDB022; }
.feature-dynamic-image.bg-pink:hover { background-color: #FD6F8E; }
.feature-dynamic-image:hover::before { left: 105px; }

/* summer feature images */
.feature-dynamic-image.feature-benchmarking-pro::before {
  background-image: url("/assets/product-releases/summer-2026/feature-benchmarking-pro-1.png"),
                    url("/assets/product-releases/summer-2026/feature-benchmarking-pro-2.png"),
                    url("/assets/product-releases/summer-2026/feature-benchmarking-pro-3.png");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 126px auto, 640px auto, 238px auto;
  background-position: left 120px top 10px, left 0 bottom -20px, right 0 top 10px;
  left: 0; top: 0;
}
.feature-dynamic-image.feature-benchmarking-pro:hover::before {
  background-position: left 120px top 0, left 0 bottom -5px, right 0 top -10px;
}
.feature-dynamic-image.feature-nexus-pro::before {
  background-image: url("/assets/product-releases/summer-2026/feature-nexus-pro-1.png"),
                    url("/assets/product-releases/summer-2026/feature-nexus-pro-2.png"),
                    url("/assets/product-releases/summer-2026/feature-nexus-pro-3.png");
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 112px auto, 640px auto, 337px auto;
  background-position: left 20px bottom 20px, right -5px bottom 0, right -10px top 0;
  left: 0; top: 0;
}
.feature-dynamic-image.feature-nexus-pro:hover::before {
  background-position: left 0 bottom 20px, right 0 bottom 0, right 0 top 0;
}
.feature-dynamic-image.feature-notification::before {
  background-image: url("/assets/product-releases/summer-2026/feature-notification-2.png"),
                    url("/assets/product-releases/summer-2026/feature-notification-1.png");
  background-repeat: no-repeat, no-repeat;
  background-size: 616px auto, 717px auto;
  background-position: right -75px bottom -50px, right 200px top 30px;
  left: 0; top: 0;
}
.feature-dynamic-image.feature-notification:hover::before {
  background-position: right -40px bottom -50px, right 200px top 30px;
}

/* winter feature images */
.feature-dynamic-image.feature-recommendation { background-color: #E0F5FB; }
.feature-dynamic-image.feature-recommendation::before {
  background-image: url("/assets/product-releases/winter-2025/main-image-recommendation-2.png");
  background-size: 550px;
}
.feature-dynamic-image.feature-recommendation:hover { background-color: #289AC4; }
.feature-dynamic-image.feature-recommendation:hover::before { left: 105px; }
.feature-dynamic-image.feature-chatbot { background-color: #DFFEEF; }
.feature-dynamic-image.feature-chatbot::before {
  background-image: url("/assets/product-releases/winter-2025/main-image-chatbot-2.png");
  background-size: 550px; left: 50px; top: 10px;
}
.feature-dynamic-image.feature-chatbot:hover { background-color: #70F8BB; }
.feature-dynamic-image.feature-chatbot:hover::before { top: 0; left: 50px; }
.feature-dynamic-image.feature-navigation { background-color: #E0F5FB; }
.feature-dynamic-image.feature-navigation::before {
  background-image: url("/assets/product-releases/winter-2025/main-image-navigation-2.png");
  background-size: 760px;
}
.feature-dynamic-image.feature-navigation:hover { background-color: #289AC4; }
.feature-dynamic-image.feature-navigation:hover::before { left: 105px; }

/* ── TAGS ─────────────────────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 15px; }
.tag {
  background-color: #F2F4F7; color: #2C2C2C;
  padding: 4px 8px 4px 34px; border-radius: 20px;
  font-size: 14px; font-weight: 600;
}
.tag.affiliate-tag, .tag.advertiser-tag, .tag.agency-tag { position: relative; }
.tag.affiliate-tag::before {
  content: "";
  background-image: url("/assets/product-releases/winter-2025/affiliate-tag-icon.svg");
  position: absolute; top: 1px; left: 10px; width: 20px; height: 20px;
}
.tag.advertiser-tag::before {
  content: "";
  background-image: url("/assets/product-releases/winter-2025/advertiser-tag-icon.svg");
  position: absolute; top: 1px; left: 10px; width: 20px; height: 20px;
}
.tag.agency-tag::before {
  content: "";
  background-image: url("/assets/product-releases/winter-2025/agency-tag-icon.svg");
  position: absolute; top: 1px; left: 10px; width: 20px; height: 20px;
}

/* ── SPOTLIGHT GRID ───────────────────────────── */
.rp-spotlight { padding: 80px 0; background: var(--light-bg); }
.rp-spotlight-header { text-align: center; margin-bottom: 40px; }
.rp-spotlight-header h2 { font-size: 33px; font-weight: 400; margin: 0 0 12px; line-height: 1.2; }
.rp-spotlight-header p { font-size: 18px; color: var(--text-muted); max-width: 700px; margin: 0 auto; }
.rp-spotlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rp-spotlight-card { background: white; border-radius: var(--radius-lg); overflow: hidden; }
.rp-spotlight-card > a, .rp-spotlight-card > button { display: block; width: 100%; }
.rp-spotlight-card img { width: 100%; height: auto; display: block; transition: opacity 0.2s ease; }
.rp-spotlight-card img:hover { opacity: 0.88; }
.rp-spotlight-body { padding: 24px 24px 28px; }
.rp-spotlight-body h3 { font-size: 20px; font-weight: 600; margin: 0 0 8px; }
.rp-spotlight-body .tag-list { margin-bottom: 10px; }
.rp-spotlight-body p { font-size: 16px; color: var(--text-muted); margin: 0 0 20px; line-height: 1.65; }

/* ── VANILLA MODAL ────────────────────────────── */
.rp-modal {
  display: none; position: fixed; inset: 0; z-index: 9000;
  align-items: center; justify-content: center;
}
.rp-modal.is-open { display: flex; }
.rp-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.rp-modal-dialog {
  position: relative; z-index: 1; background: white;
  border-radius: var(--radius-lg); max-width: 800px; width: calc(100% - 32px);
  max-height: 90vh; overflow-y: auto; display: flex; flex-direction: column;
}
.rp-modal-header { padding: 28px 60px 16px; text-align: center; position: relative; flex-shrink: 0; }
.rp-modal-title { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.2; color: var(--dark-blue); }
.rp-modal-close {
  position: absolute; top: 20px; right: 20px; background: none; border: none;
  padding: 8px; cursor: pointer; color: var(--dark-blue);
  display: flex; align-items: center; justify-content: center;
}
.rp-modal-close svg { width: 24px; height: 24px; }
.rp-modal-body { padding: 0 28px 8px; }
.rp-modal-body img { width: 100%; height: auto; border-radius: var(--radius); margin-bottom: 20px; display: block; }
.rp-modal-body iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; margin-bottom: 20px; display: block; }
.rp-modal-body p { font-size: 17px; color: var(--dark-blue); line-height: 1.7; margin-bottom: 12px; }
.rp-modal-body p:last-child { margin-bottom: 0; }
.rp-modal-body p.rp-note { font-size: 13px; color: var(--text-muted); }
.rp-modal-tag-row { justify-content: center; }
.rp-modal-section-title {
  font-size: 18px; font-weight: 600; color: var(--dark-blue);
  margin: 20px 0 8px; padding-left: 28px; position: relative;
}
.rp-modal-section-title::before {
  content: "";
  background: url("/assets/product-releases/winter-2025/icon-star.svg") no-repeat center;
  background-size: contain; position: absolute; top: 2px; left: 0; width: 20px; height: 20px;
}
.rp-modal-section-title.mt-0 { margin-top: 0; }
.rp-modal-footer { padding: 16px 28px 28px; display: flex; flex-wrap: wrap; gap: 10px; flex-shrink: 0; }

/* ── CTA BAND ─────────────────────────────────── */
.rp-cta { padding: 80px 0; text-align: center; }
.rp-cta--summer { background: linear-gradient(120.5deg, #FF7B2F 34.73%, #FCA16C 87.13%); }
.rp-cta--winter { background: linear-gradient(90deg, #5DE0E6 0%, #70F8BA 100%); }
.rp-cta h2 { margin: 0 0 28px; font-size: 36px; font-weight: 600; line-height: 1.2; }
.rp-cta--summer h2 { color: white; }
.rp-cta--winter h2 { color: var(--dark-blue); }

/* ── SCROLL REVEAL ────────────────────────────── */
.face-in-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.9s ease, transform 0.9s ease; }
.face-in-scroll.show { opacity: 1; transform: translateY(0); }

/* ── HERO ANIMATION ───────────────────────────── */
@keyframes rp-slide-top {
  0% { transform: translate(-50%, 50px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 1; }
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  .rf-row, .rf-row--right { grid-template-columns: 1fr; gap: 28px; }
  .rf-row--right .rf-info { order: 1; }
  .rf-row--right .rf-visual { order: 2; }
  .rp-spotlight-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .release-hero-summer-2026 { height: 860px; }
  .release-hero-summer-2026 .bg-icons-animation { width: 100%; }
  .release-hero { background-size: 650px, 38%, 27%; height: 570px; }
  .feature-dynamic-image.feature-benchmarking-pro::before,
  .feature-dynamic-image.feature-benchmarking-pro:hover::before {
    background-position: left 120px top 10px, left 0 bottom -20px, right 0 top 10px;
  }
  .feature-dynamic-image.feature-nexus-pro::before,
  .feature-dynamic-image.feature-nexus-pro:hover::before {
    background-position: left 40px bottom 20px, right 0 bottom 0, right -10px top 0;
  }
  .feature-dynamic-image.feature-recommendation::before { left: 40px; }
  .feature-dynamic-image.feature-recommendation:hover::before { left: 5px; }
  .feature-dynamic-image.feature-chatbot::before { background-size: 100%; left: 0; top: 30px; }
  .feature-dynamic-image.feature-chatbot:hover::before { top: 10px; left: 0; }
  .feature-dynamic-image.feature-navigation::before { left: 40px; }
  .feature-dynamic-image.feature-navigation:hover::before { left: 5px; }
}
@media (max-width: 576px) {
  .release-hero-summer-2026 { height: 800px; }
  .release-hero-summer-2026 .bg-back { background-position: center bottom, left bottom 100px, right top; }
  .release-hero-summer-2026 .bg-icons-animation {
    background-size: 210px auto, 240px auto, 200px auto, 180px auto, 170px auto;
    background-position: left 15px top 200px, right 0 top 31px, right 0 top 230px, left 30px top 30px, left 20px top 120px;
  }
  .release-hero-summer-2026 .bg-main-image { background-size: 330px auto; }
  .release-hero-summer-2026 .content h1 { font-size: 32px; padding: 0 10px; }
  .release-hero-summer-2026 .content p { font-size: 16px; max-width: 400px; padding: 0 10px; }
  .release-hero { background-size: 360px, 38%, 27%; height: 420px; }
  .release-hero .content h1 { font-size: 32px; padding: 0 10px; }
  .release-hero .content p { font-size: 16px; max-width: 400px; padding: 0 10px; }
  .feature-dynamic-image { height: 250px; }
  .feature-dynamic-image.feature-benchmarking-pro::before,
  .feature-dynamic-image.feature-benchmarking-pro:hover::before {
    background-position: left 30px top 30px, right 10px top 30px, right 0 top 10px;
  }
  .feature-dynamic-image.feature-nexus-pro::before,
  .feature-dynamic-image.feature-nexus-pro:hover::before {
    background-position: left 20px bottom 20px, left 0 top 10px, right -10px top 0;
  }
  .feature-dynamic-image.feature-notification::before,
  .feature-dynamic-image.feature-notification:hover::before {
    background-position: right -120px bottom -120px, right 200px top 30px;
  }
  .feature-dynamic-image.feature-recommendation::before { left: 40px; }
  .feature-dynamic-image.feature-recommendation:hover::before { left: 5px; }
  .feature-dynamic-image.feature-chatbot::before { background-size: 100%; left: 0; top: 30px; }
  .feature-dynamic-image.feature-chatbot:hover::before { top: 10px; left: 0; }
  .feature-dynamic-image.feature-navigation::before { left: 40px; }
  .feature-dynamic-image.feature-navigation:hover::before { left: 5px; }
  .rp-modal-header { padding: 24px 56px 16px 24px; }
  .rp-modal-title { font-size: 22px; }
}
@media (max-width: 400px) {
  .rp-modal-title { font-size: 20px; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .face-in-scroll { opacity: 1 !important; transform: none !important; transition: none !important; }
  .release-hero-summer-2026.is-ready .bg-icons-animation {
    animation: none !important; opacity: 1 !important; transform: translate(-50%, 0) !important;
  }
}

/* ── RESPONSIVE FRAME IMAGE UTILITIES ───────────────── */
.frame-img { width: 100%; height: auto; display: block; }
.show-mobile { display: none; }
@media (max-width: 640px) {
  .show-mobile { display: block; }
  .hide-mobile { display: none; }
}

/* ── NOTIFICATION OVERLAY ────────────────────────────── */
.notif-frame-wrap { position: relative; width: 100%; }
.notif-overlay {
  position: absolute;
  height: auto;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease 0.65s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.65s;
  border-radius: 4px;
}
.notif-overlay.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Laptop: notification top-left aligns to white chat area
   SVG sidebar = 256/900 = 28.4%, header ≈ 72/612 = 11.8% */
.notif-overlay--laptop {
  top: 11.7%;
  left: 30.6%;
  width: 41%;
}
/* Mobile: notification sits just below the dark header
   SVG header ≈ 72/601 = 12%, small side gutters */
.notif-overlay--mobile {
  top: calc(12% + 25px);
  left: 3%;
  width: 94%;
}
@media (prefers-reduced-motion: reduce) {
  .notif-overlay {
    transition: opacity 0.01ms !important;
    transform: none !important;
  }
}

/* ── COMMISSIONING CALCULATOR ────────────────────────── */
.adv-commission {
  background: var(--dark-blue);
  padding: 96px 0;
}
.adv-comm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.adv-comm-copy .section-label { margin-bottom: 12px; }
.adv-comm-copy h3 {
  font-size: clamp(24px, 2.8vw, 36px);
  color: white;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.adv-comm-calc {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}
.adv-comm-field-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
/* Rules list */
.adv-comm-rules-wrap { padding: 24px 24px 8px; }
.adv-comm-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.adv-comm-rule:last-child { border-bottom: none; }
.adv-comm-rule.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Checkbox UI — always shows checked state (cosmetic only) */
.adv-comm-check-ui {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1.5px solid var(--iris);
  background: var(--iris);
}
.adv-comm-check-ui::after {
  content: '';
  display: block;
  width: 4px;
  height: 7px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
}
.adv-comm-rule-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.adv-comm-rule-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-blue);
  transition: opacity 0.2s;
}
.adv-comm-rule-rate {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-blue);
  transition: opacity 0.2s;
}
/* Divider + form fade-in wrapper */
.adv-comm-bottom {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.adv-comm-bottom.is-visible { opacity: 1; }
/* Divider */
.adv-comm-sep { height: 1px; background: var(--border); }
/* Slider */
.adv-comm-slider-wrap { padding: 18px 24px; }
.adv-comm-slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.adv-comm-gmv-val { font-size: 15px; font-weight: 700; color: var(--dark-blue); }
.adv-comm-slider {
  width: 100%;
  accent-color: var(--iris);
  cursor: pointer;
  height: 4px;
  margin-bottom: 6px;
}
.adv-comm-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
}
/* Output panel */
.adv-comm-output {
  padding: 20px 24px 24px;
  background: var(--light-bg);
  border-top: 1px solid var(--border);
}
.adv-comm-output-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
}
.adv-comm-output-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.adv-comm-output-main {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--dark-blue);
  line-height: 1;
}
.adv-comm-output-right { text-align: right; }
.adv-comm-output-rate {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--iris);
  line-height: 1;
}
/* Form fields */
.adv-comm-form-wrap { padding: 20px 24px 24px; }
.adv-comm-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.adv-comm-form-group { display: flex; flex-direction: column; margin-bottom: 12px; }
.adv-comm-form-group:last-of-type { margin-bottom: 0; }
.adv-comm-form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 5px;
}
.adv-comm-form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-blue);
}
.adv-comm-required {
  font-size: 11px;
  font-weight: 600;
  color: #e53e3e;
}
.adv-comm-input {
  width: 100%;
  padding: 8px 10px;
  font-size: 13px;
  font-family: var(--font);
  color: var(--dark-blue);
  background: white;
  border: 1.5px solid rgba(16,22,46,0.15);
  border-radius: 6px;
  transition: border-color 0.18s;
  box-sizing: border-box;
}
.adv-comm-input--muted { color: var(--text-muted); }
.adv-comm-input:focus { outline: none; border-color: var(--iris); box-shadow: 0 0 0 3px rgba(87,86,213,0.08); }
.adv-comm-select { appearance: none; }
.adv-comm-cta-btn {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
  pointer-events: none;
}
.adv-comm-calc { pointer-events: none; }
@media (max-width: 1100px) {
  .adv-comm-grid { grid-template-columns: 1fr; gap: 48px; }
  .adv-commission { padding: 72px 0; }
}
@media (max-width: 640px) {
  .adv-commission { padding: 48px 0; }
  .adv-comm-form-row { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════
   PAGE: affiliate-membership.html - LAYOUT OPTIONS
════════════════════════════════════════════════ */

/* ── OPTION 1: COMPACT HERO + CARD GRID ─────────────────── */
.compact-hero {
  background: linear-gradient(135deg, #70F8BA 0%, #5de0a8 55%, #3fb882 100%);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.compact-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--dark-blue);
  margin-bottom: 16px;
  text-wrap: balance;
}
.compact-hero h1 strong {
  font-weight: 700;
  color: var(--iris);
}
.compact-hero .light {
  max-width: 520px;
  margin: 0 auto;
  color: rgba(16,22,46,0.7);
  font-size: 16px;
}
.card-grid-section {
  padding: 60px 0;
  background: var(--white);
}
.membership-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.membership-card {
  background: var(--white);
  border: 1.5px solid rgba(16,22,46,0.1);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}
.membership-card:hover {
  border-color: var(--iris);
  box-shadow: 0 8px 24px rgba(87,86,213,0.12);
  transform: translateY(-4px);
}
.membership-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(87,86,213,0.08);
  border-radius: 12px;
}
.membership-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--iris);
  fill: none;
  stroke-width: 2;
}
.membership-card .section-label {
  display: block;
  margin-bottom: 12px;
}
.membership-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 12px;
}
.membership-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ── OPTION 2: NARROW SINGLE COLUMN ─────────────────────── */
.small-hero {
  background: linear-gradient(135deg, #70F8BA 0%, #5de0a8 55%, #3fb882 100%);
  padding: 60px 0;
  text-align: center;
}
.small-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--dark-blue);
  margin-bottom: 16px;
  text-wrap: balance;
}
.small-hero h1 strong {
  font-weight: 700;
  color: var(--iris);
}
.small-hero .light {
  color: rgba(16,22,46,0.7);
  font-size: 16px;
}
.narrow-sections {
  padding: 40px 0;
  background: var(--white);
}
.narrow-column {
  max-width: 700px;
  margin: 0 auto;
}
.narrow-item {
  padding: 32px 0;
  border-bottom: 1px solid rgba(16,22,46,0.08);
  text-align: center;
}
.narrow-item:last-child {
  border-bottom: none;
}
.narrow-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(87,86,213,0.08);
  border-radius: 10px;
}
.narrow-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--iris);
  fill: none;
  stroke-width: 2;
}
.narrow-item .section-label {
  display: block;
  margin-bottom: 10px;
}
.narrow-item h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 12px;
}
.narrow-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ── OPTION 3: TABS INTERFACE ────────────────────────────── */
.minimal-hero {
  background: linear-gradient(135deg, #70F8BA 0%, #5de0a8 55%, #3fb882 100%);
  padding: 60px 0;
  text-align: center;
}
.minimal-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--dark-blue);
  margin-bottom: 12px;
  text-wrap: balance;
}
.minimal-hero h1 strong {
  font-weight: 700;
  color: var(--iris);
}
.minimal-hero .light {
  color: rgba(16,22,46,0.7);
  font-size: 16px;
}
.tabs-section {
  padding: 60px 0;
  background: var(--white);
}
.tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 2px solid rgba(16,22,46,0.08);
  justify-content: center;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 24px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
  font-family: var(--font);
}
.tab-btn:hover {
  color: var(--dark-blue);
}
.tab-btn.active {
  color: var(--iris);
}
.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--iris);
}
.tabs-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.tab-panel {
  display: none;
}
.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.tab-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(87,86,213,0.08);
  border-radius: 16px;
}
.tab-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--iris);
  fill: none;
  stroke-width: 2;
}
.tab-panel h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 16px;
}
.tab-panel p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ── OPTION 4: SPLIT HERO + COMPACT CARDS ───────────────── */
.split-hero {
  background: linear-gradient(135deg, #70F8BA 0%, #5de0a8 55%, #3fb882 100%);
  padding: 100px 0 80px;
}
.split-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-hero-content h1 {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--dark-blue);
  margin-bottom: 16px;
  text-wrap: balance;
}
.split-hero-content h1 strong {
  font-weight: 700;
  color: var(--iris);
}
.split-hero-content .light {
  color: rgba(16,22,46,0.7);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.6;
}
.compact-cards-section {
  padding: 60px 0;
  background: var(--white);
}
.compact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.compact-card {
  background: var(--white);
  border: 1.5px solid rgba(16,22,46,0.1);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.compact-card:hover {
  border-color: var(--iris);
  box-shadow: 0 6px 20px rgba(87,86,213,0.1);
  transform: translateY(-2px);
}
.compact-card svg {
  width: 32px;
  height: 32px;
  stroke: var(--iris);
  fill: none;
  stroke-width: 2;
  margin-bottom: 16px;
}
.compact-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 8px;
}
.compact-card p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.compact-card .btn-sm {
  font-size: 13px;
  padding: 8px 16px;
}

/* ── OPTION 5: MINIMAL LIST ──────────────────────────────── */
.slim-hero {
  background: linear-gradient(135deg, #70F8BA 0%, #5de0a8 55%, #3fb882 100%);
  padding: 50px 0;
  text-align: center;
}
.slim-hero h1 {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--dark-blue);
  margin-bottom: 12px;
  text-wrap: balance;
}
.slim-hero h1 strong {
  font-weight: 700;
  color: var(--iris);
}
.slim-hero .light {
  color: rgba(16,22,46,0.7);
  font-size: 16px;
}
.list-section {
  padding: 30px 0;
  background: var(--white);
}
.list-items {
  max-width: 900px;
  margin: 0 auto;
}
.list-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid rgba(16,22,46,0.08);
}
.list-item:last-child {
  border-bottom: none;
}
.list-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(87,86,213,0.08);
  border-radius: 10px;
  flex-shrink: 0;
}
.list-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--iris);
  fill: none;
  stroke-width: 2;
}
.list-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-blue);
  margin-bottom: 6px;
}
.list-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}
.list-cta {
  font-size: 15px;
  font-weight: 600;
  color: var(--iris);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s;
}
.list-cta:hover {
  transform: translateX(4px);
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .membership-cards {
    grid-template-columns: 1fr;
  }
  .compact-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  .compact-cards {
    grid-template-columns: 1fr;
  }
  .list-item {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
  }
  .list-icon {
    margin: 0 auto;
  }
  .list-cta {
    display: inline-block;
  }
  .tabs-nav {
    justify-content: flex-start;
  }
  .advertiser-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .advertiser-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .related-advertisers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .advertiser-logo-wrap {
    min-width: 200px;
    max-width: 280px;
  }
}

/* ── RESPONSIVE UTILITIES ──────────────────────────────── */
@media (max-width: 767px) {
  .hide-mobile {
    display: none;
  }
}

/* ══════════════════════════════════════════════════════
   NEXUS ALTERNATIVES — Three Design Approaches
   ══════════════════════════════════════════════════════ */

/* ── SHARED STYLES ──────────────────────────────────── */
.nexus-alt {
  background: var(--dark-blue);
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}

.nexus-alt-header {
  text-align: center;
  margin-bottom: 72px;
}

.nexus-alt-header .nexus-logo-wrap {
  display: inline-flex;
  align-items: center;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 24px;
}

.nexus-alt-header .nexus-spark {
  color: var(--apple-green);
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
}

.nexus-alt-header .nexus-spark svg {
  height: 0.8em;
  width: auto;
}

.nexus-alt-header .nexus-name {
  color: var(--apple-green);
}

.nexus-pro-badge {
  background: linear-gradient(135deg, var(--iris) 0%, var(--iris-mid) 100%);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  margin-left: 12px;
  display: inline-block;
  vertical-align: middle;
}

.nexus-alt-headline {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.nexus-alt-intro {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto;
}

.nexus-alt-cta {
  text-align: center;
  margin-top: 64px;
}


/* ── APPROACH 2: CAROUSEL FEATURE (V2 - REFINED) ──────── */

/* Carousel Wrapper */
.nexus-carousel-wrapper {
  margin-bottom: 32px;
}

.nexus-carousel {
  overflow: visible;
  width: 100%;
}

.nexus-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
}

.nexus-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Tab Content as Carousel Cards */
.nexus-tab-content-v2 {
  flex-shrink: 0;
  width: 100%;
  scroll-snap-align: start;
  margin-bottom: 0;
}

/* Carousel Dots Navigation */
.nexus-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.nexus-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all 0.28s ease;
  padding: 0;
}

.nexus-dot:hover {
  background: rgba(255,255,255,0.5);
  transform: scale(1.2);
}

.nexus-dot.active {
  background: var(--apple-green);
  width: 24px;
  border-radius: 4px;
}

/* ── MEDIUM SCREENS (under 1600px) ─────────────────────── */
@media (max-width: 1599px) {
  /* Carousel adjustments for medium screens if needed */
}

/* ── TABLET RESPONSIVE (under 1024px) ──────────────────── */
@media (max-width: 1023px) {
  /* Adjust content grid for tablet */
  .nexus-section .nexus-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Stack content vertically on tablet */
  .nexus-metric-cards-v2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── MOBILE RESPONSIVE (under 768px) ────────────────────── */
@media (max-width: 767px) {
  /* Reorder: eyebrow → headline → image → carousel → dots → CTAs */
  .nexus-section .nexus-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  /* Use display: contents to flatten hierarchy so we can reorder image relative to headline/carousel */
  .nexus-section .nexus-inner > div:first-child {
    display: contents;
  }

  .nexus-section .nexus-eyebrow {
    order: 1;
    margin-bottom: 24px;
  }

  .nexus-section .nexus-headline {
    order: 2;
    margin-bottom: 32px;
  }

  .nexus-section .nexus-image {
    order: 3;
    margin-bottom: 32px;
  }

  .nexus-section .nexus-carousel-wrapper {
    order: 4;
  }

  .nexus-section .nexus-carousel-dots {
    order: 5;
  }

  .nexus-section .nexus-ctas {
    order: 6;
    width: 100%;
  }

  /* Single column metric cards on mobile */
  .nexus-metric-cards-v2 {
    grid-template-columns: 1fr;
  }
}

.nexus-tab-v2-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 14px;
}

.nexus-tab-v2-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 24px;
}

.nexus-metric-cards-v2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.nexus-metric-card-v2 {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 18px 16px;
  text-align: center;
}

.nexus-metric-value-v2 {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--apple-green);
  line-height: 1;
  margin-bottom: 6px;
}

.nexus-metric-label-v2 {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}


/* ── AFFILIATES GETTING STARTED ANIMATION ──────────────── */
.aff-getting-cog,
.aff-getting-icon {
  opacity: 0;
}

.aff-getting-cog {
  animation: aff-icon-fade-in 0.6s ease 0.3s both;
}

.aff-getting-icon {
  animation: aff-icon-pulse-in 0.8s ease both;
}

.aff-icon-1 { animation-delay: 1.3s; }
.aff-icon-2 { animation-delay: 1.45s; }
.aff-icon-3 { animation-delay: 1.6s; }
.aff-icon-4 { animation-delay: 1.75s; }
.aff-icon-5 { animation-delay: 1.9s; }
.aff-icon-6 { animation-delay: 2.05s; }
.aff-icon-7 { animation-delay: 2.2s; }

@keyframes aff-icon-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes aff-icon-pulse-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Connection lines - Draw from icon to cog after icons animate */
.connect-line {
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  animation: line-draw-in 1s ease-out 3s forwards;
}

@keyframes line-draw-in {
  from {
    stroke-dashoffset: 150;
  }
  to {
    stroke-dashoffset: 0;
  }
}

/* ── Agency: Dashboard transition animation ─────────── */
.ag-trans-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(16,22,46,0.05), var(--shadow-lg);
}

.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.screen.active {
  opacity: 1;
  pointer-events: auto;
}

.top-nav {
  background: #1D2939;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.acc-content {
  flex: 1;
  padding: 24px 20px;
  overflow: auto;
}

.page-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 16px;
}

.acc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.acc-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.acc-card:hover {
  border-color: #00AADF;
  box-shadow: 0 2px 8px rgba(0,170,223,0.12);
  transform: translateY(-1px);
}

.card-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.card-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--dark-blue);
}

.card-type {
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 500;
}

.ripple {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0,170,223,0.25) 0%, transparent 70%);
  opacity: 0;
  animation: ag-trans-ripple 1.2s ease-out;
}

@keyframes ag-trans-ripple {
  0% { opacity: 0; transform: scale(0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scale(2.5); }
}

.loading {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.loading.active {
  opacity: 1;
  pointer-events: auto;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #E5E7EB;
  border-top-color: #00AADF;
  border-radius: 50%;
  animation: ag-trans-spin 0.8s linear infinite;
}

@keyframes ag-trans-spin {
  to { transform: rotate(360deg); }
}

.loading-text {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.dash-body {
  flex: 1;
  display: flex;
  overflow: hidden;
}

.sidebar {
  width: 45px;
  background: #1D2939;
  border-right: none;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.sidebar-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 5px;
  overflow: hidden;
}

.sidebar-account {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 4px;
}

.sidebar-account-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 12px;
  margin: 0;
  background: linear-gradient(135deg, #00b2d5 0%, #5756d5 100%);
  color: #fff;
  border: 1.5px solid transparent;
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-sep {
  height: 1px;
  background: #344054;
  margin: 0;
}

.sidebar-item {
  width: auto;
  height: 34px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  position: relative;
}

.sidebar-item:hover {
  background: rgba(255,255,255,0.05);
}

.sidebar-item.active {
  background: #344054;
}

.sidebar-item.active::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 20%;
  bottom: 25%;
  width: 3px;
  background: #00B2D5;
  border-radius: 8px;
}

.sidebar-collapse {
  padding: 16px;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 14px;
  background: #F2F4F7;
  overflow: hidden;
}

.dash-h1 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-blue);
  margin-bottom: 14px;
}

.perf-card {
  background: #FCFCFD;
  border: 1px solid #EAECF0;
  border-radius: 10px;
  padding: 12px 12px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.perf-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.perf-card-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--dark-blue);
}

.sale-dropdown {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 6px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.sale-dropdown:hover {
  background: rgba(0,0,0,0.03);
}

.legend-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.legend-label {
  font-size: 9px;
  font-weight: 500;
  color: var(--text-muted);
}

.legend-label.legend-sm {
  font-size: 8.5px;
}

.legend-val {
  font-size: 10px;
  font-weight: 600;
  color: var(--dark-blue);
}

.legend-up {
  font-size: 9px;
  font-weight: 600;
  color: #00B797;
  display: flex;
  align-items: center;
  gap: 3px;
  margin-left: auto;
}

.bars-wrap {
  margin-bottom: 14px;
}

.bars-area {
  height: 88px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  margin-bottom: 6px;
}

.bar-pair {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
}

.bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  transform: scaleY(0);
}

.bar.blue {
  background: #00B2D5;
}

.bar.gray {
  background: #CFD1DE;
}

.bars-divider {
  height: 1px;
  background: #EAECF0;
  margin-bottom: 6px;
}

.date-row {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
}

.date-lbl {
  font-size: 8px;
  font-weight: 500;
  color: var(--text-muted);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.stat-pill {
  background: #F9F9FC;
  border: 1px solid #EAECF0;
  border-radius: 8px;
  padding: 8px 7px;
}

.stat-pill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.stat-pill-label {
  font-size: 8.5px;
  font-weight: 500;
  color: var(--text-muted);
}

.stat-pill-pct {
  font-size: 8px;
  font-weight: 600;
  color: #00B797;
}

.stat-pill-pct-down {
  font-size: 8px;
  font-weight: 600;
  color: #F59E0B;
}

.stat-pill-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-pill-val {
  font-size: 11px;
  font-weight: 700;
  color: var(--dark-blue);
}

.stat-pill-sub {
  font-size: 8px;
  font-weight: 500;
  color: var(--text-muted);
}

.bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.channel-card,
.device-card {
  background: #FCFCFD;
  border: 1px solid #EAECF0;
  border-radius: 10px;
  padding: 14px 12px;
}

.card-section-title {
  font-size: 11px;
  font-weight: 600;
  color: var(--dark-blue);
  display: block;
  margin-bottom: 10px;
}

.ch-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ch-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.ch-bars-area {
  height: 72px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}

.ch-pair {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.ch-bar {
  width: 100%;
  border-radius: 3px 3px 0 0;
  transform-origin: bottom;
  transform: scaleY(0);
}

.ch-labels {
  display: flex;
  justify-content: space-between;
  gap: 4px;
}

.ch-lbl {
  font-size: 7.5px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: center;
  flex: 1;
}

.device-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #EAECF0;
}

.device-row:last-child {
  border-bottom: none;
}

.dev-donut {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.dev-info {
  flex: 1;
  min-width: 0;
}

.dev-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3px;
}

.dev-name {
  font-size: 10px;
  font-weight: 600;
  color: var(--dark-blue);
}

.dev-val {
  font-size: 10px;
  font-weight: 700;
  color: var(--dark-blue);
}

.dev-bot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.dev-clicks {
  font-size: 8px;
  font-weight: 500;
  color: var(--text-muted);
}

.dev-txn {
  font-size: 7.5px;
  font-weight: 600;
  color: #00B797;
  background: rgba(0,183,151,0.1);
  padding: 2px 5px;
  border-radius: 4px;
}

.dev-sub {
  font-size: 8px;
  font-weight: 500;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .bottom-row {
    grid-template-columns: 1fr;
  }
}


/* ── ADVERTISER BRANDS SHOWCASE ──────────────────────── */
.adv-brands-header {
  text-align: center;
  margin-bottom: 48px;
}

.adv-brands-header h2 {
  margin-bottom: 12px;
}

.adv-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  align-items: center;
  justify-items: center;
}

.adv-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: transform var(--transition);
}

.adv-brand-item img {
  max-width: 110px;
  max-height: 36px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.4);
  transition: filter 0.28s ease;
}

.adv-brand-item:hover img {
  filter: grayscale(0) opacity(1);
}

@media (max-width: 768px) {
  .adv-brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
  }

  .adv-brand-item {
    padding: 16px;
  }

  .adv-brand-item img {
    max-width: 90px;
    max-height: 30px;
    object-fit: contain;
  }
}


/* ── REDUCED MOTION ──────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .nexus-tab-v2 {
    transition: none;
  }
  .aff-getting-cog,
  .aff-getting-icon {
    opacity: 1 !important;
    animation: none !important;
  }
  .connect-line {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
  .ripple,
  .spinner {
    animation: none !important;
  }
  .bar,
  .ch-bar {
    transform: scaleY(1) !important;
    transition: none !important;
  }
  .screen {
    transition: none !important;
  }
}
