/* =========================================================
   CANDY AI CLONE — page-scoped enterprise redesign
   Namespace: .cac-*  |  Loaded only on candy-ai-clone.php
   Design principles:
     • One accent (red), used sparingly — eyebrows, primary CTA, one word per H2
     • One card style — same border, same radius, same hover everywhere
     • Two motion primitives — fade-up reveal + subtle hover lift; that's it
     • Generous whitespace, tight typography, no gradient text or glows
     • Honors prefers-reduced-motion
========================================================= */

:root {
  --cac-red: #ec2024;
  --cac-red-soft: #ff4f53;
  --cac-bg: #0a0a0d;
  --cac-bg-2: #0e0e13;
  --cac-bg-3: #131319;
  --cac-card: #131319;
  --cac-card-hover: #181820;
  --cac-text: #ffffff;
  --cac-text-soft: #b4b4be;
  --cac-text-muted: #7a7a85;
  --cac-line: rgba(255, 255, 255, 0.07);
  --cac-line-2: rgba(255, 255, 255, 0.14);
  --cac-line-red: rgba(236, 32, 36, 0.4);
  --cac-radius: 14px;
  --cac-radius-lg: 20px;
  --cac-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== KEYFRAMES (only what we actually use) ===== */
@keyframes cac-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cac-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

/* ===== PAGE WRAPPER ===== */
.cac-page {
  background: var(--cac-bg);
  color: var(--cac-text);
  /* Use `clip` instead of `hidden` — `overflow-x: hidden` makes
     overflow-y compute to `auto` (CSS Overflow spec), turning this
     element into a scroll container which breaks `position: sticky`
     on descendants like the screens pin section. `clip` clips overflow
     without creating a scroll container, so sticky works. */
  overflow-x: clip;
  font-feature-settings: "ss01" on, "cv11" on;
  -webkit-font-smoothing: antialiased;
}
.cac-page section { position: relative; }

/* Container width override — 1360px scoped to this page only */
.cac-page .container {
  max-width: 1360px !important;
  padding-left: 28px !important;
  padding-right: 28px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 991px) {
  .cac-page .container { padding-left: 22px !important; padding-right: 22px !important; }
}
@media (max-width: 575px) {
  .cac-page .container { padding-left: 18px !important; padding-right: 18px !important; }
}

/* Reveal-on-scroll utility */
.cac-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--cac-ease), transform 0.7s var(--cac-ease);
  will-change: opacity, transform;
}
.cac-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cac-reveal[data-delay="1"].is-visible { transition-delay: 0.06s; }
.cac-reveal[data-delay="2"].is-visible { transition-delay: 0.12s; }
.cac-reveal[data-delay="3"].is-visible { transition-delay: 0.18s; }
.cac-reveal[data-delay="4"].is-visible { transition-delay: 0.24s; }

/* =========================================================
   TYPOGRAPHY — single source of rhythm
========================================================= */
.cac-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cac-red-soft);
  margin-bottom: 18px;
}
.cac-eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--cac-red);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 3px;
}

.cac-section-title {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cac-text);
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.cac-section-title .cac-accent { color: var(--cac-red-soft); }

.cac-section-sub {
  color: var(--cac-text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
  max-width: 720px;
}

.cac-head {
  margin-bottom: 56px;
}
.cac-head.is-center {
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}
.cac-head.is-center .cac-section-sub { margin-left: auto; margin-right: auto; }

/* =========================================================
   BUTTONS — two variants, no animations beyond hover lift
========================================================= */
.cac-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: -0.005em;
  transition: transform 0.3s var(--cac-ease), background 0.3s var(--cac-ease), border-color 0.3s var(--cac-ease);
}
.cac-btn:hover { transform: translateY(-2px); }
.cac-btn--primary {
  background: var(--cac-red);
  color: #fff;
}
.cac-btn--primary:hover {
  background: #d61b1f;
  color: #fff;
}
.cac-btn--ghost {
  background: transparent;
  color: var(--cac-text);
  border-color: var(--cac-line-2);
}
.cac-btn--ghost:hover {
  color: var(--cac-text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
}
.cac-btn .cac-arrow {
  width: 16px; height: 16px;
  transition: transform 0.3s var(--cac-ease);
}
.cac-btn:hover .cac-arrow { transform: translateX(3px); }

/* =========================================================
   1. HERO
========================================================= */
.cac-hero {
  padding: 75px 0 100px;       /* lifted 45px total (was 120px top) */
  background:
    radial-gradient(800px 500px at 80% 20%, rgba(236, 32, 36, 0.10) 0%, transparent 70%),
    var(--cac-bg);
  border-bottom: 1px solid var(--cac-line);
  overflow: hidden;
}
.cac-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 50%, #000 0%, transparent 80%);
  pointer-events: none;
}
.cac-hero .container { position: relative; z-index: 2; }

.cac-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(236, 32, 36, 0.08);
  border: 1px solid var(--cac-line-red);
  color: var(--cac-red-soft);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
}
.cac-hero-eyebrow .cac-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cac-red);
}

.cac-hero-title {
  font-size: clamp(1.9rem, 4.0vw, 3.5rem);  /* reduced 8px (was clamp 2.4rem → 4rem) */
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  color: var(--cac-text);
}

/* =========================================================
   HERO OPTION 2 — asymmetric split with credibility panel.
   No image. Left column = copy + CTAs. Right column = a
   glass-morphic stats card that reinforces the Product
   schema (rating / signup uplift / pricing-and-delivery)
   right at the fold.
========================================================= */
.cac-hero-stats-panel {
  position: relative;
  padding: 8px 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(120, 190, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(120, 190, 255, 0.10),
    0 22px 60px -20px rgba(0, 0, 0, 0.55),
    0 0 40px -8px rgba(120, 190, 255, 0.22);
}
.cac-hero-stats-panel::before {
  /* soft red gradient wash from the top-right corner */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 100% 0%, rgba(236, 32, 36, 0.10) 0%, transparent 70%);
  pointer-events: none;
}
.cac-hero-stats-panel::after {
  /* faint dot-grid texture for tech/product feel */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.45;
  pointer-events: none;
}
.cac-hero-stats-panel > * { position: relative; z-index: 1; }

.cac-hero-stat-block {
  padding: 20px 0;
  border-top: 1px solid var(--cac-line);
}
.cac-hero-stat-block:first-child { border-top: none; }

.cac-hero-stat-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}
.cac-hero-stat-stars {
  color: #FFCC00;
  letter-spacing: 1.5px;
  font-size: 13px;
  text-shadow: 0 0 14px rgba(255, 204, 0, 0.4);
}
.cac-hero-stat-num {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 1.95rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--cac-text);
  line-height: 1;
  margin-bottom: 8px;
}
.cac-hero-stat-num .cac-accent { color: var(--cac-red-soft); }
.cac-hero-stat-text {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--cac-text-soft);
  margin: 0;
}
.cac-hero-stat-text strong { color: var(--cac-text); font-weight: 700; }

@media (max-width: 991px) {
  .cac-hero-stats-panel { margin-top: 8px; }
}

/* No-image hero variant — centered, single-column composition.
   The hero now focuses entirely on copy + CTAs; visual weight is
   carried by the radial-gradient background and the dot grid. */
.cac-hero-center {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}
.cac-hero-center .cac-hero-eyebrow,
.cac-hero-center .cac-cta-row { justify-content: center; }
.cac-hero-center .cac-hero-sub {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.cac-hero-center .cac-bullet-list {
  grid-template-columns: repeat(3, 1fr);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
@media (max-width: 991px) {
  .cac-hero-center .cac-bullet-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .cac-hero-center .cac-bullet-list { grid-template-columns: 1fr; }
}
.cac-hero-title .cac-accent { color: var(--cac-red-soft); }

.cac-hero-sub {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--cac-text-soft);
  max-width: 580px;
  margin: 0 0 28px;
}
.cac-hero-sub a { color: var(--cac-red-soft); text-decoration: none; border-bottom: 1px solid rgba(236,32,36,0.4); }
.cac-hero-sub a:hover { color: #ff7378; border-bottom-color: var(--cac-red-soft); }

.cac-bullet-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.cac-bullet-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cac-text);
  font-size: 0.95rem;
  font-weight: 500;
  /* Gradient pill + glow border so each capability reads as a "highlighted" tag */
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(236, 32, 36, 0.10) 0%, rgba(255, 60, 138, 0.06) 100%);
  border: 1px solid rgba(236, 32, 36, 0.25);
  border-radius: 10px;
  box-shadow: 0 0 16px rgba(236, 32, 36, 0.12);
  position: relative;
  overflow: hidden;
  /* "Piano wave" — each li bobs up & down on a stagger so the row of
     bullets feels alive, like piano keys being played in sequence. */
  animation: cac-bullet-piano 3.6s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cac-bullet-list li:nth-child(1) { animation-delay: 0s; }
.cac-bullet-list li:nth-child(2) { animation-delay: 0.45s; }
.cac-bullet-list li:nth-child(3) { animation-delay: 0.90s; }
.cac-bullet-list li:nth-child(4) { animation-delay: 1.35s; }
.cac-bullet-list li:nth-child(5) { animation-delay: 1.80s; }

@keyframes cac-bullet-piano {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 0 16px rgba(236, 32, 36, 0.12);
    border-color: rgba(236, 32, 36, 0.25);
  }
  50% {
    transform: translateY(-6px);
    box-shadow:
      0 12px 28px rgba(236, 32, 36, 0.32),
      0 0 24px rgba(255, 60, 138, 0.22);
    border-color: rgba(255, 60, 138, 0.55);
  }
}

/* Shimmer sweep — faint white highlight that travels left→right
   across each bullet, with its own staggered delay for variety. */
.cac-bullet-list li::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.14) 50%, transparent 100%);
  animation: cac-bullet-shine 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.cac-bullet-list li:nth-child(2)::after { animation-delay: 1.25s; }
.cac-bullet-list li:nth-child(3)::after { animation-delay: 2.50s; }
.cac-bullet-list li:nth-child(4)::after { animation-delay: 3.75s; }
.cac-bullet-list li:nth-child(5)::after { animation-delay: 5.00s; }

@keyframes cac-bullet-shine {
  0%       { left: -100%; }
  55%, 100% { left: 200%; }
}

/* Bullet content stays above the shimmer */
.cac-bullet-list li::before { z-index: 2; }
.cac-bullet-list li > * { position: relative; z-index: 2; }

/* Hover — pop the bullet harder */
.cac-bullet-list li:hover {
  transform: translateY(-8px) scale(1.03);
  border-color: rgba(255, 60, 138, 0.7);
  box-shadow:
    0 16px 36px rgba(236, 32, 36, 0.45),
    0 0 32px rgba(255, 60, 138, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  .cac-bullet-list li,
  .cac-bullet-list li::after { animation: none !important; }
}

.cac-bullet-list li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5L20 7' stroke='%23fff' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat,
    linear-gradient(135deg, #ec2024, #ff3d8a);
  box-shadow: 0 4px 14px rgba(255, 60, 138, 0.45);
}

.cac-cta-row {
  display: flex;
  align-items: center;          /* vertically center button + eyebrow pill */
  gap: 14px;
  flex-wrap: wrap;
}
/* Eyebrow no longer needs bottom-margin when sitting inline next to the CTA */
.cac-cta-row .cac-hero-eyebrow {
  margin-bottom: 0;
}

.cac-hero-visual {
  position: relative;
  width: 100%;
}
.cac-hero-visual-inner {
  position: relative;
  border-radius: var(--cac-radius-lg);
  overflow: hidden;
  background: var(--cac-card);
  border: 1px solid var(--cac-line-2);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.cac-hero-visual-inner img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* (hero-stats removed — original page had no stat strip in hero) */

/* =========================================================
   2. FEATURE MARQUEE — quiet trust band
========================================================= */
.cac-marquee {
  background: var(--cac-bg-2);
  padding: 22px 0;
  border-bottom: 1px solid var(--cac-line);
  overflow: hidden;
  position: relative;
}
.cac-marquee::before,
.cac-marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.cac-marquee::before { left: 0;  background: linear-gradient(90deg, var(--cac-bg-2), transparent); }
.cac-marquee::after  { right: 0; background: linear-gradient(-90deg, var(--cac-bg-2), transparent); }
.cac-marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: cac-marquee 50s linear infinite;
}
.cac-marquee:hover .cac-marquee-track { animation-play-state: paused; }
.cac-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--cac-line);
  color: var(--cac-text-soft);
  font-weight: 500;
  font-size: 0.88rem;
  white-space: nowrap;
}
.cac-feature-pill img { width: 14px; height: 14px; opacity: 0.9; }

/* =========================================================
   2.4  UNMATCHED FEATURES — capability grid right after hero
   11 feature cards (incl. 2 marked as "Add On"), 4-col grid
   on desktop that collapses to 3/2/1 on smaller viewports.
========================================================= */
.cac-unmatched {
  padding: 90px 0;
  background: var(--cac-bg);
  border-top: 1px solid var(--cac-line);
  position: relative;
}
.cac-unmatched::before {
  /* subtle red glow top-center to tie this section to the hero */
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(236, 32, 36, 0.45), transparent);
  pointer-events: none;
}
.cac-unmatched-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.cac-uf-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px;
  border-radius: 14px;
  background: var(--cac-card);
  border: 1px solid var(--cac-line);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.4s var(--cac-ease),
    border-color 0.4s var(--cac-ease),
    background 0.4s var(--cac-ease),
    box-shadow 0.4s var(--cac-ease);
}
/* Animated top accent line — slides in & shimmers on hover */
.cac-uf-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--cac-red) 30%,
    rgba(120, 190, 255, 0.85) 50%,
    var(--cac-red) 70%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: 200% 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.cac-uf-card:hover::before {
  opacity: 1;
  animation: cac-uf-shine 1.6s linear infinite;
}
@keyframes cac-uf-shine {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Subtle radial spotlight at top-right that fades in on hover */
.cac-uf-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(120, 190, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.5s var(--cac-ease), transform 0.6s var(--cac-ease);
  z-index: -1;
}
.cac-uf-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.cac-uf-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 190, 255, 0.55);
  background: var(--cac-card-hover);
  box-shadow:
    0 0 0 1px rgba(120, 190, 255, 0.28),
    0 18px 38px -12px rgba(0, 0, 0, 0.6),
    0 0 36px -6px rgba(120, 190, 255, 0.4);
}

.cac-uf-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(236, 32, 36, 0.10);
  border: 1px solid rgba(236, 32, 36, 0.24);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cac-red-soft);
  flex-shrink: 0;
  transition:
    transform 0.5s var(--cac-ease),
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}
.cac-uf-card:hover .cac-uf-icon {
  transform: scale(1.12) rotate(-6deg);
  background: rgba(236, 32, 36, 0.20);
  border-color: rgba(236, 32, 36, 0.55);
  box-shadow:
    0 0 0 1px rgba(236, 32, 36, 0.45),
    0 8px 22px -4px rgba(236, 32, 36, 0.45);
}
.cac-uf-icon svg { width: 22px; height: 22px; transition: filter 0.4s ease; }
.cac-uf-card:hover .cac-uf-icon svg {
  filter: drop-shadow(0 0 6px rgba(236, 32, 36, 0.5));
}
.cac-uf-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--cac-text);
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0;
  transition: color 0.3s ease;
}
.cac-uf-card:hover .cac-uf-title { color: var(--cac-red-soft); }
.cac-uf-desc {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--cac-text-muted);
  margin: 0;
  transition: color 0.3s ease;
}
.cac-uf-card:hover .cac-uf-desc { color: var(--cac-text-soft); }
.cac-uf-addon {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cac-red-soft);
  background: rgba(236, 32, 36, 0.08);
  border: 1px solid rgba(236, 32, 36, 0.3);
  padding: 3px 8px;
  border-radius: 999px;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  z-index: 2;
}

/* =========================================================
   12TH TILE — animated CTA "Many More Features"
   Red gradient that breathes, sparkle pattern, pulsing icon,
   shine-sweep on hover. Acts as a contact-modal trigger.
========================================================= */
.cac-uf-cta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 22px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #ec2024 0%, #b8181c 50%, #ec2024 100%);
  background-size: 200% 200%;
  animation: cac-uf-cta-gradient 6s ease-in-out infinite;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  isolation: isolate;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  box-shadow: 0 14px 32px -10px rgba(236, 32, 36, 0.55);
  transition: transform 0.4s var(--cac-ease), box-shadow 0.4s var(--cac-ease);
}
.cac-uf-cta:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px -8px rgba(236, 32, 36, 0.7);
}
@keyframes cac-uf-cta-gradient {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Floating sparkle dots — pure CSS, no images */
.cac-uf-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(255,255,255,0.7) 1.2px, transparent 2px),
    radial-gradient(circle at 72% 18%, rgba(255,255,255,0.6) 1.4px, transparent 2.4px),
    radial-gradient(circle at 38% 78%, rgba(255,255,255,0.5) 1px, transparent 2px),
    radial-gradient(circle at 88% 62%, rgba(255,255,255,0.7) 1.5px, transparent 2.5px),
    radial-gradient(circle at 12% 88%, rgba(255,255,255,0.5) 1.2px, transparent 2.2px),
    radial-gradient(circle at 60% 50%, rgba(255,255,255,0.4) 1px, transparent 2px);
  animation: cac-uf-cta-sparkle 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes cac-uf-cta-sparkle {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.06); }
}

/* Soft white flare top-right */
.cac-uf-cta::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -25%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,0.25) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Shine sweep on hover */
.cac-uf-cta-shine {
  position: absolute;
  top: 0;
  left: -75%;
  width: 60%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
}
.cac-uf-cta:hover .cac-uf-cta-shine {
  animation: cac-uf-cta-sweep 1.1s ease-out;
}
@keyframes cac-uf-cta-sweep {
  0%   { left: -75%; }
  100% { left: 175%; }
}

.cac-uf-cta > .cac-uf-cta-content,
.cac-uf-cta > .cac-uf-cta-action { position: relative; z-index: 2; }

.cac-uf-cta-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  margin-bottom: 12px;
  animation: cac-uf-cta-icon-pulse 2.4s ease-in-out infinite;
}
.cac-uf-cta-icon svg { width: 22px; height: 22px; }
@keyframes cac-uf-cta-icon-pulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(255,255,255,0.45); }
  50%      { transform: scale(1.08); box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}

.cac-uf-cta-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.cac-uf-cta-text {
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}
.cac-uf-cta-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #fff;
  margin-top: 4px;
}
.cac-uf-cta-action svg {
  width: 14px; height: 14px;
  transition: transform 0.35s var(--cac-ease);
}
.cac-uf-cta:hover .cac-uf-cta-action svg {
  transform: translateX(5px);
}

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  .cac-uf-card::before,
  .cac-uf-cta,
  .cac-uf-cta::before,
  .cac-uf-cta-icon { animation: none !important; }
}

@media (max-width: 1199px) { .cac-unmatched-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .cac-unmatched-grid { grid-template-columns: repeat(2, 1fr); } .cac-unmatched { padding: 70px 0; } }
@media (max-width: 480px)  { .cac-unmatched-grid { grid-template-columns: 1fr; } }

/* =========================================================
   2.45  BONUS SERVICE — adult-business-registration card
   Big rounded card, pink/magenta gradient accents, animated
   rotating-text emblem on the right. Placed in the upper
   half of the page so the "Bonus Service" framing is seen
   before the deeper feature dives.
========================================================= */
.cac-bonus { padding: 80px 0; background: var(--cac-bg); }

.cac-bonus-card {
  position: relative;
  padding: 56px 56px;
  border-radius: 28px;
  background:
    radial-gradient(900px 500px at 50% 100%, rgba(236, 32, 36, 0.18), transparent 70%),
    radial-gradient(600px 400px at 0% 0%, rgba(255, 60, 138, 0.14), transparent 70%),
    linear-gradient(180deg, #14141c 0%, #0a0a10 100%);
  border: 1px solid rgba(236, 32, 36, 0.32);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.55), 0 0 80px -10px rgba(255, 60, 138, 0.18);
}
.cac-bonus-card::before {
  /* faint dot grid */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.7;
  z-index: 0;
}
.cac-bonus-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* LEFT column ============================================ */
.cac-bonus-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(236, 32, 36, 0.10);
  border: 1px solid rgba(236, 32, 36, 0.45);
  color: var(--cac-red-soft);
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cac-bonus-eyebrow .cac-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cac-red);
  box-shadow: 0 0 12px rgba(236, 32, 36, 0.6);
  animation: cac-bonus-pulse 1.6s ease-in-out infinite;
}
@keyframes cac-bonus-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.7; }
}

.cac-bonus-title {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--cac-text);
  margin: 0 0 22px;
}
.cac-bonus-title-pill {
  display: inline-block;
  padding: 0 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ec2024 0%, #ff3d8a 50%, #c4348e 100%);
  background-size: 200% 200%;
  animation: cac-bonus-pill-grad 5s ease-in-out infinite;
  color: #fff;
  box-shadow: 0 10px 30px rgba(236, 32, 36, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  /* slightly tilted optical alignment so it sits on baseline visually */
  vertical-align: -0.06em;
}
@keyframes cac-bonus-pill-grad {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.cac-bonus-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--cac-text-soft);
  margin: 0 0 26px;
  max-width: 560px;
}

.cac-bonus-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cac-bonus-list li {
  position: relative;
  padding-left: 36px;
  font-size: 1rem;
  color: var(--cac-text);
  line-height: 1.4;
}
.cac-bonus-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec2024, #ff3d8a);
  box-shadow: 0 0 14px rgba(255, 60, 138, 0.45);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* CTA */
.cac-bonus-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; }
.cac-bonus-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ec2024 0%, #ff3d8a 100%);
  background-size: 200% 200%;
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(236, 32, 36, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-position 1s ease;
  overflow: hidden;
  text-decoration: none;
}
.cac-bonus-cta:hover {
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 20px 42px rgba(255, 60, 138, 0.6);
  color: #fff;
}
.cac-bonus-cta svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.cac-bonus-cta:hover svg { transform: translateX(4px); }

.cac-bonus-cta-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cac-text-muted);
}
.cac-bonus-cta-meta-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--cac-text-muted);
}

/* RIGHT column =========================================== */
.cac-bonus-emblem-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.cac-bonus-emblem {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  filter: drop-shadow(0 18px 40px rgba(255, 60, 138, 0.28));
}
.cac-bonus-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: cac-bonus-rotate 28s linear infinite;
}
.cac-bonus-svg text {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-weight: 700;
  fill: rgba(255, 255, 255, 0.55);
}
@keyframes cac-bonus-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.cac-bonus-emblem::before {
  /* dashed outer ring, counter-rotates slightly slower */
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1.5px dashed rgba(236, 32, 36, 0.5);
  animation: cac-bonus-rotate-rev 40s linear infinite;
}
@keyframes cac-bonus-rotate-rev {
  from { transform: rotate(360deg); }
  to   { transform: rotate(0deg); }
}

/* Center stamp */
.cac-bonus-stamp {
  position: absolute;
  inset: 22%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
  z-index: 1;
}
.cac-bonus-stamp-label {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.cac-bonus-stamp-main {
  font-family: 'Urbanist', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  background: linear-gradient(135deg, #ec2024 0%, #ff3d8a 50%, #c4348e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 30px rgba(255, 60, 138, 0.5);
}
.cac-bonus-stamp-sub {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

/* Top check icon */
.cac-bonus-check {
  position: absolute;
  top: 4%;
  right: 8%;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ec2024, #ff3d8a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 60, 138, 0.45);
  z-index: 2;
}
.cac-bonus-check svg { width: 20px; height: 20px; }

/* Pill tags */
.cac-bonus-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cac-bonus-tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(236, 32, 36, 0.32);
  color: var(--cac-text-soft);
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  .cac-bonus { padding: 60px 0; }
  .cac-bonus-grid { grid-template-columns: 1fr; gap: 40px; }
  .cac-bonus-card { padding: 36px 28px; border-radius: 22px; }
  .cac-bonus-emblem { max-width: 280px; }
}
@media (max-width: 575px) {
  .cac-bonus-card { padding: 28px 22px; }
  .cac-bonus-cta-row { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .cac-bonus-svg, .cac-bonus-emblem::before, .cac-bonus-eyebrow .cac-dot, .cac-bonus-title-pill {
    animation: none !important;
  }
}

/* =========================================================
   2.5  TRUST STRIP — visible Product-schema support
   Shows the 5★ rating, $15K price and Candy.ai pedigree so
   Google can validate the Product JSON-LD against rendered
   on-page content. Slim, single-row band between the marquee
   and the intro section.
========================================================= */
.cac-trust {
  background: var(--cac-bg-2);
  padding: 18px 0;
  border-bottom: 1px solid var(--cac-line);
}
.cac-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 0.92rem;
  color: var(--cac-text-soft);
}
.cac-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.cac-trust-text {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}
.cac-trust-text strong {
  color: var(--cac-text);
  font-weight: 700;
  letter-spacing: -0.005em;
}
.cac-trust-muted {
  color: var(--cac-text-muted);
}
.cac-trust-stars {
  color: #FFCC00;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  line-height: 1;
}
.cac-trust-divider {
  width: 1px;
  height: 14px;
  background: var(--cac-line-2);
  display: inline-block;
}
@media (max-width: 767px) {
  .cac-trust { padding: 14px 0; }
  .cac-trust-row { gap: 8px 18px; font-size: 0.86rem; }
  .cac-trust-divider { display: none; }
  .cac-trust-item { white-space: normal; }
}

/* =========================================================
   3. SOLUTION / INTRO ("charge-sec")
========================================================= */
.cac-intro {
  padding: 110px 0;
}
.cac-intro-img-wrap {
  position: relative;
  border-radius: var(--cac-radius-lg);
  overflow: hidden;
  border: 1px solid var(--cac-line);
  background: var(--cac-card);
}
.cac-intro-img-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 6 / 5;
  object-fit: cover;
}
.cac-strip-line {
  margin-top: 56px;
  padding: 22px 28px;
  border-radius: var(--cac-radius);
  background:
    linear-gradient(135deg, rgba(236, 32, 36, 0.10), rgba(236, 32, 36, 0.02));
  border: 1px solid var(--cac-line-red);
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--cac-text);
  line-height: 1.55;
}

/* =========================================================
   4. ENGINEERED FOR GROWTH (full-width banner)
========================================================= */
.cac-engineered {
  padding: 110px 0;
  background:
    radial-gradient(700px 400px at 12% 50%, rgba(236, 32, 36, 0.14) 0%, transparent 70%),
    var(--cac-bg-2);
  border-top: 1px solid var(--cac-line);
  border-bottom: 1px solid var(--cac-line);
}

/* =========================================================
   5. UNIFIED CARD GRID — used by features, moods, expertise
========================================================= */
.cac-card-grid {
  display: grid;
  gap: 20px;
}
.cac-card-grid.is-3 { grid-template-columns: repeat(3, 1fr); }
.cac-card-grid.is-4 { grid-template-columns: repeat(4, 1fr); }

.cac-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--cac-radius);
  background: var(--cac-card);
  border: 1px solid var(--cac-line);
  overflow: hidden;
  transition: transform 0.4s var(--cac-ease), border-color 0.4s var(--cac-ease), background 0.4s var(--cac-ease);
}
.cac-card:hover {
  transform: translateY(-4px);
  border-color: var(--cac-line-2);
  background: var(--cac-card-hover);
}
.cac-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cac-bg-3);
}
.cac-card-media.is-square { aspect-ratio: 1 / 1; }
.cac-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--cac-ease);
}
.cac-card:hover .cac-card-media img { transform: scale(1.04); }
.cac-card-body {
  padding: 22px 22px 24px;
}
.cac-card-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cac-text);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.cac-card-body p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--cac-text-soft);
  margin: 0;
}

/* Section wrappers */
.cac-features { padding: 110px 0; }
.cac-moods    { padding: 110px 0; background: var(--cac-bg-2); border-top: 1px solid var(--cac-line); border-bottom: 1px solid var(--cac-line); }
.cac-expertise { padding: 110px 0; }

/* Promo card variant — used for the 2 CTA cards inside the loaded features grid */
.cac-card.is-promo {
  justify-content: center;
  background:
    linear-gradient(160deg, rgba(236, 32, 36, 0.12) 0%, rgba(236, 32, 36, 0.02) 100%),
    var(--cac-card);
  border-color: var(--cac-line-red);
}
.cac-card.is-promo:hover { border-color: var(--cac-red); background: linear-gradient(160deg, rgba(236, 32, 36, 0.16) 0%, rgba(236, 32, 36, 0.04) 100%), var(--cac-card-hover); }
.cac-card.is-promo .cac-card-body { padding: 28px; }
.cac-card.is-promo h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin-bottom: 12px;
}
.cac-card.is-promo p { font-size: 0.95rem; line-height: 1.65; }
.cac-card.is-promo a { color: var(--cac-red-soft); text-decoration: none; border-bottom: 1px solid rgba(236,32,36,0.4); }
.cac-card.is-promo a:hover { color: #ff7378; }

/* Mood card title accent (per original design — bold red title) */
.cac-mood-title-accent { color: var(--cac-red-soft) !important; }

/* =========================================================
   6. SCREENSHOT RAIL
========================================================= */
.cac-screens {
  padding: 110px 0;
  background: var(--cac-bg-2);
  border-bottom: 1px solid var(--cac-line);
  /* `clip` (not `hidden`) — same reason as .cac-page: hidden creates a
     scroll container which breaks `position: sticky` inside this section. */
  overflow-x: clip;
}
.cac-screens-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

/* =========================================================
   SCROLL-PIN HORIZONTAL RAIL (desktop only)
   On desktop, the section pins to the viewport while the
   user scrolls vertically — vertical scroll progress drives
   horizontal translation of the track so all 6 screens + CTA
   are seen before the page advances. Mobile keeps natural
   horizontal scroll. Reduced-motion users keep natural scroll.
========================================================= */
.cac-screens-pinwrap {
  position: relative;
}
.cac-screens-pinned {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

@media (min-width: 992px) {
  /* Once JS sets `is-active`, sticky pinning kicks in.
     The wrapper height is set inline by JS to:
     100vh + (trackOverflow), giving enough vertical scroll
     room to translate the entire track horizontally. */
  .cac-screens-pinwrap.is-active .cac-screens-pinned {
    position: sticky;
    top: 0;
    height: 100vh;
    justify-content: center;
    overflow: hidden;
    /* Lift centered content up by ~30px — padding-bottom shrinks the
       content box, justify-content: center re-centers within it,
       which moves both title and rail up by half the padding. */
    padding-bottom: 60px;
  }
  .cac-screens-pinwrap.is-active .cac-screens-track {
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    will-change: transform;
    padding: 8px 28px 28px;     /* leftmost card has breathing room */
    /* Smooth slide between snap-card positions — JS only updates the
       transform when the rounded card index changes, so this transition
       fires once per card-step (not on every scroll event). */
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .cac-screens-pinwrap.is-active .cac-screens-track::-webkit-scrollbar {
    display: none;
  }
  /* Subtle hint that this section is scroll-driven */
  .cac-screens-pinwrap.is-active::after {
    content: "Scroll to explore →";
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(120, 190, 255, 0.6);
    z-index: 3;
    pointer-events: none;
    animation: cac-fade-up 0.6s var(--cac-ease);
  }
}

@media (prefers-reduced-motion: reduce) {
  /* Never pin or transform for users who opt out of motion */
  .cac-screens-pinwrap.is-active { height: auto !important; }
  .cac-screens-pinwrap.is-active .cac-screens-pinned {
    position: static !important;
    height: auto !important;
    overflow: visible !important;
  }
  .cac-screens-pinwrap.is-active .cac-screens-track {
    transform: none !important;
    overflow-x: auto !important;
  }
}
.cac-screens-track::-webkit-scrollbar { height: 6px; }
.cac-screens-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); }
.cac-screens-track::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.18); border-radius: 4px; }
.cac-screens-track::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.3); }
.cac-screen-slide {
  flex: 0 0 auto;
  /* Reduced max width so 2 cards always fit fully within the visible
     viewport area (~1248px content @ 1360 container @ 1920 viewport) —
     2 × 540 + 18 gap = 1098, leaves ~150px breathing room on each side.
     Floor lowered to 280px so the card never overflows the container
     on iPhone SE (375 viewport with 18px container padding = 339 content). */
  width: clamp(280px, 36vw, 540px);
  border-radius: 14px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid rgba(120, 190, 255, 0.28);
  background: var(--cac-card);
  box-shadow:
    0 0 0 1px rgba(120, 190, 255, 0.12),
    0 18px 40px -16px rgba(0, 0, 0, 0.55),
    0 0 32px -6px rgba(120, 190, 255, 0.35);
  transition: transform 0.4s var(--cac-ease), box-shadow 0.4s var(--cac-ease), border-color 0.4s var(--cac-ease);
}
.cac-screen-slide:hover {
  transform: translateY(-6px);
  border-color: rgba(120, 190, 255, 0.6);
  box-shadow:
    0 0 0 1px rgba(120, 190, 255, 0.5),
    0 28px 60px -16px rgba(0, 0, 0, 0.7),
    0 0 48px -4px rgba(120, 190, 255, 0.6);
}
.cac-screen-slide img {
  width: 100%;
  height: auto;             /* natural ratio — no cropping */
  display: block;
  /* The source screenshots are ~1920×870 (≈2.207:1). Stating that
     ratio explicitly prevents CLS while the image loads, and matches
     the card width-to-image-height calc used for the CTA tile below. */
  aspect-ratio: 1920 / 870;
  object-fit: contain;       /* belt-and-braces: never crop */
  background: var(--cac-card);
}

/* Browser-window title bar — frames each screenshot like a real product tour */
.cac-screen-bar {
  height: 34px;
  background: linear-gradient(180deg, #1c1c24, #15151b);
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cac-screen-bar-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cac-screen-bar-dot.is-r { background: #ff5f57; }
.cac-screen-bar-dot.is-y { background: #ffbd2e; }
.cac-screen-bar-dot.is-g { background: #28c840; }
.cac-screen-bar-url {
  margin-left: 14px;
  height: 20px;
  flex: 1;
  min-width: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 5px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Enhanced section header — bigger, more impactful, "highlighter" accent */
.cac-screens-title {
  /* Sized so the long line 2 (53 chars) fits in the 1304px content box
     without wrapping at 2.4rem ≈ 38.4px (cap × Roboto-bold avg). */
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--cac-text);
  margin: 0;
}
/* Line 2 — keep it on a single line at desktop. Falls back to natural
   wrap at <992px where the <br class="d-none d-lg-block"> collapses. */
.cac-screens-title-line2 {
  display: inline-block;
  max-width: 100%;
}
@media (min-width: 992px) {
  .cac-screens-title-line2 {
    white-space: nowrap;
  }
}
.cac-screens-highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
  color: var(--cac-red-soft);
  padding: 0 4px;
  white-space: nowrap;
}
.cac-screens-highlight::before {
  content: "";
  position: absolute;
  bottom: 6%;
  left: -4px;
  right: -4px;
  height: 38%;
  background: rgba(236, 32, 36, 0.18);
  border-radius: 4px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.7s var(--cac-ease) 0.2s;
}
.cac-screens .cac-reveal.is-visible .cac-screens-highlight::before { transform: scaleX(1); }

/* CTA tile — the 7th "screen" in the rail (red gradient, contact-modal trigger) */
.cac-screen-cta {
  flex: 0 0 auto;
  width: clamp(280px, 36vw, 540px);
  scroll-snap-align: start;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, #ec2024 0%, #b8181c 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 40px -10px rgba(236, 32, 36, 0.45);
  padding: 24px 28px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  /* Slide height = browser-bar (34px) + image-height (width × 870/1920).
     For a 540px-wide slide that's 34 + 244.7 ≈ 279px → aspect 540/279 ≈ 1.94.
     Match it so the CTA sits flush with the screenshots in the rail. */
  aspect-ratio: 540 / 279;
  transition: transform 0.4s var(--cac-ease), box-shadow 0.4s var(--cac-ease);
}
.cac-screen-cta::before {
  /* white radial flare top-right */
  content: "";
  position: absolute;
  top: -55%;
  right: -25%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.20) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.cac-screen-cta::after {
  /* faint dot grid texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.cac-screen-cta:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px -12px rgba(236, 32, 36, 0.6);
}
.cac-screen-cta-content {
  position: relative;
  z-index: 1;
}
.cac-screen-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
}
.cac-screen-cta-eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: rgba(255, 255, 255, 0.65);
}
.cac-screen-cta-num {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: clamp(3rem, 6.4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: #fff;
  display: inline-block;
  margin: 0 0 4px;            /* tight to the h3 below */
}
.cac-screen-cta-num sup {
  font-size: 0.55em;
  font-weight: 700;
  vertical-align: top;
  margin-left: 4px;
  letter-spacing: 0;
  position: relative;
  top: 0.18em;
}
.cac-screen-cta-h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 10px;
}
.cac-screen-cta-p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 360px;
}
.cac-screen-cta-action {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: #fff;
  color: var(--cac-red);
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  align-self: flex-start;
  transition: transform 0.3s ease, background 0.3s ease;
}
.cac-screen-cta:hover .cac-screen-cta-action { transform: translateX(3px); }
.cac-screen-cta-action svg { width: 16px; height: 16px; }

@media (max-width: 767px) {
  /* On mobile the CTA card narrows enough that the strict aspect-ratio
     starves the content of vertical room. Switch to natural height with
     a sensible min-height so it still aligns with the slide rail. */
  .cac-screen-cta {
    aspect-ratio: auto;
    min-height: 230px;
    padding: 24px 24px 22px;
  }
}

/* =========================================================
   7. PARTNER STATS
========================================================= */
.cac-partner {
  padding: 110px 0;
}
.cac-partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cac-partner-card {
  padding: 32px 28px;
  border-radius: var(--cac-radius);
  background: var(--cac-card);
  border: 1px solid var(--cac-line);
  transition: transform 0.4s var(--cac-ease), border-color 0.4s var(--cac-ease), background 0.4s var(--cac-ease);
}
.cac-partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--cac-line-2);
  background: var(--cac-card-hover);
}
.cac-partner-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(236, 32, 36, 0.08);
  border: 1px solid var(--cac-line-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.cac-partner-icon img { width: 28px; height: 28px; filter: brightness(0) saturate(100%) invert(40%) sepia(80%) saturate(3000%) hue-rotate(346deg) brightness(95%) contrast(95%); }
.cac-partner-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cac-text);
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* =========================================================
   8. POWERFUL NSFW SHOWCASE — vertical tab browser
   (Replaces the old alternating image-text rows. CSS-only:
   radio inputs + :checked sibling combinator, no JS needed.
   Accessible via keyboard via native radio arrow-key nav.)
========================================================= */
.cac-nsfw-showcase {
  padding: 100px 0;
}

.cac-nsfw-tabs {
  position: relative;
  margin-top: 40px;
}

/* Visually hide the radio inputs but keep them keyboard-focusable */
.cac-nsfw-tabs > input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.cac-nsfw-tabs-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

/* LEFT — tab list */
.cac-nsfw-tabs-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cac-nsfw-tab-label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--cac-card);
  border: 1px solid var(--cac-line);
  cursor: pointer;
  transition: background 0.35s var(--cac-ease), border-color 0.35s var(--cac-ease), transform 0.35s var(--cac-ease);
  align-items: center;
  margin: 0;
}
.cac-nsfw-tab-label:hover {
  border-color: var(--cac-line-2);
  transform: translateX(3px);
}

.cac-nsfw-tab-num {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--cac-text-muted);
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.cac-nsfw-tab-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cac-text);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.cac-nsfw-tab-arrow {
  width: 18px; height: 18px;
  color: var(--cac-red);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* RIGHT — panels (image fills the panel, content overlays the bottom) */
.cac-nsfw-panels {
  position: relative;
}
.cac-nsfw-panel {
  position: relative;
  border-radius: var(--cac-radius-lg);
  overflow: hidden;
  border: 1px solid var(--cac-line);
  background: var(--cac-card);
  aspect-ratio: 40 / 27;     /* 4:3 with height reduced 10% (was 4/3) */
  display: none;             /* hidden by default; active panel set to flex */
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}
.cac-nsfw-panel-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}
/* Bottom-up gradient scrim so overlaid copy stays readable on any image */
.cac-nsfw-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(0, 0, 0, 0.72) 28%,
    rgba(0, 0, 0, 0.25) 60%,
    transparent 85%
  );
  pointer-events: none;
  z-index: 1;
}
.cac-nsfw-panel-content {
  position: relative;
  z-index: 2;
  padding: 28px 32px 30px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cac-nsfw-panel-content h3 {
  color: #fff;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 0;
}
.cac-nsfw-panel-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}
.cac-nsfw-panel-content .cac-btn {
  margin-top: 6px;
  align-self: flex-start;
}

/* Active states — CSS-only selection driven by :checked radio (6 tabs) */
#cac-tab-1:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-1"],
#cac-tab-2:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-2"],
#cac-tab-3:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-3"],
#cac-tab-4:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-4"],
#cac-tab-5:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-5"],
#cac-tab-6:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-6"] {
  background: rgba(236, 32, 36, 0.08);
  border-color: rgba(236, 32, 36, 0.4);
  transform: translateX(0);
}
#cac-tab-1:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-1"] .cac-nsfw-tab-num,
#cac-tab-2:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-2"] .cac-nsfw-tab-num,
#cac-tab-3:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-3"] .cac-nsfw-tab-num,
#cac-tab-4:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-4"] .cac-nsfw-tab-num,
#cac-tab-5:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-5"] .cac-nsfw-tab-num,
#cac-tab-6:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-6"] .cac-nsfw-tab-num {
  color: var(--cac-red);
}
#cac-tab-1:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-1"] .cac-nsfw-tab-arrow,
#cac-tab-2:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-2"] .cac-nsfw-tab-arrow,
#cac-tab-3:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-3"] .cac-nsfw-tab-arrow,
#cac-tab-4:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-4"] .cac-nsfw-tab-arrow,
#cac-tab-5:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-5"] .cac-nsfw-tab-arrow,
#cac-tab-6:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-6"] .cac-nsfw-tab-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Show only the panel matching the checked tab */
#cac-tab-1:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-panels .cac-nsfw-panel:nth-child(1),
#cac-tab-2:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-panels .cac-nsfw-panel:nth-child(2),
#cac-tab-3:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-panels .cac-nsfw-panel:nth-child(3),
#cac-tab-4:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-panels .cac-nsfw-panel:nth-child(4),
#cac-tab-5:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-panels .cac-nsfw-panel:nth-child(5),
#cac-tab-6:checked ~ .cac-nsfw-tabs-grid .cac-nsfw-panels .cac-nsfw-panel:nth-child(6) {
  display: flex;
  animation: cac-fade-up 0.45s var(--cac-ease);
}

/* Focus ring on label when its radio is keyboard-focused */
#cac-tab-1:focus-visible ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-1"],
#cac-tab-2:focus-visible ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-2"],
#cac-tab-3:focus-visible ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-3"],
#cac-tab-4:focus-visible ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-4"],
#cac-tab-5:focus-visible ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-5"],
#cac-tab-6:focus-visible ~ .cac-nsfw-tabs-grid .cac-nsfw-tab-label[for="cac-tab-6"] {
  outline: 2px solid var(--cac-red);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .cac-nsfw-showcase { padding: 72px 0; }
  .cac-nsfw-tabs-grid { grid-template-columns: 1fr; gap: 28px; }
  .cac-nsfw-panel h3 { font-size: 1.35rem; }
}
@media (max-width: 640px) {
  .cac-nsfw-showcase { padding: 56px 0; }
  .cac-nsfw-tab-label { padding: 14px 16px; gap: 12px; }
  .cac-nsfw-tab-title { font-size: 0.98rem; }
}
.cac-alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cac-alt-row.is-reverse .cac-alt-text { order: 2; }
.cac-alt-row.is-reverse .cac-alt-img-wrap { order: 1; }
.cac-alt-img-wrap {
  border-radius: var(--cac-radius-lg);
  overflow: hidden;
  border: 1px solid var(--cac-line);
  background: var(--cac-card);
}
.cac-alt-img-wrap img {
  width: 100%;
  display: block;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  transition: transform 0.6s var(--cac-ease);
}
.cac-alt-img-wrap:hover img { transform: scale(1.03); }
.cac-alt-text h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  color: var(--cac-text);
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  line-height: 1.25;
}
.cac-alt-text p {
  color: var(--cac-text-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 14px;
}
.cac-alt-text .cac-btn { margin-top: 16px; }

/* =========================================================
   9. REVENUE MODELS
========================================================= */
.cac-revenue {
  padding: 110px 0;
  background: var(--cac-bg-2);
  border-top: 1px solid var(--cac-line);
  border-bottom: 1px solid var(--cac-line);
}
.cac-revenue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cac-revenue-card {
  padding: 32px 28px;
  border-radius: var(--cac-radius);
  background: var(--cac-card);
  border: 1px solid var(--cac-line);
  transition: transform 0.4s var(--cac-ease), border-color 0.4s var(--cac-ease), background 0.4s var(--cac-ease);
}
.cac-revenue-card:hover {
  transform: translateY(-4px);
  border-color: var(--cac-line-2);
  background: var(--cac-card-hover);
}
.cac-revenue-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(236, 32, 36, 0.08);
  border: 1px solid var(--cac-line-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  overflow: hidden;
}
.cac-revenue-icon img { width: 100%; height: 100%; object-fit: cover; }
.cac-revenue-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cac-text);
  margin: 0 0 10px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.cac-revenue-card p {
  color: var(--cac-text-soft);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}

/* =========================================================
   10. WEB-BASED PWA
========================================================= */
.cac-webbased {
  padding: 110px 0;
}
.cac-webbased-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.cac-webbased-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cac-webbased-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--cac-text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}
.cac-webbased-list li::before {
  content: "";
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  border-radius: 4px;
  background:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 12l5 5L20 7' stroke='%23fff' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat,
    var(--cac-red);
}

/* =========================================================
   OUR EXPERTISE — split layout (intro left, numbered list right)
========================================================= */
.cac-expertise-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.cac-expertise-intro {
  position: sticky;
  top: 100px;
}
.cac-expertise-list {
  display: flex;
  flex-direction: column;
}
.cac-expertise-item {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--cac-line);
  position: relative;
}
.cac-expertise-item:first-child {
  border-top: none;
  padding-top: 0;
}
.cac-expertise-item:last-child { padding-bottom: 0; }

/* On hover: a thin red accent line slides in along the top border */
.cac-expertise-item::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cac-red);
  transition: width 0.5s var(--cac-ease);
}
.cac-expertise-item:hover::before { width: 78px; }
.cac-expertise-item:first-child::before { display: none; }

.cac-expertise-num {
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--cac-red);
  line-height: 1;
  letter-spacing: -0.03em;
  align-self: start;
  margin-top: 4px;
  transition: transform 0.4s var(--cac-ease);
}
.cac-expertise-item:hover .cac-expertise-num {
  transform: translateX(4px);
}
.cac-expertise-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.012em;
  color: var(--cac-text);
  margin: 0 0 10px;
  line-height: 1.3;
}
.cac-expertise-content p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--cac-text-soft);
  margin: 0;
}

@media (max-width: 991px) {
  .cac-expertise-split { grid-template-columns: 1fr; gap: 48px; }
  .cac-expertise-intro { position: static; }
}
@media (max-width: 640px) {
  .cac-expertise-split { gap: 36px; }
  .cac-expertise-num { font-size: 2rem; }
  .cac-expertise-item {
    grid-template-columns: 56px 1fr;
    gap: 20px;
    padding: 24px 0;
  }
  .cac-expertise-content h3 { font-size: 1.15rem; }
}

/* Sub-H3 used in web-based section ("100% Freedom from App Store Policies") */
.cac-sub-h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cac-text);
  margin: 12px 0 12px;
  letter-spacing: -0.01em;
}

/* Centered CTA below an expertise / cards grid */
.cac-center-cta {
  text-align: center;
  margin-top: 48px;
}

/* =========================================================
   11. SCHEDULE FORM
========================================================= */
.cac-schedule {
  padding: 64px 0;
}
.cac-schedule-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 28px;
}
.cac-form-card {
  padding: 36px;
  border-radius: var(--cac-radius-lg);
  background: var(--cac-card);
  border: 1px solid var(--cac-line);
}
.cac-form-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cac-text);
  margin: 0 0 8px;
}
.cac-form-card .cac-form-intro {
  font-size: 0.92rem;
  color: var(--cac-text-muted);
  margin: 0 0 24px;
}
.cac-form-card form { display: flex; flex-direction: column; gap: 16px; }
.cac-form-field { display: flex; flex-direction: column; gap: 6px; }
.cac-form-field label {
  color: var(--cac-text-soft);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1px;
}
.cac-form-field input,
.cac-form-field textarea {
  padding: 13px 16px;
  background: var(--cac-bg-3);
  border: 1px solid var(--cac-line);
  border-radius: 10px;
  color: var(--cac-text);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
  font-family: inherit;
}
.cac-form-field input::placeholder,
.cac-form-field textarea::placeholder { color: var(--cac-text-muted); }
.cac-form-field input:focus,
.cac-form-field textarea:focus {
  border-color: var(--cac-line-red);
  background: rgba(236, 32, 36, 0.04);
}
.cac-form-field textarea { resize: vertical; min-height: 110px; }
.cac-form-card .cac-btn { margin-top: 4px; align-self: flex-start; }

.cac-schedule-img {
  border-radius: var(--cac-radius-lg);
  overflow: hidden;
  border: 1px solid var(--cac-line);
  background: var(--cac-card);
  aspect-ratio: 4 / 5;
}
.cac-schedule-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================================================
   12. FAQ
========================================================= */
.cac-faq {
  padding: 110px 0;
  background: var(--cac-bg-2);
  border-top: 1px solid var(--cac-line);
}
.cac-faq-helper {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--cac-text-muted);
  margin: 0 0 14px;
  letter-spacing: 0.2px;
}
.cac-faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cac-faq-item {
  background: var(--cac-card);
  border: 1px solid var(--cac-line);
  border-radius: var(--cac-radius);
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.cac-faq-item:hover { border-color: var(--cac-line-2); }
.cac-faq-item[open] { border-color: var(--cac-line-2); }
.cac-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 20px 26px;
  font-weight: 500;
  color: var(--cac-text);
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  letter-spacing: -0.005em;
}
.cac-faq-q::-webkit-details-marker { display: none; }
.cac-faq-q::after {
  content: "";
  width: 10px; height: 10px;
  border-right: 1.5px solid var(--cac-text-muted);
  border-bottom: 1.5px solid var(--cac-text-muted);
  transform: rotate(45deg);
  transition: transform 0.3s var(--cac-ease), border-color 0.3s ease;
  flex-shrink: 0;
  margin-top: -3px;
}
.cac-faq-item[open] .cac-faq-q::after {
  transform: rotate(-135deg);
  border-color: var(--cac-red-soft);
  margin-top: 3px;
}
.cac-faq-a {
  padding: 0 26px 22px;
  color: var(--cac-text-soft);
  line-height: 1.7;
  font-size: 0.94rem;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1199px) {
  .cac-card-grid.is-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991px) {
  .cac-hero { padding: 90px 0 80px; }
  .cac-card-grid.is-3,
  .cac-card-grid.is-4 { grid-template-columns: repeat(2, 1fr); }
  .cac-partner-grid,
  .cac-revenue-grid { grid-template-columns: repeat(2, 1fr); }
  .cac-alt-row,
  .cac-webbased-row,
  .cac-schedule-row { grid-template-columns: 1fr; gap: 36px; }
  .cac-alt-row.is-reverse .cac-alt-text,
  .cac-alt-row.is-reverse .cac-alt-img-wrap { order: initial; }
  .cac-bullet-list { grid-template-columns: 1fr; }
  .cac-form-card { padding: 28px; }
  .cac-intro,
  .cac-engineered,
  .cac-features,
  .cac-moods,
  .cac-screens,
  .cac-partner,
  .cac-alt-wrap,
  .cac-alt-wrap .cac-alt:last-child,
  .cac-revenue,
  .cac-webbased,
  .cac-expertise,
  .cac-schedule,
  .cac-faq { padding: 80px 0; }
  .cac-alt { padding: 40px 0; }
  .cac-alt-wrap { padding-top: 80px; }
}

@media (max-width: 640px) {
  .cac-hero { padding: 72px 0 64px; }
  .cac-card-grid.is-3,
  .cac-card-grid.is-4,
  .cac-partner-grid,
  .cac-revenue-grid { grid-template-columns: 1fr; }
  .cac-webbased-list { grid-template-columns: 1fr; }
  .cac-btn { padding: 12px 20px; font-size: 0.92rem; }
  .cac-form-card { padding: 22px; }
  .cac-intro,
  .cac-engineered,
  .cac-features,
  .cac-moods,
  .cac-screens,
  .cac-partner,
  .cac-alt-wrap,
  .cac-alt-wrap .cac-alt:last-child,
  .cac-revenue,
  .cac-webbased,
  .cac-expertise,
  .cac-schedule,
  .cac-faq { padding: 64px 0; }
  .cac-alt { padding: 32px 0; }
  .cac-alt-wrap { padding-top: 64px; }
  .cac-head { margin-bottom: 40px; }
}

/* Reduced motion — respect user preference */
@media (prefers-reduced-motion: reduce) {
  .cac-page *,
  .cac-page *::before,
  .cac-page *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .cac-marquee-track { animation: none !important; }
  .cac-reveal { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   POPUP-STYLE LEAD FORM — mirrors #contactModal aesthetic.
   Used inline in the Schedule section so visitors can submit
   a lead with the same fields, validation and handler as the
   contact popup (form-handler.php auto-binds via .js-validate-form).
   Scoped to .cac-popup-form / .cac-popup-form-card so it can't
   bleed into the rest of the page or conflict with the modal.
========================================================= */

/* Softer dark "consultation panel" — lighter than the modal so it
   doesn't feel heavy on a light section. Tighter padding so the
   schedule row doesn't grow taller than necessary. */
.cac-form-card.cac-popup-form-card {
  padding: 22px 24px 22px;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(236, 32, 36, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, #1c1c24 0%, #14141b 100%);
  border: 1px solid rgba(236, 32, 36, 0.22);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cac-form-card.cac-popup-form-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.cac-form-card.cac-popup-form-card > * { position: relative; z-index: 1; }
.cac-form-card.cac-popup-form-card h4 {
  color: #fff;
  font-family: 'Urbanist', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.012em;
  margin: 0 0 2px;
}
.cac-form-card.cac-popup-form-card .cac-form-intro {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  margin-bottom: 14px;
}
.cac-light .cac-form-card.cac-popup-form-card {
  box-shadow: 0 18px 42px -18px rgba(15, 15, 21, 0.25), 0 0 50px rgba(236, 32, 36, 0.08);
}

/* Form root */
.cac-popup-form { position: relative; }

/* Field grid + spacing */
.cac-popup-form .tm-field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cac-popup-form .tm-field { margin-bottom: 6px; }

/* Monospace `//` labels — popup signature */
.cac-popup-form .tm-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 5px;
}
.cac-popup-form .tm-label::before {
  content: "//";
  color: var(--cac-red);
}
.cac-popup-form .tm-opt {
  margin-left: auto;
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.8px;
}

/* Inputs */
.cac-popup-form .tm-input-wrap { position: relative; }
.cac-popup-form .tm-phone-country {
  display: block;
  margin-top: 3px;
  padding-left: 2px;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  color: #FFCC00;
  letter-spacing: 0.4px;
  line-height: 1.3;
  min-height: 0;
}
.cac-popup-form .tm-input,
.cac-popup-form .tm-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 6px;
  padding: 9px 13px;
  color: #fff;
  font-size: 13.5px;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: none;
}
.cac-popup-form .tm-input::placeholder,
.cac-popup-form .tm-textarea::placeholder { color: rgba(255, 255, 255, 0.28); }
.cac-popup-form .tm-input:focus,
.cac-popup-form .tm-textarea:focus {
  outline: none;
  border-color: var(--cac-red);
  background: rgba(236, 32, 36, 0.04);
  box-shadow: 0 0 0 3px rgba(236, 32, 36, 0.12), 0 0 18px rgba(236, 32, 36, 0.18);
}
.cac-popup-form .tm-textarea { min-height: 72px; resize: vertical; }
.cac-popup-form .error-message {
  display: block;
  color: #ff8a8a;
  font-size: 12px;
  margin-top: 3px;
  min-height: 0;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
}
.cac-popup-form .error-message:empty { display: none; }

/* NDA toggle */
.cac-popup-form .tm-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  margin: 2px 0 8px;
  transition: border-color 0.2s, background 0.2s;
}
.cac-popup-form .tm-toggle:hover { border-color: rgba(236, 32, 36, 0.4); }
.cac-popup-form .tm-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.cac-popup-form .tm-toggle-track {
  flex-shrink: 0;
  position: relative;
  width: 38px; height: 22px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  transition: background 0.25s, border-color 0.25s;
}
.cac-popup-form .tm-toggle-thumb {
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease, background 0.25s;
}
.cac-popup-form .tm-toggle-input:checked + .tm-toggle-track {
  background: linear-gradient(135deg, #ec2024, #b8181c);
  border-color: var(--cac-red);
  box-shadow: 0 0 12px rgba(236, 32, 36, 0.5);
}
.cac-popup-form .tm-toggle-input:checked + .tm-toggle-track .tm-toggle-thumb {
  transform: translateX(16px);
}
.cac-popup-form .tm-toggle-text { line-height: 1.4; }
.cac-popup-form .tm-toggle-title {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.cac-popup-form .tm-toggle-sub {
  display: block;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
}

/* Submit — energy-bar style */
.cac-popup-form .tm-submit {
  position: relative;
  width: 100%;
  padding: 11px 22px;
  background: linear-gradient(135deg, #ec2024 0%, #b8181c 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(236, 32, 36, 0.35), 0 0 0 1px rgba(255,255,255,0.06) inset;
  transition: transform 0.2s, box-shadow 0.2s;
  margin-top: 0;
}
.cac-popup-form .tm-submit::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.cac-popup-form .tm-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(236, 32, 36, 0.5), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.cac-popup-form .tm-submit:hover:not(:disabled)::before { left: 125%; }
.cac-popup-form .tm-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.cac-popup-form .tm-submit-arrow {
  font-size: 16px;
  font-weight: 400;
  transition: transform 0.2s;
}
.cac-popup-form .tm-submit:hover:not(:disabled) .tm-submit-arrow { transform: translateX(4px); }

@media (max-width: 767px) {
  .cac-popup-form .tm-field-grid { grid-template-columns: 1fr; gap: 0; }
}

/* =========================================================
   LIGHT MODE — applied per-section via .cac-light
   Redefines the design tokens so every child rule adapts
   without needing per-element overrides.
========================================================= */
.cac-light {
  --cac-bg: #ffffff;
  --cac-bg-2: #f7f7f9;
  --cac-bg-3: #eeeef2;
  --cac-card: #ffffff;
  --cac-card-hover: #fbfbfd;
  --cac-text: #0f0f15;
  --cac-text-soft: #4a4a55;
  --cac-text-muted: #80808a;
  --cac-line: rgba(15, 15, 21, 0.07);
  --cac-line-2: rgba(15, 15, 21, 0.14);
  --cac-line-red: rgba(236, 32, 36, 0.22);
  --cac-red-soft: #ec2024;

  background: var(--cac-bg);
  color: var(--cac-text);
}

/* Soft elevation for cards on light bg (white-on-white needs a lift) */
.cac-light .cac-card,
.cac-light .cac-revenue-card,
.cac-light .cac-partner-card,
.cac-light .cac-form-card,
.cac-light .cac-faq-item,
.cac-light .cac-screen-slide,
.cac-light .cac-alt-img-wrap,
.cac-light .cac-intro-img-wrap,
.cac-light .cac-schedule-img,
.cac-light .cac-hero-visual-inner,
.cac-light .cac-case-card {
  box-shadow: 0 1px 2px rgba(15, 15, 21, 0.04), 0 4px 18px rgba(15, 15, 21, 0.04);
}
.cac-light .cac-card:hover,
.cac-light .cac-revenue-card:hover,
.cac-light .cac-partner-card:hover,
.cac-light .cac-case-card:hover {
  box-shadow: 0 1px 2px rgba(15, 15, 21, 0.05), 0 10px 30px rgba(15, 15, 21, 0.08);
}

/* Promo card variant in light context */
.cac-light .cac-card.is-promo {
  background:
    linear-gradient(160deg, rgba(236, 32, 36, 0.06) 0%, rgba(236, 32, 36, 0.01) 100%),
    var(--cac-card);
  border-color: rgba(236, 32, 36, 0.2);
}
.cac-light .cac-card.is-promo:hover {
  background:
    linear-gradient(160deg, rgba(236, 32, 36, 0.10) 0%, rgba(236, 32, 36, 0.02) 100%),
    var(--cac-card-hover);
  border-color: rgba(236, 32, 36, 0.35);
}
.cac-light .cac-card.is-promo a {
  color: var(--cac-red);
  border-bottom-color: rgba(236, 32, 36, 0.4);
}

/* Form inputs on light bg */
.cac-light .cac-form-field input,
.cac-light .cac-form-field textarea {
  background: #ffffff;
  border-color: var(--cac-line-2);
  color: var(--cac-text);
}
.cac-light .cac-form-field input::placeholder,
.cac-light .cac-form-field textarea::placeholder { color: var(--cac-text-muted); }
.cac-light .cac-form-field input:focus,
.cac-light .cac-form-field textarea:focus {
  border-color: var(--cac-red);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(236, 32, 36, 0.10);
}

/* Strip-line callout on light bg — keep red accent but softer */
.cac-light .cac-strip-line {
  background: linear-gradient(135deg, rgba(236, 32, 36, 0.06), rgba(236, 32, 36, 0.01));
  border-color: rgba(236, 32, 36, 0.18);
  color: var(--cac-text);
}

/* Ghost button on light bg */
.cac-light .cac-btn--ghost {
  color: var(--cac-text);
  border-color: var(--cac-line-2);
}
.cac-light .cac-btn--ghost:hover {
  background: rgba(15, 15, 21, 0.04);
  border-color: var(--cac-line-2);
}

/* Marquee fades — only relevant if marquee is in light context (not currently used) */
.cac-light.cac-marquee::before { background: linear-gradient(90deg, var(--cac-bg-2), transparent); }
.cac-light.cac-marquee::after  { background: linear-gradient(-90deg, var(--cac-bg-2), transparent); }

/* =========================================================
   PARTNER SECTION — light-mode visual upgrade
   Subtle decorative background, gradient cards with animated
   top accent line, larger gradient icons, and a hover glow
   so the "We Were Marketing Partner of Candy.ai" section
   reads as credibility, not just a plain feature row.
========================================================= */
.cac-light.cac-partner,
.cac-partner.cac-light {
  position: relative;
  background:
    radial-gradient(700px 400px at 85% 18%, rgba(236, 32, 36, 0.06), transparent 60%),
    radial-gradient(600px 400px at 15% 90%, rgba(255, 60, 138, 0.05), transparent 60%),
    var(--cac-bg);
  overflow: hidden;
}
.cac-light.cac-partner::before,
.cac-partner.cac-light::before {
  /* faint dot pattern, masked at top/bottom for soft fade */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(236, 32, 36, 0.10) 1px, transparent 1.5px);
  background-size: 32px 32px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 25%, #000 75%, transparent 100%);
  z-index: 0;
}
.cac-light.cac-partner > .container,
.cac-partner.cac-light > .container { position: relative; z-index: 1; }

/* Card body — gradient pink-tinted background */
.cac-light .cac-partner-card {
  position: relative;
  padding: 36px 30px;
  background: linear-gradient(180deg, rgba(255, 240, 242, 0.7) 0%, #ffffff 100%);
  border: 1px solid rgba(236, 32, 36, 0.18);
  overflow: hidden;
  transition:
    transform 0.4s var(--cac-ease),
    box-shadow 0.4s var(--cac-ease),
    border-color 0.4s var(--cac-ease),
    background 0.4s var(--cac-ease);
}

/* Animated top accent line — shimmers on hover */
.cac-light .cac-partner-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    #ec2024 30%,
    #ff3d8a 50%,
    #ec2024 70%,
    transparent 100%
  );
  background-size: 200% 100%;
  background-position: 200% 0;
  opacity: 0.5;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.cac-light .cac-partner-card:hover::before {
  opacity: 1;
  animation: cac-partner-shine 1.6s linear infinite;
}
@keyframes cac-partner-shine {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Decorative pink radial in top-right corner — fades in on hover */
.cac-light .cac-partner-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 60, 138, 0.16) 0%, transparent 65%);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.5s var(--cac-ease), transform 0.6s var(--cac-ease);
  z-index: 0;
}
.cac-light .cac-partner-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.cac-light .cac-partner-card:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 32, 36, 0.4);
  background: linear-gradient(180deg, rgba(255, 230, 235, 0.85) 0%, #ffffff 100%);
  box-shadow:
    0 0 0 1px rgba(236, 32, 36, 0.18),
    0 22px 42px -14px rgba(236, 32, 36, 0.22),
    0 0 60px -10px rgba(255, 60, 138, 0.18);
}

.cac-light .cac-partner-card > * { position: relative; z-index: 1; }

/* Gradient icon container — bigger, white icons inside */
.cac-light .cac-partner-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ec2024 0%, #ff3d8a 100%);
  border: 0;
  margin-bottom: 26px;
  box-shadow: 0 14px 30px -8px rgba(236, 32, 36, 0.42), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  transition: transform 0.5s var(--cac-ease), box-shadow 0.5s var(--cac-ease);
}
.cac-light .cac-partner-card:hover .cac-partner-icon {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 22px 40px -8px rgba(255, 60, 138, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}
.cac-light .cac-partner-icon img {
  width: 28px;
  height: 28px;
  /* invert the existing red SVGs to white so they pop on the gradient */
  filter: brightness(0) invert(1);
}

.cac-light .cac-partner-title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--cac-text);
}

/* Tiny "verified" tick at top-right of each card */
.cac-light .cac-partner-card .cac-partner-badge {
  position: absolute;
  top: 20px;
  right: 22px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-family: ui-monospace, 'SF Mono', 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  color: var(--cac-red);
  background: rgba(236, 32, 36, 0.08);
  border: 1px solid rgba(236, 32, 36, 0.25);
  border-radius: 999px;
  z-index: 2;
}
.cac-light .cac-partner-badge svg { width: 11px; height: 11px; }

@media (prefers-reduced-motion: reduce) {
  .cac-light .cac-partner-card::before,
  .cac-light .cac-partner-card:hover::before { animation: none !important; }
}

/* Light-mode revenue icon container */
.cac-light .cac-revenue-icon {
  background: rgba(236, 32, 36, 0.06);
  border-color: rgba(236, 32, 36, 0.18);
}

/* =========================================================
   LOADED FEATURES — redesigned: showcase row + 4-col grid + CTA banner
========================================================= */
.cac-feat-showcase {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 22px;
  margin-bottom: 24px;
}

/* Left: opening "promo" intro card (text-only, branded soft red) */
.cac-feat-promo-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  border-radius: var(--cac-radius-lg);
  background:
    linear-gradient(160deg, rgba(236, 32, 36, 0.08), rgba(236, 32, 36, 0.01)),
    var(--cac-card);
  border: 1px solid rgba(236, 32, 36, 0.22);
  transition: transform 0.4s var(--cac-ease), border-color 0.4s var(--cac-ease);
}
.cac-feat-promo-intro:hover {
  transform: translateY(-4px);
  border-color: rgba(236, 32, 36, 0.4);
}
.cac-feat-promo-intro h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cac-text);
  letter-spacing: -0.01em;
  margin: 14px 0 14px;
  line-height: 1.3;
}
.cac-feat-promo-intro p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--cac-text-soft);
  margin: 0;
}
.cac-feat-promo-intro a {
  color: var(--cac-red);
  text-decoration: none;
  border-bottom: 1px solid rgba(236, 32, 36, 0.4);
}
.cac-feat-promo-intro a:hover { color: #c81519; }

/* Right: hero feature card (full-width image + larger title + description) */
.cac-feat-hero {
  display: flex;
  flex-direction: column;
  border-radius: var(--cac-radius-lg);
  overflow: hidden;
  background: var(--cac-card);
  border: 1px solid var(--cac-line);
  transition: transform 0.4s var(--cac-ease), border-color 0.4s var(--cac-ease), background 0.4s var(--cac-ease);
}
.cac-feat-hero:hover {
  transform: translateY(-4px);
  border-color: var(--cac-line-2);
  background: var(--cac-card-hover);
}
.cac-feat-hero-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cac-bg-3);
}
.cac-feat-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--cac-ease);
}
.cac-feat-hero:hover .cac-feat-hero-media img { transform: scale(1.04); }
.cac-feat-hero-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cac-feat-hero-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--cac-red);
  background: rgba(236, 32, 36, 0.08);
  padding: 5px 12px;
  border-radius: 999px;
}
.cac-feat-hero-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--cac-text);
  margin: 0;
  line-height: 1.25;
}
.cac-feat-hero-body p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--cac-text-soft);
  margin: 0;
}

/* Closing CTA banner (replaces second "promo card") */
.cac-feat-banner {
  margin-top: 32px;
  padding: 36px 44px;
  border-radius: var(--cac-radius-lg);
  background: linear-gradient(135deg, #ec2024 0%, #c81519 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cac-feat-banner::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.cac-feat-banner-content {
  flex: 1;
  min-width: 320px;
  position: relative;
}
.cac-feat-banner h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: #fff;
  line-height: 1.3;
}
.cac-feat-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  line-height: 1.65;
}
.cac-feat-banner .cac-btn {
  background: #ffffff;
  color: var(--cac-red);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  border-color: transparent;
}
.cac-feat-banner .cac-btn:hover {
  background: #fafafa;
  color: var(--cac-red);
}

@media (max-width: 991px) {
  .cac-feat-showcase { grid-template-columns: 1fr; gap: 18px; margin-bottom: 18px; }
  .cac-feat-promo-intro { padding: 32px 28px; }
  .cac-feat-hero-body { padding: 24px 26px 28px; }
  .cac-feat-banner {
    padding: 28px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .cac-feat-banner .cac-btn { width: 100%; justify-content: center; }
}
@media (max-width: 640px) {
  .cac-feat-promo-intro { padding: 24px; }
  .cac-feat-promo-intro h3 { font-size: 1.18rem; }
  .cac-feat-hero-body h3 { font-size: 1.25rem; }
  .cac-feat-hero-body p { font-size: 0.95rem; }
  .cac-feat-banner h3 { font-size: 1.15rem; }
  .cac-feat-banner { padding: 24px; margin-top: 24px; }
}

/* =========================================================
   CASE STUDIES SECTION
========================================================= */
.cac-cases {
  padding: 110px 0;
}
.cac-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cac-case-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--cac-radius-lg);
  background: var(--cac-card);
  border: 1px solid var(--cac-line);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s var(--cac-ease), border-color 0.4s var(--cac-ease), background 0.4s var(--cac-ease);
}
.cac-case-card:hover {
  transform: translateY(-4px);
  border-color: var(--cac-line-2);
  background: var(--cac-card-hover);
  color: inherit;
}
.cac-case-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--cac-bg-3);
}
.cac-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--cac-ease);
}
.cac-case-card:hover .cac-case-media img { transform: scale(1.04); }
.cac-case-media .cac-case-stat {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--cac-red);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 16px rgba(236, 32, 36, 0.35);
}
.cac-case-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.cac-case-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--cac-red-soft);
}
.cac-case-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cac-text);
  line-height: 1.35;
  margin: 0;
}
.cac-case-card p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--cac-text-soft);
  margin: 0;
}
.cac-case-link {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cac-red-soft);
  letter-spacing: -0.005em;
}
.cac-case-card:hover .cac-case-link { color: var(--cac-red); }
.cac-case-link::after {
  content: "→";
  transition: transform 0.3s var(--cac-ease);
}
.cac-case-card:hover .cac-case-link::after { transform: translateX(4px); }

@media (max-width: 991px) {
  .cac-cases { padding: 80px 0; }
  .cac-cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cac-cases { padding: 64px 0; }
  .cac-cases-grid { grid-template-columns: 1fr; }
}
