
/* — GRAIN OVERLAY — */

/* — SCROLLBAR — */
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.7);
}

/* — NAV — floating pill style — */
/* Language switcher in nav */

/* center pill with menu items */
.nav-center a.nav-link,
.nav-center button.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--w55);
  text-decoration: none;
  background: transparent;
  border: none;
  font-family: var(--font);
  padding: 12px 26px;
  border-radius: 100px;
  transition:
    color 0.15s,
    background 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-center a.nav-link:hover,
.nav-center button.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

/* right-side: text-only */
nav .nav-right .log-in:hover {
  color: #fff;
}
nav .btn-book .arrow {
  transition: transform 0.2s;
  color: #fff;
}
nav .btn-book:hover .arrow {
  transform: translateX(4px);
}

.solutions-wrap,
.resources-wrap {
  position: relative;
  display: inline-flex;
}
.solutions-btn::after,
.resources-btn::after {
  content: "▾";
  display: inline-block;
  font-size: 9px;
  transition: transform 0.15s;
  opacity: 0.7;
}
.solutions-wrap:hover .solutions-btn::after,
.resources-wrap:hover .resources-btn::after {
  transform: rotate(180deg);
}

/* — MEGA MENU — */
/* invisible bridge so hover doesn't break in the gap between trigger and panel */
/* — HERO — */
.hero {
  min-height: 100vh;
  padding: 120px 40px 120px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050208;
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* Save your photo as hero.jpg in this folder — it auto-loads on top of the gradient. */
  background:
    url("https://vedio-public-production.b-cdn.net/website/images/hero.jpg")
      center/cover no-repeat,
    radial-gradient(
      ellipse at 50% 15%,
      rgba(120, 180, 255, 0.7) 0%,
      transparent 45%
    ),
    radial-gradient(
      circle at 18% 58%,
      rgba(255, 220, 140, 0.6) 0%,
      transparent 28%
    ),
    radial-gradient(
      circle at 38% 68%,
      rgba(167, 139, 250, 0.55) 0%,
      transparent 22%
    ),
    radial-gradient(
      circle at 58% 65%,
      rgba(96, 165, 250, 0.55) 0%,
      transparent 22%
    ),
    radial-gradient(
      circle at 80% 55%,
      rgba(251, 146, 60, 0.6) 0%,
      transparent 28%
    ),
    radial-gradient(
      ellipse at 50% 98%,
      rgba(30, 20, 50, 0.75) 0%,
      transparent 55%
    ),
    linear-gradient(180deg, #5a8fc8 0%, #c9a970 42%, #8d4520 78%, #2a1a30 100%);
  z-index: 0;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.35;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  /* Fades in once the video starts playing */
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
.hero-bg-video.playing {
  opacity: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 50% 40%,
    rgba(18, 9, 31, 0.88) 0%,
    rgba(5, 2, 8, 0.95) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 20px;
  background: rgba(124, 58, 237, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(124, 58, 237, 0.3);
  font-size: 11px;
  font-weight: 800;
  color: var(--purple-soft);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 32px;
  overflow: visible;
}
.hero-badge .vee-badge {
  width: 50px;
  height: 50px;
  display: inline-block;
  flex-shrink: 0;
  margin: -17px 5px -17px -10px;
  animation: veeBadgeIdle 3.8s ease-in-out infinite;
  filter: drop-shadow(0 7px 16px rgba(124, 58, 237, 0.6));
}
.hero-badge .vee-badge svg {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center;
}
.hero-badge .vee-badge:hover svg {
  transform: scale(1.18);
}

/* Blink — targets every Vee eye on the page via its fill color.
     Slightly different durations make multiple Vees blink out of sync, which reads more alive. */
.hero-badge .vee-badge svg circle[fill="rgba(210,230,255,0.92)"] {
  animation-duration: 4.3s;
  animation-delay: -1.2s;
}
.final-vee circle[fill="rgba(210,230,255,0.92)"] {
  animation-duration: 6.4s;
  animation-delay: -2.6s;
}
.hero-engine-vee circle[fill="rgba(210,230,255,0.92)"] {
  animation-duration: 5.8s;
  animation-delay: -0.7s;
}
.vee-face-big circle[fill="rgba(210,230,255,0.92)"] {
  animation-duration: 5s;
}
@keyframes veeBlink {
  0%,
  86%,
  94%,
  100% {
    transform: scaleY(1);
  }
  90% {
    transform: scaleY(0.08);
  }
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.hero h1 {
  font-size: clamp(44px, 6.3vw, 86px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.98;
  margin-bottom: 28px;
  color: #fff;
}
.hero h1 .accent {
  background: linear-gradient(135deg, #a78bfa, #ec4899 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lede {
  font-size: 19px;
  color: var(--w80);
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 10px;
}
.hero p.sub {
  font-size: 14px;
  color: var(--w55);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
}
.hero-proof {
  margin-top: 28px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-proof strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hero-proof .sep {
  opacity: 0.45;
}
.hero-proof .after {
  color: rgba(255, 255, 255, 0.35);
  margin-left: 4px;
}
/* — LOGO MARQUEE (pinned to bottom edge of hero) — */
.hero-logos {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 20px 0 22px;
  overflow: hidden;
  background: linear-gradient(
    to top,
    rgba(5, 2, 8, 0.65) 0%,
    rgba(5, 2, 8, 0.2) 70%,
    transparent 100%
  );
}
.hero-logos-label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.2px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-logos-label strong {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.hero-logos-label .sep {
  opacity: 0.45;
}
.hero-logos-label .after {
  color: rgba(255, 255, 255, 0.35);
  margin-left: 4px;
}
.hero-logos-track-wrap {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 35%,
    black 65%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 35%,
    black 65%,
    transparent 100%
  );
}
.hero-logos-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: logoScroll 55s linear infinite;
}
@keyframes logoScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.logo-text {
  font-family: var(--font);
  font-size: 19px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.32);
  letter-spacing: -0.4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.25s;
}
.logo-text:hover {
  color: rgba(255, 255, 255, 0.7);
}
.logo-text.italic {
  font-style: italic;
  font-weight: 800;
}
.logo-text.thin {
  font-weight: 500;
  letter-spacing: 2px;
  font-size: 17px;
}
.logo-text.serif {
  font-family: Georgia, serif;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.3px;
}
.logo-text .dot-accent {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
  margin: 0 2px 2px 0;
  vertical-align: middle;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--w35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll-hint .line {
  width: 1px;
  height: 28px;
  background: linear-gradient(to bottom, transparent, var(--purple-light));
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%,
  100% {
    transform: scaleY(0.6);
    transform-origin: top;
    opacity: 0.5;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* — HERO VISUAL — */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(124, 58, 237, 0.15);
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(124, 58, 237, 0.18);
}
.hero-visual-split {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.hero-raw {
  background: linear-gradient(
    135deg,
    #1a0a05 0%,
    #3d1a0a 40%,
    #6b3520 70%,
    #c9551f 90%
  );
  position: relative;
  overflow: hidden;
}
.hero-raw::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 60% 30%,
      rgba(255, 240, 200, 0.35) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 30% 70%,
      rgba(236, 72, 153, 0.15) 0%,
      transparent 50%
    );
}
.hero-raw::after {
  content: "RAW";
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--w55);
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}
.hero-raw-phone {
  position: absolute;
  bottom: 20px;
  right: 18%;
  width: 50px;
  height: 90px;
  background: #0d0a14;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  animation: sway 4s ease-in-out infinite alternate;
}
@keyframes sway {
  from {
    transform: rotate(-2deg);
  }
  to {
    transform: rotate(2deg) translateY(-4px);
  }
}
.hero-raw-silhouette {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-40%);
  width: 55%;
  height: 80%;
  background: linear-gradient(
    to top,
    #000 0%,
    rgba(0, 0, 0, 0.7) 70%,
    transparent 100%
  );
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  filter: blur(1px);
}
.hero-engine {
  background: linear-gradient(135deg, #14111f 0%, #1a0f2d 50%, #0d0a14 100%);
  position: relative;
  overflow: hidden;
}
.hero-engine::before {
  content: "ENGINE";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--purple-light);
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.3);
}
.hero-engine-surface {
  position: absolute;
  inset: 30px 20px 20px;
  background: rgba(20, 17, 31, 0.7);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.engine-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: var(--w55);
  padding: 6px 0;
  border-bottom: 1px solid var(--w04);
  animation: fadeUp 0.6s ease both;
}
.engine-row:nth-child(1) {
  animation-delay: 0.2s;
}
.engine-row:nth-child(2) {
  animation-delay: 0.5s;
}
.engine-row:nth-child(3) {
  animation-delay: 0.9s;
}
.engine-row:nth-child(4) {
  animation-delay: 1.3s;
}
.engine-row:last-child {
  border-bottom: none;
}
.engine-row .check {
  color: var(--green);
  font-weight: 700;
}
.engine-row .tag {
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: auto;
  background: rgba(124, 58, 237, 0.15);
  color: var(--purple-soft);
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-engine-vee {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  animation: glow 3s ease infinite;
}
@keyframes glow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(124, 58, 237, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 22px rgba(124, 58, 237, 0.9));
  }
}
.hero-divider {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124, 58, 237, 0.8),
    transparent
  );
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
}
.hero-divider-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--purple-light);
  background: var(--dark);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(124, 58, 237, 0.4);
}

/* — SECTIONS — */
section {
  padding: 120px 40px;
  position: relative;
}
.wrap {
  max-width: 1280px;
  margin: 0 auto;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--purple-light);
}
.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: -1.8px;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 900px;
}
.section-title .accent {
  background: linear-gradient(135deg, #a78bfa, #ec4899 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc {
  font-size: 16px;
  color: var(--w55);
  line-height: 1.6;
  max-width: 620px;
  margin-bottom: 60px;
}

/* — PROBLEM — version stack — */
.problem {
  background: linear-gradient(180deg, var(--dark), #0a0510);
  overflow: hidden;
  padding-bottom: 60px;
}
.solution {
  padding-top: 60px;
  padding-bottom: 60px;
}
.concept {
  padding-top: 60px;
}
.problem .wrap {
  position: relative;
}

.stack-scene {
  position: relative;
  height: 600px;
  margin: 40px auto 20px;
  max-width: 1200px;
}
.stack-card {
  position: absolute;
  background: var(--dark2);
  border: 1px solid var(--w08);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  opacity: 0;
  transform: translateY(40px) rotate(var(--tilt, 0deg));
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.stack-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.22;
  pointer-events: none;
}
.stack-card.revealed {
  opacity: 1;
  transform: translateY(0) rotate(var(--tilt, 0deg));
}

.stack-card .card-icon {
  font-size: 20px;
  margin-bottom: 12px;
  filter: grayscale(0.25);
}
.stack-card .card-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  font-family: "Courier New", monospace;
  letter-spacing: 0.2px;
}
.stack-card .card-meta {
  font-size: 11.5px;
  color: var(--w55);
  font-family: "Courier New", monospace;
  letter-spacing: 0.2px;
}
.stack-card .card-msg {
  font-size: 12px;
  color: var(--w80);
  padding: 5px 0;
  display: flex;
  gap: 10px;
  align-items: baseline;
  border-top: 1px solid var(--w04);
}
.stack-card .card-msg:first-of-type {
  border-top: none;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--w08);
}
.stack-card .card-msg .who {
  color: var(--purple-light);
  font-weight: 700;
  font-size: 11px;
  min-width: 46px;
}
.stack-card .card-msg.muted {
  color: var(--w35);
  font-size: 10.5px;
  font-style: italic;
}
.stack-card .card-stamp {
  position: absolute;
  top: 16px;
  right: 14px;
  padding: 3px 8px;
  border: 1.5px solid rgba(239, 68, 68, 0.55);
  color: #ef4444;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  border-radius: 4px;
  transform: rotate(-12deg);
  font-family: "Courier New", monospace;
  opacity: 0.85;
}
.stack-card .card-stamp.amber {
  border-color: rgba(251, 146, 60, 0.55);
  color: #fb923c;
}

/* card positions — orbital, tight grouping around centered Slack card */
.card-pdf {
  top: 0px;
  left: 8%;
  width: 260px;
  z-index: 3;
}
.card-drive {
  top: -10px;
  left: 38%;
  width: 280px;
  z-index: 4;
}
.card-guide {
  top: 20px;
  right: 6%;
  width: 250px;
  z-index: 3;
}

.card-cal {
  top: 230px;
  left: 18%;
  width: 220px;
  z-index: 5;
}
.card-slack {
  top: 50%;
  left: 55%;
  width: 420px;
  z-index: 10;
}
.card-slack {
  transform: translate(-50%, calc(-50% + 40px)) rotate(var(--tilt, 0deg));
}
.card-slack.revealed {
  transform: translate(-50%, -50%) rotate(var(--tilt, 0deg));
}
.card-version {
  top: 210px;
  right: 2%;
  width: 280px;
  z-index: 6;
}

.card-email {
  top: 430px;
  left: 7%;
  width: 290px;
  z-index: 3;
}
.card-invoice {
  top: 450px;
  left: 38%;
  width: 280px;
  z-index: 5;
}
.card-analytics {
  top: 440px;
  right: 5%;
  width: 280px;
  z-index: 4;
}

/* Extra left-side cards filling vertical gaps */
.card-note {
  top: 120px;
  left: 0%;
  width: 190px;
  z-index: 4;
  background: linear-gradient(135deg, #3a2d16, #241a0a);
  border-color: rgba(251, 146, 60, 0.18);
}
.card-note .card-title {
  color: rgba(255, 220, 140, 0.92);
  font-family: "Outfit", sans-serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.1px;
}
.card-note .card-meta {
  color: rgba(255, 220, 140, 0.45);
  font-family: "Outfit", sans-serif;
  font-style: italic;
}

.card-render {
  top: 310px;
  left: 1%;
  width: 230px;
  z-index: 4;
}
.card-render .render-bar {
  height: 5px;
  border-radius: 3px;
  background: var(--w08);
  margin-top: 10px;
  overflow: hidden;
  position: relative;
}
.card-render .render-bar .fill {
  height: 100%;
  width: 23%;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
  animation: renderPulse 1.8s ease-in-out infinite;
}
@keyframes renderPulse {
  0%,
  100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}
.card-render .render-eta {
  font-family: "Courier New", monospace;
  font-size: 10.5px;
  color: var(--w35);
  margin-top: 8px;
  letter-spacing: 0.3px;
}

/* hover: scale + slightly more tilt (screw), bring to front */
.stack-card.revealed:hover {
  z-index: 20;
  transform: translateY(-4px) rotate(calc(var(--tilt, 0deg) * 1.5)) scale(1.05);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(124, 58, 237, 0.2);
}
.card-slack.revealed:hover {
  transform: translate(-50%, -50%) rotate(calc(var(--tilt, 0deg) * 1.5))
    scale(1.04);
}

.stack-card .card-list {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--w08);
  font-size: 11.5px;
  color: var(--w80);
  font-family: "Courier New", monospace;
}
.stack-card .card-list .line {
  display: flex;
  justify-content: space-between;
  padding: 3px 0;
  color: var(--w55);
}
.stack-card .card-list .line .fn {
  color: var(--w80);
}
.stack-card .card-list .line.muted {
  color: var(--w35);
  font-style: italic;
  font-size: 10.5px;
}

.stack-card .card-chart {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--w08);
  height: 40px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.stack-card .card-chart .bar {
  flex: 1;
  background: rgba(239, 68, 68, 0.3);
  border-radius: 2px 2px 0 0;
}
.stack-card .card-chart .bar.dim {
  background: rgba(255, 255, 255, 0.08);
}

.stack-card .card-amount {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  font-family: "Courier New", monospace;
  margin-top: 6px;
  letter-spacing: -0.5px;
}
.stack-card .card-amount .unit {
  font-size: 13px;
  color: var(--w55);
  font-weight: 400;
  margin-left: 4px;
}

.problem-outro {
  margin: 100px auto 0;
  text-align: center;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.problem-outro p {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}
.problem-outro p.muted {
  color: var(--w55);
  font-weight: 500;
}
.problem-outro .arrow-down {
  display: block;
  color: var(--purple-light);
  font-size: 28px;
  margin-top: 14px;
  animation: outroBounce 2.2s ease infinite;
}
@keyframes outroBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

@media (max-width: 900px) {
  /* Trim down to 5 narratively-important cards on mobile (incl. invoice) */
  .card-guide,
  .card-note,
  .card-drive,
  .card-version,
  .card-email,
  .card-analytics {
    display: none;
  }

  /* Stack the remaining 4 cards vertically — same look as desktop,
       just flowing top-to-bottom instead of laid out absolutely. */
  .stack-scene {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
  }
  .stack-card {
    position: static !important;
    width: auto !important;
    max-width: none !important;
    --tilt: 0deg !important;
  }
  /* Kill the desktop transforms that would offset the cards */
  .stack-card,
  .stack-card.revealed,
  .card-slack,
  .card-slack.revealed {
    transform: translateY(40px) !important;
  }
  .stack-card.revealed,
  .card-slack.revealed {
    transform: translateY(0) !important;
  }

  /* Disable hover transforms on touch */
  .stack-card:hover,
  .stack-card.revealed:hover,
  .card-slack:hover,
  .card-slack.revealed:hover {
    transform: translateY(0) !important;
  }
}

/* — SOLUTION — */
.solution {
  background: linear-gradient(180deg, #0a0510, var(--dark));
  text-align: center;
}
.solution-lead {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.05;
  max-width: 900px;
  margin: 0 auto 24px;
}
.solution-lead .accent {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.solution-sub {
  font-size: 17px;
  color: var(--w55);
  max-width: 560px;
  margin: 0 auto 80px;
  line-height: 1.6;
}

/* Inline delta in the Engine subtitle — "30 days → 24 hours" */
.delta-strike {
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.65);
  text-decoration-thickness: 2px;
  color: var(--w35);
}
.delta-arrow {
  display: inline-block;
  color: var(--purple-light);
  margin: 0 2px;
  animation: deltaArrow 2s ease infinite;
}
@keyframes deltaArrow {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}
.delta-value {
  font-weight: 800;
  background: linear-gradient(135deg, #a78bfa, #ec4899 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* — ENGINE PIPELINE — live flow of 4 cards — */
.engine-pipeline {
  position: relative;
  max-width: 1240px;
  margin: 60px auto 0;
  height: 440px;
  padding: 0 20px;
}
.pc-caption {
  font-size: 12px;
  font-style: italic;
  color: var(--purple-light);
  text-align: center;
  letter-spacing: 0.2px;
  line-height: 1.4;
  transform: rotate(var(--tilt, 0deg));
  transform-origin: center center;
  opacity: 0;
  transition: opacity 0.5s ease 0.3s;
}
.pipeline-slot .pipeline-card.revealed ~ .pc-caption {
  opacity: 1;
}
.engine-pipeline::before {
  content: "";
  position: absolute;
  top: -45%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 700px;
  background: radial-gradient(
    ellipse,
    rgba(124, 58, 237, 0.12) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

/* Flow track — dashed purple path connecting the cards, behind them */
.pipeline-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 22%,
    black 78%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 22%,
    black 78%,
    transparent 100%
  );
}
.pipeline-track path {
  stroke: rgba(124, 58, 237, 0.45);
  stroke-width: 2;
  stroke-dasharray: 4 8;
  fill: none;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(124, 58, 237, 0.35));
  animation: trackPulse 4s ease-in-out infinite;
}
@keyframes trackPulse {
  0%,
  100% {
    stroke-opacity: 0.45;
  }
  50% {
    stroke-opacity: 0.75;
  }
}

/* Traveling clip pill — rides the path */
.pipeline-clip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 15;
  padding: 5px 10px 5px 8px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  border-radius: 100px;
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow:
    0 0 16px rgba(124, 58, 237, 0.7),
    0 0 4px rgba(124, 58, 237, 1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  white-space: nowrap;
  offset-path: path(
    "M 140 5 C 280 5, 280 50, 420 50 C 560 50, 560 15, 720 15 C 880 15, 880 45, 1060 45 L 1180 45"
  );
  offset-rotate: 0deg;
  animation: clipFlow 12s linear infinite;
}
.pipeline-clip .clip-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 4px rgba(255, 255, 255, 1);
  animation: statusPulse 1.2s ease infinite;
}
@keyframes clipFlow {
  0% {
    offset-distance: 0%;
  }
  100% {
    offset-distance: 100%;
  }
}

.pipeline-slot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  z-index: 2;
}
.pipeline-card {
  position: relative;
  background: rgba(20, 17, 31, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(124, 58, 237, 0.08);
  opacity: 0;
  transform: translateY(30px) rotate(var(--tilt, 0deg));
  transition:
    opacity 0.7s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.25s,
    border-color 0.25s;
}
.pipeline-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.08;
  pointer-events: none;
}
.pipeline-card.revealed {
  opacity: 1;
  transform: translateY(0) rotate(var(--tilt, 0deg));
}
.pipeline-card.revealed:hover {
  z-index: 20;
  transform: translateY(-4px) rotate(calc(var(--tilt, 0deg) * 1.4)) scale(1.04);
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow:
    0 36px 80px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(124, 58, 237, 0.4);
}

.slot-ideate {
  top: 30px;
  left: -1%;
  width: 300px;
  --tilt: -3deg;
}
.slot-capture {
  top: 80px;
  left: 26%;
  width: 230px;
  --tilt: 2deg;
}
.slot-create {
  top: 40px;
  left: 48%;
  width: 330px;
  --tilt: -2deg;
}
.slot-connect {
  top: 70px;
  left: 77%;
  width: 280px;
  --tilt: 3deg;
}

@media (max-width: 900px) {
  .engine-pipeline {
    height: auto;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .engine-pipeline .pipeline-track,
  .engine-pipeline .pipeline-clip {
    display: none;
  }
  .pipeline-slot {
    position: static;
    width: 100% !important;
    left: auto !important;
    top: auto !important;
    --tilt: 0deg !important;
  }
  .pipeline-card {
    transform: translateY(0) rotate(0deg);
  }
}

/* card inner — shared */
.pc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--w04);
}
.pc-head-l {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.pc-title {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.2px;
}
.pc-meta {
  font-size: 10.5px;
  color: var(--w55);
  margin-top: 2px;
  letter-spacing: 0.1px;
}
.pc-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border: 1px solid;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.pc-badge.green {
  background: rgba(52, 211, 153, 0.1);
  color: var(--green);
  border-color: rgba(52, 211, 153, 0.3);
}
.pc-badge.purple {
  background: rgba(124, 58, 237, 0.15);
  color: var(--purple-light);
  border-color: rgba(124, 58, 237, 0.3);
}
.pc-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--w04);
  font-size: 10.5px;
  color: var(--w55);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: statusPulse 2s ease infinite;
}
@keyframes statusPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

/* IDEATE card */
.card-ideate .vee-mini {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 0 8px rgba(124, 58, 237, 0.6));
  animation: idleFloat 3s ease infinite;
  flex-shrink: 0;
}
@keyframes idleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}
.pc-ideas {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.idea-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 11.5px;
  color: var(--w80);
  border-bottom: 1px solid var(--w04);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.idea-row:last-child {
  border-bottom: none;
}
.idea-row.on {
  opacity: 1;
  transform: translateY(0);
}
.idea-emoji {
  font-size: 14px;
  flex-shrink: 0;
}
.idea-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.1px;
}
.idea-pill {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 100px;
  flex-shrink: 0;
}
.idea-pill.trending {
  background: rgba(251, 146, 60, 0.14);
  color: var(--orange);
  border: 1px solid rgba(251, 146, 60, 0.3);
}
.idea-pill.voice {
  background: rgba(52, 211, 153, 0.12);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.idea-pill.hot {
  background: rgba(236, 72, 153, 0.12);
  color: var(--coral);
  border: 1px solid rgba(236, 72, 153, 0.3);
}

/* CAPTURE card — phone mock */
.phone-mock {
  background: #050208;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  padding: 12px 10px;
  margin: 2px 0 8px;
  position: relative;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.phone-mock::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.phone-brief {
  margin-top: 16px;
  font-size: 11px;
  color: var(--w80);
  line-height: 1.45;
  padding: 10px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 10px;
}
.phone-brief .who {
  font-size: 9px;
  color: var(--purple-light);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.phone-capture-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}
.phone-record {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ef4444;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  animation: recordPulse 1.8s ease infinite;
}
@keyframes recordPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
}
.phone-timer {
  font-family: "Courier New", monospace;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  font-variant-numeric: tabular-nums;
}

/* CREATE card — timeline */
.timeline-box {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  padding: 10px;
  margin: 2px 0 6px;
  position: relative;
  overflow: hidden;
}
.timeline-track {
  height: 16px;
  border-radius: 4px;
  margin-bottom: 6px;
  display: flex;
  gap: 2px;
  position: relative;
}
.timeline-track:last-child {
  margin-bottom: 0;
}
.timeline-track .blk {
  flex: 1;
  border-radius: 3px;
  background: rgba(124, 58, 237, 0.35);
}
.timeline-track.video .blk {
  background: linear-gradient(
    90deg,
    rgba(167, 139, 250, 0.5),
    rgba(124, 58, 237, 0.4)
  );
}
.timeline-track.audio .blk {
  background: rgba(96, 165, 250, 0.3);
}
.timeline-track.audio .blk:nth-child(odd) {
  opacity: 0.7;
}
.timeline-track.subs {
  background: rgba(255, 255, 255, 0.03);
  font-size: 9px;
  color: var(--purple-soft);
  align-items: center;
  padding: 0 6px;
  font-family: "Courier New", monospace;
  white-space: nowrap;
  overflow: hidden;
}
.timeline-track.subs::before {
  content: attr(data-sub);
  opacity: 0.9;
}
.timeline-track.brand .blk {
  background: linear-gradient(90deg, var(--purple), var(--coral));
  border-radius: 3px;
}
.timeline-playhead {
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #fff;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.9),
    0 0 4px var(--purple);
  left: 0;
  animation: playheadSweep 5.5s linear infinite;
  z-index: 2;
}
@keyframes playheadSweep {
  0% {
    left: 4%;
  }
  100% {
    left: 96%;
  }
}

/* CONNECT card — platforms */
.platforms-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 4px 0 6px;
}
.platform-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--w04);
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--w80);
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.platform-row.on {
  opacity: 1;
  transform: translateX(0);
}
.platform-row .p-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.platform-row .p-chip {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--dark3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.platform-row .p-chip svg {
  width: 11px;
  height: 11px;
  display: block;
}
.platform-row .p-chip.tt {
  background: #000;
}
.platform-row .p-chip.ig {
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e6683c 35%,
    #dc2743 50%,
    #cc2366 65%,
    #bc1888 100%
  );
}
.platform-row .p-chip.li {
  background: #0a66c2;
}
.platform-row .p-chip.yt {
  background: #ff0000;
}
.platform-row .p-check {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #000;
  font-weight: 900;
  opacity: 0;
  transition: opacity 0.3s ease 0.2s;
}
.platform-row.on .p-check {
  opacity: 1;
}
.views-ticker {
  font-family: "Courier New", monospace;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}
.sparkline {
  color: var(--green);
  letter-spacing: -2px;
  font-weight: 900;
  font-size: 14px;
}

/* Engine section handoff line — matches .problem-outro exactly */
.engine-handoff {
  margin: 100px auto 0;
  text-align: center;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.engine-handoff p {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}
.engine-handoff p.muted {
  color: var(--w55);
  font-weight: 500;
}
.engine-handoff .engine-deeper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 18px;
  border-radius: 100px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--purple-light);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition:
    background 0.15s,
    transform 0.15s,
    border-color 0.15s;
}
.engine-handoff .engine-deeper:hover {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.5);
  transform: translateY(-1px);
}
.engine-handoff .engine-deeper .arrow {
  transition: transform 0.2s;
}
.engine-handoff .engine-deeper:hover .arrow {
  transform: translateX(3px);
}
.engine-handoff .arrow-down {
  display: block;
  color: var(--purple-light);
  font-size: 28px;
  margin-top: 14px;
  animation: outroBounce 2.2s ease infinite;
}

/* Engine pipeline — stack the 4 absolute-positioned cards on phones */
@media (max-width: 900px) {
  .engine-pipeline {
    height: auto;
    padding: 0 4px;
    margin-top: 32px;
  }
  .pipeline-slot {
    position: static;
    width: auto !important;
    --tilt: 0deg !important;
    margin-bottom: 24px;
  }
  .pipeline-slot:last-child {
    margin-bottom: 0;
  }
  .pipeline-card {
    transform: none !important;
  }
  .pipeline-card.revealed {
    transform: none !important;
  }
  /* Hide the dashed flow track + traveling clip pill — only meaningful in the
       horizontal desktop layout */
  .pipeline-track,
  .pipeline-clip {
    display: none !important;
  }
  .pc-caption {
    transform: none !important;
  }
}

/* — PROOF / CASE STUDY — */
.proof {
  background: var(--dark);
  padding-top: 60px;
  padding-bottom: 60px;
}
.proof .wrap {
  text-align: center;
}
.proof .section-title,
.proof .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* — Case study grid — horizontal scroller — */
.case-grid-wrap {
  position: relative;
  margin: 48px 0 0;
}
.case-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 30px 40px 26px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 3%,
    black 97%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 3%,
    black 97%,
    transparent 100%
  );
}
.case-grid::-webkit-scrollbar {
  display: none;
}

.case-card {
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 9 / 16;
  scroll-snap-align: start;
  position: relative;
  border-radius: 18px;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  background-size: cover;
  background-position: center;
  background-color: #0d0a14;
}
.case-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(13, 10, 20, 0) 0%,
    rgba(13, 10, 20, 0.25) 45%,
    rgba(5, 2, 8, 0.92) 100%
  );
  z-index: 1;
}
.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.18;
  z-index: 2;
  pointer-events: none;
}
.case-card:hover {
  transform: translateY(-5px) scale(1.015);
  box-shadow:
    0 30px 68px rgba(0, 0, 0, 0.75),
    0 0 50px rgba(124, 58, 237, 0.22);
}

/* Brand tints per card */
.case-card[data-tint="teal"]::before {
  background: linear-gradient(
    180deg,
    rgba(30, 70, 65, 0.35) 0%,
    rgba(16, 40, 38, 0.55) 45%,
    rgba(5, 16, 16, 0.95) 100%
  );
}
.case-card[data-tint="amber"]::before {
  background: linear-gradient(
    180deg,
    rgba(82, 40, 15, 0.35) 0%,
    rgba(52, 24, 10, 0.6) 45%,
    rgba(16, 8, 4, 0.95) 100%
  );
}
.case-card[data-tint="coral"]::before {
  background: linear-gradient(
    180deg,
    rgba(90, 25, 50, 0.35) 0%,
    rgba(60, 16, 36, 0.6) 45%,
    rgba(20, 6, 14, 0.95) 100%
  );
}
.case-card[data-tint="purple"]::before {
  background: linear-gradient(
    180deg,
    rgba(50, 28, 86, 0.35) 0%,
    rgba(32, 18, 60, 0.6) 45%,
    rgba(12, 8, 26, 0.95) 100%
  );
}
.case-card[data-tint="blue"]::before {
  background: linear-gradient(
    180deg,
    rgba(24, 44, 78, 0.35) 0%,
    rgba(14, 28, 52, 0.6) 45%,
    rgba(6, 12, 22, 0.95) 100%
  );
}

/* Card brand logo — top right, tilted, floating, fits brand name */
.case-card .case-brand-logo {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d0a14;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  max-width: calc(100% - 28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  z-index: 4;
  animation: caseLogoFloat 3.6s ease-in-out infinite;
}

/* First-frame thumbnail — sits behind gradients, fills card */
.case-card .case-card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  background: #0d0a14;
}
/* Stagger + per-card skew variation */
.case-card:nth-child(1) .case-brand-logo {
  animation-duration: 4.1s;
  animation-delay: 0s;
  --skew-a: -7deg;
  --skew-b: -4deg;
}
.case-card:nth-child(2) .case-brand-logo {
  animation-duration: 3.4s;
  animation-delay: -1.7s;
  --skew-a: -5deg;
  --skew-b: -3deg;
}
.case-card:nth-child(3) .case-brand-logo {
  animation-duration: 4.8s;
  animation-delay: -2.9s;
  --skew-a: -6deg;
  --skew-b: -3deg;
}
.case-card:nth-child(4) .case-brand-logo {
  animation-duration: 3.7s;
  animation-delay: -0.5s;
  --skew-a: -4deg;
  --skew-b: -6deg;
}
.case-card:nth-child(5) .case-brand-logo {
  animation-duration: 4.3s;
  animation-delay: -3.1s;
  --skew-a: -8deg;
  --skew-b: -5deg;
}
.case-card:nth-child(6) .case-brand-logo {
  animation-duration: 3.2s;
  animation-delay: -1.2s;
  --skew-a: -6deg;
  --skew-b: -4deg;
}
.case-card:nth-child(7) .case-brand-logo {
  animation-duration: 4.6s;
  animation-delay: -2.4s;
  --skew-a: -5deg;
  --skew-b: -2deg;
}
.case-card:nth-child(8) .case-brand-logo {
  animation-duration: 3.9s;
  animation-delay: -0.8s;
  --skew-a: -3deg;
  --skew-b: -5deg;
}
.case-card:nth-child(9) .case-brand-logo {
  animation-duration: 4s;
  animation-delay: -3.4s;
  --skew-a: -7deg;
  --skew-b: -4deg;
}
.case-card:nth-child(10) .case-brand-logo {
  animation-duration: 3.5s;
  animation-delay: -1.5s;
  --skew-a: -5deg;
  --skew-b: -7deg;
}
.case-card:nth-child(11) .case-brand-logo {
  animation-duration: 4.7s;
  animation-delay: -2.7s;
  --skew-a: -6deg;
  --skew-b: -3deg;
}
.case-card:nth-child(12) .case-brand-logo {
  animation-duration: 3.3s;
  animation-delay: -0.3s;
  --skew-a: -4deg;
  --skew-b: -2deg;
}
.case-card:nth-child(13) .case-brand-logo {
  animation-duration: 4.4s;
  animation-delay: -2s;
  --skew-a: -8deg;
  --skew-b: -6deg;
}
.case-card:nth-child(14) .case-brand-logo {
  animation-duration: 3.8s;
  animation-delay: -1s;
  --skew-a: -6deg;
  --skew-b: -4deg;
}
.case-card:nth-child(15) .case-brand-logo {
  animation-duration: 4.2s;
  animation-delay: -3.2s;
  --skew-a: -4deg;
  --skew-b: -2deg;
}
.case-card:nth-child(16) .case-brand-logo {
  animation-duration: 3.6s;
  animation-delay: -0.6s;
  --skew-a: -7deg;
  --skew-b: -5deg;
}
.case-card:nth-child(17) .case-brand-logo {
  animation-duration: 4.5s;
  animation-delay: -1.9s;
  --skew-a: -6deg;
  --skew-b: -4deg;
}
.case-card:nth-child(18) .case-brand-logo {
  animation-duration: 3.1s;
  animation-delay: -2.6s;
  --skew-a: -3deg;
  --skew-b: -1deg;
}
.case-card:nth-child(19) .case-brand-logo {
  animation-duration: 4.9s;
  animation-delay: -1.1s;
  --skew-a: -5deg;
  --skew-b: -3deg;
}
.case-card:nth-child(20) .case-brand-logo {
  animation-duration: 3.4s;
  animation-delay: -2.8s;
  --skew-a: -5deg;
  --skew-b: -7deg;
}
.case-card:nth-child(21) .case-brand-logo {
  animation-duration: 4.1s;
  animation-delay: -0.7s;
  --skew-a: -7deg;
  --skew-b: -5deg;
}
.case-card:nth-child(22) .case-brand-logo {
  animation-duration: 3.7s;
  animation-delay: -2.3s;
  --skew-a: -4deg;
  --skew-b: -6deg;
}
.case-card:nth-child(23) .case-brand-logo {
  animation-duration: 4.6s;
  animation-delay: -1.6s;
  --skew-a: -6deg;
  --skew-b: -3deg;
}
.case-card:nth-child(24) .case-brand-logo {
  animation-duration: 3.9s;
  animation-delay: -0.4s;
  --skew-a: -5deg;
  --skew-b: -3deg;
}
.case-card:nth-child(25) .case-brand-logo {
  animation-duration: 4.2s;
  animation-delay: -3s;
  --skew-a: -8deg;
  --skew-b: -6deg;
}
.case-card:nth-child(26) .case-brand-logo {
  animation-duration: 3.6s;
  animation-delay: -1.4s;
  --skew-a: -5deg;
  --skew-b: -2deg;
}
.case-card:nth-child(27) .case-brand-logo {
  animation-duration: 4.4s;
  animation-delay: -2.1s;
  --skew-a: -6deg;
  --skew-b: -4deg;
}
.case-card:nth-child(28) .case-brand-logo {
  animation-duration: 3.3s;
  animation-delay: -0.9s;
  --skew-a: -4deg;
  --skew-b: -7deg;
}
.case-card:nth-child(29) .case-brand-logo {
  animation-duration: 4.7s;
  animation-delay: -2.5s;
  --skew-a: -7deg;
  --skew-b: -3deg;
}
.case-card .case-brand-logo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
  display: block;
}
@keyframes caseLogoFloat {
  0%,
  100% {
    translate: 0 0;
    rotate: var(--skew-a, -6deg);
  }
  50% {
    translate: 0 -5px;
    rotate: var(--skew-b, -4deg);
  }
}
/* Video-type label — bottom-left, small uppercase */
.case-card .case-card-type {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  z-index: 4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}
/* Hover: scale up — uses separate 'scale' property so it doesn't conflict with animation's translate/rotate */
.case-brand-logo {
  scale: 1;
  transition: scale 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-brand-logo:hover {
  scale: 1.03;
}

/* Play button centered on each card */
.case-card .case-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.6);
  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.4s ease;
  z-index: 3;
  animation: playPulse 2.4s ease-in-out infinite;
}
.case-card .case-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 5px;
  border-left: 14px solid var(--dark);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.case-card:hover .case-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
  box-shadow: 0 12px 44px rgba(124, 58, 237, 0.8);
}
@keyframes playPulse {
  0%,
  100% {
    box-shadow:
      0 8px 32px rgba(124, 58, 237, 0.6),
      0 0 0 0 rgba(124, 58, 237, 0.5);
  }
  50% {
    box-shadow:
      0 8px 32px rgba(124, 58, 237, 0.6),
      0 0 0 14px rgba(124, 58, 237, 0);
  }
}

/* Card bottom — quote + attribution */
.case-card-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px 18px;
  color: #fff;
  z-index: 3;
}
.case-card-bottom .case-quote {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.32;
  color: #fff;
  margin: 0 0 10px;
  font-style: italic;
  letter-spacing: -0.1px;
}
.case-card-bottom .case-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.1px;
}
.case-card-bottom .case-role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
}

/* Nav arrows */
.case-nav {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 17, 31, 0.95);
  border: 1px solid rgba(124, 58, 237, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.2s,
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.case-nav.prev {
  left: 4px;
}
.case-nav.next {
  right: 4px;
}
.case-nav:hover {
  background: rgba(124, 58, 237, 0.24);
  border-color: rgba(124, 58, 237, 0.65);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 32px rgba(124, 58, 237, 0.4);
}

.case-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--w08);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--w08);
}
.case-stat {
  background: var(--dark2);
  padding: 26px 20px;
  text-align: center;
  transition: background 0.2s;
}
.case-stat:hover {
  background: rgba(124, 58, 237, 0.08);
}
.case-stat-num {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 6px;
}
.case-stat-num.accent {
  background: linear-gradient(135deg, #a78bfa, #ec4899 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.case-stat-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--w55);
}

@media (max-width: 900px) {
  .case-meta {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .case-attribution {
    text-align: left;
  }
  /* Stay horizontal as 3 columns on mobile, just sized down */
  .case-stats {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .case-stat {
    padding: 22px 8px !important;
  }
  .case-stat-num {
    font-size: clamp(22px, 6vw, 30px) !important;
    letter-spacing: -0.8px !important;
    line-height: 1;
  }
  .case-stat-label {
    font-size: 9.5px !important;
    letter-spacing: 0.8px !important;
    margin-top: 6px;
  }
}

/* — CONCEPT / HUMAN + ENGINE DUALITY — */
.concept {
  background: var(--dark);
}
/* Accordion layout for 3 pillars */
.concept-accordion {
  display: flex;
  gap: 14px;
  height: 560px;
  overflow: hidden;
}
.concept-panel {
  position: relative;
  flex: 0.22;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: flex;
  background-size: cover;
  background-position: center;
  background-color: #0d0a14;
}
.concept-panel.expanded {
  flex: 1;
  cursor: default;
}

/* Big pillar name — dominant in both states */
.panel-name {
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 0.85;
  color: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  margin-bottom: 6px;
  transition: color 0.5s ease;
}
.concept-panel.expanded .panel-name {
  color: rgba(255, 255, 255, 0.18);
}
.concept-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
  transition: background 0.5s ease;
}
/* Per-panel accent colors matching platform: Capture=orange, Create=blue, Connect=pink */
.concept-panel[data-tint="capture"] {
  border: 1px solid rgba(251, 146, 60, 0.18);
}
.concept-panel[data-tint="create"] {
  border: 1px solid rgba(96, 165, 250, 0.18);
}
.concept-panel[data-tint="connect"] {
  border: 1px solid rgba(236, 72, 153, 0.18);
}
.concept-panel.expanded[data-tint="capture"] {
  border-color: rgba(251, 146, 60, 0.35);
  box-shadow:
    0 0 40px rgba(251, 146, 60, 0.1),
    0 20px 50px rgba(0, 0, 0, 0.4);
}
.concept-panel.expanded[data-tint="create"] {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow:
    0 0 40px rgba(96, 165, 250, 0.1),
    0 20px 50px rgba(0, 0, 0, 0.4);
}
.concept-panel.expanded[data-tint="connect"] {
  border-color: rgba(236, 72, 153, 0.35);
  box-shadow:
    0 0 40px rgba(236, 72, 153, 0.1),
    0 20px 50px rgba(0, 0, 0, 0.4);
}
.concept-panel[data-tint="capture"]::before {
  background: linear-gradient(
    180deg,
    rgba(251, 146, 60, 0.1) 0%,
    rgba(251, 146, 60, 0.02) 50%,
    transparent 100%
  );
}
.concept-panel[data-tint="create"]::before {
  background: linear-gradient(
    180deg,
    rgba(96, 165, 250, 0.1) 0%,
    rgba(96, 165, 250, 0.02) 50%,
    transparent 100%
  );
}
.concept-panel[data-tint="connect"]::before {
  background: linear-gradient(
    180deg,
    rgba(236, 72, 153, 0.1) 0%,
    rgba(236, 72, 153, 0.02) 50%,
    transparent 100%
  );
}

/* Video container inside each expanded panel */
.panel-video {
  margin-top: 20px;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
.panel-video video,
.panel-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.panel-video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.5);
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.panel-video-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 12px solid var(--dark);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}
.panel-video:hover .panel-video-play {
  transform: translate(-50%, -50%) scale(1.08);
}
.panel-video-label {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  z-index: 2;
}
.panel-sub {
  font-size: 14px;
  color: var(--w55);
  line-height: 1.5;
  margin-top: 8px;
}

.concept-panel-content {
  position: relative;
  z-index: 3;
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.panel-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.concept-panel[data-tint="capture"] .panel-label {
  color: var(--orange);
}
.concept-panel[data-tint="create"] .panel-label {
  color: var(--blue);
}
.concept-panel[data-tint="connect"] .panel-label {
  color: var(--coral);
}
.panel-headline {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
  line-height: 1.1;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.panel-details-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.concept-panel.expanded .panel-details-wrap {
  grid-template-rows: 1fr;
}
.panel-details {
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.35s ease 0.1s;
}
.concept-panel.expanded .panel-details {
  opacity: 1;
}
.panel-details ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.panel-details li {
  font-size: 13px;
  font-weight: 600;
  color: var(--w80);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}
.panel-details .bullet-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.panel-details .bullet-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}
.concept-panel[data-tint="capture"] .bullet-icon {
  background: rgba(251, 146, 60, 0.08);
  border: 1px solid rgba(251, 146, 60, 0.25);
  color: var(--orange);
}
.concept-panel[data-tint="create"] .bullet-icon {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--purple-light);
}
.concept-panel[data-tint="connect"] .bullet-icon {
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.3);
  color: #93c5fd;
}

.panel-hint {
  margin-top: auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: opacity 0.3s ease;
  padding-top: 16px;
}
.concept-panel.expanded .panel-hint {
  opacity: 0;
  pointer-events: none;
}

/* Mini demos inside expanded panels */
.panel-demo {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.mini-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 6px;
}
.mini-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple), var(--purple-light));
  border-radius: 2px;
  animation: miniFill 4s ease-in-out infinite;
}
@keyframes miniFill {
  0%,
  100% {
    width: 0%;
  }
  80% {
    width: 100%;
  }
}
.mini-status {
  font-size: 10px;
  color: var(--w55);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.mini-platforms {
  display: flex;
  gap: 8px;
}
.mini-plat {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.5);
  animation: miniCheck 5s ease infinite;
}
.mini-plat:nth-child(1) {
  animation-delay: 0s;
}
.mini-plat:nth-child(2) {
  animation-delay: 0.6s;
}
.mini-plat:nth-child(3) {
  animation-delay: 1.2s;
}
.mini-plat:nth-child(4) {
  animation-delay: 1.8s;
}
@keyframes miniCheck {
  0%,
  20%,
  100% {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.08);
  }
  30%,
  70% {
    background: rgba(52, 211, 153, 0.15);
    color: var(--green);
    border-color: rgba(52, 211, 153, 0.3);
  }
}
.mini-ideas {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mini-idea {
  font-size: 12px;
  color: var(--w80);
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}
.mini-idea.on {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .concept-accordion {
    flex-direction: column;
    gap: 16px;
    height: auto !important;
  }
  .concept-panel {
    flex: none !important;
    min-height: 460px !important; /* scale image area up on phones */
  }
  .panel-details-wrap {
    grid-template-rows: 1fr !important;
  }
  .panel-details {
    opacity: 1 !important;
  }
  .panel-hint {
    display: none;
  }
  /* Lighten the dark gradient overlays so the image shows through more on mobile */
  .concept-capture {
    background:
      linear-gradient(
        180deg,
        rgba(8, 3, 1, 0.55) 0%,
        rgba(8, 3, 1, 0.78) 65%,
        rgba(20, 9, 3, 0.92) 100%
      ),
      url("https://vedio-public-production.b-cdn.net/website/images/concepts/concept-story.jpg")
        center/cover no-repeat !important;
  }
  .concept-create {
    background:
      linear-gradient(
        180deg,
        rgba(8, 6, 22, 0.55) 0%,
        rgba(16, 14, 25, 0.8) 65%,
        rgba(22, 18, 34, 0.92) 100%
      ),
      url("https://vedio-public-production.b-cdn.net/website/images/concepts/concept-engine.jpg")
        center/cover no-repeat !important;
  }
  .concept-connect {
    background:
      linear-gradient(
        180deg,
        rgba(6, 14, 26, 0.55) 0%,
        rgba(12, 24, 44, 0.8) 65%,
        rgba(24, 44, 72, 0.92) 100%
      ),
      url("https://vedio-public-production.b-cdn.net/website/images/concepts/concept-connect.jpg")
        center/cover no-repeat !important;
  }
}

/* Converging sparks — both sides meet in the center + */
.concept-spark {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 14px rgba(167, 139, 250, 1),
    0 0 4px rgba(255, 255, 255, 1);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-50%);
}
.concept-spark.from-left {
  animation: sparkFromLeft 4s ease-in-out infinite;
}
.concept-spark.from-right {
  animation: sparkFromRight 4s ease-in-out infinite;
}
@keyframes sparkFromLeft {
  0% {
    left: 18%;
    opacity: 0;
    transform: translateY(-50%) scale(0.3);
  }
  15% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  75% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  92% {
    left: calc(50% - 55px);
    opacity: 0.5;
    transform: translateY(-50%) scale(0.6);
  }
  100% {
    left: calc(50% - 55px);
    opacity: 0;
    transform: translateY(-50%) scale(0.2);
  }
}
@keyframes sparkFromRight {
  0% {
    left: 82%;
    opacity: 0;
    transform: translateY(-50%) scale(0.3);
  }
  15% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  75% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  92% {
    left: calc(50% - 55px);
    opacity: 0.5;
    transform: translateY(-50%) scale(0.6);
  }
  100% {
    left: calc(50% - 55px);
    opacity: 0;
    transform: translateY(-50%) scale(0.2);
  }
}
.concept-side {
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.concept-capture {
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(255, 210, 140, 0.06),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      rgba(8, 3, 1, 0.95) 0%,
      rgba(20, 9, 3, 0.92) 55%,
      rgba(40, 18, 10, 0.88) 100%
    ),
    url("https://vedio-public-production.b-cdn.net/website/images/concepts/concept-story.jpg")
      center/cover no-repeat;
}
.concept-capture::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.25;
  pointer-events: none;
}
.concept-create {
  background:
    radial-gradient(
      circle at 70% 80%,
      rgba(124, 58, 237, 0.18),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      rgba(8, 6, 22, 0.97) 0%,
      rgba(16, 14, 25, 0.95) 50%,
      rgba(22, 18, 34, 0.92) 100%
    ),
    url("https://vedio-public-production.b-cdn.net/website/images/concepts/concept-engine.jpg")
      center/cover no-repeat;
}
.concept-create::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.18;
  pointer-events: none;
}
.concept-connect {
  background:
    radial-gradient(
      circle at 30% 80%,
      rgba(96, 165, 250, 0.12),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      rgba(6, 14, 26, 0.95) 0%,
      rgba(12, 24, 44, 0.93) 55%,
      rgba(24, 44, 72, 0.88) 100%
    ),
    url("https://vedio-public-production.b-cdn.net/website/images/concepts/concept-connect.jpg")
      center/cover no-repeat;
}
.concept-connect::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.25;
  pointer-events: none;
}
.concept-connect .concept-side-label {
  color: #93c5fd;
}
.concept-connect .bullet-icon {
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.32);
  color: #93c5fd;
}
.concept-connect li:hover .bullet-icon {
  border-color: rgba(96, 165, 250, 0.55);
}
.concept-side-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.concept-capture .concept-side-label {
  color: rgba(251, 146, 60, 0.9);
}
.concept-create .concept-side-label {
  color: var(--purple-light);
}
.concept-side h3 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
  margin: 16px 0 24px;
}
.concept-side ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.concept-side li {
  font-size: 14px;
  font-weight: 600;
  color: var(--w80);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  transition:
    color 0.2s,
    transform 0.2s;
}
.concept-side li:hover {
  color: #fff;
}
.bullet-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.2s;
  transform-origin: center center;
}
.bullet-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
}
.concept-capture .bullet-icon {
  background: rgba(251, 146, 60, 0.08);
  border: 1px solid rgba(251, 146, 60, 0.28);
  color: var(--orange);
}
.concept-create .bullet-icon {
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.32);
  color: var(--purple-light);
}
.concept-side li:hover .bullet-icon {
  transform: scale(1.12) rotate(-4deg);
}
.concept-capture li:hover .bullet-icon {
  border-color: rgba(251, 146, 60, 0.5);
}
.concept-create li:hover .bullet-icon {
  border-color: rgba(124, 58, 237, 0.55);
}

/* Idle animations for specific icons */
.bullet-icon.wobble {
  animation: bulletWobble 3.5s ease-in-out infinite;
}
@keyframes bulletWobble {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(3deg);
  }
}
.bullet-icon.spin {
  animation: bulletSpin 5s linear infinite;
}
@keyframes bulletSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.bullet-icon.twinkle {
  animation: bulletTwinkle 2.5s ease-in-out infinite;
}
@keyframes bulletTwinkle {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(0.92);
  }
}
.bullet-icon.glow-pulse {
  animation: bulletGlow 3s ease-in-out infinite;
}
@keyframes bulletGlow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(251, 146, 60, 0);
  }
  50% {
    box-shadow: 0 0 14px rgba(251, 146, 60, 0.35);
  }
}
.concept-divider {
  width: 1px;
  background: var(--w08);
  position: relative;
}
.concept-arrow-mid {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow:
    0 8px 32px rgba(124, 58, 237, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  z-index: 4;
  animation: conceptPulse 3s ease-in-out infinite;
}
.concept-arrow-mid svg {
  width: 24px;
  height: 24px;
}
@keyframes conceptPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow:
      0 8px 32px rgba(124, 58, 237, 0.6),
      0 0 0 0 rgba(124, 58, 237, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    box-shadow:
      0 8px 48px rgba(124, 58, 237, 0.9),
      0 0 0 12px rgba(124, 58, 237, 0),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
}
/* The three pillars — the engine's moves, philosophical level */
.concept-pillars-lead {
  margin: 48px auto 22px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--purple-light);
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.concept-pillars-lead::before,
.concept-pillars-lead::after {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(167, 139, 250, 0.4);
}
.concept-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.concept-pillar {
  background: var(--dark2);
  border: 1px solid var(--w08);
  border-radius: 16px;
  padding: 26px 24px;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s,
    box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}
.concept-pillar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.08;
  pointer-events: none;
}
.concept-pillar:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.38);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(124, 58, 237, 0.18);
}
.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.3);
  color: var(--purple-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.concept-pillar:hover .pillar-icon {
  transform: scale(1.08) rotate(-5deg);
}
.pillar-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.pillar-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 8px;
}
.pillar-headline {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
}
.pillar-desc {
  font-size: 13px;
  color: var(--w55);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .concept-pillars {
    grid-template-columns: 1fr;
  }
}

/* Result banner — the output of combination */
.concept-result {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 22px 28px;
  background: linear-gradient(
    180deg,
    rgba(124, 58, 237, 0.08) 0%,
    rgba(124, 58, 237, 0.02) 100%
  );
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 18px;
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.15);
  flex-wrap: wrap;
}
.concept-result-eq {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.5px;
  box-shadow:
    0 6px 20px rgba(124, 58, 237, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}
.concept-result-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.concept-result-stat {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  letter-spacing: -0.8px;
  color: #fff;
  line-height: 1.1;
}
.concept-result-stat .accent {
  background: linear-gradient(135deg, #a78bfa, #ec4899 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.concept-result-desc {
  font-size: 12px;
  font-weight: 600;
  color: var(--w55);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.concept-result-desc .sep {
  color: var(--w35);
  margin: 0 6px;
}

.concept-line {
  margin-top: 32px;
  text-align: center;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
  line-height: 1.2;
}
.concept-line .accent {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* — COMPARE / THE ALTERNATIVE — */
.compare-section {
  background: linear-gradient(180deg, var(--dark), #0a0818);
}
.compare-section > .wrap {
  text-align: center;
}
.compare-section .section-title {
  margin-left: auto;
  margin-right: auto;
}

.compare-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-top: 48px;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  min-height: 480px;
}

/* Left: true-cost chart — mirrors compare.html section 03 */
.cost-chart {
  padding: 24px 24px 22px;
  background: var(--dark2);
  border: 1px solid var(--w08);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  transform: rotate(-1.8deg);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.38);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cost-chart:hover {
  transform: rotate(0deg);
}
.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--w04);
  flex-wrap: wrap;
}
.chart-title {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.2px;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 14px;
}
.cl-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  color: var(--w55);
  letter-spacing: 0.4px;
}
.cl-sw {
  width: 14px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}
.cl-sw.money {
  background: linear-gradient(
    90deg,
    rgba(167, 139, 250, 0.65),
    rgba(124, 58, 237, 0.85)
  );
}
.cl-sw.time {
  background: repeating-linear-gradient(
    45deg,
    rgba(251, 191, 36, 0.38) 0 4px,
    rgba(251, 191, 36, 0.14) 4px 8px
  );
  border: 1px solid rgba(251, 191, 36, 0.4);
}
.chart-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.chart-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.chart-name {
  font-size: 17px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
}
.chart-note {
  font-size: 12.5px;
  color: var(--w55);
  font-weight: 600;
  letter-spacing: 0.1px;
}
.chart-track {
  position: relative;
  display: flex;
  align-items: center;
  height: 46px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--w04);
  border-radius: 12px;
  overflow: hidden;
}
/* Bars sit at 0% until the section enters the viewport, then grow in sequence */
.chart-bar {
  height: 100%;
  width: 0;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cost-chart.in-view .chart-bar {
  width: var(--w, 0%);
}
/* Staggered grow-in by row — DIY first, then Freelance, In-house, finally Vedio */
.cost-chart.in-view .chart-row.diy .chart-bar {
  transition-delay: 0.15s;
}
.cost-chart.in-view .chart-row.diy .chart-bar.time {
  transition-delay: 0.45s;
}
.cost-chart.in-view .chart-row.freelance .chart-bar {
  transition-delay: 0.7s;
}
.cost-chart.in-view .chart-row.inhouse .chart-bar {
  transition-delay: 0.95s;
}
/* Values fade in after their bar lands */
.chart-val {
  opacity: 0;
  transition: opacity 0.45s ease;
}
.cost-chart.in-view .chart-row.diy .chart-val {
  opacity: 1;
  transition-delay: 1.55s;
}
.cost-chart.in-view .chart-row.freelance .chart-val {
  opacity: 1;
  transition-delay: 2.05s;
}
.cost-chart.in-view .chart-row.inhouse .chart-val {
  opacity: 1;
  transition-delay: 2.4s;
}
.chart-bar.money {
  background: linear-gradient(
    90deg,
    rgba(167, 139, 250, 0.65),
    rgba(124, 58, 237, 0.85)
  );
}
.chart-bar.time {
  background: repeating-linear-gradient(
    45deg,
    rgba(251, 191, 36, 0.38) 0 6px,
    rgba(251, 191, 36, 0.14) 6px 12px
  );
  border-left: 1px dashed rgba(251, 191, 36, 0.45);
}
.chart-row.inhouse .chart-bar.money {
  background: linear-gradient(
    90deg,
    rgba(124, 58, 237, 0.7),
    rgba(91, 33, 182, 0.9)
  );
}
.chart-row.vedio .chart-bar.money {
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
  box-shadow:
    0 0 20px rgba(124, 58, 237, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.chart-val {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.3px;
  z-index: 2;
  white-space: nowrap;
}
.chart-foot {
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--w04);
  font-size: 10.5px;
  color: var(--w35);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1px;
  font-style: italic;
}
.cf-asterisk {
  color: rgba(251, 191, 36, 0.8);
  font-weight: 800;
  margin-right: 3px;
}

/* VS — white bold, purple glow, tilted */
.compare-vs {
  font-size: clamp(52px, 7vw, 80px);
  font-weight: 900;
  letter-spacing: -2px;
  color: #fff;
  transform: translateX(26px) rotate(-8deg);
  margin: 0 -10px;
  z-index: 2;
  position: relative;
  flex-shrink: 0;
  user-select: none;
  text-shadow:
    0 0 40px rgba(124, 58, 237, 0.8),
    0 0 80px rgba(124, 58, 237, 0.5),
    0 0 120px rgba(124, 58, 237, 0.3);
  scale: 1;
  animation: vsPulse 3s ease-in-out infinite;
}
@keyframes vsPulse {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.06;
  }
}

/* Right: clean Vedio in a card */
/* Wrapper holds card + sparkles so sparkles can extend beyond card's overflow:hidden */
.compare-vedio-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.compare-vedio {
  padding: 36px 32px;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.2) 0%,
    rgba(236, 72, 153, 0.12) 50%,
    rgba(124, 58, 237, 0.15) 100%
  );
  border: 1.5px solid rgba(124, 58, 237, 0.4);
  border-radius: 20px;
  box-shadow:
    0 0 80px rgba(124, 58, 237, 0.25),
    0 0 160px rgba(124, 58, 237, 0.1),
    0 24px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  scale: 1.05;
  transform-origin: center center;
  transition:
    scale 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.3s ease;
}
/* Always-on "hover" state — card sits lit + animated permanently */
.compare-vedio {
  scale: 1.08;
  border-color: rgba(236, 72, 153, 0.55);
  box-shadow:
    0 0 140px rgba(124, 58, 237, 0.55),
    0 0 260px rgba(236, 72, 153, 0.3),
    0 0 380px rgba(124, 58, 237, 0.2),
    0 32px 80px rgba(0, 0, 0, 0.6);
  animation: veeCardWiggle 1.8s ease-in-out infinite;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.compare-vedio .glow-border {
  animation-duration: 2.4s;
}
.compare-vedio::before {
  animation: veeCardAura 2.4s ease-in-out infinite;
}

@keyframes veeCardWiggle {
  0%,
  100% {
    rotate: 0deg;
    translate: 0 0;
  }
  15% {
    rotate: -0.55deg;
    translate: -1.5px 0;
  }
  30% {
    rotate: 0.5deg;
    translate: 1.5px -1px;
  }
  45% {
    rotate: -0.4deg;
    translate: -1px 1px;
  }
  60% {
    rotate: 0.35deg;
    translate: 1px 0;
  }
  75% {
    rotate: -0.25deg;
    translate: 0 -1px;
  }
  90% {
    rotate: 0.2deg;
    translate: -1px 0;
  }
}
@keyframes veeCardAura {
  0%,
  100% {
    opacity: 1;
    scale: 1;
  }
  50% {
    opacity: 1.3;
    scale: 1.15;
  }
}

/* --- Sparkle particles that emerge around the card on hover --- */
.vedio-sparkles {
  position: absolute;
  inset: -60px;
  pointer-events: none;
  z-index: 3;
}
.sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(167, 139, 250, 1) 0%,
    rgba(167, 139, 250, 0.4) 40%,
    rgba(167, 139, 250, 0) 70%
  );
  filter: blur(0.5px);
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: sparkleFloat 4.2s ease-in-out infinite;
  animation-play-state: paused;
  will-change: transform, opacity;
}
.sparkle.pink {
  background: radial-gradient(
    circle,
    rgba(236, 72, 153, 1) 0%,
    rgba(236, 72, 153, 0.4) 40%,
    rgba(236, 72, 153, 0) 70%
  );
}
.sparkle.blue {
  background: radial-gradient(
    circle,
    rgba(96, 165, 250, 1) 0%,
    rgba(96, 165, 250, 0.4) 40%,
    rgba(96, 165, 250, 0) 70%
  );
}
.sparkle.sm {
  width: 5px;
  height: 5px;
}
.sparkle.lg {
  width: 14px;
  height: 14px;
  filter: blur(1.5px);
}

/* Sparkles always-on — card sits permanently in its lit state */
.vedio-sparkles .sparkle {
  opacity: 1;
  animation-play-state: running;
}

/* Scatter positions around the card edges */
.sparkle.p1 {
  top: 8%;
  left: 6%;
}
.sparkle.p2 {
  top: 22%;
  left: -2%;
}
.sparkle.p3 {
  top: 48%;
  left: 2%;
}
.sparkle.p4 {
  top: 72%;
  left: 8%;
}
.sparkle.p5 {
  top: 2%;
  left: 25%;
}
.sparkle.p6 {
  top: -4%;
  left: 45%;
}
.sparkle.p7 {
  top: 3%;
  left: 68%;
}
.sparkle.p8 {
  top: -2%;
  left: 88%;
}
.sparkle.p9 {
  top: 18%;
  right: 3%;
}
.sparkle.p10 {
  top: 42%;
  right: 0%;
}
.sparkle.p11 {
  top: 68%;
  right: 4%;
}
.sparkle.p12 {
  bottom: 2%;
  left: 18%;
}
.sparkle.p13 {
  bottom: -3%;
  left: 42%;
}
.sparkle.p14 {
  bottom: 1%;
  left: 65%;
}
.sparkle.p15 {
  bottom: 5%;
  right: 12%;
}

/* Stagger + vary float directions per sparkle */
.sparkle.p1 {
  animation-delay: -0s;
  --fx: -8px;
  --fy: -14px;
}
.sparkle.p2 {
  animation-delay: -0.4s;
  --fx: -12px;
  --fy: -8px;
}
.sparkle.p3 {
  animation-delay: -0.8s;
  --fx: -14px;
  --fy: 4px;
}
.sparkle.p4 {
  animation-delay: -1.2s;
  --fx: -10px;
  --fy: 10px;
}
.sparkle.p5 {
  animation-delay: -1.6s;
  --fx: -2px;
  --fy: -16px;
}
.sparkle.p6 {
  animation-delay: -2s;
  --fx: 0;
  --fy: -20px;
}
.sparkle.p7 {
  animation-delay: -2.4s;
  --fx: 4px;
  --fy: -16px;
}
.sparkle.p8 {
  animation-delay: -0.6s;
  --fx: 10px;
  --fy: -12px;
}
.sparkle.p9 {
  animation-delay: -1s;
  --fx: 14px;
  --fy: -6px;
}
.sparkle.p10 {
  animation-delay: -1.4s;
  --fx: 16px;
  --fy: 2px;
}
.sparkle.p11 {
  animation-delay: -1.8s;
  --fx: 12px;
  --fy: 10px;
}
.sparkle.p12 {
  animation-delay: -2.2s;
  --fx: -4px;
  --fy: 14px;
}
.sparkle.p13 {
  animation-delay: -0.2s;
  --fx: 0;
  --fy: 18px;
}
.sparkle.p14 {
  animation-delay: -2.6s;
  --fx: 4px;
  --fy: 16px;
}
.sparkle.p15 {
  animation-delay: -3s;
  --fx: 10px;
  --fy: 10px;
}

@keyframes sparkleFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(0.6);
    opacity: 0.3;
  }
  30% {
    transform: translate(calc(var(--fx, 0) * 0.4), calc(var(--fy, -10px) * 0.4))
      scale(1.2);
    opacity: 0.95;
  }
  60% {
    transform: translate(var(--fx, 0), var(--fy, -18px)) scale(1);
    opacity: 1;
  }
  85% {
    transform: translate(calc(var(--fx, 0) * 0.7), calc(var(--fy, -12px) * 0.7))
      scale(1.1);
    opacity: 0.5;
  }
}
/* Animated rotating border — gradient travels along the outline */
.compare-vedio .glow-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--glow-angle, 0deg),
    rgba(124, 58, 237, 0.8),
    rgba(236, 72, 153, 0.5),
    transparent,
    transparent,
    rgba(124, 58, 237, 0.8)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: glowRotate 5s linear infinite;
  z-index: 0;
  pointer-events: none;
}
@keyframes glowRotate {
  from {
    --glow-angle: 0deg;
  }
  to {
    --glow-angle: 360deg;
  }
}
@property --glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.compare-vedio::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 140%;
  height: 80%;
  background: radial-gradient(
    ellipse,
    rgba(124, 58, 237, 0.18) 0%,
    rgba(124, 58, 237, 0.04) 50%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 0;
}
.compare-vedio::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.compare-vedio > * {
  position: relative;
  z-index: 1;
}
.compare-vedio-trust {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-soft);
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.compare-vedio-trust::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  box-shadow: 0 0 10px rgba(167, 139, 250, 0.7);
  animation: trustDot 2s ease-in-out infinite;
}
@keyframes trustDot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.85);
  }
}
.compare-vedio-vee {
  width: 68px;
  height: 68px;
  display: block;
  margin: 0 auto 14px;
  filter: drop-shadow(0 8px 24px rgba(124, 58, 237, 0.6));
  animation: veeCardFloat 3.8s ease-in-out infinite;
}
@keyframes veeCardFloat {
  0%,
  100% {
    transform: rotate(-6deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-4px);
  }
}
.compare-vedio-wordmark-text {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1.2px;
  line-height: 1;
  margin: 0 auto 18px;
  color: #fff;
  padding: 0 4px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.compare-vedio-line {
  font-size: clamp(16px, 1.8vw, 22px);
  font-weight: 600;
  color: var(--w80);
  line-height: 1.6;
  max-width: 360px;
}
.compare-vedio-line strong {
  color: #fff;
  font-weight: 800;
}
.compare-vedio-price {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--w08);
}
.compare-vedio-price-num {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -1px;
  white-space: nowrap;
  background: linear-gradient(135deg, #a78bfa, #ec4899 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.compare-vedio-price-unit {
  font-size: 0.45em;
  font-weight: 700;
  letter-spacing: 0;
  margin-left: 3px;
  -webkit-text-fill-color: var(--w55);
  background: none;
}
.compare-vedio-price-sub {
  font-size: 12px;
  color: var(--w35);
  margin-top: 8px;
  font-style: italic;
}

@media (max-width: 900px) {
  .compare-split {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 32px !important; /* big breathing room between cards on mobile */
  }
  .compare-pile {
    height: 320px;
  }
  .alt-pile {
    height: 520px;
  }
  .alt-sticker {
    width: 170px;
  }
  /* VS — slightly left of center, bigger, with breathing room, slight skew */
  .compare-vs {
    margin: 12px auto !important;
    font-size: clamp(80px, 22vw, 120px) !important;
    line-height: 1 !important;
    text-align: center !important;
    display: block !important;
    transform: translateX(-14px) skewX(-8deg) !important;
  }
  /* Drop the desktop tilt — looks wonky at narrow widths */
  .cost-chart,
  .cost-chart:hover {
    transform: none !important;
  }
  /* Tighten chart padding so the values fit */
  .cost-chart {
    padding: 18px !important;
  }
  .chart-val {
    font-size: 13px !important;
    right: 10px !important;
  }
  .chart-name {
    font-size: 15px !important;
  }
  /* Vedio card price block — stop scaling it down too far */
  .compare-vedio-price {
    font-size: clamp(56px, 14vw, 80px) !important;
  }
}

/* — VEE — */
.vee {
  background: radial-gradient(ellipse at center, #1a0f2d 0%, var(--dark) 70%);
  text-align: center;
  padding: 140px 40px;
  position: relative;
  overflow: hidden;
}
.vee-face-big {
  width: 180px;
  height: 180px;
  margin: 0 auto 40px;
  filter: drop-shadow(0 10px 40px rgba(124, 58, 237, 0.5));
  animation: veeIdle 4s ease-in-out infinite;
}
@keyframes veeIdle {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}
.vee-quote {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.8px;
  color: #fff;
  line-height: 1.2;
  min-height: 50px;
  transition: opacity 0.3s;
  margin-bottom: 28px;
}
.vee-quote .accent {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.vee-hint {
  font-size: 12px;
  font-weight: 600;
  color: var(--w55);
  letter-spacing: 0.5px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--w04);
  border: 1px solid var(--w08);
  display: inline-block;
  margin-top: 8px;
}

/* — CASE STORY — single deep case study */
.case-story {
  background: var(--dark);
  padding-top: 60px;
  padding-bottom: 60px;
}
.case-story > .wrap {
  text-align: center;
}
.case-story .section-title {
  margin-left: auto;
  margin-right: auto;
}
.case-story .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.case-story-video {
  position: relative;
  max-width: 1000px;
  margin: 40px auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: visible;
  background: #000;
  border: 1px solid var(--w08);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(124, 58, 237, 0.1);
}
.case-story-video img,
.case-story-video > video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}
.case-story-video::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(13, 10, 20, 0.3) 70%,
    rgba(13, 10, 20, 0.5) 100%
  );
  pointer-events: none;
}

.case-story-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 48px rgba(124, 58, 237, 0.6);
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s;
  z-index: 2;
  animation: playPulse 2.4s ease-in-out infinite;
}
.case-story-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 20px solid var(--dark);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}
.case-story-video:hover .case-story-play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 16px 56px rgba(124, 58, 237, 0.8);
}

.case-story-logo {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 14px;
  border-radius: 10px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d0a14;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  max-width: calc(100% - 28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  z-index: 3;
  --skew-a: -6deg;
  --skew-b: -3deg;
  animation: caseLogoFloat 3.8s ease-in-out infinite;
}
.case-story-logo img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}
/* Video-type label — bottom-left of case-story-video */
.case-story-video .case-story-type {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  z-index: 4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.case-story-duration {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  font-family: "Courier New", monospace;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.4px;
  z-index: 2;
}

.case-story-quote {
  max-width: 700px;
  margin: 36px auto 0;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.3px;
  color: #fff;
  line-height: 1.35;
}
.case-story-quote::before {
  content: '"';
  color: var(--purple-light);
  margin-right: 2px;
}
.case-story-quote::after {
  content: '"';
  color: var(--purple-light);
  margin-left: 2px;
}

.case-story-attr {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}
.case-story-attr span {
  font-weight: 500;
  color: var(--w55);
}

.case-story-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--w08);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--w08);
  margin: 36px auto 0;
  /* No max-width — fills the wrap so it visually matches the
       wider BEVISET case-stats block on the homepage proof section. */
}
.case-story-metric {
  background: var(--dark2);
  padding: 26px 20px;
  text-align: center;
  transition: background 0.2s;
}
.case-story-metric:hover {
  background: rgba(124, 58, 237, 0.08);
}
.case-story-metric-num {
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 900;
  letter-spacing: -1.5px;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.case-story-metric-num.accent {
  background: linear-gradient(135deg, #a78bfa, #ec4899 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.case-story-metric-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--w55);
}

@media (max-width: 640px) {
  /* Match other pages' phone gutter (.wrap pattern uses 20px). The homepage
       puts horizontal padding directly on <section>, so reduce it here. */
  section {
    padding-left: 20px;
    padding-right: 20px;
  }
  /* Stay horizontal as 3 columns on mobile, matching the BEVISET stats */
  .case-story-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
  .case-story-metric {
    padding: 22px 8px !important;
  }
  .case-story-metric-num {
    font-size: clamp(22px, 6vw, 30px) !important;
    letter-spacing: -0.8px !important;
  }
  .case-story-metric-label {
    font-size: 9.5px !important;
    letter-spacing: 0.8px !important;
    margin-top: 6px;
  }
}

/* Keep feed CSS below for reference but section is replaced */

.feed-track-wrap {
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 38%,
    black 62%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 38%,
    black 62%,
    transparent 100%
  );
  overflow: hidden;
}
.feed-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 20px 0;
  animation: feedScroll 60s linear infinite;
}
@keyframes feedScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.feed-track:hover {
  animation-play-state: paused;
}

.feed-tile {
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  position: relative;
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  background-size: cover;
  background-position: center;
  background-color: var(--dark2);
}
.feed-tile::before,
.feed-tile::after {
  border-radius: inherit;
}
.feed-tile:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(124, 58, 237, 0.2);
  z-index: 2;
}
.feed-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    to top,
    rgba(5, 2, 8, 0.85) 0%,
    rgba(5, 2, 8, 0.2) 40%,
    transparent 70%
  );
  z-index: 1;
}
.feed-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.25;
  pointer-events: none;
  z-index: 2;
}

.feed-tile-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  z-index: 3;
}
.feed-tile-cat {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 3px;
}
.feed-tile-stat {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
}
.feed-tile-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(124, 58, 237, 0.5);
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s;
  z-index: 3;
}
.feed-tile:hover .feed-tile-play {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 10px 36px rgba(124, 58, 237, 0.7);
}
.feed-tile-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-left: 12px solid var(--dark);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.feed-tile-logo {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  z-index: 4;
  transform: rotate(-5deg);
}

/* Gradient backgrounds for tiles */
.ft1 {
  background: linear-gradient(135deg, #2d1a0a, #6b3520, #c9551f);
}
.ft2 {
  background: linear-gradient(135deg, #050310, #2d1a5e, #5d3ab8);
}
.ft3 {
  background: linear-gradient(135deg, #1a0a05, #3d1a0a, #9c5633);
}
.ft4 {
  background: linear-gradient(135deg, #0a1520, #1a3050, #2d5080);
}
.ft5 {
  background: linear-gradient(135deg, #150a2e, #4a1a5e, #8a3a9a);
}
.ft6 {
  background: linear-gradient(135deg, #1a0808, #4d1818, #9c3030);
}
.ft7 {
  background: linear-gradient(135deg, #0a0815, #1a1a3d, #2a2a6d);
}
.ft8 {
  background: linear-gradient(135deg, #1a0f1a, #3d1a3d, #7a2a7a);
}
.ft9 {
  background: linear-gradient(135deg, #200a05, #4d1a0a, #8d3520);
}
.ft10 {
  background: linear-gradient(135deg, #0a1a1a, #1a3d3d, #2a6d6d);
}

/* — MODES — self-ID cards */
.modes {
  background: linear-gradient(180deg, var(--dark), #0a0818);
}
.modes > .wrap {
  text-align: center;
}
.modes .section-title {
  margin-left: auto;
  margin-right: auto;
}
.modes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
/* On phones: stack the 3 mode cards vertically */
@media (max-width: 900px) {
  .modes-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 32px;
  }
  .mode-card {
    padding: 26px 22px !important;
  }
}
.mode-card {
  background: var(--dark2);
  border: 1px solid var(--w08);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s,
    border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.mode-card:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 58, 237, 0.3);
}
.mode-card.featured {
  border-color: rgba(124, 58, 237, 0.3);
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.1) 0%,
    var(--dark2) 60%
  );
}
.mode-card.featured::before {
  content: none;
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--purple);
  color: #fff;
}
.mode-visual {
  height: 180px;
  border-radius: 14px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--w08);
  background-size: cover;
  background-position: center;
  background-color: var(--dark3);
}
.mode-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.4;
}
.mode-visual-creator {
  background:
    radial-gradient(
      circle at 35% 30%,
      rgba(255, 230, 180, 0.35),
      transparent 40%
    ),
    linear-gradient(135deg, #1a0a05, #4d2515 50%, #8a4525 100%);
}
.mode-visual-brand {
  background:
    radial-gradient(
      circle at 70% 30%,
      rgba(96, 165, 250, 0.2),
      transparent 50%
    ),
    linear-gradient(135deg, #0a1528, #14214a 50%, #1e3060 100%);
}
.mode-visual-brand::before {
  content: "";
  position: absolute;
  inset: 14px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.03) 50%,
    rgba(255, 255, 255, 0.03) 75%,
    transparent 75%
  );
  background-size: 100% 24px;
  border-radius: 6px;
}
.mode-visual-agency {
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(124, 58, 237, 0.3),
      transparent 50%
    ),
    linear-gradient(135deg, #0a0515, #2d1a50 50%, #4d2580 100%);
}
.mode-visual-agency::before {
  content: "";
  position: absolute;
  inset: 14px;
  background:
    radial-gradient(
      circle at 25% 40%,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.08) 10%,
      transparent 10%
    ),
    radial-gradient(
      circle at 75% 40%,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.08) 10%,
      transparent 10%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.08) 10%,
      transparent 10%
    );
}
.mode-label {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 14px;
}
.mode-card h3 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.mode-card > p {
  font-size: 16px;
  color: var(--w55);
  line-height: 1.6;
  margin-bottom: 24px;
  min-height: 66px;
}
.mode-features {
  list-style: none;
  margin-bottom: 28px;
  flex: 1;
}
.mode-features li {
  font-size: 13px;
  color: var(--w80);
  padding: 8px 0;
  border-bottom: 1px solid var(--w04);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mode-features li:last-child {
  border-bottom: none;
}
.mode-features li::before {
  content: "→";
  color: var(--purple-light);
  font-weight: 700;
  font-size: 12px;
}
.mode-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--purple-light);
  text-decoration: none;
  padding-top: 18px;
  border-top: 1px solid var(--w08);
  transition:
    gap 0.2s,
    color 0.15s;
}
.mode-link:hover {
  gap: 12px;
  color: #fff;
}

/* — FINAL CTA — */
.final {
  background: radial-gradient(ellipse at center, #1a0f2d 0%, var(--dark) 70%);
  text-align: center;
  padding: 120px 40px;
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vw;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.15) 0%,
    transparent 50%
  );
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
  }
}
.final-icon {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  display: block;
  margin: 0 auto 28px;
  filter: drop-shadow(0 8px 32px rgba(124, 58, 237, 0.7));
  animation: veeIdle 4s ease-in-out infinite;
  box-shadow:
    0 0 50px rgba(124, 58, 237, 0.4),
    0 0 100px rgba(124, 58, 237, 0.2);
}
/* Unified final-CTA Vee — matches customers/engine/compare */
.final .final-vee {
  display: block;
  width: 92px;
  height: 92px;
  margin: 0 auto 28px;
  filter: drop-shadow(0 8px 32px rgba(124, 58, 237, 0.55));
  animation: veeIdle 4s ease-in-out infinite;
}
.final .final-vee svg {
  width: 100%;
  height: 100%;
  display: block;
}
.final h2 {
  font-size: clamp(44px, 6vw, 84px);
  font-weight: 900;
  letter-spacing: -2.5px;
  line-height: 1;
  margin-bottom: 16px;
}
.final h2 .accent {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.final-sub {
  font-size: 18px;
  color: var(--w55);
  margin-bottom: 40px;
}
.final-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.final-price {
  margin-top: 28px;
  font-size: 15px;
  font-weight: 700;
  color: var(--w55);
  letter-spacing: 0.2px;
}
.final-trust {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}
.final-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  animation: statusPulse 2s ease infinite;
}

/* Final CTA — match the engine-page CTA on mobile: content-sized buttons,
     centered, simple flex with gap. No flex ratio, no full-width stretch. */
@media (max-width: 900px) {
  .final {
    padding: 96px 20px !important;
  }
  .final-icon,
  .final .final-vee {
    width: 96px !important;
    height: 96px !important;
    margin-bottom: 28px !important;
  }
  .final h2 {
    font-size: clamp(40px, 10vw, 60px) !important;
    letter-spacing: -2px !important;
  }
  .final-sub {
    font-size: 16px !important;
    margin-bottom: 32px !important;
    padding: 0 8px;
  }
  .final-ctas {
    flex-direction: row !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .final-ctas .btn-lg-primary {
    flex: 0 0 auto !important;
    padding: 18px 28px !important;
    font-size: 16px !important;
  }
  .final-ctas .btn-lg-secondary {
    flex: 0 0 auto !important;
    padding: 18px 24px !important;
    font-size: 16px !important;
  }
}

/* — FOOTER — */

/* Drop the 1px outline on the case-story video card */
.case-story-video {
  border: none !important;
}

/* "Jump" hover on the case-story video card (case-card + feed-tile already lift) */
.case-story-video {
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease !important;
}
.case-story-video:hover {
  transform: translateY(-6px) !important;
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 40px rgba(124, 58, 237, 0.18) !important;
}
