/* =========================================================
   AUTOMATRICK — LeadSquared-style (dark hero, light body)
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* light palette */
  --bg: #ffffff;
  --bg-alt: #f6f8fc;
  --surface: #ffffff;
  --text: #0f172a;
  --text-2: #1e293b;
  --muted: #64748b;
  --muted-2: #94a3b8;

  /* Logo-aligned palette: blue → magenta gradient */
  --primary: #2a30e8;          /* electric blue from logo */
  --primary-hover: #2125c9;
  --primary-soft: #eeefff;     /* very light blue tint */
  --accent: #9b30d4;           /* magenta-purple from logo */
  --accent-2: #c062e5;
  --brand-gradient: linear-gradient(95deg, #2a30e8 0%, #6438dd 50%, #9b30d4 100%);

  /* dark hero palette — anchored to logo blue/violet */
  --hero-bg: #0a0a1f;
  --hero-bg-2: #0b091a ;
  --hero-text: #ffffff;
  --hero-muted: #b3aedc;

  --border: #e6ebf2;
  --border-strong: #d4dbe6;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow: 0 4px 14px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 40px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(15, 23, 42, 0.04);

  /* spacing */
  --s-1: 8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 72px;
  --s-7: 96px;

  --section-y: 112px;
  --head-mb: 64px;
  --grid-gap: 24px;
  --card-pad: 32px;

  --max: 1200px;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

html { 
  scroll-behavior: smooth; 
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

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

.grad-text {
  background: linear-gradient(95deg, #5b6dff 0%, #9b30d4 60%, #c062e5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animated gradient shimmer for highlighted words */
.grad-anim {
  background: linear-gradient(95deg, #5b6dff 0%, #9b30d4 35%, #c062e5 50%, #9b30d4 65%, #5b6dff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradShimmer 5s linear infinite;
}
@keyframes gradShimmer {
  0%   { background-position: 0% 0; }
  100% { background-position: 220% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .grad-anim { animation: none; }
}


.dropdown-toggle::after{
  display: none;
}
/* =========================================================
   TRUSTED BY — brand logo strip
   ========================================================= */
.trusted {
  background: #ffffff;
  padding: 80px 0;
}
.trusted-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
  margin-bottom: 56px;
}
.trusted-stat {
  font-weight: 800;
  font-size: 44.8px;
  letter-spacing: -0.32px;
  color: #14102e;
  line-height: 1;
}
.trusted-text {
  font-size: 24px;
  font-weight: 500;
  color: #1a1a2e;
}
/* =========================================================
   TOP MARQUEE BAR (above navbar)
   ========================================================= */
.top-marquee {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #d9ff66;
  color: #0a0a1f;
  overflow: hidden;
  border-bottom: 1px solid rgba(10, 10, 31, 0.1);
  z-index: 1100;
}
.top-marquee .marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 32px;
  padding: 10px 0;
  animation: marquee 40s linear infinite;
}
.top-marquee:hover .marquee-track { animation-play-state: paused; }
.top-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #0a0a1f;
  white-space: nowrap;
}
.top-marquee-link {
  color: #0a0a1f;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: opacity .2s ease;
}
.top-marquee-link:hover { opacity: 0.7; color: #0a0a1f; }
.top-marquee-sep {
  display: inline-block;
  font-size: 14px;
  color: #0a0a1f;
  opacity: 0.7;
}
.top-marquee-text { font-weight: 500; }
@media (max-width: 600px) {
  .hero-content-wide{
    padding-top: 5px !important;
  }
  .top-marquee-item { font-size: 13px; gap: 22px; }
  .top-marquee .marquee-track { gap: 22px; }
}

/* Infinite auto-scrolling carousel */
.trusted-marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 80px;
  animation: marquee 28s linear infinite;
}
.trusted-marquee:hover .marquee-track {
  animation-play-state: paused;
}
.brand-logo {
  height: 60px;
  width: auto;
  flex: none;
  filter: grayscale(1);
  opacity: 0.6;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.brand-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* =========================================================
   EXPERIENCE THE NEW CX
   ========================================================= */
.cx {
  background: #f3f2f7;
  padding: 60px 0;
}
.cx .container {
  max-width: 1560px;
}
.cx-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.cx-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.32px;
  line-height: 1.1;
  color: #14102e;
  margin-bottom: 20px;
}
.cx-sub {
  font-size: 17.6px;
  line-height: 1.6;
  color: #4a4a63;
  margin-bottom: 32px;
  max-width: 440px;
}
.cx-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 52px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /**/
}
.cx-pillar {
  text-align: center;
  padding: 0 28px;
  position: relative;
}
.cx-pillar:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  right: 0;
  height: 76%;
  width: 1px;
  background: #ebe9f1;
}
.cx-icon {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
}
.cx-icon svg,
.cx-icon img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(20, 16, 46, 0.12));
  animation: cxIconFloat 4.5s ease-in-out infinite;
}
.cx-pillar-automate .cx-icon svg { animation-delay: -1.1s; }
.cx-pillar-connect  .cx-icon svg { animation-delay: -2.2s; }
.cx-pillar-improve  .cx-icon svg { animation-delay: -3.3s; }
.cx-pillar:hover .cx-icon svg,
.cx-pillar:hover .cx-icon img { animation-duration: 2.2s; }
@keyframes cxIconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-9px) rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .cx-icon svg,
  .cx-icon img { animation: none; }
}
.cx-name {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.32px;
  margin-bottom: 14px;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cx-name-understand { background-image: linear-gradient(95deg, #6d4aff, #3b5bff); }
.cx-name-automate   { background-image: linear-gradient(95deg, #f5a623, #ec3b7a); }
.cx-name-connect    { background-image: linear-gradient(95deg, #18c5c5, #2aa0e8); }
.cx-name-improve    { background-image: linear-gradient(95deg, #34d399, #10b981); }
.cx-desc {
  font-size: 15.2px;
  line-height: 1.55;
  color: #5a5a72;
  max-width: 210px;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .cx-grid { grid-template-columns: 1fr; }
  .cx-sub { max-width: none; }
}
@media (max-width: 680px) {
  .cx-card { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  /* drop the vertical dividers; rely on grid spacing */
  .cx-pillar::after { display: none; }
}
@media (max-width: 420px) {
  .cx-card { grid-template-columns: 1fr; }
}

/* =========================================================
   ANNOUNCEMENT BAR (top, above navbar)
   ========================================================= */

.announce {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  background: linear-gradient(90deg, #2a30e8 0%, #6438dd 50%, #9b30d4 100%);
  color: #fff;
  padding: 9px 0;
  font-size: 13.44px;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.announce p {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.16px;
}
.announce-cta {
  background: #fff;
  color: #1e1b3a;
  padding: 6px 14px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 12.48px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.announce-cta:hover {
  transform: translateY(-1px);
}

/* Push navbar + hero down to make room for the announce bar */
.navbar { top: 40px; }
body { padding-top: 0; }

/* =========================================================
   SCROLL PROGRESS
   ========================================================= */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 200;
  transition: width 0.05s linear;
}

/* =========================================================
   NAVBAR — dark on hero, light when scrolled
   ========================================================= */

.navbar {
  position: fixed;
  top: 40px; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: #02040e;
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), padding .3s var(--ease), box-shadow .3s var(--ease);
}

/* Nav over a dark background — same dark surface as the footer */
.navbar.nav-on-dark .nav-links a { color: rgba(255, 255, 255, 0.85); }
.navbar.nav-on-dark .nav-links a:hover { color: #fff; }
.navbar.nav-on-dark .logo { color: #fff; }

.navbar.scrolled {
  background: #02040e;
  border-bottom-color: rgba(255, 255, 255, 0.06);
  padding: 10px 0;
}
.navbar.scrolled .nav-links a { color: rgba(255, 255, 255, 0.85); }
.navbar.scrolled .nav-links a:hover { color: #ffffff; }
.navbar.scrolled .logo { color: #ffffff; }
.navbar.scrolled .hamburger span { background: #ffffff; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

.logo {
  display: inline-block;
  width: 156px;
  height: 34px;
  background: url('assets/images/white-logo.png') no-repeat left center;
  background-size: contain;
  font-size: 0;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .25s var(--ease), filter .25s var(--ease);
}
.logo:hover { opacity: 0.88; }
.logo-mark, .logo-text { display: none; }

/* Slightly brighten the gradient logo against the dark hero */
.navbar.nav-on-dark .logo,
.footer .logo {
  filter: brightness(1.1) saturate(1.1);
}
.navbar.scrolled .logo,
body.page-form .navbar .logo {
  filter: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--s-4);
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 15.2px;
  position: relative;
  transition: color .25s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: width .3s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-sm);
  transition: background .2s var(--ease);
  display: inline-grid;
  overflow: hidden;
  padding: 10px 20px;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--primary-hover);
  color: #fff !important;
}
.nav-cta-content {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-cta-content.duplicate {
  transform: translateY(150%);
}
.nav-cta:hover .nav-cta-content.primary {
  transform: translateY(-150%);
}
.nav-cta:hover .nav-cta-content.duplicate {
  transform: translateY(0);
}
.nav-cta .nav-cta-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  margin: 0 auto;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO (DARK)
   ========================================================= */

.hero {
  position: relative;
  padding: 150px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 70% at 50% -10%, rgba(155, 48, 212, 0.24), transparent 55%),
    radial-gradient(ellipse 55% 50% at 15% 40%, rgba(42, 48, 232, 0.22), transparent 60%),
    radial-gradient(ellipse 55% 50% at 90% 80%, rgba(192, 98, 229, 0.18), transparent 60%),
    linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg-2) 100%);
  color: var(--hero-text);
  isolation: isolate;
}

/* Subtle dot pattern overlaying the hero background */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, black, transparent 80%);
}


.hero .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}

/* Exotel-style centered hero — overrides the grid */
.hero-centered .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 900px;
}
.hero-centered .hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}
.hero-centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero-centered .hero-cta { justify-content: center; }
.hero-centered .hero-trust { justify-content: center; }

/* Split hero — text left, image right */
.hero-split .container {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}
.hero-split .hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.hero-split .hero-sub { margin-left: 0; margin-right: 0; }
.hero-split .hero-cta { justify-content: flex-start; }

/* Hero image */
.hero-image {
  width: 100%;
}
.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
}
.blob-1 { width: 460px; height: 460px; background: #2a30e8; top: -140px; left: -120px; animation: float 16s ease-in-out infinite; }
.blob-2 { width: 360px; height: 360px; background: #6438dd; bottom: -120px; right: -80px; animation: float 18s ease-in-out infinite reverse; }
.blob-3 { width: 280px; height: 280px; background: #9b30d4; top: 40%; right: 20%; animation: float 14s ease-in-out infinite; opacity: 0.25; }

/* =========================================================
   LIGHT HERO — Astro-style with polaroid clothesline
   ========================================================= */

.hero.hero-light {
  background:
    radial-gradient(ellipse 50% 40% at 80% 18%, rgba(155, 48, 212, 0.10), transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 75%, rgba(42, 48, 232, 0.08), transparent 60%),
    linear-gradient(180deg, #fef8f3 0%, #fdf2ea 50%, #fef5ed 100%);
  color: #1a1a2e;
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}

/* Soft brand blobs in background of light hero */
.hero-light .hero-deco { z-index: 0; }
.hl-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.hl-blob-1 { width: 420px; height: 420px; background: #c084fc; top: -120px; right: -100px; }
.hl-blob-2 { width: 380px; height: 380px; background: #5b8cff; bottom: -100px; left: -120px; opacity: 0.3; }
.hl-blob-3 { width: 280px; height: 280px; background: #fbbf24; top: 30%; left: 40%; opacity: 0.18; }

.hero-light .hero-content { color: #1a1a2e; }

/* Badge */
.hero-light .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: #1a1a2e;
  font-size: 13.76px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: var(--s-3);
  letter-spacing: 0.16px;
}
.hero-light .badge .badge-emoji { font-size: 17.6px; }

/* Mega uppercase headline (Astro style) */
.hero-mega {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 88px;
  line-height: 0.96;
  letter-spacing: -0.56px;
  text-transform: uppercase;
  color: #1a1a2e;
  margin: 0 auto var(--s-3);
  text-align: center;
  max-width: 1100px;
}
.hero-highlight {
  background: linear-gradient(95deg, #2a30e8 0%, #6438dd 50%, #9b30d4 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: hlShimmer 5s linear infinite;
  display: inline-block;
}
@keyframes hlShimmer { to { background-position: 200% center; } }

.hero-light .hero-sub {
  color: #4a5568;
  max-width: 620px;
  margin: 0 auto var(--s-3);
  text-align: center;
  font-size: 18.4px;
  line-height: 1.55;
}

.hero-light .hero-cta { margin-bottom: 0; }

/* CTA pill — brand gradient */
.btn-cta {
  background: linear-gradient(135deg, #2a30e8 0%, #6438dd 50%, #9b30d4 100%);
  background-size: 200% auto;
  color: #fff;
  padding: 16px 36px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 100px;
  animation: ctaShimmer 6s linear infinite;
}
.btn-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
@keyframes ctaShimmer { to { background-position: 200% center; } }

/* =========================================================
   CLOTHESLINE + POLAROID CARDS
   ========================================================= */

.clothesline {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 80px auto 0;
  padding: 24px 40px 20px;
}
.cl-rope {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  pointer-events: none;
  z-index: 0;
}

.polaroids {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.polaroid {
  background: #fff;
  border-radius: 14px;
  padding: 12px 12px 18px;
  width: 200px;
  position: relative;
  color: #1a1a2e;
  text-decoration: none;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow .35s var(--ease);
  will-change: transform;
}

.polaroid::before {
  /* paper-grain highlight */
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.5), transparent 55%);
  pointer-events: none;
}

/* Per-card rotation + sway animation */
.polaroid.p-1 { animation: swing1 5.5s ease-in-out infinite; }
.polaroid.p-2 { animation: swing2 6.2s ease-in-out infinite; }
.polaroid.p-3 { animation: swing3 5.8s ease-in-out infinite; }
.polaroid.p-4 { animation: swing4 6.4s ease-in-out infinite; }
.polaroid.p-5 { animation: swing5 6s ease-in-out infinite; }

@keyframes swing1 {
  0%, 100% { transform: rotate(-3deg)   translateY(0); }
  50%      { transform: rotate(-2deg)   translateY(-3px); }
}
@keyframes swing2 {
  0%, 100% { transform: rotate(3deg)    translateY(0); }
  50%      { transform: rotate(4deg)    translateY(-3px); }
}
@keyframes swing3 {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50%      { transform: rotate(-3.5deg) translateY(-3px); }
}
@keyframes swing4 {
  0%, 100% { transform: rotate(3deg)    translateY(0); }
  50%      { transform: rotate(2deg)    translateY(-3px); }
}
@keyframes swing5 {
  0%, 100% { transform: rotate(-2deg)   translateY(0); }
  50%      { transform: rotate(-1deg)   translateY(-3px); }
}

/* 5-card row — slightly narrower polaroids */
.polaroids-5 .polaroid { width: 180px; }

.polaroid:hover {
  animation-play-state: paused !important;
  transform: rotate(0deg) translateY(-6px) !important;
  z-index: 5;
}

/* Peg / clothespin */
.peg {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 28px;
  border-radius: 4px 4px 8px 8px;
  background: linear-gradient(180deg, var(--peg-1, #c084fc) 0%, var(--peg-2, #7c3aed) 100%);
  z-index: 2;
}
.peg::before {
  /* small highlight gloss */
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}
.peg::after {
  /* small slit at top of clothespin */
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 8px;
  background: rgba(0, 0, 0, 0.22);
  border-radius: 0 0 2px 2px;
}

/* Polaroid image area */
.poster {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 57.6px;
  position: relative;
  z-index: 1;
}

/* Polaroid caption */
.caption {
  display: block;
  margin-top: 12px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.caption strong {
  display: block;
  font-size: 15.04px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: -0.16px;
  margin-bottom: 2px;
}
.caption small {
  font-size: 11.84px;
  color: #6b7280;
}

/* Mobile: clothesline becomes horizontal scroll, smaller polaroids */
@media (max-width: 760px) {
  .clothesline { padding: 40px 12px 16px; }
  .polaroids {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 16px 12px 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .polaroids::-webkit-scrollbar { display: none; }
  .polaroid { width: 150px; }
}

/* Centered hero — geometric corner shapes (Exotel-style) */
.hero-centered .hero-deco,
.hero-split .hero-deco { overflow: hidden; }
.deco-shape {
  position: absolute;
  opacity: 0.6;
  filter: blur(1px);
  will-change: transform;
  animation: shapeFloat 14s ease-in-out infinite;
}
.deco-left {
  width: 280px;
  height: 280px;
  left: -7%;
  top: 32%;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.45), transparent 60%),
    linear-gradient(135deg, #1d2599 0%, #2a30e8 60%, #6438dd 100%);
  --r: -12deg;
  transform: rotate(-12deg);
}
.deco-right {
  width: 320px;
  height: 320px;
  right: -8%;
  top: 26%;
  border-radius: 50% 30% 50% 30%;
  background:
    radial-gradient(circle at 70% 70%, rgba(192, 98, 229, 0.45), transparent 60%),
    linear-gradient(135deg, #6438dd 0%, #9b30d4 60%, #c062e5 100%);
  --r: 8deg;
  transform: rotate(8deg);
  animation-delay: -7s;
}
.deco-tile {
  position: absolute;
  border-radius: 14px;
  opacity: 0.32;
  background: linear-gradient(135deg, rgba(155, 48, 212, 0.55), rgba(42, 48, 232, 0.55));
  filter: blur(1px);
  animation: shapeFloat 10s ease-in-out infinite;
  will-change: transform;
}
.tile-tl {
  width: 80px;
  height: 80px;
  left: 16%;
  top: 18%;
  --r: 20deg;
  transform: rotate(20deg);
}
.tile-br {
  width: 64px;
  height: 64px;
  right: 20%;
  bottom: 22%;
  --r: -15deg;
  transform: rotate(-15deg);
  animation-delay: -5s;
}
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}

/* extra abstract accents: outline rings, dot grids, sparkles */
.deco-ring {
  position: absolute; border-radius: 50%; pointer-events: none;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  animation: shapeFloat 12s ease-in-out infinite;
}
.deco-ring-1 { width: 160px; height: 160px; left: 8%; bottom: 14%; --r: 0deg; }
.deco-ring-2 { width: 90px; height: 90px; right: 12%; top: 16%; border-color: rgba(192, 98, 229, 0.30); --r: 0deg; animation-delay: -4s; }

.deco-dots {
  position: absolute; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  animation: shapeFloat 16s ease-in-out infinite;
}
.deco-dots-1 { width: 120px; height: 90px; left: 6%; top: 12%; --r: 0deg; }
.deco-dots-2 { width: 110px; height: 80px; right: 7%; bottom: 14%; --r: 0deg; animation-delay: -6s; }

.deco-spark {
  position: absolute; width: 10px; height: 10px; pointer-events: none;
  background:
    linear-gradient(#b9a8ff, #b9a8ff) center / 100% 1.5px no-repeat,
    linear-gradient(#b9a8ff, #b9a8ff) center / 1.5px 100% no-repeat;
  opacity: 0.7; animation: sparkTwinkle 3.2s ease-in-out infinite;
}
.deco-spark.s1 { left: 22%; top: 30%; }
.deco-spark.s2 { right: 26%; top: 60%; width: 14px; height: 14px; animation-delay: -1s; }
.deco-spark.s3 { right: 40%; top: 22%; width: 8px; height: 8px; animation-delay: -2s; }
@keyframes sparkTwinkle {
  0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(0deg); }
  50%      { opacity: 0.9;  transform: scale(1.1) rotate(45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .deco-ring, .deco-dots, .deco-spark { animation: none !important; }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.06); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-content { position: relative; z-index: 1; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13.12px;
  font-weight: 500;
  color: #d4daff;
  margin-bottom: var(--s-3);
  letter-spacing: 0.32px;
  backdrop-filter: blur(8px);
}
.badge .badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: badgePing 2s ease-out infinite;
}
@keyframes badgePing {
  0%   {}
  70%  {}
  100% {}
}

.hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 60px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.56px;
  color: #fff;
  margin-bottom: var(--s-3);
  font-feature-settings: "ss01", "ss02";
}

/* Rotating word */
.rotator {
  position: relative;
  display: inline-block;
  min-height: 16.8px;
  vertical-align: bottom;
}
.rot-word {
  position: absolute;
  left: 0; top: 0;
  white-space: nowrap;
  background: linear-gradient(95deg, #7aa8ff 0%, #c4a3ff 35%, #ff8fc8 70%, #ffb088 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  animation: rotShimmer 8s linear infinite;
}
@keyframes rotShimmer {
  to { background-position: 200% center; }
}
.rot-word.active {
  opacity: 1;
  transform: translateY(0);
}
.rot-word.exit {
  opacity: 0;
  transform: translateY(-20px);
}

.hero-sub {
  font-size: 16.88px;
  font-weight: 300;
  color: var(--hero-muted);
  max-width: 580px;
  margin-bottom: var(--s-4);
  line-height: 1.6;
}

.play-icon {
  width: 22px; height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 8.8px;
  margin-right: 4px;
}

/* Pill-shaped buttons (Exotel-style) */
.btn-pill { border-radius: 100px !important; padding-left: 28px; padding-right: 28px; }

/* "powered by AUTOMATRICK" lockup — Exotel "presents ENGAGEX" style */
.hero-brand {
  margin-top: var(--s-3);
  margin-bottom: var(--s-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.presents {
  font-size: 11.84px;
  letter-spacing: 3.52px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}
.presents-mark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 35.2px;
  letter-spacing: 2.88px;
  background: linear-gradient(95deg, #2a30e8 0%, #6438dd 40%, #9b30d4 80%, #c062e5 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rotShimmer 8s linear infinite;
}
.presents-spark {
  font-size: 13.6px;
  color: rgba(255, 255, 255, 0.6);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.6);
  animation: sparkSpin 6s ease-in-out infinite;
}
@keyframes sparkSpin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50%      { transform: rotate(180deg) scale(1.15); }
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--s-4);
}

.ev-hero-btn-secondary {
  display: inline-flex; align-items: center;
  padding: 15px 28px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.ev-hero-btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-2px);
}

.hero-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--s-4);
}
.hero-check-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px 9px 16px;
  font-size: 13.5px;
  font-weight: 500;
  color: #d4daff;
  white-space: nowrap;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.hero-check-item::before {
  content: '';
  width: 6px; height: 6px; flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #7f8bff, #b98cff);
  box-shadow: 0 0 8px rgba(140, 140, 255, 0.9);
}
.hero-check-item:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
  box-shadow: 0 8px 20px rgba(90, 80, 220, 0.22);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15.36px;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: inherit;
}

.btn .arrow {
  transition: transform .25s var(--ease);
  display: inline-block;
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* --- Minimal 3D pill button with top-right arrow chip --- */
.btn-3d {
  display: inline-flex !important;
  align-items: center;
  gap: 14px;
  padding: 14px 14px 14px 26px !important;
  background: linear-gradient(180deg, #4a55ff 0%, var(--primary) 55%, #1a23c9 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  position: relative;
}
.btn-3d:hover {
  transform: translateY(-2px);
}
.btn-3d:active {
  transform: translateY(0);
}

.btn-3d-label {
  font-weight: 600;
  letter-spacing: 0.1px;
  position: relative;
  z-index: 1;
}

.btn-3d-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn-3d-arrow svg {
  width: 16px;
  height: 16px;
}
.btn-3d:hover .btn-3d-arrow {
  transform: rotate(-12deg) translate(2px, -2px);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(42, 48, 232, 0.06);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(109, 74, 255, 0.15);
  border-color: rgba(109, 74, 255, 0.5);
  color: #fff;
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--hero-muted);
  font-size: 13.76px;
  margin-top: var(--s-2);
}
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12.8px;
  font-weight: 500;
  color: var(--hero-muted);
  white-space: nowrap;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.trust-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}
.trust-pill strong { color: #fff; font-weight: 700; }
.trust-pill .stars { color: #ffc94a; letter-spacing: 0; font-size: 12.48px; }
.trust-pill .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #4ade80;
  animation: blink 1.6s ease-in-out infinite;
}

/* Hero visual — dashboard mock (light, contrasts the dark hero) */
.hero-visual {
  position: relative;
  height: 480px;
}

.dashboard {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  transform: perspective(1200px) rotateY(-3deg) rotateX(2deg);
  transition: transform .4s var(--ease);
}
.dashboard:hover { transform: perspective(1200px) rotateY(-1deg) rotateX(0deg); }

.dash-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f6f8fc;
  border-bottom: 1px solid var(--border);
}
.dash-header .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #e6ebf2;
}
.dash-header .dot:nth-child(1) { background: #ff6b6b; }
.dash-header .dot:nth-child(2) { background: #fcbe48; }
.dash-header .dot:nth-child(3) { background: #2ed573; }
.dash-title { margin-left: 12px; color: var(--muted-2); font-size: 12.48px; font-weight: 500; }

.dash-body {
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dash-stat {
  background: #f8faff;
  border: 1px solid #e7edf8;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-label { font-size: 12.48px; color: var(--muted); font-weight: 500; }
.dash-value {
  font-size: 27.2px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.16px;
}
.dash-trend { font-size: 12.48px; font-weight: 500; }
.dash-trend.up { color: #16a34a; }

.dash-chart {
  grid-column: 1 / -1;
  background: #f8faff;
  border: 1px solid #e7edf8;
  border-radius: 12px;
  padding: 14px;
  height: 160px;
}
.dash-chart svg { width: 100%; height: 100%; }

/* Floating pills */
.float-pill {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.76px;
  font-weight: 600;
  color: var(--text);
  z-index: 2;
}
.pill-1 { top: -16px; left: 8%; animation: floatY 5s ease-in-out infinite; }
.pill-2 { bottom: -16px; right: 6%; animation: floatY 6s ease-in-out infinite reverse; }
.pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2ed573;
  animation: blink 1.6s ease-in-out infinite;
}
.pill-icon { font-size: 16px; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* =========================================================
   HERO PRODUCT SHOWCASE — real products, not a fake dashboard.
   Glass cards blended into the dark hero (no stark white panel),
   each a genuine link to its product page.
   ========================================================= */
.hero-content-wide { max-width: 640px; padding-top: 30px; }

/* sizing lives on the anchor wrapper, kept separate from .hero-products
   itself because that element also carries the fade-up reveal animation —
   .fade-up.visible sets its own `transform`, which would silently
   overwrite a positioning transform on the same element */
.hero-products-anchor {
  position: relative;
  width: calc(100% - 40px);
  max-width: 520px;
  margin: 48px auto 0;
}
@media (min-width: 992px) {
  /* side-by-side with the text column: .hero-content-wide and
     .hero-products-anchor sit in their own .col-lg-6 within the
     Bootstrap .row that lays out .hero-split .container */
  .hero-products-anchor {
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

.hero-products {
  position: relative;
  padding: 28px;
  border-radius: 26px;
  /* inner wash concentrated bottom-right, echoing the glow bleeding
     through the panel's own translucent surface */
  background:
    radial-gradient(circle at 92% 96%, rgba(100, 56, 221, .3), transparent 55%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
/* soft ambient glow bleeding out from behind the panel, concentrated
   toward the bottom-right corner */
.hero-products::before {
  content: '';
  position: absolute;
  inset: -60px -60px -120px -60px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 100%, rgba(100, 56, 221, .55), transparent 55%),
    radial-gradient(circle at 8% 0%, rgba(42, 48, 232, .28), transparent 55%);
  filter: blur(60px);
}
/* tab-style header — brand mark + section tabs, echoing an app's own nav bar */
.hero-products-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 0 4px;
}
.hero-products-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
}
.hero-products-logo-full {
  height: 22px; width: auto; flex: none;
  object-fit: contain;
  display: block;
}
.hero-products-tabs {
  display: flex;
  gap: 30px;
  overflow: hidden;
}
.hero-products-tab {
  position: relative;
  padding-bottom: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--hero-muted);
  white-space: nowrap;
}
.hero-products-tab.is-active { color: #ffffff; font-weight: 600; }
.hero-products-tab.is-active::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; border-radius: 2px;
  background: var(--brand-gradient);
}

.hero-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.hero-product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  min-height: 210px;
  padding: 10px 20px;
  border-radius: 22px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
}
.hero-product-card::after { display: none !important; }
.hpc-top { display: flex; align-items: center; gap: 14px; }
.hpc-icon {
  width: 50px; height: 50px; flex: none;
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
}
.hpc-icon svg { width: 24px; height: 24px; display: block; }
.hpc-icon img { width: 145%; height: 145%; object-fit: cover; display: block; }
.hpc-top strong { color: #ffffff; font-size: 18px; font-weight: 700; letter-spacing: -.1px; }

.hpc-stat-row { display: flex; align-items: center; gap: 12px; }
.hpc-value { flex: none; color: #ffffff; font-size: 28px; font-weight: 700; letter-spacing: -.4px; }
.hpc-chart { flex: 1; height: 42px; min-width: 0; color: var(--c, #fff); }
.hpc-chart svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hpc-chart svg polyline {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: drawChart 4s linear infinite;
}
@keyframes drawChart {
  0% { stroke-dashoffset: 120; opacity: 0; }
  10% { stroke-dashoffset: 120; opacity: 1; }
  70% { stroke-dashoffset: 0; opacity: 1; }
  90% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.hpc-progress {
  flex: 1; min-width: 0; height: 8px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.hpc-progress-bar {
  display: block; height: 100%;
  border-radius: inherit;
  background: var(--c, #fff);
  position: relative;
  overflow: hidden;
  transform-origin: left center;
  animation: barPulse 3s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}
.hpc-progress-bar::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: progressSweep 2s infinite linear;
}
@keyframes progressSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}
@keyframes barPulse {
  0% { transform: scaleX(0.85); }
  100% { transform: scaleX(1); }
}
.hpc-badge {
  flex: none;
  font-size: 12.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 100px;
  background: var(--c-bg-badge, rgba(255, 255, 255, .1));
  color: var(--c, #fff);
}
.hpc-mini-label { display: block; font-size: 13px; color: var(--hero-muted); margin-top: -12px; }

/* on-theme per-product accents — same hues used in the Products nav dropdown,
   pushed brighter/more saturated so each card reads as its own product,
   not a uniform gray tile */
.hpc-eventogen { --c: #d8b4fe; --c-icon: #a855f7; --c-bg-h: rgba(168, 85, 247, .1); --c-bg-badge: rgba(168, 85, 247, .22); --c-bd: rgba(168, 85, 247, .45); }
.hpc-mailogen  { --c: #8b93ff; --c-icon: #2a30e8; --c-bg-h: rgba(42, 48, 232, .1);   --c-bg-badge: rgba(42, 48, 232, .22);   --c-bd: rgba(42, 48, 232, .45); }
.hpc-hireasily { --c: #6ee7b7; --c-icon: #0ea371; --c-bg-h: rgba(14, 163, 113, .1);  --c-bg-badge: rgba(14, 163, 113, .22);  --c-bd: rgba(14, 163, 113, .45); }
.hpc-tap2sales { --c: #f9a8d4; --c-icon: #db2777; --c-bg-h: rgba(219, 39, 119, .1);  --c-bg-badge: rgba(219, 39, 119, .22);  --c-bd: rgba(219, 39, 119, .45); }

/* =========================================================
   ABOUT — running wave background
   ========================================================= */

.about {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  background-image: radial-gradient(rgba(42, 48, 232, 0.10) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: 0 0;
}
.about > .container { position: relative; z-index: 2; }

/* Animated equalizer bars — brand colors */
.bars-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 0 18px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bar {
  flex: 1;
  min-width: 4px;
  background: linear-gradient(180deg,
    rgba(42, 48, 232, 0)    0%,
    rgba(42, 48, 232, 0.30) 35%,
    rgba(42, 48, 232, 0.80) 100%);
  border-radius: 6px 6px 0 0;
  transform-origin: bottom center;
  will-change: transform, opacity;
  filter: drop-shadow(0 -2px 8px rgba(42, 48, 232, 0.20));
  animation: barPulse 6s ease-in-out infinite;
  height: 60%;
}

@keyframes barPulse {
  0%, 100% { transform: scaleY(0.72); opacity: 0.55; }
  50%      { transform: scaleY(1);    opacity: 0.9; }
}

/* Subtle, slow height + timing variance */
.bar:nth-child(2n)  { height: 72%; animation-duration: 6.5s;  animation-delay: -0.6s; }
.bar:nth-child(3n)  { height: 80%; animation-duration: 7s;    animation-delay: -1.4s; }
.bar:nth-child(4n)  { height: 54%; animation-duration: 6.8s;  animation-delay: -2.2s; }
.bar:nth-child(5n)  { height: 64%; animation-duration: 5.6s;  animation-delay: -2.8s; }
.bar:nth-child(6n)  { height: 86%; animation-duration: 7.4s;  animation-delay: -1s;   }
.bar:nth-child(7n)  { height: 58%; animation-duration: 6.2s;  animation-delay: -3.2s; }
.bar:nth-child(8n)  { height: 76%; animation-duration: 7.8s;  animation-delay: -1.8s; }
.bar:nth-child(9n)  { height: 48%; animation-duration: 8s;    animation-delay: -2.6s; }
.bar:nth-child(11n) { height: 90%; animation-duration: 6.6s;  animation-delay: -0.8s; }
.bar:nth-child(13n) { height: 50%; animation-duration: 7.2s;  animation-delay: -1.6s; }

/* Single magenta accent — every 8th bar only, for refined variety */
.bar:nth-child(8n) {
  background: linear-gradient(180deg,
    rgba(155, 48, 212, 0)    0%,
    rgba(155, 48, 212, 0.28) 35%,
    rgba(155, 48, 212, 0.75) 100%);
  filter: drop-shadow(0 -2px 8px rgba(155, 48, 212, 0.22));
}
.ai-network {
  width: 100%;
  height: 100%;
  display: block;
}

/* Connection lines — slow breathing */
.ai-conns line {
  opacity: 0.25;
  animation: connBreath 5s ease-in-out infinite;
}
.ai-conns line:nth-child(3n)  { animation-delay: -1.5s; animation-duration: 6s; }
.ai-conns line:nth-child(5n)  { animation-delay: -3s;   animation-duration: 7s; }
.ai-conns line:nth-child(7n)  { animation-delay: -2s;   animation-duration: 4.5s; }
@keyframes connBreath {
  0%, 100% { opacity: 0.18; }
  50%      { opacity: 0.55; }
}

/* Data-flow dashes — continuously flow */
.ai-flow line {
  opacity: 0.7;
  animation: flowDash 3s linear infinite;
}
.ai-flow line:nth-child(2) { animation-duration: 4.5s; animation-delay: -1s; }
.ai-flow line:nth-child(3) { animation-duration: 3.5s; animation-delay: -0.5s; }
.ai-flow line:nth-child(4) { animation-duration: 6s;   animation-delay: -2s; }
.ai-flow line:nth-child(5) { animation-duration: 4s;   animation-delay: -1.5s; }
@keyframes flowDash {
  to { stroke-dashoffset: -34; }
}

/* Glowing pulsing nodes */
.ai-nodes circle {
  fill: #9b30d4;
  filter: drop-shadow(0 0 6px rgba(155, 48, 212, 0.9));
  transform-origin: center;
  transform-box: fill-box;
  animation: nodePulse 3s ease-in-out infinite;
}
.ai-nodes circle:nth-child(2n) {
  fill: #2a30e8;
  filter: drop-shadow(0 0 6px rgba(42, 48, 232, 0.9));
  animation-delay: -0.8s;
  animation-duration: 3.5s;
}
.ai-nodes circle:nth-child(3n) {
  fill: #6438dd;
  filter: drop-shadow(0 0 7px rgba(100, 56, 221, 0.95));
  animation-delay: -1.6s;
  animation-duration: 2.6s;
}
.ai-nodes circle:nth-child(5n) {
  fill: #c062e5;
  filter: drop-shadow(0 0 5px rgba(192, 98, 229, 0.85));
  animation-delay: -2.2s;
  animation-duration: 4s;
}
.ai-nodes circle:nth-child(7n) {
  animation-delay: -2.8s;
  animation-duration: 3.2s;
}
@keyframes nodePulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.45); }
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section.alt { background: var(--bg-alt); }

.section-head {
  text-align: center;
  margin-bottom: var(--head-mb);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 12.48px;
  font-weight: 700;
  letter-spacing: 2.88px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--s-2);
  background: var(--primary-soft);
  padding: 5px 12px;
  border-radius: 100px;
}

.section-head h2 {
  font-size: 44.8px;
  font-weight: 800;
  letter-spacing: -0.4px;
  line-height: 1.18;
  color: var(--text);
}
.section-sub {
  margin-top: var(--s-2);
  color: var(--muted);
  font-size: 17.28px;
}

/* Make .grad-text on light bg use the primary blue */
.section .grad-text,
.cta-card .grad-text {
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  max-width: 1000px;
  margin: 0 auto;
  font-size: 17.28px;
  color: var(--muted);
}
.about-col {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  position: relative;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
  animation: cardFloat 6s ease-in-out infinite;
  z-index: 2;
}
.about-col:nth-child(1) { animation-delay: 0s; }
.about-col:nth-child(2) { animation-delay: -3s; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Animated gradient border (always-on subtle, intensifies on hover) */
.about-col::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, #2a30e8 0%, #6438dd 50%, #9b30d4 100%);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.4;
  transition: opacity .4s var(--ease);
  pointer-events: none;
  animation: borderShimmer 5s linear infinite;
}
@keyframes borderShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* Glow halo under each card (pulses) */
.about-col::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: calc(var(--radius-lg) + 8px);
  background: radial-gradient(closest-side, rgba(42, 48, 232, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
  z-index: -1;
  filter: blur(8px);
}

.about-col:hover {
  transform: translateY(-10px) scale(1.01);
  animation-play-state: paused;
}
.about-col:hover::before { opacity: 1; }
.about-col:hover::after { opacity: 1; }

.about-col-title {
  font-size: 27.2px;
  font-weight: 800;
  margin-bottom: var(--s-2);
  letter-spacing: -0.24px;
  background: linear-gradient(95deg, #2a30e8 0%, #6438dd 25%, #9b30d4 50%, #6438dd 75%, #2a30e8 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  animation: titleShimmer 4s linear infinite;
  position: relative;
  z-index: 1;
}
@keyframes titleShimmer {
  to { background-position: 200% center; }
}

.about-col p {
  line-height: 1.7;
  color: var(--muted);
  font-size: 16px;
  position: relative;
  z-index: 1;
}

/* Inline Automatrick logo — pulses and shimmers in title */
.inline-logo {
  display: inline-block;
  height: 16.8px;
  width: auto;
  vertical-align: -2.88px;
  margin-left: 2.88px;
  -webkit-text-fill-color: initial;
  animation: logoPulse 3.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 8px rgba(42, 48, 232, 0.25));
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1) rotate(0); filter: drop-shadow(0 2px 8px rgba(42, 48, 232, 0.25)) brightness(1); }
  50%      { transform: scale(1.04) rotate(-0.5deg); filter: drop-shadow(0 4px 14px rgba(155, 48, 212, 0.35)) brightness(1.08); }
}

/* =========================================================
   ABOUT v3 — Light hero band + 3-pillar divided row (1 viewport)
   ========================================================= */

.about-v3 {
  background: #ffffff;
  color: var(--text);
  padding: 0;
  overflow: hidden;
}
.about-v3 .container { position: relative; z-index: 2; }

@media (min-width: 992px) {
  .about-v3 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* --- Top band: text left, image right --- */
.about-top {
  padding: 24px 0 20px;
}
@media (max-width: 991.98px) {
  .about-top { padding: 56px 0 32px; }
}

.about-intro {
  text-align: left;
  max-width: 580px;
}

.about-eyebrow {
  display: inline-block;
  font-size: 12.48px;
  font-weight: 700;
  letter-spacing: 2.24px;
  text-transform: uppercase;
  color: #6438dd;
  background: rgba(100, 56, 221, 0.09);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}
@media (max-width: 991.98px) {
  .about-eyebrow { margin-bottom: 16px; }
}

.about-headline {
  font-family: 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.6px;
  color: var(--text);
  margin: 0 0 16px;
}
.about-headline .grad-text {
  display: block;
}
@media (max-width: 991.98px) {
  .about-headline { font-size: 38.4px; margin-bottom: 18px; }
}
@media (max-width: 600px) {
  .cb-rownum{
    display: none;
  }
  .ev-hero-btn{
    font-size: 11px !important;
  }
  .about-headline { font-size: 30px; }
}

/* Word-by-word reveal animation */
.about-v3 .about-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(.2,.7,.2,1),
    filter .55s ease;
}
.about-v3.about-loaded .about-word {
  opacity: 1;
  transform: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .about-v3 .about-word { opacity: 1; transform: none; filter: none; transition: none; }
}

.about-lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 10px;
}
.about-lead:last-child { margin-bottom: 0; }
@media (max-width: 991.98px) {
  .about-lead { font-size: 16px; line-height: 1.65; margin-bottom: 14px; }
}
@media (max-width: 600px) {
  .about-lead { font-size: 15px; }
}

/* --- Right: visual --- */
.about-visual {
  position: relative;
}

.about-visual-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #2a30e8 0%, #6438dd 50%, #9b30d4 100%);
}
.about-visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .8s var(--ease);
}
.about-visual:hover .about-visual-frame img { transform: scale(1.04); }

.about-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 31, 0.0) 60%, rgba(10, 10, 31, 0.25) 100%);
  pointer-events: none;
}
@media (min-width: 992px) {
  .about-visual-frame { aspect-ratio: 16 / 9; }
}
@media (max-width: 991.98px) {
  .about-visual { max-width: 600px; margin: 0 auto; }
  .about-visual-frame { aspect-ratio: 16 / 10; border-radius: 18px; }
}

/* --- Bottom band: 3 pillars, divided --- */
.about-bottom {
  padding: 24px 0 28px;
  background: #ffffff;
  position: relative;
}
.about-bottom::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(15, 23, 42, 0.08);
}
@media (max-width: 991.98px) {
  .about-bottom { padding: 40px 0 56px; }
}

.about-pillars { position: relative; }

.pillar {
  position: relative;
  padding: 6px 28px;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  transition: transform .35s var(--ease);
}
.pillar:first-child { padding-left: 0; }
.pillar:last-child { padding-right: 0; }
.pillar + .pillar {
  border-left: 1px solid rgba(15, 23, 42, 0.10);
}
.pillar::before { display: none; }
.pillar:hover { transform: translateY(-3px); }

.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6438dd 0%, #9b30d4 100%);
  color: #ffffff;
  flex-shrink: 0;
  margin-bottom: 14px;
}
.pillar-icon svg { width: 22px; height: 22px; }
.pillar-mission .pillar-icon { background: linear-gradient(135deg, #2a30e8 0%, #6438dd 100%); }
.pillar-vision  .pillar-icon { background: linear-gradient(135deg, #6438dd 0%, #9b30d4 100%); }
.pillar-values  .pillar-icon { background: linear-gradient(135deg, #7e35d8 0%, #b430d4 100%); }

.pillar-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text);
  margin: 0 0 10px;
}

.pillar p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* --- Tablet/mobile: stack pillars with horizontal dividers --- */
@media (max-width: 767.98px) {
  .pillar {
    padding: 28px 0;
    border-left: 0 !important;
  }
  .pillar:first-child { padding-top: 0; }
  .pillar:last-child  { padding-bottom: 0; }
  .pillar + .pillar {
    border-top: 1px solid rgba(15, 23, 42, 0.10);
  }
  .pillar-icon { width: 52px; height: 52px; margin-bottom: 16px; }
  .pillar-icon svg { width: 24px; height: 24px; }
  .pillar-title { font-size: 22px; margin-bottom: 10px; }
  .pillar p { font-size: 14.5px; }
}

/* --- Tablet (md): 3 cols but tighter spacing --- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .pillar { padding: 8px 20px; }
  .pillar-icon { width: 50px; height: 50px; margin-bottom: 18px; }
  .pillar-icon svg { width: 22px; height: 22px; }
  .pillar-title { font-size: 22px; }
  .pillar p { font-size: 14px; }
}

/* =========================================================
   CHALLENGES — sticky notes pinned on lined paper
   (compressed to 1 viewport, animation-rich)
   ========================================================= */

.challenges {
  padding: 96px 0;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}
@media (min-width: 992px) {
  .challenges {
    min-height: 100vh;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .challenges > .container { width: 100%; }
}

.challenges-head {
  text-align: center;
  /* max-width: 720px; */
  margin: 0 auto 40px;
}
@media (min-width: 992px) {
  .challenges-head { margin: 0 auto 24px; }
}
.challenges-eyebrow {
  display: inline-block;
  font-size: 12.48px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #6438dd;
  background: rgba(100, 56, 221, 0.09);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.challenges-intro {
  font-size: 38.4px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.32px;
  line-height: 1.12;
}

/* Challenge cards — clean responsive grid */
.challenge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  max-width: 1340px;
  margin: 0 auto 64px;
}
.challenge-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(20, 16, 46, 0.07);
  border-radius: 22px;
  padding: 34px 26px;
  text-align: left;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
/* Gradient accent bar that grows on hover */
.challenge-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--ci-grad, linear-gradient(90deg, #6d4aff, #3b5bff));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.challenge-card:hover {
  transform: translateY(-8px);
  border-color: rgba(20, 16, 46, 0.04);
}
.challenge-card:hover::before { transform: scaleX(1); }

.challenge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  font-size: 25.6px;
  margin-bottom: 22px;
  transition: transform 0.35s ease;
}
.challenge-card:hover .challenge-icon { transform: scale(1.08) rotate(-4deg); }
.ci-blue   { background: linear-gradient(135deg, #e8edff, #c8d2fc); --ci-grad: linear-gradient(90deg, #5b6dff, #2a30e8); --ci-shadow: rgba(91, 109, 255, 0.28); }
.ci-violet { background: linear-gradient(135deg, #ede5ff, #d9c8ff); --ci-grad: linear-gradient(90deg, #8b5cf6, #6438dd); --ci-shadow: rgba(124, 58, 237, 0.26); }
.ci-purple { background: linear-gradient(135deg, #f7e8ff, #e8c8fc); --ci-grad: linear-gradient(90deg, #c062e5, #9b30d4); --ci-shadow: rgba(155, 48, 212, 0.24); }
.ci-pink   { background: linear-gradient(135deg, #ffe9f5, #fbc5e0); --ci-grad: linear-gradient(90deg, #ff90c8, #ec3b7a); --ci-shadow: rgba(236, 59, 122, 0.24); }
.ci-indigo { background: linear-gradient(135deg, #e7eaff, #c5cdf9); --ci-grad: linear-gradient(90deg, #8ea0ff, #2d3aa5); --ci-shadow: rgba(45, 58, 165, 0.22); }
.challenge-title {
  font-size: 17.92px;
  font-weight: 800;
  color: #14102e;
  letter-spacing: -0.16px;
  margin-bottom: 8px;
  line-height: 1.25;
}
.challenge-text {
  font-size: 15.2px;
  line-height: 1.55;
  color: #5a5a72;
  margin: 0;
}
@media (max-width: 1080px) {
  .challenge-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .challenge-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 440px) {
  .challenge-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   CHALLENGES — bento redesign
   ========================================================= */
.challenges-lead {
  text-align: center;
  max-width: 640px;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.6;
  color: #5a5a72;
}
.bento {
  max-width: 1340px;
  margin: 0 auto 64px;
}
@media (min-width: 992px) {
  .bento { margin: 0 auto 20px; }
}
.bento-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(20, 16, 46, 0.07);
  border-radius: 24px;
  padding: 28px 26px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
@media (min-width: 992px) {
  .bento-card { padding: 18px 20px; border-radius: 18px; }
}
.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(20, 16, 46, 0.03);
}
.bento-card:hover .bento-corner { opacity: 0.7; transform: translate(12px, -12px) scale(1.15); }
.bento-card:hover .bento-icon { transform: scale(1.08) rotate(-4deg); }

/* Decorative gradient corner glow */
.bento-corner {
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.4;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.ci-blue-grad   { background: radial-gradient(circle, rgba(91, 109, 255, 0.55), transparent 70%); }
.ci-violet-grad { background: radial-gradient(circle, rgba(124, 58, 237, 0.50), transparent 70%); }
.ci-purple-grad { background: radial-gradient(circle, rgba(155, 48, 212, 0.50), transparent 70%); }
.ci-pink-grad   { background: radial-gradient(circle, rgba(236, 59, 122, 0.50), transparent 70%); }
.ci-indigo-grad { background: radial-gradient(circle, rgba(45, 58, 165, 0.50), transparent 70%); }

/* Featured (hero) card */
.bento-hero {
  padding: 36px 32px;
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(91, 109, 255, 0.06), transparent 60%),
    #ffffff;
}
@media (min-width: 992px) {
  .bento-hero { padding: 22px 24px; }
}
.bento-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}
@media (min-width: 992px) {
  .bento-hero-top { margin-bottom: 14px; }
}
.bento-stat {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 72px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
  background-image: linear-gradient(95deg, #5b6dff, #6438dd, #9b30d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (min-width: 992px) {
  .bento-stat { font-size: 56px; letter-spacing: -1.5px; }
}
.bento-stat-pct {
  font-size: 36px;
  margin-left: 2px;
}
@media (min-width: 992px) {
  .bento-stat-pct { font-size: 28px; }
}
.bento-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  margin-top: 6px;
  /* max-width: 220px; */
  line-height: 1.4;
}

/* Icon chip — vivid gradient with white SVG line icon */
.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  color: #ffffff;
  background-image: var(--ci-grad, linear-gradient(135deg, #5b6dff, #2a30e8));
  margin-bottom: 16px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
  z-index: 1;
}
.bento-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
.bento-card:hover .bento-icon {
}
.bento-hero .bento-icon {
  width: 60px; height: 60px;
  margin-bottom: 0;
  flex: none;
}
.bento-hero .bento-icon svg {
  width: 28px;
  height: 28px;
}

.bento-title {
  font-size: 17px;
  font-weight: 800;
  color: #14102e;
  letter-spacing: -0.16px;
  margin-bottom: 8px;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}
.bento-title-lg {
  font-size: 26px;
  letter-spacing: -0.4px;
}
@media (min-width: 992px) {
  .bento-title { font-size: 15.5px; margin-bottom: 6px; }
  .bento-title-lg { font-size: 21px; }
}
.bento-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: #5a5a72;
  margin: 0;
  position: relative;
  z-index: 1;
}
.bento-hero .bento-text {
  font-size: 15.5px;
  line-height: 1.6;
  margin-bottom: 18px;
}
@media (min-width: 992px) {
  .bento-text { font-size: 13.5px; line-height: 1.5; }
  .bento-hero .bento-text { font-size: 14px; line-height: 1.55; margin-bottom: 12px; }
  .bento-icon { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 10px; }
  .bento-icon svg { width: 20px; height: 20px; }
  .bento-hero .bento-icon { width: 50px; height: 50px; }
  .bento-hero .bento-icon svg { width: 24px; height: 24px; }
  .bento-tag { font-size: 11.5px; padding: 4px 10px; }
}

/* Tag chips inside hero card */
.bento-tags { display: flex; flex-wrap: wrap; gap: 8px; position: relative; z-index: 1; }
.bento-tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: #4a4a63;
  background: #f4f3fb;
  border: 1px solid #ececf2;
  padding: 5px 12px;
  border-radius: 100px;
}

@media (max-width: 991px) {
  .bento-hero { padding: 28px 24px; }
  .bento-stat { font-size: 56px; }
  .bento-stat-pct { font-size: 28px; }
  .bento-title-lg { font-size: 22px; }
}
@media (max-width: 600px) {
  .bento-card { padding: 22px 20px; }
  .bento-hero { padding: 24px 20px; }
  .bento-stat { font-size: 48px; }
  .bento-hero-top { gap: 12px; }
  .bento-hero .bento-icon { width: 52px; height: 52px; font-size: 22px; }
}

/* 5 notes in a single row with vertical stagger */
.sticky-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  max-width: 1200px;
  margin: 0 auto var(--s-3);
  padding: 24px 0 48px;
}

/* Animated dashed connectors between consecutive notes */
.board-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}
.board-paths path {
  animation: dashFlowCh 3.5s linear infinite, pathPulse 4.5s ease-in-out infinite;
  stroke-width: 1.5;
}
.board-paths path:nth-child(2) { animation-delay: -0.5s, -1s; }
.board-paths path:nth-child(3) { animation-delay: -1s, -2s; }
.board-paths path:nth-child(4) { animation-delay: -1.5s, -3s; }
@keyframes dashFlowCh {
  to { stroke-dashoffset: -36; }
}
@keyframes pathPulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 0.95; }
}

/* Background floating particles */
.board-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.b-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #9b30d4 0%, transparent 70%);
  opacity: 0.5;
  animation: dotDrift 12s ease-in-out infinite, dotTwinkle 2.4s ease-in-out infinite;
}
@keyframes dotTwinkle {
  0%, 100% { filter: brightness(1) blur(0.5px); }
  50%      { filter: brightness(1.6) blur(0); }
}
.b-dot.d1 { top: 12%; left: 8%;  width: 8px; height: 8px; animation-duration: 9s; }
.b-dot.d2 { top: 24%; left: 92%; width: 5px; height: 5px; background: radial-gradient(circle, #2a30e8 0%, transparent 70%); animation-duration: 11s; animation-delay: -2s; }
.b-dot.d3 { top: 70%; left: 18%; width: 7px; height: 7px; background: radial-gradient(circle, #6438dd 0%, transparent 70%); animation-duration: 13s; animation-delay: -4s; }
.b-dot.d4 { top: 86%; left: 80%; width: 6px; height: 6px; background: radial-gradient(circle, #c062e5 0%, transparent 70%); animation-duration: 10s; animation-delay: -1s; }
.b-dot.d5 { top: 50%; left: 50%; width: 5px; height: 5px; animation-duration: 14s; animation-delay: -6s; }
.b-dot.d6 { top: 6%;  left: 60%; width: 5px; height: 5px; background: radial-gradient(circle, #2a30e8 0%, transparent 70%); animation-duration: 11s; animation-delay: -3s; }
.b-dot.d7 { top: 92%; left: 38%; width: 7px; height: 7px; background: radial-gradient(circle, #9b30d4 0%, transparent 70%); animation-duration: 13s; animation-delay: -5s; }
.b-dot.d8 { top: 36%; left: 28%; width: 4px; height: 4px; background: radial-gradient(circle, #c062e5 0%, transparent 70%); animation-duration: 9s;  animation-delay: -7s; }
.b-dot.d9 { top: 60%; left: 72%; width: 6px; height: 6px; animation-duration: 12s; animation-delay: -8s; }

@keyframes dotDrift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
  25%      { transform: translate(20px, -16px) scale(1.2); opacity: 0.7; }
  50%      { transform: translate(-12px, 18px) scale(0.9); opacity: 0.4; }
  75%      { transform: translate(14px, 8px) scale(1.1); opacity: 0.6; }
}

/* Sticky note base */
.sticky {
  position: relative;
  border-radius: 16px;
  padding: 30px 16px 18px;
  z-index: 1;
  transition: box-shadow .35s var(--ease);
  width: 100%;
  max-width: 230px;
  justify-self: center;
  will-change: transform;
  transform-style: preserve-3d;
  overflow: hidden;
}

/* Paper-grain highlight (top-left) */
.sticky::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background-image: radial-gradient(circle at 20% 25%, rgba(255,255,255,0.55), transparent 55%);
  pointer-events: none;
  opacity: 0.8;
  z-index: 0;
}

/* Folded paper corner (bottom-right) + shimmer sweep overlay */
.sticky::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background:
    /* shimmer sweep */
    linear-gradient(120deg, transparent 35%, rgba(255,255,255,0.55) 50%, transparent 65%) no-repeat,
    /* fold gradient anchored bottom-right */
    linear-gradient(315deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.08) 16px, transparent 16px);
  background-size: 200% 200%, 100% 100%;
  background-position: -200% 0, 0 0;
  pointer-events: none;
  z-index: 1;
  animation: shimmerSweep 7s ease-in-out infinite;
}
@keyframes shimmerSweep {
  0%, 88%, 100% { background-position: -200% 0, 0 0; }
  94%           { background-position: 200% 0,  0 0; }
}

.sticky:hover {
  animation-play-state: paused !important;
  z-index: 5;
  transform: perspective(800px) rotate(0deg) translateY(-12px) rotateX(6deg) scale(1.03) !important;
}

/* Per-note: float + wobble + pastel logo-tints. Animation only runs when .visible. */
.note-1 { background: linear-gradient(160deg, #f3edff 0%, #ece5ff 100%); }
.note-2 { background: linear-gradient(160deg, #eaeefe 0%, #dfe5fc 100%); }
.note-3 { background: linear-gradient(160deg, #f8eaff 0%, #f3deff 100%); }
.note-4 { background: linear-gradient(160deg, #ffe9f3 0%, #fbdcec 100%); }
.note-5 { background: linear-gradient(160deg, #e8ecff 0%, #dde2fb 100%); }

/* Hide before reveal, then drop-in + continuous float */
.sticky.reveal { opacity: 0; transform: translateY(-80px) rotate(0); transition: none; }
.sticky.reveal.visible { opacity: 1; }

.note-1.visible { animation: dropIn1 .85s var(--ease-out) backwards, noteFloat1 5.5s ease-in-out .85s infinite; }
.note-2.visible { animation: dropIn2 .85s .12s var(--ease-out) backwards, noteFloat2 6.2s ease-in-out .97s infinite; }
.note-3.visible { animation: dropIn3 .85s .24s var(--ease-out) backwards, noteFloat3 5s ease-in-out 1.09s infinite; }
.note-4.visible { animation: dropIn4 .85s .36s var(--ease-out) backwards, noteFloat4 6.6s ease-in-out 1.21s infinite; }
.note-5.visible { animation: dropIn5 .85s .48s var(--ease-out) backwards, noteFloat5 5.8s ease-in-out 1.33s infinite; }

/* Drop-in keyframes — each lands at its float-starting transform */
@keyframes dropIn1 {
  0%   { opacity: 0; transform: translateY(-100px) rotate(20deg) scale(0.7); }
  60%  { opacity: 1; transform: translateY(12px)   rotate(-4deg) scale(1.05); }
  80%  {              transform: translateY(-4px)  rotate(-2deg) scale(1); }
  100% { opacity: 1; transform: rotate(-2.5deg) translateY(0); }
}
@keyframes dropIn2 {
  0%   { opacity: 0; transform: translateY(-100px) rotate(-15deg) scale(0.7); }
  60%  { opacity: 1; transform: translateY(28px)   rotate(3deg)   scale(1.05); }
  80%  {              transform: translateY(16px)  rotate(1.5deg) scale(1); }
  100% { opacity: 1; transform: rotate(2deg) translateY(20px); }
}
@keyframes dropIn3 {
  0%   { opacity: 0; transform: translateY(-100px) rotate(18deg)  scale(0.7); }
  60%  { opacity: 1; transform: translateY(16px)   rotate(-3deg)  scale(1.05); }
  80%  {              transform: translateY(4px)   rotate(-1deg)  scale(1); }
  100% { opacity: 1; transform: rotate(-1.5deg) translateY(8px); }
}
@keyframes dropIn4 {
  0%   { opacity: 0; transform: translateY(-100px) rotate(-18deg) scale(0.7); }
  60%  { opacity: 1; transform: translateY(38px)   rotate(4deg)   scale(1.05); }
  80%  {              transform: translateY(26px)  rotate(2deg)   scale(1); }
  100% { opacity: 1; transform: rotate(2.5deg) translateY(30px); }
}
@keyframes dropIn5 {
  0%   { opacity: 0; transform: translateY(-100px) rotate(15deg) scale(0.7); }
  60%  { opacity: 1; transform: translateY(22px)   rotate(-3deg) scale(1.05); }
  80%  {              transform: translateY(10px)  rotate(-1deg) scale(1); }
  100% { opacity: 1; transform: rotate(-1.5deg) translateY(14px); }
}

@keyframes noteFloat1 {
  0%, 100% { transform: rotate(-2.5deg) translateY(0); }
  50%      { transform: rotate(-3deg)   translateY(-8px); }
}
@keyframes noteFloat2 {
  0%, 100% { transform: rotate(2deg)    translateY(20px); }
  50%      { transform: rotate(2.6deg)  translateY(12px); }
}
@keyframes noteFloat3 {
  0%, 100% { transform: rotate(-1.5deg) translateY(8px); }
  50%      { transform: rotate(-2deg)   translateY(0px); }
}
@keyframes noteFloat4 {
  0%, 100% { transform: rotate(2.5deg)  translateY(30px); }
  50%      { transform: rotate(3deg)    translateY(22px); }
}
@keyframes noteFloat5 {
  0%, 100% { transform: rotate(-1.5deg) translateY(14px); }
  50%      { transform: rotate(-1deg)   translateY(4px); }
}

/* Pushpin — lands with a pop after the note drops, then glows */
.sticky.visible .pin {
  animation:
    pinLand .55s ease-out backwards,
    pinGlow 2.6s ease-in-out infinite;
  animation-delay: .85s, 1.4s;
}
.note-2.visible .pin { animation-delay: .97s, 1.52s; }
.note-3.visible .pin { animation-delay: 1.09s, 1.64s; }
.note-4.visible .pin { animation-delay: 1.21s, 1.76s; }
.note-5.visible .pin { animation-delay: 1.33s, 1.88s; }
@keyframes pinLand {
  0%   { transform: translateX(-50%) scale(0) rotate(-180deg); opacity: 0; }
  60%  { transform: translateX(-50%) scale(1.4) rotate(20deg); opacity: 1; }
  100% { transform: translateX(-50%) scale(1) rotate(0); opacity: 1; }
}

.pin {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 30%, var(--pin-light, #6a9cff), var(--pin-dark, #1f2dc7));
  z-index: 4;
  animation: pinGlow 2.6s ease-in-out infinite;
}
.pin::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4.5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
}
@keyframes pinGlow {
  0%, 100% {}
  50%      {}
}

.pin-blue    { --pin-light: #7a8cff; --pin-dark: #1f2dc7; --pin-glow: rgba(42, 48, 232, 0.6); }
.pin-violet  { --pin-light: #b89bff; --pin-dark: #4a25b0; --pin-glow: rgba(100, 56, 221, 0.6); }
.pin-magenta { --pin-light: #d895ff; --pin-dark: #7a1ea3; --pin-glow: rgba(155, 48, 212, 0.6); }
.pin-pink    { --pin-light: #ff90c8; --pin-dark: #b21e72; --pin-glow: rgba(214, 65, 143, 0.6); }
.pin-indigo  { --pin-light: #8ea0ff; --pin-dark: #2d3aa5; --pin-glow: rgba(58, 75, 215, 0.6); }

.sticky h3 {
  padding-top: 4px;
  font-size: 15.36px;
  margin-bottom: 6px;
  color: #1a1a2e;
  font-weight: 800;
  letter-spacing: -0.16px;
  line-height: 1.22;
  position: relative;
  z-index: 1;
}
.sticky p {
  font-size: 12.48px;
  color: #4a4a6a;
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 1;
}

.challenges-close {
  /* text-align: center; */
  padding-top: 20px;
  max-width: 800px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16.64px;
  line-height: 1.6;
}
@media (min-width: 992px) {
  .challenges-close { font-size: 14px; line-height: 1.5; max-width: 760px; }
}

@media (max-width: 960px) {
  .sticky-board {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px 60px;
    max-width: 620px;
    padding: 24px 0 32px;
  }
  .note-5 { grid-column: 1 / -1; }
  .board-paths { display: none; }
}

@media (max-width: 480px) {
  .sticky-board { grid-template-columns: 1fr; max-width: 280px; gap: 22px; }
  .note-5 { grid-column: 1; }
  .sticky { max-width: 260px; }
}

/* =========================================================
   FEATURE CARDS — compact 1-viewport, animation-rich
   ========================================================= */

.section.features {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
  background-color: #06080f;
  background-image: url('assets/images/automatrick_1.png');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.section.features > .container { position: relative; z-index: 1; }

@media (min-width: 992px) {
  .section.features {
    min-height: 100vh;
    padding: 48px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Full-width content layout — 3 columns of cards, 2 rows */
.section.features .section-head,
.section.features .feature-grid {
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  text-align: left;
}
.section.features .section-head { margin-bottom: 32px; }
@media (min-width: 992px) {
  .section.features .section-head { margin-bottom: 24px; text-align: center; }
  .section.features .section-sub { margin-left: auto; margin-right: auto; max-width: 820px; }
}
.section.features .section-sub {
  font-size: 16.64px;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.78);
  margin-left: 0;
  margin-right: 0;
}
.section.features .section-head h2 {
  color: #ffffff;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.4px;
}
.section.features .section-head .grad-text,
.section.features .section-head .grad-anim {
  background: linear-gradient(95deg, #7da6ff 0%, #b9a8ff 35%, #c062e5 50%, #b9a8ff 65%, #7da6ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Dark overlay — uniform readability across full-width content */
.section.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 8, 15, 0.78) 0%, rgba(6, 8, 15, 0.62) 50%, rgba(6, 8, 15, 0.50) 100%);
  pointer-events: none;
}
@keyframes featuresGlow {
  0%, 100% { transform: translate(0, 0); opacity: 0.85; }
  50%      { transform: translate(40px, -25px); opacity: 1; }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

/* 3 columns × 2 rows on desktop for the features section */
@media (min-width: 992px) {
  .section.features .feature-grid.row {
    --bs-columns: 3;
    --bs-gutter-x: 18px;
    --bs-gutter-y: 18px;
  }
  .section.features .feature-grid.row > .col {
    flex: 0 0 auto;
    width: 33.3333%;
  }
}

/* --- Dark-theme feature cards (scoped to features section) --- */
.section.features .feature-card {
  background: linear-gradient(135deg, rgba(28, 38, 78, 0.55) 0%, rgba(14, 18, 38, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 22px 22px;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
}
.section.features .feature-card::before {
  background: linear-gradient(135deg, #5b6dff 0%, #9b30d4 50%, #c062e5 100%);
  background-size: 200% 200%;
  opacity: 0.20;
}
.section.features .feature-card::after {
  background: radial-gradient(circle 240px at var(--mx, 50%) var(--my, 50%), rgba(155, 48, 212, 0.18), transparent 55%);
}
.section.features .feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 98, 229, 0.45);
}
.section.features .feature-card:hover::before { opacity: 0.85; }

.section.features .feature-card h3 {
  color: #ffffff;
  font-size: 16.8px;
  font-weight: 700;
  letter-spacing: -0.1px;
  line-height: 1.25;
  margin: 0;
}
@media (min-width: 992px) {
  .section.features .feature-card { padding: 18px 18px; gap: 14px; }
  .section.features .feature-card h3 { font-size: 16px; }
  .section.features .feature-icon { width: 46px; height: 46px; min-width: 46px; border-radius: 12px; }
  .section.features .feature-icon svg { width: 20px; height: 20px; }
}

/* Icon container — glassy chip with gradient stroke */
.section.features .feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(91, 109, 255, 0.22) 0%, rgba(155, 48, 212, 0.22) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cdd9ff;
  margin: 0;
  transition: transform .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  animation: none;
}
.section.features .feature-icon svg {
  width: 22px;
  height: 22px;
}
.section.features .feature-card:hover .feature-icon {
  transform: scale(1.06) rotate(-3deg);
  color: #ffffff;
}

@media (max-width: 600px) {
  .section.features .feature-card { padding: 18px; gap: 12px; }
  .section.features .feature-icon { width: 44px; height: 44px; min-width: 44px; border-radius: 12px; }
  .section.features .feature-icon svg { width: 18px; height: 18px; }
  .section.features .feature-card h3 { font-size: 15.2px; }
}

/* Mobile background image swap — portrait visual, fixed attachment */
@media (max-width: 768px) {
  .section.features {
    background-image: url('assets/images/automatrick_1_mobile.png');
    background-position: center;
    background-attachment: fixed;
  }

  /* Full width content on mobile (drop the 50% constraint) */
  .section.features .section-head,
  .section.features .feature-grid {
    max-width: 100%;
  }

  /* Horizontal swipe slider for feature cards on mobile */
  .section.features .feature-grid.row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 12px;
    -webkit-overflow-scrolling: touch;
    padding: 4px 12px 18px;
    margin-left: -12px;
    margin-right: -12px;
    gap: 14px;
    scrollbar-width: none;             /* Firefox */
  }
  .section.features .feature-grid.row::-webkit-scrollbar { display: none; }
  .section.features .feature-grid.row > .col {
    flex: 0 0 78%;
    max-width: 78%;
    scroll-snap-align: start;
    padding: 0;                        /* gutter handled by gap above */
  }

  /* Dot pagination — only visible on mobile */
  .feature-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
  }
  .feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: transform .3s var(--ease), background .3s var(--ease), width .3s var(--ease);
  }
  .feature-dot.is-active {
    width: 22px;
    border-radius: 100px;
    background: linear-gradient(90deg, #7da6ff 0%, #c062e5 100%);
  }
}
@media (min-width: 769px) {
  .feature-dots { display: none; }
}

.feature-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 16px;
  padding: 22px 22px 20px;
  transition:
    transform .4s var(--ease),
    box-shadow .4s var(--ease);
  position: relative;
  isolation: isolate;
  animation: featCardFloat 6s ease-in-out infinite;
}

/* Stagger continuous float */
.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: -1s; }
.feature-card:nth-child(3) { animation-delay: -2s; }
.feature-card:nth-child(4) { animation-delay: -3s; }
.feature-card:nth-child(5) { animation-delay: -4s; }
.feature-card:nth-child(6) { animation-delay: -5s; }

@keyframes featCardFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* Animated gradient border (always running, intensifies on hover) */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--primary) 0%, #6438dd 50%, var(--accent) 100%);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
  animation: borderSweep 5s linear infinite;
}
@keyframes borderSweep {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Soft mouse-follow glow inside each card */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 50%), rgba(42, 48, 232, 0.10), transparent 50%);
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 0;
}

.feature-card > * { position: relative; z-index: 1; }

.feature-card:hover {
  transform: translateY(-8px);
  animation-play-state: paused;
}
.feature-card:hover::before { opacity: 1; }
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  font-size: 22.4px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-soft) 0%, rgba(155, 48, 212, 0.10) 100%);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  animation: iconBreath 3.5s ease-in-out infinite;
}
.feature-card:nth-child(2n) .feature-icon { animation-delay: -0.7s; }
.feature-card:nth-child(3n) .feature-icon { animation-delay: -1.4s; }
.feature-card:nth-child(5n) .feature-icon { animation-delay: -2s; }

@keyframes iconBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

.feature-card:hover .feature-icon {
  transform: scale(1.12) rotate(-6deg);
  animation-play-state: paused;
}

.feature-card h3 {
  font-size: 16.32px;
  margin-bottom: 5px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.16px;
}

.feature-card p {
  color: var(--muted);
  font-size: 13.44px;
  line-height: 1.5;
  margin: 0;
}

/* Responsive grid */
@media (max-width: 960px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; max-width: 360px; }
  .feature-card { padding: 18px; }
}

/* =========================================================
   PRODUCTS SHOWCASE — 2 animated cards
   ========================================================= */

/* =========================================================
   PRODUCTS — orbit / hub-and-spoke diagram
   ========================================================= */

.products {
  padding: 96px 0 80px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(42, 48, 232, 0.04), transparent 70%);
}
.products .section-head { margin-bottom: 56px; }

/* =========================================================
   PRODUCTS — Hub-and-spoke glassmorphism
   ========================================================= */

.hub-products {
  background:
    radial-gradient(circle at 18% 28%, rgba(155, 48, 212, 0.08), transparent 50%),
    radial-gradient(circle at 82% 72%, rgba(42, 48, 232, 0.08), transparent 50%),
    linear-gradient(180deg, #fafbff 0%, #f0f2fb 100%);
  color: #1a1a2e;
  position: relative;
  overflow: hidden;
  padding: 56px 0;
}
.hub-products::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(42, 48, 232, 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}
.hub-products .container { position: relative; z-index: 1; }
.hub-products .section-head h2 {
  color: #0f172a;
  font-family: 'Inter', sans-serif;
  font-size: 38.4px;
  font-weight: 800;
  letter-spacing: -0.32px;
  line-height: 1.12;
}
@media (max-width: 720px) {
  .hub-products .section-head h2 { font-size: 28px; letter-spacing: -0.2px; }
}
.hub-products .eyebrow {
  background: var(--primary-soft);
  border: 1px solid #d8e2ff;
  color: var(--primary);
}

/* Hub layout — central circle on left, spokes on right */
.hub-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
}

/* =========================================================
   PRODUCTS v2 — 2 cards | image | 2 cards
   ========================================================= */

.products-v2 {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px 1fr;
  align-items: center;
  gap: 24px;
}

/* --- Connection lines SVG overlay --- */
.pv-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}

/* Soft glowing curves — fade-gradient stroke, no dashes */
.pv-line {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity .9s ease-out;
}
.products-v2.visible .pv-line { opacity: 0.9; }
.pv-line-1 { transition-delay: .05s; filter: drop-shadow(0 0 6px rgba(155, 48, 212, 0.45)); }
.pv-line-2 { transition-delay: .15s; filter: drop-shadow(0 0 6px rgba(8, 145, 178, 0.45)); }
.pv-line-3 { transition-delay: .25s; filter: drop-shadow(0 0 6px rgba(234, 88, 12, 0.45)); }
.pv-line-4 { transition-delay: .35s; filter: drop-shadow(0 0 6px rgba(219, 39, 119, 0.45)); }

/* Flowing particles — small glowing dots traveling along each curve */
.pv-particle {
  opacity: 0;
  transition: opacity .6s ease-out;
}
.products-v2.visible .pv-particle { opacity: 1; }
.pv-particle-1 { fill: #c062e5; filter: drop-shadow(0 0 8px #9b30d4); transition-delay: .4s; }
.pv-particle-2 { fill: #22c0d6; filter: drop-shadow(0 0 8px #0891b2); transition-delay: .5s; }
.pv-particle-3 { fill: #f59e0b; filter: drop-shadow(0 0 8px #ea580c); transition-delay: .6s; }
.pv-particle-4 { fill: #f472b6; filter: drop-shadow(0 0 8px #db2777); transition-delay: .7s; }

/* Card and image sit above the lines */
.pv-col, .pv-side { position: relative; z-index: 2; }

.pv-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pv-side {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pv-side-img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 22px;
  animation: cardFloat 8s ease-in-out infinite;
}

/* Each card: glass surface, brand-color accent set via custom properties */
.pv-card {
  --c1: #5b6dff;
  --c2: #9b30d4;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 18px 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  isolation: isolate;
}
.pv-card-1 { --c1: #9b30d4; --c2: #c062e5; }
.pv-card-2 { --c1: #0891b2; --c2: #22c0d6; }
.pv-card-3 { --c1: #ea580c; --c2: #f59e0b; }
.pv-card-4 { --c1: #db2777; --c2: #ec4899; }
.pv-card-5 { --c1: #16a34a; --c2: #4ade80; }
.pv-card-6 { --c1: #ca8a04; --c2: #facc15; }

.pv-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.pv-card-glow {
  position: absolute;
  top: -40%; right: -30%;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c1) 55%, transparent), transparent 70%);
  filter: blur(20px);
  opacity: 0.20;
  transition: opacity .4s var(--ease);
  pointer-events: none;
  z-index: 0;
}

.pv-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
}
.pv-card:hover::before { opacity: 1; }
.pv-card:hover .pv-card-glow { opacity: 0.55; }
.pv-card:hover .pv-card-link { gap: 10px; color: var(--c1); }

.pv-card-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 18%, transparent) 0%, color-mix(in srgb, var(--c2) 18%, transparent) 100%);
  color: var(--c1);
  border: 1px solid color-mix(in srgb, var(--c1) 20%, transparent);
  margin-bottom: 10px;
  transition: transform .35s var(--ease);
}
.pv-card-icon svg { width: 18px; height: 18px; }
.pv-card:hover .pv-card-icon { transform: scale(1.05) rotate(-3deg); }

.pv-card-num {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c1) 35%, transparent);
  line-height: 1;
  z-index: 2;
  transition: -webkit-text-stroke-color .35s var(--ease);
}
.pv-card:hover .pv-card-num { -webkit-text-stroke-color: color-mix(in srgb, var(--c1) 70%, transparent); }

.pv-card-title {
  position: relative;
  z-index: 2;
  font-size: 17.6px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
  margin: 12px 0 4px;
}

.pv-card-text {
  position: relative;
  z-index: 2;
  font-size: 13.6px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 10px;
  flex: 1;
}

.pv-card-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.48px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--c1) 75%, var(--text));
  transition: gap .3s var(--ease), color .3s var(--ease);
  margin-top: auto;
}

@media (max-width: 991.98px) {
  .products-v2 { grid-template-columns: 1fr; gap: 20px; }
  .pv-side { order: -1; }
  .pv-side-img { max-width: 360px; margin: 0 auto; }
  .pv-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; flex-direction: row; }
  /* Lines look broken in stacked layout — hide */
  .pv-lines { display: none; }
}
@media (max-width: 600px) {
  .pv-col { grid-template-columns: 1fr; gap: 12px; }
  .pv-card { padding: 14px 16px; }
}

/* ---------- Central Hub ---------- */
.hub-center {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 360px;
  justify-self: center;
}

.hub-glow {
  position: absolute;
  inset: -50px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(155, 48, 212, 0.20), transparent 65%),
    radial-gradient(circle at 40% 60%, rgba(42, 48, 232, 0.18), transparent 65%);
  filter: blur(40px);
  animation: hubGlow 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hubGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

.hub-ring-outer,
.hub-ring-mid {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hub-ring-outer {
  inset: -28px;
  border: 1px dashed rgba(42, 48, 232, 0.18);
  animation: ringSpin 40s linear infinite;
}
.hub-ring-mid {
  inset: -12px;
  border: 1px solid rgba(42, 48, 232, 0.10);
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

.hub-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75)),
    radial-gradient(circle at 30% 30%, rgba(155, 48, 212, 0.10), transparent 70%);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 44px;
  text-align: center;
}

.hub-mark {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2a30e8 0%, #6438dd 50%, #9b30d4 100%);
  display: grid;
  place-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 27.2px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
}

.hub-label {
  font-size: 11.2px;
  font-weight: 700;
  letter-spacing: 3.52px;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.55);
  margin-bottom: 12px;
}

.hub-circle p {
  color: rgba(15, 23, 42, 0.65);
  font-size: 13.76px;
  line-height: 1.55;
  margin: 0;
}

/* ---------- Connection lines ---------- */
.hub-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
.hub-path {
  animation: pathFlow 4s linear infinite;
}
.hub-path.hp-2 { animation-delay: -1s; }
.hub-path.hp-3 { animation-delay: -2s; }
.hub-path.hp-4 { animation-delay: -3s; }
@keyframes pathFlow {
  to { stroke-dashoffset: -36; }
}

/* ---------- Spokes (right column) ---------- */
.hub-spokes {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 2;
}

.spoke {
  display: flex;
  align-items: center;
  gap: 28px;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: transform .4s var(--ease);
}
.spoke:hover { transform: translateX(6px); }

.spoke-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  /* Solid-ish so the connection line behind it doesn't show through */
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0%, #f5f7fc 75%);
  border: 2px solid var(--spoke-color);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.spoke:hover .spoke-circle {
  transform: scale(1.08);
}

.spoke-circle::before {
  /* Inner accent ring */
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.spoke-num {
  font-family: 'Inter', sans-serif;
  font-size: 28.8px;
  font-weight: 800;
  color: var(--spoke-color);
  letter-spacing: -0.32px;
  position: relative;
  z-index: 1;
}

/* Per-spoke color themes (deeper variants for light bg) */
.spoke-1 { --spoke-color: #9b30d4; --spoke-glow: rgba(155, 48, 212, 0.22); }
.spoke-2 { --spoke-color: #0891b2; --spoke-glow: rgba(8, 145, 178, 0.22); }
.spoke-3 { --spoke-color: #ea580c; --spoke-glow: rgba(234, 88, 12, 0.22); }
.spoke-4 { --spoke-color: #db2777; --spoke-glow: rgba(219, 39, 119, 0.22); }

.spoke-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 360px;
  min-width: 0;
}

.spoke-icon {
  width: 22px;
  height: 22px;
  color: rgba(15, 23, 42, 0.45);
  margin-bottom: 2px;
  transition: color .35s var(--ease);
}
.spoke:hover .spoke-icon { color: var(--spoke-color); }

.spoke-info h3 {
  font-family: 'Inter', sans-serif;
  font-size: 19.2px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.24px;
  transition: color .35s var(--ease);
}
.spoke:hover .spoke-info h3 { color: var(--spoke-color); }

.spoke-info p {
  font-size: 14.08px;
  color: rgba(15, 23, 42, 0.58);
  line-height: 1.55;
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hub-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hub-lines, .hub-dot { display: none; }
  .hub-center { max-width: 280px; margin: 0 auto; }
}

@media (max-width: 720px) {
  .spoke { gap: 18px; }
  .spoke-circle { width: 72px; height: 72px; }
  .spoke-num { font-size: 22.4px; }
  .spoke-info h3 { font-size: 16.8px; }
  .spoke-info p { font-size: 13.12px; }
}

/* =========================================================
   (Legacy) PRODUCTS — Stair-step infographic
   ========================================================= */

.products-stairs {
  background: #1a1a26;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.products-stairs::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(42, 48, 232, 0.15), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(155, 48, 212, 0.12), transparent 60%);
  pointer-events: none;
}
.products-stairs .container { position: relative; z-index: 1; }
.products-stairs .section-head h2 { color: #fff; }
.products-stairs .section-head .grad-text {
  background: linear-gradient(95deg, #5b8cff, #c062e5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.products-stairs .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: #b5b9d0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Stair layout — perspective pyramid (narrow at top → widest at bottom) */
.stairs {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  padding-right: 0;
}

/* Each stair is a flat top with visible "step edge" thickness below */
.stair {
  position: relative;
  display: flex;
  align-items: stretch;
  height: 86px;
  background: #f1f2f5;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  /* 3D step depth: a dark band below + soft drop shadow */
/* ambient drop shadow */
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

/* Perspective widths — each step wider than the one above */
.stair-1 { width: 72%; z-index: 1; margin-top: 0; }
.stair-2 { width: 81%; z-index: 2; margin-top: -2px; }
.stair-3 { width: 90%; z-index: 3; margin-top: -2px; }
.stair-4 { width: 100%; z-index: 4; margin-top: -2px; }

.stair:hover {
  transform: translateY(-4px);
  z-index: 10;
}

/* Left colored number block (the "front face" of the step) */
.stair-num {
  width: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 6px 0 0 6px;
  position: relative;
  flex-shrink: 0;
}
.stair-num strong {
  font-family: 'Inter', sans-serif;
  font-size: 24.8px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.32px;
}
.stair-num small {
  font-size: 9.92px;
  font-weight: 700;
  letter-spacing: 3.52px;
  margin-top: 4px;
  opacity: 0.85;
}

/* Per-step palette — matches reference image */
.stair-1 .stair-num { background: linear-gradient(180deg, #f0723e 0%, #d4561f 100%); }
.stair-2 .stair-num { background: linear-gradient(180deg, #5d7286 0%, #3f5365 100%); }
.stair-3 .stair-num { background: linear-gradient(180deg, #38bce8 0%, #1f9dc7 100%); }
.stair-4 .stair-num { background: linear-gradient(180deg, #44607b 0%, #2c4359 100%); }

/* Center content */
.stair-content {
  flex: 1;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.stair-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16.8px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #2a3548;
  margin: 0 0 4px;
}
.stair-content p {
  font-size: 13.12px;
  color: #6b7585;
  line-height: 1.45;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
          line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Step icon on right side inside the stair */
.stair-icon {
  width: 30px;
  height: 30px;
  color: #6b7585;
  align-self: center;
  margin-right: 22px;
  flex-shrink: 0;
}

/* Percent pill — positioned outside on the right, connected by a thin line */
.stair-pill {
  position: absolute;
  top: 50%;
  left: calc(100% + 30px);
  transform: translateY(-50%);
  background: #3a4555;
  color: #fff;
  border-radius: 100px;
  padding: 8px 20px;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
}
.stair-pill strong {
  display: block;
  font-size: 15.2px;
  font-weight: 800;
  letter-spacing: 0.32px;
  line-height: 1;
}
.stair-pill small {
  font-size: 9.6px;
  font-weight: 600;
  letter-spacing: 2.24px;
  opacity: 0.9;
  display: block;
  margin-top: 2px;
}
/* Per-step pill matches its stair color */
.stair-1 .stair-pill { background: linear-gradient(180deg, #f0723e, #d4561f); }
.stair-2 .stair-pill { background: linear-gradient(180deg, #5d7286, #3f5365); }
.stair-3 .stair-pill { background: linear-gradient(180deg, #38bce8, #1f9dc7); }
.stair-4 .stair-pill { background: linear-gradient(180deg, #44607b, #2c4359); }
/* Connector line from stair to pill */
.stair-pill::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  width: 36px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 960px) {
  .stairs { max-width: 600px; }
  .stair-1 { width: 78%; }
  .stair-2 { width: 86%; }
  .stair-3 { width: 93%; }
  .stair-pill { left: calc(100% + 20px); padding: 6px 14px; }
  .stair-pill strong { font-size: 13.6px; }
  .stair-pill::before { width: 20px; }
}

@media (max-width: 720px) {
  .stairs { max-width: 420px; gap: 18px; }
  .stair, .stair-1, .stair-2, .stair-3, .stair-4 {
    width: 100%;
    margin-top: 0;
    height: auto;
    flex-direction: column;
  }
  .stair-num {
    width: 100%;
    height: 48px;
    flex-direction: row;
    gap: 10px;
    border-radius: 6px 6px 0 0;
  }
  .stair-num strong { font-size: 20.8px; }
  .stair-content { padding: 16px 20px; }
  .stair-icon { margin: 0 auto 14px; }
  .stair-pill {
    position: static;
    transform: none;
    display: inline-block;
    margin: 0 auto 16px;
    align-self: center;
  }
  .stair-pill::before { display: none; }
}

/* =========================================================
   PRODUCTS — folder-tab staircase infographic
   ========================================================= */

.step-stack {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 20px;
}

.step-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: -42px;
  transition: transform .4s var(--ease);
}
.step-row:first-child { margin-top: 0; }

/* Staircase offsets: top step furthest right, bottom step at left */
.step-row-4 { transform: translateX(180px); z-index: 4; }
.step-row-3 { transform: translateX(120px); z-index: 3; }
.step-row-2 { transform: translateX(60px);  z-index: 2; }
.step-row-1 { transform: translateX(0);     z-index: 1; }

.step-row:hover { z-index: 10; }
.step-row:hover .step-folder {
  transform: translateY(-6px);
}

/* Folder body */
.step-folder {
  position: relative;
  width: 280px;
  padding: 26px 24px 20px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  display: block;
  flex-shrink: 0;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  isolation: isolate;
}

/* Tab on top of folder (left-aligned, narrower than body) */
.step-folder::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 16px;
  width: 100px;
  height: 20px;
  border-radius: 8px 8px 0 0;
  background: var(--folder-top, #5a6b80);
  z-index: -1;
}

/* Subtle inner shine across folder body */
.step-folder::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.step-folder > * { position: relative; z-index: 1; }

/* Per-step palette — matches reference image exactly */
/* Bottom (01): teal/cyan */
.color-1 {
  background: linear-gradient(180deg, #76d4e2 0%, #43b8cc 100%);
  --folder-top: #67ccdb;
}
/* (02): lilac / light periwinkle */
.color-2 {
  background: linear-gradient(180deg, #a3b1d2 0%, #7c8db5 100%);
  --folder-top: #95a4c6;
}
/* (03): medium sky blue */
.color-3 {
  background: linear-gradient(180deg, #6a8fc7 0%, #4870a8 100%);
  --folder-top: #5e83bd;
}
/* Top (04): dark slate blue */
.color-4 {
  background: linear-gradient(180deg, #586c84 0%, #3d4d63 100%);
  --folder-top: #4d6079;
}

/* Step label + number */
.step-label {
  display: block;
  font-size: 11.84px;
  font-weight: 700;
  letter-spacing: 3.52px;
  opacity: 0.75;
  margin-bottom: 2px;
}

.step-number {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 41.6px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.32px;
  margin-bottom: 16px;
}

/* Progress bar — dashed line + % */
.step-progress {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-pct {
  font-size: 12.48px;
  font-weight: 700;
  letter-spacing: 0.96px;
  opacity: 0.85;
}
.step-bar {
  display: inline-block;
  flex: 1;
  height: 6px;
  background-image: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, 0.75) 0 6px,
    transparent 6px 12px);
  border-radius: 1px;
}

/* Right-side info text */
.step-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 340px;
}
.step-icon {
  width: 30px;
  height: 30px;
  color: #4a5970;
  display: block;
  margin-bottom: 6px;
}
.step-info h3 {
  font-size: 20px;
  font-weight: 800;
  color: #2a3548;
  letter-spacing: 1.92px;
  text-transform: uppercase;
  margin: 0;
}
.step-info p {
  font-size: 14.72px;
  color: #7a8595;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 960px) {
  .step-stack { max-width: 720px; }
  .step-row { gap: 24px; }
  .step-row-4 { transform: translateX(120px); }
  .step-row-3 { transform: translateX(80px); }
  .step-row-2 { transform: translateX(40px); }
}

@media (max-width: 720px) {
  .step-stack { max-width: 380px; }
  .step-row {
    transform: none !important;
    margin-top: 28px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }
  .step-row:first-child { margin-top: 0; }
  .step-folder { width: 100%; max-width: 300px; }
  .step-info { text-align: center; max-width: 100%; align-items: center; }
}

/* Per-product colors (used on each node) */
.show-eventogen {
  --c1: #a855f7;
  --c2: #ec4899;
  --c1-glow: rgba(168, 85, 247, 0.32);
}
.show-hireflow {
  --c1: #10b981;
  --c2: #06b6d4;
  --c1-glow: rgba(16, 185, 129, 0.32);
}
.show-snapfilter {
  --c1: #f97316;
  --c2: #fbbf24;
  --c1-glow: rgba(249, 115, 22, 0.32);
}
.show-leadfilter {
  --c1: #ec4899;
  --c2: #8b5cf6;
  --c1-glow: rgba(236, 72, 153, 0.32);
}

/* Orbit container — square diagram */
.orbit {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

/* Concentric rings */
.orbit-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: ringSpin 80s linear infinite;
}
.orbit-rings circle {
  fill: none;
  stroke: rgba(42, 48, 232, 0.10);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}
.orbit-rings circle:nth-child(1) { stroke: rgba(42, 48, 232, 0.07); }
.orbit-rings circle:nth-child(2) { stroke: rgba(42, 48, 232, 0.10); }
.orbit-rings circle:nth-child(3) { stroke: rgba(42, 48, 232, 0.13); }
.orbit-rings circle:nth-child(4) { stroke: rgba(42, 48, 232, 0.16); }
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

/* Cross-hair guides */
.orbit-axis {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(42, 48, 232, 0.12), transparent);
  pointer-events: none;
}
.orbit-axis.horizontal { top: 50%; left: 0; right: 0; height: 1px; }
.orbit-axis.vertical {
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(42, 48, 232, 0.12), transparent);
}

/* Connecting paths from hub to each node */
.orbit-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.orbit-paths line {
  stroke: rgba(42, 48, 232, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
  animation: dashFlow 3s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -20; }
}

/* Center hub */
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 5;
}
.orbit-logo {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 27.2px;
  letter-spacing: -0.32px;
  position: relative;
  animation: hubPulse 3s ease-in-out infinite;
}
.orbit-logo::before,
.orbit-logo::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(42, 48, 232, 0.25);
  animation: hubRipple 2.4s ease-out infinite;
}
.orbit-logo::after { animation-delay: 1.2s; }

@keyframes hubPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@keyframes hubRipple {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.orbit-label {
  font-size: 10.88px;
  font-weight: 700;
  letter-spacing: 3.2px;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

/* Product nodes positioned at the 4 corners */
.orbit-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--border);
  padding: 8px 14px 8px 8px;
  border-radius: 100px;
  color: var(--text);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  z-index: 10;
  animation: nodeFloat 6s ease-in-out infinite;
}
.orbit-node:nth-of-type(2) { animation-delay: -1.5s; }
.orbit-node:nth-of-type(3) { animation-delay: -3s; }
.orbit-node:nth-of-type(4) { animation-delay: -4.5s; }

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.orbit-node:hover {
  transform: translateY(-4px) scale(1.05);
  border-color: var(--c1);
  animation-play-state: paused;
}

.node-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  display: grid;
  place-items: center;
  font-size: 17.6px;
  flex-shrink: 0;
}

.node-meta { display: flex; flex-direction: column; gap: 1px; line-height: 1.2; }
.node-meta strong {
  font-weight: 800;
  font-size: 14.08px;
  letter-spacing: -0.16px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.node-meta span {
  font-size: 10.56px;
  font-weight: 600;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Corner positions */
.pos-tl { top: 0;     left: 0; }
.pos-tr { top: 0;     right: 0; }
.pos-bl { bottom: 0;  left: 0; }
.pos-br { bottom: 0;  right: 0; }

/* =========================================================
   NAV DROPDOWN
   ========================================================= */

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font: inherit;
  font-weight: 500;
  font-size: 15.2px;
  color: inherit;
  padding: 0;
}
.dropdown-toggle .caret {
  display: inline-flex;
  opacity: 0.75;
  transition: transform .35s var(--ease-out), opacity .25s var(--ease);
}
.dropdown-toggle .caret svg {
  width: 15px;
  height: 15px;
  display: block;
}
.nav-dropdown:hover .dropdown-toggle .caret,
.nav-dropdown.open .dropdown-toggle .caret { opacity: 1; transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%) translateY(10px) scale(.98);
  transform-origin: top center;
  min-width: 366px;
  /* brand gradient accent strip painted as a background layer (not a separate
     pseudo-element box) so it clips to the card's own border-radius natively —
     a standalone box this thin can't share a 20px corner curve without either
     overflowing past it or leaving a gap; a background layer always follows
     the parent's exact rounded shape, so it reaches both corners cleanly. */
  background-color: #fff;
  background-image: var(--brand-gradient);
  background-repeat: no-repeat;
  background-size: 100% 5px;
  background-position: top left;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: var(--radius-lg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s var(--ease), visibility .28s var(--ease), transform .28s var(--ease);
  z-index: 10;
}
/* invisible hover-bridge so the menu doesn't close while crossing the gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  inset: -18px 0 100% 0;
  height: 18px;
  top: -18px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* one-by-one reveal of the inner rows when the menu opens */
.nav-dropdown:hover .dropdown-menu > *,
.nav-dropdown.open .dropdown-menu > *,
.nav-dropdown:focus-within .dropdown-menu > * {
  animation: ddRowIn .45s var(--ease-out) both;
}
.dropdown-menu > *:nth-child(1) { animation-delay: .04s; }
.dropdown-menu > *:nth-child(2) { animation-delay: .13s; }
.dropdown-menu > *:nth-child(3) { animation-delay: .22s; }
.dropdown-menu > *:nth-child(4) { animation-delay: .31s; }
.dropdown-menu > *:nth-child(5) { animation-delay: .40s; }
.dropdown-menu > *:nth-child(6) { animation-delay: .49s; }
@keyframes ddRowIn {
  from { opacity: 0; transform: translateX(-16px) scale(.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown:hover .dropdown-menu > *,
  .nav-dropdown.open .dropdown-menu > *,
  .nav-dropdown:focus-within .dropdown-menu > * { animation: none; }
}

.dropdown-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding: 9px 14px 6px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--text) !important;
  position: relative;
  background: var(--c-bg);
  border: 1px solid transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.dropdown-item::after { display: none !important; }
.dropdown-item:hover {
  background: var(--c-bg-h);
  border-color: var(--c-bd);
  transform: translateX(3px);
}
.dropdown-item:hover strong { color: var(--c); }
.dropdown-item:active { transform: translateX(3px) scale(.99); }

/* About dropdown — simple text links (no icons) */
.dropdown-menu-about { min-width: 268px; }
.dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text) !important;
  border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.dropdown-link::after { display: none !important; }
.dropdown-link:hover {
  background: var(--primary-soft);
  color: var(--primary) !important;
  transform: translateX(3px);
}
.dropdown-link:active { transform: translateX(3px) scale(.99); }

/* per-product accent colors (card tint, border, arrow, title) */
.di-eventogen  { --c: #a855f7; --c-bg: rgba(168, 85, 247, 0.06);  --c-bg-h: rgba(168, 85, 247, 0.13);  --c-bd: rgba(168, 85, 247, 0.32); }
.di-hireflow   { --c: #0ea371; --c-bg: rgba(16, 185, 129, 0.06);  --c-bg-h: rgba(16, 185, 129, 0.13);  --c-bd: rgba(16, 185, 129, 0.32); }
.di-snapfilter { --c: #ea7317; --c-bg: rgba(249, 115, 22, 0.06);  --c-bg-h: rgba(249, 115, 22, 0.13);  --c-bd: rgba(249, 115, 22, 0.32); }
.di-leadfilter { --c: #db2777; --c-bg: rgba(236, 72, 153, 0.06);  --c-bg-h: rgba(236, 72, 153, 0.13);  --c-bd: rgba(236, 72, 153, 0.32); }
.di-mailogen   { --c: #2a30e8; --c-bg: rgba(42, 48, 232, 0.06);   --c-bg-h: rgba(42, 48, 232, 0.13);   --c-bd: rgba(42, 48, 232, 0.32); }
.di-weddipro   { --c: #ca8a04; --c-bg: rgba(202, 138, 4, 0.06);   --c-bg-h: rgba(202, 138, 4, 0.13);   --c-bd: rgba(202, 138, 4, 0.32); }

.di-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.dropdown-item:hover .di-icon {
  transform: scale(1.08) rotate(-3deg);
}
.di-icon.eventogen-icon {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16), rgba(236, 72, 153, 0.16));
}
.di-icon.hireflow-icon {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(6, 182, 212, 0.16));
}
.di-icon.snapfilter-icon {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.16), rgba(251, 191, 36, 0.16));
}
.di-icon.leadfilter-icon {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.16), rgba(139, 92, 246, 0.16));
}

.di-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.3; flex: 1; min-width: 0; }
.dropdown-item strong { font-weight: 700; font-size: 15px; color: var(--text); }
.di-text span { font-size: 13px; color: var(--muted); }

/* per-item hover arrow */
.di-arrow {
  margin-left: auto;
  font-size: 17px;
  font-weight: 600;
  color: var(--c, var(--primary));
  opacity: 0;
  transform: translateX(-7px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.dropdown-item:hover .di-arrow { opacity: 1; transform: translateX(0); }

/* footer "view all" row */
.dropdown-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 12px;
  border-top: 1px solid var(--border);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--primary) !important;
  border-radius: 0 0 12px 12px;
  transition: background .2s var(--ease);
}
.dropdown-foot::after { display: none !important; }
.dropdown-foot:hover { background: var(--primary-soft); }
.df-arrow { transition: transform .2s var(--ease); }
.dropdown-foot:hover .df-arrow { transform: translateX(4px); }

/* Dropdown toggle in dark-hero state */
.navbar.nav-on-dark .dropdown-toggle { color: rgba(255, 255, 255, 0.85); }
.navbar.nav-on-dark .dropdown-toggle:hover { color: #fff; }
.navbar.scrolled .dropdown-toggle,
body.page-form .navbar .dropdown-toggle { color: var(--text-2); }
.navbar.scrolled .dropdown-toggle:hover,
body.page-form .navbar .dropdown-toggle:hover { color: var(--primary); }

/* =========================================================
   CATEGORIES
   ========================================================= */

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--grid-gap);
}

.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 22px 22px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  color: var(--text);
}
.cat-card span:first-child {
  font-size: 24px;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--primary-soft);
  flex-shrink: 0;
}
.cat-card h4 {
  font-size: 15.36px;
  font-weight: 600;
  letter-spacing: -0.16px;
  flex: 1;
}
.cat-card .arrow {
  color: var(--muted-2);
  transition: transform .25s var(--ease), color .25s var(--ease);
}
.cat-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}
.cat-card:hover .arrow { color: var(--primary); transform: translateX(4px); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */

.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--border);
  padding: var(--card-pad);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step:hover { transform: translateY(-4px);}
.step-num {
  font-size: 35.2px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--s-1);
  letter-spacing: -0.32px;
}
.step h3 { font-size: 18.88px; margin-bottom: var(--s-1); letter-spacing: -0.16px; color: var(--text); }
.step p { color: var(--muted); font-size: 15.36px; }
.step-arrow {
  display: grid;
  place-items: center;
  font-size: 25.6px;
  color: var(--accent);
  font-weight: 200;
  animation: arrowPulse 2s var(--ease) infinite;
  min-width: 32px;
}
@keyframes arrowPulse {
  0%, 100% { opacity: .35; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(6px); }
}

/* =========================================================
   USE CASES
   ========================================================= */

.use-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--grid-gap);
}
.use-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: var(--card-pad);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.use-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-soft);
}
.use-icon {
  width: 60px; height: 60px;
  margin: 0 auto var(--s-3);
  display: grid;
  place-items: center;
  font-size: 25.6px;
  border-radius: 16px;
  background: var(--primary-soft);
}
.use-card h3 { font-size: 17.92px; margin-bottom: var(--s-1); letter-spacing: -0.16px; color: var(--text); }
.use-card p { color: var(--muted); font-size: 14.72px; }

/* =========================================================
   BEFORE vs. AFTER
   ========================================================= */

.compare { background: var(--bg-alt); }

/* =========================================================
   BEFORE vs AFTER v2 — paired transformation board (DARK)
   ========================================================= */

.compare-v2 {
  padding: 72px 0;
  background: #0a0a1f;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Ambient drifting glow background */
.compare-v2::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 40% 35% at 20% 30%, rgba(91, 109, 255, 0.20), transparent 60%),
    radial-gradient(ellipse 45% 40% at 80% 70%, rgba(155, 48, 212, 0.22), transparent 60%);
  filter: blur(50px);
  z-index: 0;
  animation: compareGlowDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
.compare-v2::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.compare-v2 > .container { position: relative; z-index: 1; }
@keyframes compareGlowDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(40px, -30px); }
}

.compare-v2 .section-head { margin-bottom: 36px; text-align: center; }
.compare-v2 .section-head h2 {
  font-family: 'Inter', sans-serif;
  font-size: 38.4px;
  font-weight: 800;
  letter-spacing: -0.32px;
  line-height: 1.12;
  color: #ffffff;
}
@media (max-width: 720px) {
  .compare-v2 .section-head h2 { font-size: 28px; letter-spacing: -0.2px; }
}
.compare-v2 .section-head .grad-anim,
.compare-v2 .section-head .grad-text {
  background: linear-gradient(95deg, #7da6ff 0%, #b9a8ff 35%, #c062e5 50%, #b9a8ff 65%, #7da6ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.compare-board {
  max-width: 1040px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(20, 26, 58, 0.65) 0%, rgba(14, 18, 38, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 20px 24px 22px;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Animated gradient hairline ring */
.compare-board::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 22px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(91, 109, 255, 0.55), rgba(155, 48, 212, 0.55), rgba(91, 109, 255, 0.55));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.45;
  pointer-events: none;
  animation: compareRingShift 8s linear infinite;
}
@keyframes compareRingShift {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 200%; }
}

/* Per-side gradient tints (stronger on dark) */
.cb-bg {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  pointer-events: none;
  z-index: 0;
}
.cb-bg-before {
  left: 0;
  background:
    radial-gradient(circle at 0% 50%, rgba(239, 68, 68, 0.18), transparent 60%),
    linear-gradient(90deg, rgba(239, 68, 68, 0.10) 0%, transparent 100%);
}
.cb-bg-after {
  right: 0;
  background:
    radial-gradient(circle at 100% 50%, rgba(155, 48, 212, 0.22), transparent 60%),
    linear-gradient(270deg, rgba(91, 109, 255, 0.16) 0%, transparent 100%);
}
.compare-board > *:not(.cb-bg) { position: relative; z-index: 1; }

.compare-board-head {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: center;
  padding: 8px 4px 14px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  margin-bottom: 6px;
}
.cb-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cb-head-after { align-items: flex-start; }
.cb-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.84px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  width: fit-content;
}
.cb-pill-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: cbDotPulse 2.4s ease-in-out infinite;
}
.cb-pill-before {
  background: rgba(239, 68, 68, 0.16);
  color: #ff8a8a;
  border: 1px solid rgba(239, 68, 68, 0.30);
}
.cb-pill-after {
  background: rgba(91, 109, 255, 0.18);
  color: #b9c5ff;
  border: 1px solid rgba(91, 109, 255, 0.35);
}
.cb-pill-after .cb-pill-dot { animation-delay: -1.2s; }
@keyframes cbDotPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.3); }
}
.cb-head-label {
  font-size: 13.6px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}
.cb-head-divider {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  margin: 0 auto;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(91, 109, 255, 0.35), rgba(155, 48, 212, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.18);
  animation: cbDividerPulse 2.6s ease-in-out infinite;
  visibility: hidden;
}
.cb-head-divider svg { width: 16px; height: 16px; animation: cbDividerArrow 2.6s ease-in-out infinite; }
@keyframes cbDividerPulse {
  0%, 100% {}
  50%      {}
}
@keyframes cbDividerArrow {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(2px); }
}

.compare-rows {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.cb-row {
  display: grid;
  grid-template-columns: 28px 1fr 56px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 8px;
  border-radius: 12px;
  transition: background .25s var(--ease), transform .25s var(--ease);
  opacity: 0;
  transform: translateY(8px);
}
.compare-v2 .compare-board.visible .cb-row,
.compare-v2 .compare-board .cb-row {
  animation: cbRowIn .55s var(--ease-out) both;
  animation-delay: var(--d, 0s);
}
@keyframes cbRowIn {
  to { opacity: 1; transform: translateY(0); }
}
.cb-row:nth-child(even) { background: rgba(255, 255, 255, 0.025); }
.cb-row:hover {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.06) 0%, rgba(155, 48, 212, 0.12) 100%);
  transform: translateX(2px);
}

.cb-rownum {
  font-family: 'Inter', sans-serif;
  font-size: 13.6px;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.30);
  text-align: center;
  transition: -webkit-text-stroke-color .25s var(--ease), color .25s var(--ease);
}
.cb-row:hover .cb-rownum {
  -webkit-text-stroke-color: rgba(185, 168, 255, 0.85);
  color: rgba(185, 168, 255, 0.18);
}

.cb-side {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.88px;
  line-height: 1.4;
}
.cb-after { font-weight: 600; color: #ffffff; }
.cb-before { color: rgba(255, 255, 255, 0.55); }
.cb-before span:last-child { text-decoration: line-through; text-decoration-color: rgba(255, 138, 138, 0.65); text-decoration-thickness: 1.5px; }

.cb-mark {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.84px;
  font-weight: 800;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.cb-before .cb-mark {
  background: rgba(239, 68, 68, 0.20);
  color: #ff8a8a;
  border: 1px solid rgba(239, 68, 68, 0.30);
}
.cb-after .cb-mark {
  background: linear-gradient(135deg, #5b6dff, #9b30d4);
  color: #ffffff;
  animation: cbAfterMarkBreath 3s ease-in-out infinite;
}
@keyframes cbAfterMarkBreath {
  0%, 100% {}
  50%      {}
}
.cb-row:hover .cb-before .cb-mark { transform: rotate(-12deg) scale(0.95); }
.cb-row:hover .cb-after  .cb-mark { transform: scale(1.18);animation-play-state: paused; }

/* Animated arrow trail between sides */
.cb-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 24px;
}
.cb-link-trail {
  position: absolute;
  left: 4px; right: 16px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 168, 255, 0.75));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.cb-link-arrow {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.35);
  z-index: 1;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.cb-row:hover .cb-link-trail { transform: scaleX(1); }
.cb-row:hover .cb-link-arrow { color: #c062e5; transform: translateX(3px); }

/* Impact summary strip */
.compare-impact {
  max-width: 1040px;
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ci-card {
  position: relative;
  padding: 18px 16px;
  background: linear-gradient(135deg, rgba(28, 38, 78, 0.55) 0%, rgba(14, 18, 38, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 14px;
  text-align: center;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  animation: ciCardEnter .7s var(--ease-out) both;
}
.ci-card:nth-child(1) { animation-delay: .05s; }
.ci-card:nth-child(2) { animation-delay: .15s; }
.ci-card:nth-child(3) { animation-delay: .25s; }
.ci-card:nth-child(4) { animation-delay: .35s; }
@keyframes ciCardEnter {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ci-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1.5px;
  background: linear-gradient(135deg, #5b6dff, #9b30d4, #c062e5);
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.25;
  transition: opacity .35s var(--ease);
  pointer-events: none;
  animation: compareRingShift 6s linear infinite;
}
/* Sweeping shine across each card */
.ci-card::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.10) 50%, transparent 100%);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: left .7s var(--ease);
}
.ci-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 98, 229, 0.45);
}
.ci-card:hover::before { opacity: 0.95; }
.ci-card:hover::after { left: 125%; }
.ci-value {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1;
  background: linear-gradient(95deg, #7da6ff 0%, #b9a8ff 35%, #c062e5 50%, #b9a8ff 65%, #7da6ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  animation: ciValueShimmer 6s ease-in-out infinite;
}
@keyframes ciValueShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.ci-value small {
  font-size: 0.55em;
  font-weight: 700;
  margin-left: 2px;
  letter-spacing: 0;
  -webkit-text-fill-color: initial;
  background: none;
  color: #c062e5;
}
.ci-label {
  display: block;
  font-size: 13.12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.35;
}

@media (max-width: 720px) {
  .compare-v2 { padding: 56px 0; }
  .compare-board { padding: 16px 14px 18px; }
  .cb-bg { display: none; }
  .compare-board-head { grid-template-columns: 1fr 36px 1fr; gap: 6px; padding-bottom: 10px; }
  .cb-head-label { font-size: 12.16px; }
  .cb-row { grid-template-columns: 22px 1fr 32px 1fr; padding: 10px 4px; gap: 6px; }
  .cb-rownum { font-size: 11.84px; }
  .cb-side { font-size: 13.12px; gap: 8px; }
  .cb-mark { width: 20px; height: 20px; font-size: 10.88px; }
  .cb-link-arrow { font-size: 15px; }
  .compare-impact { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
  .ci-card { padding: 14px 12px; }
  .ci-value { font-size: 27.2px; }
  .ci-label { font-size: 12.16px; }
}
.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-3);
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}
.compare-col {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  position: relative;
  overflow: hidden;
}
.compare-col::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.compare-before::before { background: linear-gradient(90deg, #ef4444, #f97316); }
.compare-after::before  { background: linear-gradient(90deg, var(--primary), var(--accent)); }

.compare-col h3 {
  font-size: 18.4px;
  font-weight: 800;
  letter-spacing: -0.16px;
  margin-bottom: var(--s-3);
  color: var(--text);
}
.compare-before h3 { color: #b91c1c; }
.compare-after h3 {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.compare-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.compare-col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.36px;
  color: var(--text-2);
  padding-left: 26px;
  position: relative;
  line-height: 1.5;
}
.compare-col li::before {
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 11.2px;
}
.compare-before li::before {
  content: '✕';
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}
.compare-after li::before {
  content: '✓';
  background: rgba(42, 48, 232, 0.12);
  color: var(--primary);
}

.compare-arrow {
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: 200;
  color: var(--accent);
  min-width: 32px;
  animation: arrowPulse 2s var(--ease) infinite;
}

@media (max-width: 720px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-arrow { transform: rotate(90deg); }
}

/* CTA emphasis line */
.cta-emphasis {
  color: var(--text) !important;
  font-weight: 700;
  margin-top: -8px;
  margin-bottom: var(--s-4) !important;
}

/* =========================================================
   METRICS BAND
   ========================================================= */

.metrics {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  padding: var(--s-6) 0;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.metrics::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.08), transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(255, 255, 255, 0.08), transparent 40%);
  pointer-events: none;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--s-4);
  text-align: center;
  position: relative;
  z-index: 1;
}
.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.metric-num {
  font-size: 44.8px;
  font-weight: 800;
  letter-spacing: -0.32px;
  font-feature-settings: "tnum";
}
.metric span { color: rgba(255, 255, 255, 0.85); font-size: 15.04px; font-weight: 500; }

/* =========================================================
   CTA SECTION
   ========================================================= */

.cta-section {
  padding: var(--section-y) 0;
  background: var(--bg);
}
.cta-card {
  background: linear-gradient(135deg, #f4f0ff 0%, #eeefff 50%, #f7ebff 100%);
  border: 1px solid #d5d3ff;
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(42, 48, 232, 0.18), transparent 65%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
  pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 {
  font-size: 41.6px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: var(--s-2);
  color: var(--text);
}
.cta-card p {
  color: var(--muted);
  margin-bottom: var(--s-4);
  font-size: 17.28px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-card .hero-cta { justify-content: center; margin-bottom: 0; }

/* =========================================================
   CTA v2 — Blue card with robot hand + rising bars
   ========================================================= */

.cta-section-v2 {
  padding: 70px 0;
  background: linear-gradient(180deg, #000 0%, #1163fb 50%, #000 100%);
}

.cta-card-blue {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(91, 109, 255, 0.30), transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(155, 48, 212, 0.25), transparent 60%),
    linear-gradient(135deg, #0c1024 0%, #1a1a4e 55%, #2d1854 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  isolation: isolate;
}
.cta-card-blue::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 32px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(91, 109, 255, 0.55), rgba(155, 48, 212, 0.55), rgba(91, 109, 255, 0.55));
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.55;
  pointer-events: none;
  animation: ctaRingShift 8s linear infinite;
  z-index: 1;
}
@keyframes ctaRingShift { to { background-position: 200% 200%; } }

.cta-card-blue-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}
.cta-orb-1 { width: 380px; height: 380px; top: -100px; right: 8%; background: rgba(155, 48, 212, 0.45); animation: ctaOrbDrift 14s ease-in-out infinite alternate; }
.cta-orb-2 { width: 300px; height: 300px; bottom: -80px; right: -40px; background: rgba(91, 109, 255, 0.45); animation: ctaOrbDrift 18s ease-in-out infinite alternate-reverse; }
.cta-orb-3 { width: 240px; height: 240px; top: 30%; left: -50px; background: rgba(192, 98, 229, 0.30); animation: ctaOrbDrift 16s ease-in-out infinite alternate; }
@keyframes ctaOrbDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.1); }
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black, transparent 80%);
}

.cta-spark {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffffff;
  animation: ctaSparkTwinkle 3s ease-in-out infinite;
}
.cta-spark-1 { top: 22%; left: 14%; animation-delay: 0s; }
.cta-spark-2 { top: 68%; left: 8%;  animation-delay: -1s; }
.cta-spark-3 { top: 18%; left: 46%; animation-delay: -2s; }
.cta-spark-4 { top: 78%; left: 40%; animation-delay: -1.5s; }
.cta-spark-5 { top: 12%; left: 36%; animation-delay: -0.5s; }
@keyframes ctaSparkTwinkle {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%      { opacity: 1; transform: scale(1.2); }
}

.cta-card-blue-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 24px;
  padding: 56px 64px 56px 72px;
  min-height: 380px;
}

.cta-card-blue-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #b9a8ff;
  background: rgba(155, 48, 212, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.10);
  padding: 7px 14px;
  border-radius: 100px;
  margin-bottom: 22px;
  width: fit-content;
}
.cta-kicker-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #c062e5;
  animation: ctaKickerPulse 2s ease-in-out infinite;
}
@keyframes ctaKickerPulse {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%      { transform: scale(1.3); opacity: 1; }
}

.cta-hero-title {
  font-family: 'Inter', sans-serif;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin: 0 0 18px;
  text-transform: none;
}
.cta-hero-accent {
  display: inline-block;
  background: linear-gradient(95deg, #7da6ff 0%, #b9a8ff 30%, #c062e5 50%, #ec3b7a 75%, #c062e5 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ctaAccentShimmer 6s ease-in-out infinite;
}
@keyframes ctaAccentShimmer {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.cta-tagline {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 30px;
  line-height: 1.55;
  max-width: 380px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #5b6dff 0%, #8b5cf6 55%, #7c3aed 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease, filter .3s ease;
  position: relative;
  overflow: hidden;
  align-self: flex-start;
}
.cta-pill::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: left .8s ease;
}
.cta-pill:hover {
  transform: translateY(-3px);
  color: #ffffff;
  filter: brightness(1.08);
}
.cta-pill:hover::before { left: 100%; }
.cta-pill svg { width: 18px; height: 18px; transition: transform .25s ease; }
.cta-pill:hover svg { transform: translateX(3px); }

/* --- Visual: animated ecosystem (replaces image) --- */
.cta-card-blue-visual {
  position: relative;
  height: 100%;
  min-height: 360px;
  display: grid;
  place-items: center;
}
.cta-triangle, .cta-bars, .cta-hand { display: none; }

.cta-ecosystem {
  position: relative;
  width: 360px;
  height: 360px;
  display: grid;
  place-items: center;
}

.cta-pulse-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 140px; height: 140px;
  margin: -70px 0 0 -70px;
  border-radius: 50%;
  border: 2px solid rgba(155, 48, 212, 0.50);
  animation: ctaPulseRing 4.5s ease-out infinite;
  pointer-events: none;
}
@keyframes ctaPulseRing {
  0%   { transform: scale(0.4); opacity: 0; border-color: rgba(192, 98, 229, 0.75); }
  20%  { opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; border-color: rgba(91, 109, 255, 0.10); }
}

.cta-core-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 220px; height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 98, 229, 0.55), transparent 65%);
  filter: blur(28px);
  pointer-events: none;
  animation: ctaCoreGlow 4s ease-in-out infinite alternate;
}
@keyframes ctaCoreGlow {
  0%   { opacity: 0.55; transform: translate(0, 0) scale(0.95); }
  100% { opacity: 0.85; transform: translate(0, 0) scale(1.1); }
}

.cta-core {
  position: relative;
  z-index: 3;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5b6dff 0%, #8b5cf6 50%, #c062e5 100%);
  display: grid;
  place-items: center;
  animation: ctaCoreBreath 4s ease-in-out infinite;
}
@keyframes ctaCoreBreath {
  0%, 100% { transform: scale(1);
  }
  50%      { transform: scale(1.06);
  }
}
.cta-core-mark {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.30);
}

.cta-orbit {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.10);
  border-radius: 50%;
  animation-name: ctaOrbitSpin;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.cta-orbit-1 { width: 180px; height: 180px; margin: -90px  0 0 -90px;  animation-duration: 12s; }
.cta-orbit-2 { width: 240px; height: 240px; margin: -120px 0 0 -120px; animation-duration: 18s; animation-direction: reverse; }
.cta-orbit-3 { width: 300px; height: 300px; margin: -150px 0 0 -150px; animation-duration: 22s; }
.cta-orbit-4 { width: 360px; height: 360px; margin: -180px 0 0 -180px; animation-duration: 28s; animation-direction: reverse; }
@keyframes ctaOrbitSpin { to { transform: rotate(360deg); } }

.cta-orbit-node {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  font-size: 22px;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
/* Position each node on its orbit edge */
.cta-orbit-1 .cta-orbit-node { top: -24px; left: 50%;   margin-left: -24px; animation-name: ctaNodeCounterCW;  animation-duration: 12s; }
.cta-orbit-2 .cta-orbit-node { top: 50%;   right: -24px; margin-top: -24px; animation-name: ctaNodeCounterCCW; animation-duration: 18s; }
.cta-orbit-3 .cta-orbit-node { bottom: -24px; left: 50%; margin-left: -24px; animation-name: ctaNodeCounterCW;  animation-duration: 22s; }
.cta-orbit-4 .cta-orbit-node { top: 50%;   left: -24px; margin-top: -24px;  animation-name: ctaNodeCounterCCW; animation-duration: 28s; }
@keyframes ctaNodeCounterCW  { to { transform: rotate(-360deg); } }
@keyframes ctaNodeCounterCCW { to { transform: rotate(360deg); } }

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .cta-card-blue-inner {
    grid-template-columns: 1fr;
    padding: 48px 36px;
    min-height: 0;
    gap: 32px;
  }
  .cta-card-blue-visual { min-height: 300px; }
  .cta-hero-title { font-size: 42px; }
  .cta-ecosystem { width: 300px; height: 300px; }
  .cta-orbit-4 { display: none; }
}
@media (max-width: 600px) {
  .cta-section-v2 { padding: 40px 0; }
  .cta-card-blue { border-radius: 22px; }
  .cta-card-blue-inner { padding: 36px 22px 32px; gap: 24px; }
  .cta-hero-title { font-size: 30px; letter-spacing: -0.4px; margin-bottom: 14px; }
  .cta-tagline { font-size: 14.5px; margin-bottom: 24px; }
  .cta-pill { padding: 13px 26px; font-size: 12.5px; }
  .cta-card-blue-visual { min-height: 240px; }
  .cta-ecosystem { width: 240px; height: 240px; }
  .cta-core { width: 80px; height: 80px; }
  .cta-core-mark { font-size: 34px; }
  .cta-orbit-3, .cta-orbit-4 { display: none; }
  .cta-pulse-ring { width: 110px; height: 110px; margin: -55px 0 0 -55px; }
  .cta-orbit-1 { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
  .cta-orbit-2 { width: 210px; height: 210px; margin: -105px 0 0 -105px; }
}

/* =========================================================
   PRICING (product detail pages)
   ========================================================= */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--grid-gap);
  align-items: stretch;
}

.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--card-pad);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
}
.price-card:hover { transform: translateY(-4px);}

.price-card.popular {
  border-color: var(--primary);
  transform: translateY(-6px);
}
.popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 11.52px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.price-card h3 {
  font-size: 19.2px;
  font-weight: 700;
  letter-spacing: -0.16px;
  color: var(--text);
}
.price-tag {
  font-size: 38.4px;
  font-weight: 800;
  letter-spacing: -0.32px;
  color: var(--text);
  margin: 4px 0 2px;
}
.price-tag span {
  font-size: 14.72px;
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}
.price-sub { color: var(--muted); font-size: 15.04px; margin-bottom: 8px; }

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0 16px;
  flex: 1;
  padding: 0;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-2);
  font-size: 15.04px;
}
.price-features li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
}

.price-card .btn { width: 100%; justify-content: center; }

/* =========================================================
   DEMO FORM PAGE — Glassmorphism
   ========================================================= */

body.page-form {
  background:
    radial-gradient(ellipse 60% 50% at 10% 10%, rgba(155, 48, 212, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 100%, rgba(42, 48, 232, 0.10), transparent 60%),
    linear-gradient(180deg, #f5f7fb 0%, #eef1f8 100%);
  min-height: 900px;
}

/* No-hero page → navbar always in light/scrolled state */
body.page-form .navbar {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, 0.6);
}
body.page-form .navbar .nav-links a { color: var(--text-2); }
body.page-form .navbar .nav-links a:hover { color: var(--primary); }
body.page-form .navbar .logo { color: var(--text); }
body.page-form .navbar .hamburger span { background: var(--text); }

/* When .nav-on-dark is also present, keep the navbar dark on form pages */
body.page-form .navbar.nav-on-dark {
  background: #02040e;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
body.page-form .navbar.nav-on-dark .logo { color: #fff; }
body.page-form .navbar.nav-on-dark .nav-links a { color: rgba(255, 255, 255, 0.85); }
body.page-form .navbar.nav-on-dark .nav-links a:hover { color: #fff; }
body.page-form .navbar.nav-on-dark .dropdown-toggle { color: rgba(255, 255, 255, 0.85); }
body.page-form .navbar.nav-on-dark .dropdown-toggle:hover { color: #fff; }
body.page-form .navbar.nav-on-dark .hamburger span { background: #fff; }

.demo-page {
  padding: 150px 0 var(--section-y);
  position: relative;
  overflow: hidden;
}

/* Animated background orbs */
.bg-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}
.orb-purple {
  width: 540px; height: 540px;
  background: rgba(155, 48, 212, 0.35);
  top: -180px; left: -120px;
  animation: orbDrift1 22s ease-in-out infinite;
}
.orb-blue {
  width: 460px; height: 460px;
  background: rgba(42, 48, 232, 0.4);
  bottom: -140px; right: -100px;
  animation: orbDrift2 26s ease-in-out infinite;
}
.orb-pink {
  width: 360px; height: 360px;
  background: rgba(192, 98, 229, 0.28);
  top: 40%; left: 45%;
  animation: orbDrift3 18s ease-in-out infinite;
}
@keyframes orbDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, 40px) scale(1.1); }
  66% { transform: translate(-30px, 80px) scale(0.95); }
}
@keyframes orbDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, -40px) scale(1.08); }
}
@keyframes orbDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -60px) scale(1.15); }
}

/* Subtle grid overlay for depth */
.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42, 48, 232, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 48, 232, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.demo-page > .container { position: relative; z-index: 1; }

.demo-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

/* Glass card utility */
.glass-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
}

/* ASIDE — staggered entrance */
.demo-aside {
  padding: 44px;
  position: sticky;
  top: 96px;
}
.demo-aside > * {
  animation: fadeRise 0.7s var(--ease-out) backwards;
}
.demo-aside > *:nth-child(1) { animation-delay: 0.1s; }
.demo-aside > *:nth-child(2) { animation-delay: 0.2s; }
.demo-aside > *:nth-child(3) { animation-delay: 0.3s; }
.demo-aside > *:nth-child(4) { animation-delay: 0.4s; }
.demo-aside > *:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-aside .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(234, 240, 255, 0.7);
  border: 1px solid rgba(42, 48, 232, 0.18);
  font-size: 12.8px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: var(--s-3);
  backdrop-filter: blur(8px);
}

.demo-aside h1 {
  font-family: 'Inter', sans-serif;
  font-size: 38.4px;
  font-weight: 800;
  letter-spacing: -0.32px;
  line-height: 1.12;
  color: var(--text);
  margin-bottom: var(--s-2);
}
.demo-form h2,
.demo-success h2 {
  font-family: 'Inter', sans-serif;
}

.demo-lede {
  color: var(--muted);
  font-size: 17.28px;
  margin-bottom: var(--s-4);
  line-height: 1.65;
}

.demo-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0 0 var(--s-4) 0;
}
.demo-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 4px 0;
  transition: transform .25s var(--ease);
}
.demo-benefits li:hover { transform: translateX(4px); }
.demo-benefits .bullet {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12.8px;
  flex-shrink: 0;
}
.demo-benefits div { display: flex; flex-direction: column; gap: 2px; }
.demo-benefits strong { color: var(--text); font-weight: 700; font-size: 15.36px; }
.demo-benefits span { color: var(--muted); font-size: 14.08px; line-height: 1.5; }

.demo-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  font-size: 14.08px;
  color: var(--muted);
  backdrop-filter: blur(10px);
}
.demo-rating .stars { color: #f5b400; letter-spacing: 1px; }
.demo-rating strong { color: var(--text); font-weight: 700; }

.demo-form-wrap { position: relative; }

.demo-form {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Stagger form children on load */
.demo-form > * {
  animation: fadeRise 0.55s var(--ease-out) backwards;
}
.demo-form > *:nth-child(1) { animation-delay: 0.15s; }
.demo-form > *:nth-child(2) { animation-delay: 0.20s; }
.demo-form > *:nth-child(3) { animation-delay: 0.27s; }
.demo-form > *:nth-child(4) { animation-delay: 0.34s; }
.demo-form > *:nth-child(5) { animation-delay: 0.41s; }
.demo-form > *:nth-child(6) { animation-delay: 0.48s; }
.demo-form > *:nth-child(7) { animation-delay: 0.55s; }
.demo-form > *:nth-child(8) { animation-delay: 0.62s; }
.demo-form > *:nth-child(9) { animation-delay: 0.69s; }
.demo-form > *:nth-child(10) { animation-delay: 0.76s; }
.demo-form > *:nth-child(11) { animation-delay: 0.83s; }

.demo-form h2 {
  font-size: 22.72px;
  font-weight: 700;
  letter-spacing: -0.24px;
  color: var(--text);
}
.demo-form .form-sub {
  color: var(--muted);
  font-size: 14.72px;
  margin-top: -10px;
  margin-bottom: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.form-field label {
  font-size: 11.52px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 1.28px;
  text-transform: uppercase;
}
.form-field .req { color: #f43f5e; margin-left: 2px; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: inherit;
  font-size: 15.36px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 13px 16px;
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), transform .15s var(--ease);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted-2); }

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(42, 48, 232, 0.3);
  background: rgba(255, 255, 255, 0.75);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.form-field input.error,
.form-field select.error,
.form-field textarea.error {
  border-color: #f43f5e;
  background: rgba(255, 240, 244, 0.7);
  animation: shake 0.4s var(--ease);
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.form-field textarea { resize: vertical; min-height: 96px; }

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.76px;
  color: var(--muted);
  cursor: pointer;
  margin-top: 4px;
  line-height: 1.5;
}
.form-check input {
  margin-top: 3px;
  accent-color: var(--primary);
  width: 17px; height: 17px;
  flex-shrink: 0;
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 16px 26px;
  font-size: 16px;
}

/* Shimmer on submit button */
.btn-shimmer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
  z-index: 1;
  animation: shimmerSlide 2.6s ease-in-out infinite;
}
@keyframes shimmerSlide {
  0%   { left: -120%; }
  60%  { left: 120%; }
  100% { left: 120%; }
}
.btn-shimmer .btn-label,
.btn-shimmer .arrow { position: relative; z-index: 2; }

/* Spinner inside submit */
.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn-shimmer.loading { pointer-events: none; opacity: 0.92; }
.btn-shimmer.loading::after { display: none; }
.btn-shimmer.loading .btn-label { opacity: 0.85; }
.btn-shimmer.loading .arrow { display: none; }
.btn-shimmer.loading .btn-spinner { display: inline-block; }

.form-foot {
  font-size: 12.48px;
  color: var(--muted-2);
  text-align: center;
  margin-top: 4px;
  line-height: 1.5;
}
.form-foot a {
  color: var(--primary);
  text-decoration: underline;
}

.form-error {
  display: block;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.30);
  color: #b91c1c;
  font-size: 13.5px;
  line-height: 1.45;
}

/* Success state */
.demo-success {
  padding: 56px;
  text-align: center;
  animation: successIn .5s var(--ease-out);
}
@keyframes successIn {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}
.success-icon {
  width: 76px; height: 76px;
  margin: 0 auto var(--s-3);
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 35.2px;
  font-weight: 800;
  animation: successPop .7s var(--ease-out);
  position: relative;
}
.success-icon::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.3);
  animation: ringPulse 1.4s ease-out infinite;
}
@keyframes successPop {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}
@keyframes ringPulse {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}
.demo-success h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.32px;
  color: var(--text);
  margin-bottom: var(--s-2);
}
.demo-success p {
  color: var(--muted);
  margin-bottom: var(--s-3);
  font-size: 16px;
}
.demo-success .hero-cta { justify-content: center; flex-wrap: wrap; }

/* On the light success card, the dark-theme ghost button is invisible — recolor it. */
.demo-success .btn-ghost {
  background: rgba(42, 48, 232, 0.06);
  color: var(--primary);
  border: 1px solid rgba(42, 48, 232, 0.25);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.demo-success .btn-ghost:hover {
  background: rgba(42, 48, 232, 0.12);
  border-color: rgba(42, 48, 232, 0.45);
  color: var(--primary);
  transform: translateY(-2px);
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
  background: #02040e;
  color: #cbd5e1;
  padding: var(--s-6) 0 var(--s-3);
}
.footer-grid {
  display: grid;
  grid-template-columns: 3fr 2fr 2fr 2fr 3fr;
  gap: 32px;
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-brand .logo { color: #fff; }
.footer-brand .tagline {
  color: #94a3b8;
  margin-top: var(--s-2);
  font-size: 14.72px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h5 {
  color: #fff;
  font-weight: 700;
  margin-bottom: var(--s-2);
  font-size: 15.2px;
  letter-spacing: -0.16px;
}
.footer-col a {
  display: block;
  color: #94a3b8;
  font-size: 14.72px;
  padding: 6px 0;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.footer-col a:hover { color: #fff; transform: translateX(3px); }

/* footer contact column */
.footer-contact-item {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  color: #94a3b8;
  font-size: 14.72px;
  padding: 6px 0;
  line-height: 1.5;
}
.footer-contact-item svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
  color: var(--primary);
}
a.footer-contact-item:hover { color: #fff; transform: none; }
a.footer-contact-item:hover svg { color: #fff; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: var(--s-3);
}
.footer-social a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 700;
  font-size: 15.2px;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}
.footer-social a svg { width: 18px; height: 18px; }

/* Drawer-only social icons are hidden by default; revealed inside the mobile drawer media query */
.nav-social { display: none; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--s-3);
  flex-wrap: wrap;
  gap: 12px;
  color: #64748b;
  font-size: 13.76px;
}
.footer-legal {
  display: flex;
  gap: 16px;
  align-items: center;
}
.footer-legal a {
  color: #64748b;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-legal a:hover {
  color: var(--primary);
}
.legal-sep {
  color: #cbd5e1;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */

.back-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 17.6px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .25s var(--ease);
  z-index: 99;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--primary-hover); transform: translateY(-3px); }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */

.reveal,
.fade-up,
.fade-in {
  opacity: 0;
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal,
.fade-up { transform: translateY(24px); }
.fade-in { transform: scale(.97); }

.reveal.visible,
.fade-up.visible,
.fade-in.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .orbit { max-width: 400px; }
  .orbit-logo { width: 60px; height: 60px; font-size: 24px; }
  .node-icon { width: 36px; height: 36px; font-size: 16.8px; }
  .node-meta strong { font-size: 13.6px; }
  .node-meta span { font-size: 10.24px; }
}

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; gap: var(--s-5); }
  .hero-split .container { grid-template-columns: 1fr; }
  .hero-split .hero-content { align-items: center; text-align: center; }
  .hero-split .hero-cta { justify-content: center; }
  .hero-image { max-width: 560px; margin: 0 auto; }
  .hero-visual { max-width: 520px; margin: 0 auto; height: 420px; }
  .about-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .step-arrow { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4); padding-bottom: var(--s-4); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-card.popular { transform: none; }
  .demo-grid { grid-template-columns: 1fr; gap: var(--s-3); }
  .demo-aside { position: static; }
}

@media (max-width: 720px) {
  :root {
    --section-y: 64px;
    --head-mb: 36px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(82vw, 340px);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    background: #02040e;
    color: #cbd5e1;
    padding: 96px 28px 120px;
    gap: 22px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    overflow-y: auto;
    z-index: 1060;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a,
  .nav-links.open a { color: #cbd5e1; }
  .nav-links a:hover,
  .nav-links.open a:hover { color: #ffffff; }
  .nav-links a { font-size: 16.8px; }
  .nav-cta { align-self: flex-start; }
  .hamburger {
    display: flex;
    position: fixed;
    top: 56px;
    right: 16px;
    z-index: 1070;
  }
  .hamburger.active span { background: #ffffff; }

  /* Social icons inside mobile drawer (injected via JS) */
  .nav-social {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 24px;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-social a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    font-weight: 700;
    font-size: 15.2px;
    transition: transform .25s var(--ease), background .25s var(--ease);
    text-decoration: none;
  }
  .nav-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
    color: #ffffff;
  }
  .nav-social a svg { width: 18px; height: 18px; }

  body.menu-open { overflow: hidden; }

  .hero { padding: 130px 0 var(--section-y); }
  .announce { font-size: 12.16px; padding: 7px 0; }
  .announce p { max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .announce-cta { padding: 5px 12px; font-size: 11.52px; }
  .deco-left, .deco-right { opacity: 0.35; }
  .tile-tl, .tile-br { display: none; }
  .presents-mark { font-size: 20.8px; letter-spacing: 2.24px; gap: 10px; }
  .btn { padding: 12px 22px; font-size: 15.04px; }

  .float-pill { padding: 8px 14px; font-size: 12.48px; }
  .pill-1 { left: 4%; }
  .pill-2 { right: 4%; }

  /* On phone: collapse orbit to a 2x2 stacked grid */
  .orbit {
    aspect-ratio: auto;
    max-width: 480px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0;
  }
  .orbit-rings,
  .orbit-axis,
  .orbit-paths,
  .orbit-center { display: none; }
  .orbit-node {
    position: static;
    animation: none;
    background: #fff;
    border-radius: 14px;
    padding: 14px;
  }
  .orbit-node:hover { transform: translateY(-2px); }

  /* Dropdown becomes inline expandable section on mobile */
  .nav-dropdown { width: 100%; }
  .dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    background: transparent;
    border: none;
    padding: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: max-height .35s var(--ease), margin-top .35s var(--ease);
    margin-top: 0;
    margin-left: 8px;
  }
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown.open .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-dropdown.open .dropdown-menu {
    max-height: 560px;
    margin-top: 8px;
  }
  .dropdown-item { padding: 10px 12px; color: #cbd5e1 !important; }
  .dropdown-item:hover { background: rgba(255, 255, 255, 0.06); }
  .dropdown-item:hover .di-icon { transform: none; }
  .dropdown-item strong { color: #ffffff; }
  .di-text span { color: #94a3b8; }
  .di-icon {}
  .di-arrow { color: #94a3b8; opacity: 1; transform: none; }
  .dropdown-label { color: #64748b; padding: 6px 12px 4px; }
  .dropdown-foot {
    color: #cbd5e1 !important;
    border-top-color: rgba(255, 255, 255, 0.1);
    justify-content: flex-start;
    padding: 12px;
  }
  .dropdown-foot:hover { background: rgba(255, 255, 255, 0.06); }
  .dropdown-menu::before { display: none; }
  .dropdown-toggle { color: #cbd5e1; }
  .dropdown-toggle:hover { color: #ffffff; }
  /* Kill the underline pseudo on nav links inside the dark drawer */
  .nav-links a::after { display: none; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Form mobile polish */
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .demo-page { padding-top: 96px; }
  .demo-aside, .demo-form, .demo-success { padding: 22px; border-radius: 18px; }
  .demo-aside h1 { font-size: 27.2px; }
  .demo-form h2 { font-size: 19.2px; }
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px; /* prevents iOS auto-zoom */
    padding: 13px 14px;
  }
  .demo-benefits li { gap: 12px; }
  .demo-benefits .bullet { width: 24px; height: 24px; font-size: 11.52px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .orbit { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .logo { width: 132px; height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   BOOTSTRAP 5 GRID COMPATIBILITY
   These sections were converted from custom CSS grids to
   Bootstrap .row/.col. Hand layout control back to Bootstrap.
   ========================================================= */

/* Wrappers that now CONTAIN a Bootstrap .row → behave as plain blocks */
.hero .container,
.hero-split .container,
.cx-card {
  display: block;
}

/* Wrappers that ARE a Bootstrap .row → let flexbox + g-* gutters lay them out
   (higher specificity via .row beats the earlier custom grid rules) */
.challenge-grid.row,
.about-grid.row,
.feature-grid.row,
.use-grid.row,
.compare-grid.row,
.footer-grid.row {
  display: flex;
  gap: 0;            /* use Bootstrap g-* gutters instead of custom gap */
  max-width: none;   /* the .container constrains width */
}

/* Bootstrap resets list/heading margins via Reboot — keep card text tidy */
.challenge-card,
.feature-card,
.use-card,
.cx-pillar { height: 100%; }

/* =========================================================
   PX RESPONSIVE OVERRIDES (mobile values from former clamp() mins)
   ========================================================= */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .trusted { padding: 48px 0; }
  .trusted-head { margin-bottom: 36px; }
  .trusted-stat { font-size: 32px; }
  .trusted-text { font-size: 16.8px; }
  .marquee-track { gap: 40px; }
  .brand-logo { height: 42px; }
  .cx { padding: 56px 0; }
  .cx-grid { gap: 40px; }
  .cx-title { font-size: 27.2px; margin-bottom: 14px; }
  .cx-sub { font-size: 15.2px; margin-bottom: 22px; }
  .cx-card { padding: 32px 16px; }
  .cx-pillar { padding: 0 14px; }
  .cx-icon { height: 120px; margin-bottom: 2px; }
  .cx-name { font-size: 13px; margin-bottom: 8px; }
  .cx-desc { font-size: 13.6px; }
  .announce-inner { gap: 12px; }
  .hero { padding: 160px 0 80px; }
  .hero .container { gap: 40px; }
  .hero-split .container { gap: 40px; }
  .hero-mega { font-size: 38.4px; }
  .hero-light .hero-sub { font-size: 15.68px; }
  .clothesline { margin: 40px auto 0; padding: 24px 16px 20px; }
  .polaroids { gap: 8px; }
  .polaroid { width: 140px; }
  .polaroids-5 .polaroid { width: 130px; }
  .poster { font-size: 38.4px; }
  .deco-left { width: 180px; height: 180px; }
  .deco-right { width: 220px; height: 220px; }
  .tile-tl { width: 56px; height: 56px; }
  .tile-br { width: 46px; height: 46px; }
  .hero-title { font-size: 41.6px; }
  .hero-sub { font-size: 15px; }
  .presents-mark { font-size: 25.6px; }
  .hero-visual { height: 360px; }
  .dash-value { font-size: 22.4px; }
  .dash-chart { height: 110px; }
  .hero-products-grid { grid-template-columns: 1fr; }
  .bars-bg { gap: 4px; padding: 0 8px; }
  .section-head h2 { font-size: 30.4px; }
  .section-sub { font-size: 16px; }
  .about-grid { font-size: 16px; }
  .about-col-title { font-size: 22.4px; }
  .challenges { padding: 56px 0; }
  .challenges-head { margin: 0 auto 36px; }
  .challenges-intro { font-size: 24px; }
  .challenge-grid { gap: 16px; margin: 0 auto 40px; }
  .challenge-card { padding: 24px 20px; }
  .challenge-icon { margin-bottom: 16px; }
  .challenge-title { font-size: 16px; }
  .challenge-text { font-size: 13.6px; }
  .sticky-board { gap: 10px; }
  .challenges-close { font-size: 15.2px; }
  .section.features { padding: 48px 0; }
  .section.features .section-head { margin-bottom: 24px; }
  .section.features .section-sub { font-size: 15.04px; }
  .feature-grid { gap: 14px; }
  .products { padding: 56px 0 48px; }
  .products .section-head { margin-bottom: 40px; }
  .hub-products { padding: 80px 0; }
  .hub-grid { gap: 40px; }
  .hub-circle { padding: 28px; }
  .hub-spokes { gap: 20px; }
  .spoke { gap: 16px; }
  .orbit { max-width: 340px; }
  .metric-num { font-size: 32px; }
  .cta-card { padding: 40px 24px; }
  .cta-card h2 { font-size: 30.4px; }
  .cta-card p { font-size: 15.68px; }
  .price-tag { font-size: 28.8px; }
  .demo-page { padding: 110px 0 var(--section-y); }
  .demo-grid { gap: 32px; }
  .demo-aside { padding: 28px; }
  .demo-aside h1 { font-size: 30.4px; }
  .demo-lede { font-size: 15.68px; }
  .demo-form { padding: 24px; }
  .demo-success { padding: 32px; }
  .demo-success h2 { font-size: 25.6px; }
  .footer-grid { gap: 24px; }
}

/* =========================================================
   CAREERS — static layout
   ========================================================= */
.careers-scrolly {
  position: relative;
  height: auto;
  background: #0a0a1f;
  overflow-x: hidden;
  padding: 100px 5%;
}
.careers-sticky {
  position: relative;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  --p: 1 !important;
}

/* Image starts full-bleed, shrinks to the left side as --p → 1 */
.careers-image {
  position: relative;
  width: 45%;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
}
.careers-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.careers-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,31,calc(0.55 - 0.35 * var(--p))), rgba(10,10,31,calc(0.65 - 0.30 * var(--p))));
  pointer-events: none;
}

/* Content fades + slides in from right as --p → 1 */
.careers-content {
  position: relative;
  width: 50%;
  transform: none;
  opacity: 1;
  color: #ffffff;
  z-index: 2;
}
.careers-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #b9a8ff;
  background: rgba(155, 48, 212, 0.18);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.careers-title {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  color: #ffffff;
}
.careers-text {
  font-size: 17px;
  line-height: 1.6;
  color: #b3aedc;
  margin-bottom: 28px;
}

/* While image is full-bleed, show a hint overlay centered */
.careers-hero-label {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%) translateY(calc(40px * var(--p)));
  opacity: calc(1 - var(--p) * 1.6);
  color: #fff;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 991px) {
  .careers-title { font-size: 32px; }
  .careers-content { width: 46%; right: 4%; }
}

/* Mobile: drop the scroll animation, stack image above text */
@media (max-width: 768px) {
  .careers-scrolly { height: auto; }
  .careers-sticky { position: relative; height: auto; padding: 60px 0; --p: 1; }
  .careers-image {
    position: relative;
    top: 0; left: 0;
    width: calc(100% - 32px);
    margin: 0 16px 24px;
    height: 280px;
    border-radius: 18px;
  }
  .careers-content {
    position: relative;
    top: 0; right: 0;
    width: auto;
    transform: none;
    opacity: 1;
    padding: 0 20px;
  }
  .careers-title { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .careers-sticky { --p: 1 !important; }
}

/* =========================================================
   BEYOND DEVELOPMENT — 4-column staggered reveal
   ========================================================= */
.transform-section {
  background: #ffffff;
  padding: 56px 0 60px;
}
.transform-head {
  text-align: center;
  margin-bottom: 36px;
}
.transform-title {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #0a0a1f;
  margin: 0;
}
.transform-grid {
  border-top: 1px solid #ececf2;
  border-bottom: 1px solid #ececf2;
}
.tx-card {
  padding: 10px 20px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ececf2;
  position: relative;
  background: transparent;
  /* initial state for scroll reveal */
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.tx-card[data-tx="1"] { transition-delay: 0s; }
.tx-card[data-tx="2"] { transition-delay: .12s; }
.tx-card[data-tx="3"] { transition-delay: .24s; }
.tx-card[data-tx="4"] { transition-delay: .36s; border-right: 0; }
.tx-card.tx-in {
  opacity: 1;
  transform: none;
}
@media (max-width: 991px) {
  .tx-card { border-right: 0; border-bottom: 1px solid #ececf2; }
  .tx-card:last-child { border-bottom: 0; }
}

.tx-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f7f7fb;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.tx-icon svg {
  width: 36px;
  height: 36px;
}
.tx-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.25;
  color: #0a0a1f;
  margin: 0 0 24px;
  min-height: 60px;
}
.tx-text {
  font-size: 15.5px;
  line-height: 1.6;
  color: #4a4a63;
  margin: 0 0 32px;
  flex: 1;
}
.tx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: 14px 26px;
  border: 1.5px solid #0a0a1f;
  border-radius: 100px;
  color: #0a0a1f;
  background: transparent;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.tx-btn:hover {
  background: #0a0a1f;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 1199px) {
  .transform-title { font-size: 36px; }
  .tx-title { font-size: 21px; min-height: 0; }
  .tx-icon { margin-bottom: 60px; }
}
@media (max-width: 600px) {
  .transform-section { padding: 60px 0 70px; }
  .transform-head { margin-bottom: 40px; }
  .transform-title { font-size: 26px; line-height: 1.25; letter-spacing: -0.5px; }
  .tx-card { padding: 36px 24px; }
  .tx-icon { margin-bottom: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .tx-card { opacity: 1; transform: none; transition: none; }
}

/* =========================================================
   AI ECOSYSTEM — dark, full-width: video left + content right
   ========================================================= */
.ai-section {
  background: #050511;
  background-image:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(109, 74, 255, 0.15), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(192, 98, 229, 0.10), transparent 60%),
    linear-gradient(180deg, #050511 0%, #0a0a1f 100%);
  color: #ffffff;
  padding: 0;
}
/* Full-bleed: drop the container width AND its horizontal padding,
   plus the Bootstrap row gutters, so the video sits flush at the left edge */
.ai-section > .container {
  max-width: none;
  padding: 0;
}
.ai-section > .container > .row {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
  margin: 0;
}
.ai-section > .container > .row > [class*="col-"] {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
}
.ai-section .ai-video-col {
  padding-left: 0;
  padding-right: 0;
}
.ai-section .ai-content {
  padding-left: 180px;
  padding-right: 32px;
}
/* Right column gets some internal breathing room so text isn't glued to the video */
.ai-section .ai-content {
  padding: 0 32px 0 60px;
  min-width: 0;            /* allow col to shrink so children wrap */
}
.ai-section .ai-content > * {
  max-width: 760px;        /* keep heading/paragraph/cards within readable column */
}
.ai-section .ai-content .ai-h2,
.ai-section .ai-content .ai-lead { max-width: 720px; }
/* Headline scales down at breakpoints so it never overflows */
@media (max-width: 1280px) {
  .ai-section .ai-h2-light,
  .ai-section .ai-h2-bold { font-size: 32px; }
  .ai-section .ai-content { padding: 0 32px 0 120px; }
}
@media (max-width: 1080px) {
  .ai-section .ai-h2-light,
  .ai-section .ai-h2-bold { font-size: 28px; }
  .ai-section .ai-content { padding: 0 24px 0 80px; }
}
.ai-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 6;
  border-radius: 0;
  overflow: hidden;
  background: #0a0a1f;
  margin: 0;
}
.ai-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ai-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,31,0.55) 0%, rgba(10,10,31,0) 30%, rgba(10,10,31,0) 70%, rgba(10,10,31,0.25) 100%);
  pointer-events: none;
}
.ai-logo {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  font-family: 'Inter', sans-serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: #ffffff;
}
.ai-logo-italic {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(95deg, #b9a8ff, #c062e5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ai-logo-spark {
  font-size: 14px;
  vertical-align: super;
  margin-left: 2px;
  color: #c062e5;
}

.ai-h2 {
  font-family: 'Inter', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin: 0 0 18px;
}
.ai-h2-light { display: block; font-size: 38px; font-weight: 400; }
.ai-h2-bold  { display: block; font-size: 38px; font-weight: 800; }

/* Override grad-anim palette on dark AI section so shimmer reads light */
.ai-h2 .grad-anim {
  background: linear-gradient(95deg, #7da6ff 0%, #b9a8ff 35%, #c062e5 50%, #b9a8ff 65%, #7da6ff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-lead {
  font-size: 16px;
  line-height: 1.65;
  color: #b3aedc;
  margin: 0 0 28px;
  max-width: 640px;
}
.ai-lead strong { color: #ffffff; font-weight: 700; }

.ai-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 24px 20px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ai-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(155, 48, 212, 0.45);
}
.ai-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  color: #ffffff;
  margin-bottom: 18px;
}
.ai-card-icon svg { width: 26px; height: 26px; }
.ai-card-title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.1px;
  color: #ffffff;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.ai-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.ai-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #d6d3e9;
}
.ai-list li::before {
  content: "";
  flex: none;
  width: 16px; height: 16px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b5bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

.ai-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  margin-bottom: 8px;
}
.ai-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.ai-btn-primary {
  background: #ffffff;
  color: #0a0a1f;
  border: 1.5px solid #ffffff;
}
.ai-btn-primary:hover {
  background: #c062e5;
  border-color: #c062e5;
  color: #ffffff;
  transform: translateY(-2px);
}
.ai-btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
}
.ai-btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Word-by-word "loading" reveal on the headline when section enters view */
.ai-section .ai-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(.2,.7,.2,1),
    filter .55s ease;
}
.ai-section.ai-loaded .ai-word {
  opacity: 1;
  transform: none;
  filter: none;
}
.ai-caret { display: none; }
@media (prefers-reduced-motion: reduce) {
  .ai-section .ai-word { opacity: 1; transform: none; filter: none; transition: none; }
  .ai-caret { display: none; }
}

@media (max-width: 991px) {
  .ai-video-wrap { aspect-ratio: 16 / 11; }
  .ai-h2-light, .ai-h2-bold { font-size: 30px; }
  .ai-section .ai-content { padding: 0 24px; }
}
@media (max-width: 600px) {
  .ai-h2-light, .ai-h2-bold { font-size: 24px; }
  .ai-logo { font-size: 24px; top: 18px; left: 18px; }
  .ai-cta-row { flex-direction: column; align-items: stretch; }
  .ai-btn { width: 100%; }
  .ai-section .ai-content { padding: 0 20px; }
}

/* =========================================================
   CX — new flow theme (dark, numbered step process)
   ========================================================= */
.cx.cx-flow-theme {
  position: relative;
  overflow: hidden;
  background: #050511;
  background-image:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(192, 98, 229, 0.18), transparent 60%),
    radial-gradient(ellipse 55% 50% at 15% 90%, rgba(91, 109, 255, 0.16), transparent 60%),
    linear-gradient(180deg, #050511 0%, #0a0a1f 100%);
  color: #ffffff;
  padding: 40px 0;
}
.cx.cx-flow-theme .cx-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cx.cx-flow-theme .cx-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.cx.cx-flow-theme .cx-blob-a {
  width: 340px; height: 340px; top: -80px; right: 8%;
  background: radial-gradient(circle, #c062e5, transparent 70%);
}
.cx.cx-flow-theme .cx-blob-b {
  width: 380px; height: 380px; bottom: -120px; left: 4%;
  background: radial-gradient(circle, #5b6dff, transparent 70%);
}
.cx.cx-flow-theme .container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
}

/* Centered head */
.cx.cx-flow-theme .cx-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}
.cx.cx-flow-theme .cx-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: #b9a8ff;
  background: rgba(192, 98, 229, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
}
.cx.cx-flow-theme .cx-title {
  font-family: 'Inter', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin: 0 0 16px;
}
.cx.cx-flow-theme .cx-grad {
  background-image: linear-gradient(95deg, #b9a8ff, #c062e5, #ec3b7a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 220% 100%;
  animation: cxGradFlow 7s ease-in-out infinite;
}
@keyframes cxGradFlow {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}
.cx.cx-flow-theme .cx-sub {
  font-size: 16px;
  line-height: 1.6;
  color: #b3aedc;
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

/* Word-by-word "loading" reveal on the CX headline */
.cx.cx-flow-theme .cx-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(6px);
  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(.2,.7,.2,1),
    filter .55s ease;
}
.cx.cx-flow-theme.cx-loaded .cx-word {
  opacity: 1;
  transform: none;
  filter: none;
}
@media (prefers-reduced-motion: reduce) {
  .cx.cx-flow-theme .cx-word { opacity: 1; transform: none; filter: none; transition: none; }
}

/* Flow container — connector line + 4 steps */
.cx.cx-flow-theme .cx-flow {
  position: relative;
  padding: 40px 0 8px;
  margin-bottom: 48px;
}
.cx.cx-flow-theme .cx-flow-line {
  position: absolute;
  top: 86px;                      /* aligns with center of step number circles */
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0.06) 100%);
  border-radius: 2px;
  overflow: hidden;
  z-index: 0;
}
.cx.cx-flow-theme .cx-flow-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, #5b6dff, #c062e5, #ec3b7a);
  border-radius: 2px;
  transition: width 1.6s cubic-bezier(.2,.7,.2,1) .15s;
}
.cx.cx-flow-theme .cx-flow.is-in .cx-flow-fill { width: 100%; }

.cx.cx-flow-theme .cx-steps { position: relative; z-index: 1; }

/* Step card */
.cx.cx-flow-theme .cx-step {
  position: relative;
  padding: 18px 16px 0;
  text-align: center;
  height: 100%;
  transition: transform 0.35s ease;
}
.cx.cx-flow-theme .cx-step:hover { transform: translateY(-4px); }

/* Number circle on the connector line */
.cx.cx-flow-theme .cx-step-num {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(180deg, #18142e 0%, #0a0a1f 100%);
  border: 1.5px solid rgba(255,255,255,0.10);
  position: relative;
  z-index: 2;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.cx.cx-flow-theme .cx-step-num::before {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: 50%;
  padding: 1.5px;
  background: var(--num-grad, linear-gradient(135deg, #5b6dff, #c062e5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.cx.cx-flow-theme .cx-step:hover .cx-step-num {
  transform: scale(1.06);
}
.cx.cx-flow-theme .cx-step:hover .cx-step-num::before { opacity: 1; }

.cx-step-understand { --num-grad: linear-gradient(135deg, #6d4aff, #3b5bff); --num-shadow: rgba(109, 74, 255, 0.45); }
.cx-step-automate   { --num-grad: linear-gradient(135deg, #f5a623, #ec3b7a); --num-shadow: rgba(236, 59, 122, 0.45); }
.cx-step-connect    { --num-grad: linear-gradient(135deg, #18c5c5, #2aa0e8); --num-shadow: rgba(24, 197, 197, 0.45); }
.cx-step-improve    { --num-grad: linear-gradient(135deg, #34d399, #10b981); --num-shadow: rgba(52, 211, 153, 0.45); }

/* Icon */
.cx.cx-flow-theme .cx-step-icon {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.cx.cx-flow-theme .cx-step-icon img {
  max-height: 100%;
  width: auto;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.5));
}

.cx.cx-flow-theme .cx-step-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin: 0 0 10px;
  background-image: var(--num-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cx.cx-flow-theme .cx-step-desc {
  font-size: 14px;
  line-height: 1.55;
  color: #b3aedc;
  margin: 0 auto;
  max-width: 230px;
}

/* CTA */
.cx.cx-flow-theme .cx-cta {
  text-align: center;
  margin-top: 24px;
}

@media (max-width: 991px) {
  .cx.cx-flow-theme .cx-title { font-size: 32px; }
  .cx.cx-flow-theme .cx-flow-line { display: none; }
  .cx.cx-flow-theme .cx-flow { padding: 8px 0 8px; }
}
@media (max-width: 600px) {
  .cx.cx-flow-theme { padding: 60px 0 70px; }
  .cx.cx-flow-theme .cx-title { font-size: 26px; }
  .cx.cx-flow-theme .cx-head { margin-bottom: 36px; }
  .cx.cx-flow-theme .cx-step-num { width: 60px; height: 60px; font-size: 18px; margin-bottom: 16px; }
  .cx.cx-flow-theme .cx-step-icon { height: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  .cx.cx-flow-theme .cx-grad { animation: none; }
  .cx.cx-flow-theme .cx-flow-fill { transition: none; }
}

/* =========================================================
   UNIFIED SECTION HEADINGS
   Matches the "Many businesses face similar challenges" style:
   font, size, weight, letter-spacing, line-height, padding.
   ========================================================= */
.section-head h2,
.transform-title,
.cx-title,
.challenges-intro,
.careers-title,
.cta-hero-title,
.ai-h2,
.ai-h2-light,
.ai-h2-bold {
  font-family: 'Inter', sans-serif;
  font-size: 38.4px;
  font-weight: 800;
  letter-spacing: -0.32px;
  line-height: 1.12;
  margin: 0 0 18px;
  text-transform: none;
}
.ai-h2-light { font-weight: 400; }
.ai-h2-bold  { font-weight: 800; }

/* Section padding — match .challenges (96px 0) across major sections */
.transform-section,
.careers-scrolly,
.hub-products,
.compare-v2,
.cta-section-v2 {
  padding: 96px 0;
}

@media (max-width: 720px) {
  .section-head h2,
  .transform-title,
  .cx-title,
  .challenges-intro,
  .careers-title,
  .cta-hero-title,
  .ai-h2-light,
  .ai-h2-bold {
    font-size: 28px;
    letter-spacing: -0.2px;
  }
  .transform-section,
  .ai-section,
  .careers-scrolly,
  .hub-products,
  .compare-v2,
  .cta-section-v2 {
    padding: 64px 0;
  }
}

/* ============================================
   EVENTOGEN — page-specific styles (px only)
   (moved from eventogen.html)
   ============================================ */
.ev-page { background: #f6f7fb; color: #14102e; font-family: 'Inter', sans-serif; }

/* ---------- top nav (Eventogen) ---------- */
.ev-nav { position: sticky; top: 0; z-index: 1020; background: #ffffff; border-bottom: 1px solid #ececf2; }
.ev-nav .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.ev-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: #14102e; text-decoration: none; }
.ev-brand-mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #6d4aff 0%, #9b30d4 100%); display: grid; place-items: center; color: #fff; font-size: 14px; font-weight: 800; }
.ev-nav-links { display: flex; gap: 28px; }
.ev-nav-links a { color: #4a4a63; text-decoration: none; font-weight: 500; font-size: 15px; }
.ev-nav-links a:hover { color: #6d4aff; }
.ev-nav-cta { display: flex; gap: 10px; align-items: center; }
.ev-btn-ghost { color: #14102e; background: transparent; border: none; padding: 8px 18px; font-weight: 600; font-size: 15px; }
.ev-btn-primary { background: linear-gradient(135deg, #6d4aff 0%, #9b30d4 100%); color: #fff; padding: 10px 22px; border-radius: 100px; font-weight: 600; font-size: 15px; text-decoration: none; border: none; display: inline-flex; align-items: center; gap: 8px; transition: transform .25s ease, box-shadow .25s ease; }
.ev-btn-primary:hover { color: #fff; transform: translateY(-2px);}
.ev-btn-primary .nav-cta-icon { width: 16px; height: 16px; flex-shrink: 0; transition: transform .2s ease; }
.ev-btn-primary:hover .nav-cta-icon { transform: rotate(-12deg) scale(1.08); }
@media (max-width: 900px) { .ev-nav-links { display: none; } }

/* ---------- hero (dark) ---------- */
.ev-hero { position: relative; overflow: hidden; padding: 160px 0 110px; background: radial-gradient(ellipse 80% 60% at 70% 10%, rgba(155, 48, 212, 0.30), transparent 60%), radial-gradient(ellipse 55% 50% at 20% 50%, rgba(42, 48, 232, 0.25), transparent 60%), linear-gradient(180deg, #0a0a1f 0%, #14102e 100%); color: #fff; }
.ev-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.06) 1.5px, transparent 1.5px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, black, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, black, transparent 80%); pointer-events: none; }
.ev-hero .container { position: relative; z-index: 1; }
.ev-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #b9a8ff; background: rgba(155, 48, 212, 0.18); border: 1px solid rgba(255,255,255,0.10); padding: 7px 16px; border-radius: 100px; margin-bottom: 22px; }
.ev-hero h1 { font-family: 'Inter', sans-serif; font-size: 56px; font-weight: 800; line-height: 1.05; letter-spacing: -1px; margin-bottom: 18px; color: #fff; }
.ev-hero h1 .gradient { background: linear-gradient(95deg, #b9a8ff, #c062e5, #ec3b7a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ev-hero p.lead { font-size: 17px; color: #b3aedc; max-width: 520px; line-height: 1.6; margin-bottom: 30px; }
.ev-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.ev-btn-outline { background: transparent; color: #fff; padding: 10px 22px; border-radius: 100px; font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid rgba(255,255,255,0.22); display: inline-block; transition: background .25s ease, border-color .25s ease; }
.ev-btn-outline:hover { color: #fff; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }

/* hero pill button with circular icon badge */
.ev-hero-btn { display: inline-flex; align-items: center; gap: 14px; padding: 6px 8px 6px 26px; border-radius: 100px; background: linear-gradient(135deg, #5b6ef5 0%, #8b5cf6 55%, #7c3aed 100%); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; border: 1px solid rgba(255,255,255,0.28); transition: transform .25s ease, filter .25s ease; }
.ev-hero-btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); }
.ev-hero-btn-icon { width: 40px; height: 40px; flex: none; border-radius: 50%; background: #0c1322; border: 2px solid #f5a623; display: grid; place-items: center; transition: transform .25s ease; }
.ev-hero-btn-icon svg { width: 18px; height: 18px; color: #fff; }

/* arrow slide-on-hover: arrow flies out top-right, a fresh one enters from bottom-left */
.ev-hero-btn-icon { overflow: hidden; }
.ev-arrow-move { display: grid; place-items: center; }
.ev-arrow-move svg { grid-area: 1 / 1; transition: transform .38s cubic-bezier(.4,.1,.2,1); }
.ev-arrow-move svg:nth-child(2) { transform: translate(-150%, 150%); }
.ev-hero-btn:hover .ev-arrow-move svg:nth-child(1) { transform: translate(150%, -150%); }
.ev-hero-btn:hover .ev-arrow-move svg:nth-child(2) { transform: translate(0, 0); }
@media (prefers-reduced-motion: reduce) {
  .ev-arrow-move svg { transition: none !important; }
  .ev-arrow-move svg:nth-child(2) { display: none; }
}

/* secondary variant — transparent fill, gradient ring stays */
.ev-hero-btn.ev-hero-btn-alt { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.30);}
.ev-hero-btn.ev-hero-btn-alt:hover {
  background: rgba(109, 74, 255, 0.15);
  border-color: rgba(109, 74, 255, 0.5);
  color: #fff;
}
.ev-hero-btn.ev-hero-btn-alt .ev-hero-btn-icon { border-color: #18c5c5; }

/* ---------- hero right-side image: float + glow + 3D tilt ---------- */
.eventogen_mockup { position: relative; perspective: 1200px; animation: evMockFadeIn 1s ease both; }
.eventogen_mockup::before {
  content: ""; position: absolute; inset: -6% -4% -8% -4%; z-index: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 40%, rgba(155,48,212,0.55), transparent 65%),
              radial-gradient(ellipse 50% 50% at 75% 70%, rgba(42,48,232,0.45), transparent 65%);
  filter: blur(48px); border-radius: 50%;
  animation: evMockGlow 6s ease-in-out infinite;
}
.eventogen_mockup img {
  position: relative; z-index: 1;
  animation: evFloat 6s ease-in-out infinite;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.eventogen_mockup:hover img {
  transform: perspective(1200px) rotateY(-7deg) rotateX(4deg) scale(1.03);
}
@keyframes evMockFadeIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes evMockGlow {
  0%,100% { opacity: 0.55; transform: scale(0.97); }
  50%     { opacity: 0.9;  transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .eventogen_mockup, .eventogen_mockup img, .eventogen_mockup::before { animation: none !important; }
  .eventogen_mockup:hover img { transform: none; }
}

/* feature pills under hero CTA */
.ev-feature-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 540px; }
.ev-feature-pill { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px 12px; text-align: center; }
.ev-feature-pill .ico { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, #6d4aff, #9b30d4); display: grid; place-items: center; color: #fff; font-size: 14px; margin: 0 auto 8px; }
.ev-feature-pill .ttl { font-size: 12px; color: #fff; font-weight: 700; line-height: 1.3; }
@media (max-width: 540px) { .ev-feature-pills { grid-template-columns: repeat(2, 1fr); } }

/* hero dashboard mockup */
.ev-mock-wrap { position: relative; }
.ev-mock { position: relative; background: #ffffff; border-radius: 18px; padding: 18px;color: #14102e; }
.ev-mock-side { position: absolute; left: -50px; top: 50%; transform: translateY(-50%); background: #fff; border-radius: 14px; padding: 10px;width: 70px; display: flex; flex-direction: column; gap: 8px; }
.ev-mock-side .row-i { display: flex; align-items: center; gap: 6px; font-size: 9px; color: #555; }
.ev-mock-side .dot { width: 6px; height: 6px; border-radius: 50%; background: #c4b5fd; }
.ev-mock-title { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 12px; border-bottom: 1px solid #eee; margin-bottom: 14px; }
.ev-mock-title strong { font-size: 14px; font-weight: 700; }
.ev-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 14px; }
.ev-stat { background: #f7f5ff; border-radius: 10px; padding: 10px; }
.ev-stat small { color: #6b7280; font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px; }
.ev-stat strong { display: block; font-size: 18px; font-weight: 800; color: #14102e; margin-top: 4px; }
.ev-mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ev-mock-col { background: #faf9fe; border-radius: 10px; padding: 12px; }
.ev-mock-col h6 { font-size: 11px; font-weight: 700; margin: 0 0 8px; text-transform: uppercase; color: #6b7280; letter-spacing: 0.5px; }
.ev-mock-list { display: flex; flex-direction: column; gap: 6px; }
.ev-mock-list .li { display: flex; align-items: center; gap: 6px; font-size: 10px; }
.ev-mock-list .li .bar { flex: 1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #6d4aff, #9b30d4); }

/* floating stat cards around dashboard */
.ev-float { position: absolute; background: #fff; color: #14102e; border-radius: 14px; padding: 12px 16px;display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; }
.ev-float small { display: block; font-size: 10px; color: #6b7280; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 500; }
.ev-float strong { font-size: 18px; }
.ev-float-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 16px; }
.ev-float.f1 { top: 25%; left: -32px; }
.ev-float.f1 .ev-float-icon { background: linear-gradient(135deg, #6d4aff, #3b5bff); }
.ev-float.f2 { bottom: 12%; left: 8%; }
.ev-float.f2 .ev-float-icon { background: linear-gradient(135deg, #f5a623, #ec3b7a); }
.ev-float.f3 { top: -18px; right: 6%; }
.ev-float.f3 .ev-float-icon { background: linear-gradient(135deg, #ec3b7a, #c062e5); }
.ev-float.f4 { bottom: -22px; right: 12%; }
.ev-float.f4 .ev-float-icon { background: linear-gradient(135deg, #18c5c5, #2aa0e8); }
@media (max-width: 992px) {
  .ev-float.f1 { left: 0; }
  .ev-float.f2 { left: 0; bottom: -10px; }
  .ev-mock-side { display: none; }
}

/* ---------- trusted strip ---------- */
.ev-trusted { background: #f8f8fc; padding: 36px 0; border-bottom: 1px solid #eceaf5; }
.ev-trusted .label { text-align: center; font-size: 13px; color: #6b7280; margin-bottom: 22px; }
.ev-trusted-logos { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.ev-logo-text { font-weight: 800; font-size: 16px; color: #4a4a63; opacity: 0.7; letter-spacing: 0.5px; }
.ev-logo-text.thin { font-weight: 600; opacity: 0.75; }

/* ---------- section heads ---------- */
.ev-section { padding: 80px 0; }
.ev-section.alt { background: #eceaf5; }
.ev-section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.ev-section-head .eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: #6d4aff; margin-bottom: 14px; }
.ev-section-head h2 { font-family: 'Inter', sans-serif; font-size: 38px; font-weight: 800; line-height: 1.15; letter-spacing: -0.6px; color: #14102e; margin: 0; }
.ev-section-head h2 .underline { background-image: linear-gradient(180deg, transparent 70%, rgba(109, 74, 255, 0.28) 70%); background-repeat: no-repeat; padding: 0 4px; }


.ev-eyebrow-light { font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: #6d4aff; }
.ev-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; margin: 0 0 26px; padding: 0; list-style: none; }
.ev-bullets li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: #14102e; }
.ev-bullets li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, #6d4aff, #9b30d4); display: inline-block; flex: none; margin-top: 4px;}

.status-tag { font-size: 10px; padding: 3px 8px; border-radius: 100px; text-align: center; font-weight: 600; }
.status-tag.ok { background: #dcfce7; color: #166534; }
.status-tag.pend { background: #fef9c3; color: #854d0e; }
.status-tag.warn { background: #ffe4e6; color: #9f1239; }


/* big CTA dark card */
.ev-cta-band { background: linear-gradient(135deg, #1f1547 0%, #6d4aff 100%); border-radius: 24px; padding: 48px 40px; color: #fff; text-align: left; position: relative; overflow: hidden; }
.ev-cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,0.10) 1.5px, transparent 1.5px); background-size: 22px 22px; mask-image: radial-gradient(ellipse 70% 70% at 80% 20%, black, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 80% 20%, black, transparent 80%); pointer-events: none; }
.ev-cta-band .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: #b9a8ff; margin-bottom: 12px; display: inline-block; }
.ev-cta-band h2 { font-family: 'Inter', sans-serif; font-size: 36px; font-weight: 800; line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 16px; color: #fff; }
.ev-cta-band h2 .gradient { background: linear-gradient(95deg, #b9a8ff, #c062e5, #ec3b7a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ev-cta-band p { font-size: 15px; color: rgba(255,255,255,0.85); max-width: 420px; margin-bottom: 22px; }
.ev-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ev-cta-meta { display: flex; gap: 18px; font-size: 12px; color: rgba(255,255,255,0.7); flex-wrap: wrap; }
.ev-cta-meta span::before { content: "✓ "; color: #34d399; font-weight: 700; }

/* hero responsive */
@media (max-width: 992px) {
  .ev-hero { padding: 140px 0 80px; }
  .ev-hero h1 { font-size: 40px; }
  .ev-section { padding: 60px 0; }
  .ev-section-head h2 { font-size: 28px; }
}

/* =========================================================
   EVENTOGEN — ANIMATIONS
   ========================================================= */
/* Scroll-reveal */
.ev-anim { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.ev-anim.in { opacity: 1; transform: none; }
.ev-delay-1 { transition-delay: .08s; }
.ev-delay-2 { transition-delay: .16s; }
.ev-delay-3 { transition-delay: .24s; }
.ev-delay-4 { transition-delay: .32s; }

/* Keyframes */
@keyframes evFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes evBob { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-4px) rotate(1deg); } }
@keyframes evPulseGlow { 0%,100% {} 50% {} }
@keyframes evGradFlow { 0% { background-position: 0% 0; } 100% { background-position: 220% 0; } }
@keyframes evGrowBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes evDrift { from { background-position: 0 0; } to { background-position: 260px 260px; } }
@keyframes evRotate { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes evShine { 0% { transform: translateX(-120%) skewX(-18deg); } 100% { transform: translateX(220%) skewX(-18deg); } }
@keyframes evRing { 0% { transform: scale(0.6); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }

/* Continuous floats on stat cards (no scroll-reveal — kept always-on) */
.ev-float { animation: evFloat 5s ease-in-out infinite; }
.ev-float.f2 { animation-delay: -1.4s; }
.ev-float.f3 { animation-delay: -2.8s; }
.ev-float.f4 { animation-delay: -4s; }

/* Drifting hero dot pattern */
.ev-hero::before { animation: evDrift 30s linear infinite; }

/* Animated brand-gradient text */
.ev-hero h1 .gradient,
.ev-cta-band h2 .gradient {
  background-size: 220% 100%;
  animation: evGradFlow 7s ease-in-out infinite;
}


/* Mock progress bars grow on reveal */
.ev-mock.in .ev-mock-list .li .bar,
.ev-mock-list .li .bar { transform-origin: left; }
.ev-mock.in .ev-mock-list .li .bar { animation: evGrowBar 1.1s cubic-bezier(.2,.7,.2,1) both; }
.ev-mock.in .ev-mock-list .li:nth-child(2) .bar { animation-delay: .15s; }
.ev-mock.in .ev-mock-list .li:nth-child(3) .bar { animation-delay: .30s; }


/* Feature pill hover */
.ev-feature-pill { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.ev-feature-pill:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.07); }

/* Primary button shimmer on hover */
.ev-btn-primary { position: relative; overflow: hidden; }
.ev-btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: translateX(-120%) skewX(-18deg);
  pointer-events: none;
}
.ev-btn-primary:hover::after { animation: evShine .9s ease forwards; }



/* Brand mark pulse-ring on nav */
.ev-brand-mark { position: relative; }
.ev-brand-mark::after {
  content: ""; position: absolute; inset: 0; border-radius: 8px;
  animation: evRing 2.4s ease-out infinite;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .ev-anim, .ev-float,
  .ev-hero h1 .gradient, .ev-cta-band h2 .gradient,
  .ev-mock-list .li .bar, .ev-hero::before,
  .ev-brand-mark::after, .ev-btn-primary::after {
    animation: none !important; transition: none !important;
  }
  .ev-anim { opacity: 1; transform: none; }
}

/* ---------- trust / problem section (Eventogen) ---------- */
.ev-problem { background: #f6f7fb; }
.ev-problem-title { font-family: 'Inter', sans-serif; font-size: 36px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; color: #14102e; margin: 14px 0 20px; }
.ev-problem-title .underline { background-image: linear-gradient(180deg, transparent 70%, rgba(236,59,122,0.30) 70%); background-repeat: no-repeat; padding: 0 4px; }
.ev-problem-text { font-size: 15.5px; color: #4a4a63; line-height: 1.7; margin-bottom: 16px; }
.ev-problem-text:last-child { margin-bottom: 0; }

/* stacked glassmorphism screenshots */
.ev-stack { position: relative; min-height: 440px; perspective: 1400px; }
.ev-glass {
  position: absolute; width: 70%; padding: 16px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 18px;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}
.ev-glass.s1 { top: 0;     left: 0;   z-index: 3; transform: rotate(-4deg); }
.ev-glass.s2 { top: 130px; right: 0;  z-index: 2; transform: rotate(3deg); }
.ev-glass.s3 { top: 270px; left: 12%; z-index: 1; transform: rotate(-2deg); }
.ev-glass:hover { transform: rotate(0deg) translateY(-6px) scale(1.04); z-index: 5;}
.ev-glass-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px solid rgba(20,16,46,0.08); }
.ev-glass-head strong { font-size: 13px; font-weight: 800; color: #14102e; }
.ev-glass-tag { font-size: 10px; font-weight: 600; color: #6d4aff; background: rgba(109,74,255,0.10); border-radius: 100px; padding: 3px 9px; }
.ev-glass-row { display: flex; align-items: center; gap: 8px; padding: 7px 2px; font-size: 12px; color: #14102e; border-bottom: 1px solid rgba(20,16,46,0.05); }
.ev-glass-row:last-child { border-bottom: 0; }
.ev-glass-row .av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #b9a8ff, #6d4aff); flex: none; }
.ev-glass-row small { color: #6b7280; font-size: 11px; min-width: 40px; }
.ev-glass-row strong { font-weight: 600; font-size: 12px; }
.ev-glass-row .status-tag { margin-left: auto; }
@media (max-width: 991px) {
  .ev-stack { min-height: 420px; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 575px) {
  .ev-glass { width: 84%; }
  .ev-glass.s3 { left: 6%; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-glass { transition: none !important; }
}

/* colorful backdrop so the glass frost is visible / designed */
.ev-stack::before, .ev-stack::after { content: ""; position: absolute; border-radius: 50%; filter: blur(55px); z-index: 0; pointer-events: none; }
.ev-stack::before { width: 240px; height: 240px; background: radial-gradient(circle, rgba(109,74,255,0.55), transparent 70%); top: -10px; left: 30px; animation: evFloat 7s ease-in-out infinite; }
.ev-stack::after { width: 220px; height: 220px; background: radial-gradient(circle, rgba(236,59,122,0.45), transparent 70%); bottom: 10px; right: 20px; animation: evFloat 6s ease-in-out infinite reverse; }
.ev-glass { background: rgba(255,255,255,0.42); }
@media (prefers-reduced-motion: reduce) {
  .ev-stack::before, .ev-stack::after { animation: none !important; }
}

/* cards appear one-by-one on scroll-in */
.ev-glass.s1 { --rot: -4deg; }
.ev-glass.s2 { --rot: 3deg; }
.ev-glass.s3 { --rot: -2deg; }
@keyframes evGlassIn {
  from { opacity: 0; transform: translateY(44px) rotate(var(--rot)) scale(0.9); }
  to   { opacity: 1; transform: translateY(0) rotate(var(--rot)) scale(1); }
}
.ev-glass.ev-anim.in {
  animation-name: evGlassIn;
  animation-duration: .6s;
  animation-timing-function: cubic-bezier(.2,.7,.2,1);
  animation-fill-mode: backwards;
}
.ev-glass.s1.ev-anim.in { animation-delay: .05s; }
.ev-glass.s2.ev-anim.in { animation-delay: .32s; }
.ev-glass.s3.ev-anim.in { animation-delay: .58s; }
@media (prefers-reduced-motion: reduce) {
  .ev-glass.ev-anim.in { animation: none !important; }
}

/* ---------- core platform (dark) ---------- */
.ev-core {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(155,48,212,0.28), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 100%, rgba(42,48,232,0.25), transparent 60%),
    linear-gradient(180deg, #0a0a1f 0%, #14102e 100%);
}
.ev-core .eyebrow { color: #b9a8ff !important; }
.ev-core .ev-section-head h2 { color: #fff; }
.ev-core-grad { background: linear-gradient(95deg, #b9a8ff, #c062e5, #ec3b7a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ev-core-intro { font-size: 16px; color: #b3aedc; line-height: 1.6; max-width: 620px; margin: 16px auto 0; }

.ev-core-card {
  height: 100%;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 16px 16px 22px;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}
.ev-core-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(155,48,212,0.45);
}
.ev-core-shot {
  position: relative; height: 150px; border-radius: 12px; margin-bottom: 16px; overflow: hidden;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.10);
}
.ev-core-shot::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 16px 16px; opacity: 0.5;
}
.ev-core-shot.c1 { background: linear-gradient(135deg, #6d4aff, #3b5bff); }
.ev-core-shot.c2 { background: linear-gradient(135deg, #ec3b7a, #c062e5); }
.ev-core-shot.c3 { background: linear-gradient(135deg, #18c5c5, #2aa0e8); }
.ev-core-shot.c4 { background: linear-gradient(135deg, #f5a623, #ec3b7a); }
.ev-core-shot.c5 { background: linear-gradient(135deg, #f97316, #db2777); }
.ev-core-shot.c6 { background: linear-gradient(135deg, #34d399, #10b981); }
.ev-core-ico {
  position: relative; z-index: 1; width: 54px; height: 54px; border-radius: 14px;
  display: grid; place-items: center; font-size: 26px;
  background: rgba(255,255,255,0.18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
transition: transform .35s ease;
}
.ev-core-card:hover .ev-core-ico { transform: scale(1.08) rotate(-4deg); }
.ev-core-shot-label {
  position: absolute; z-index: 1; bottom: 8px; left: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.3px; color: #fff;
  background: rgba(10,10,31,0.45); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px; padding: 3px 10px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.ev-core-card h3 { font-size: 17px; font-weight: 800; color: #fff; margin: 0 0 8px; }
.ev-core-card p { font-size: 13.5px; color: #b3aedc; line-height: 1.6; margin: 0; }

/* core platform: image fills the preview area (replaces emoji icon) */
.ev-core-img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.ev-core-card:hover .ev-core-img { transform: scale(1.06); }
.ev-core-shot-label { z-index: 2; }

/* core platform: white image panel so full screenshots read cleanly */
.ev-core-shot,
.ev-core-shot.c1, .ev-core-shot.c2, .ev-core-shot.c3,
.ev-core-shot.c4, .ev-core-shot.c5, .ev-core-shot.c6 { background: #ffffff; }
.ev-core-shot::before { display: none; }

/* ---------- media & branding (image left + content right) ---------- */
.ev-mb-title { font-family: 'Inter', sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; color: #14102e; margin: 14px 0 18px; }
.ev-mb-grad { background: linear-gradient(95deg, #6d4aff, #9b30d4, #ec3b7a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ev-mb-text { font-size: 15.5px; color: #4a4a63; line-height: 1.7; margin-bottom: 14px; }
.ev-mb-bullets { margin-top: 22px; margin-bottom: 26px; }

/* visual: large main image + floating inset */
.ev-mb-visual { position: relative; padding: 10px 30px 40px 0; }
.ev-mb-main {
  position: relative; border-radius: 18px; overflow: hidden; z-index: 1;
  background: linear-gradient(135deg, #6d4aff, #9b30d4);
  aspect-ratio: 4 / 3;
}
.ev-mb-main img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-mb-inset {
  position: absolute; right: 0; bottom: 0; z-index: 2; width: 46%;
  border-radius: 14px; overflow: hidden;
  border: 4px solid #fff;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.ev-mb-inset img { display: block; width: 100%; height: auto; }
.ev-mb-visual:hover .ev-mb-inset { transform: translateY(-6px); }
@media (max-width: 575px) {
  .ev-mb-visual { padding: 10px 0 30px 0; }
  .ev-mb-inset { width: 52%; }
}

/* ---------- website & api integrations (dark) ---------- */
.ev-api {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 65% 55% at 15% 0%, rgba(42,48,232,0.30), transparent 60%),
    radial-gradient(ellipse 60% 55% at 90% 100%, rgba(155,48,212,0.28), transparent 60%),
    linear-gradient(180deg, #0a0a1f 0%, #14102e 100%);
}
.ev-api-eyebrow { color: #b9a8ff; }
.ev-api-title { font-family: 'Inter', sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.18; color: #fff; margin: 14px 0 18px; }
.ev-api-grad { background: linear-gradient(95deg, #b9a8ff, #c062e5, #ec3b7a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ev-api-text { font-size: 15.5px; color: #b3aedc; line-height: 1.7; margin-bottom: 14px; }
.ev-api-strong { color: #fff; font-weight: 700; }
.ev-api-features { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.ev-api-features li { position: relative; padding-left: 22px; font-size: 14px; color: #e7e3ff; font-family: 'SF Mono', Menlo, monospace; }
.ev-api-features li::before { content: "›"; position: absolute; left: 4px; top: -1px; color: #34d399; font-weight: 800; font-size: 16px; }

/* code-window image frame */
.ev-api-window { border-radius: 16px; overflow: hidden; background: #0c0c1c; border: 1px solid rgba(255,255,255,0.12);}
.ev-api-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255,255,255,0.04); border-bottom: 1px solid rgba(255,255,255,0.08); }
.ev-api-dot { width: 11px; height: 11px; border-radius: 50%; }
.ev-api-dot.r { background: #ff5f57; }
.ev-api-dot.y { background: #febc2e; }
.ev-api-dot.g { background: #28c840; }
.ev-api-url { margin-left: 12px; font-size: 11px; color: #9ca3af; font-family: 'SF Mono', Menlo, monospace; }
.ev-api-shot { position: relative; aspect-ratio: 16 / 11; background: linear-gradient(135deg, #1f1547, #2a1a5b); display: grid; place-items: center; }
.ev-api-shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575px) {
  .ev-api-features { grid-template-columns: 1fr; }
}

/* api window: animated live-code feed (replaces static image) */
.ev-api-shot { display: block; place-items: initial; padding: 16px 18px; text-align: left; }
.ev-api-code { font-family: 'SF Mono', Menlo, monospace; font-size: 12.5px; line-height: 1.4; color: #cfc8ff; }
.ev-api-reqline { color: #fff; margin-bottom: 14px; white-space: nowrap; }
.ev-api-reqline .tk-m { color: #34d399; font-weight: 700; }
.ev-api-reqline .tk-u { color: #c062e5; }
.ev-cursor { display: inline-block; width: 8px; height: 15px; margin-left: 3px; vertical-align: -2px; background: #b9a8ff; animation: evBlink 1.05s steps(1) infinite; }
@keyframes evBlink { 50% { opacity: 0; } }

.ev-api-stream {
  position: relative; height: 154px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent);
}
.ev-api-track { animation: evApiScroll 13s linear infinite; }
.ev-api-shot:hover .ev-api-track { animation-play-state: paused; }
@keyframes evApiScroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.ev-api-set { display: flex; flex-direction: column; gap: 9px; padding-bottom: 9px; }
.ev-api-set .ln { white-space: nowrap; color: #b9b4dd; }
.ev-api-set .tk-ok { color: #34d399; font-weight: 700; }
.ev-api-set .tk-w  { color: #febc2e; font-weight: 700; }
.ev-api-set .tk-n  { color: #2aa0e8; }
.ev-api-set .tk-s  { color: #fbbf24; }
.ev-api-set .tk-c  { color: #6b6a8f; font-style: italic; }
@media (prefers-reduced-motion: reduce) {
  .ev-api-track { animation: none !important; }
  .ev-cursor { animation: none !important; }
}

/* api window: image preview below the code feed */
.ev-api-preview {
  position: relative; margin-top: 16px; border-radius: 12px; overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1f1547, #2a1a5b);
  border: 1px solid rgba(255,255,255,0.10);
}
.ev-api-preview::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 16px 16px; opacity: 0.5;
}
.ev-api-preview img { position: relative; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-api-preview-tag {
  position: absolute; z-index: 2; top: 10px; left: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 600; color: #fff;
  background: rgba(10,10,31,0.55); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px; padding: 4px 10px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.ev-api-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399;animation: evLivePulse 1.8s ease-out infinite; }
@keyframes evLivePulse { 0% {} 100% {} }
@media (prefers-reduced-motion: reduce) {
  .ev-api-live-dot { animation: none !important; }
}

/* api live preview: speakers -> partners crossfade slideshow */
.ev-api-slides { position: absolute; inset: 0; z-index: 1; }
.ev-api-slide {
  position: absolute; inset: 0; background: #ffffff; color: #14102e;
  padding: 30px 16px 14px; opacity: 0;
  animation: evApiSlideShow 9s ease-in-out infinite;
}
.ev-api-slide.is-partners { animation-delay: 4.5s; }
@keyframes evApiSlideShow {
  0%, 4%   { opacity: 0; }
  10%, 44% { opacity: 1; }
  50%, 100%{ opacity: 0; }
}
.apv-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #eee; }
.apv-head strong { font-size: 12px; font-weight: 800; color: #14102e; }
.apv-pill { font-size: 9px; font-weight: 600; color: #6d4aff; background: rgba(109,74,255,0.10); border-radius: 100px; padding: 2px 8px; }
.apv-row { display: flex; align-items: center; gap: 8px; padding: 6px 2px; font-size: 11px; border-bottom: 1px solid #f3f3f7; }
.apv-row:last-child { border-bottom: 0; }
.apv-av { width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, #b9a8ff, #6d4aff); flex: none; }
.apv-nm { flex: 1; color: #14102e; }
.apv-row .status-tag { margin-left: auto; }
.apv-logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 4px; }
.apv-logo { height: 30px; border-radius: 8px; background: linear-gradient(135deg, #ece9ff, #f6f1ff); border: 1px solid #ece6ff; }
.apv-logo:nth-child(2) { background: linear-gradient(135deg, #ffe6f0, #fff0f6); border-color: #ffdcec; }
.apv-logo:nth-child(3) { background: linear-gradient(135deg, #e2f7f7, #effbfb); border-color: #d6f0f0; }
.apv-logo:nth-child(4) { background: linear-gradient(135deg, #fff1dd, #fff8ee); border-color: #ffe9c9; }
.apv-logo:nth-child(5) { background: linear-gradient(135deg, #e6f7ec, #f2fbf5); border-color: #d8f0e0; }
.apv-logo:nth-child(6) { background: linear-gradient(135deg, #eef0ff, #f6f7ff); border-color: #e2e6ff; }
@media (prefers-reduced-motion: reduce) {
  .ev-api-slide { animation: none !important; }
  .ev-api-slide.is-speakers { opacity: 1; }
  .ev-api-slide.is-partners { opacity: 0; }
}

/* ---------- team collaboration ---------- */
.ev-team { background: #f6f7fb; }
.ev-team-title { font-family: 'Inter', sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; color: #14102e; margin: 14px 0 18px; }
.ev-team-grad { background: linear-gradient(95deg, #6d4aff, #9b30d4, #ec3b7a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ev-team-text { font-size: 15.5px; color: #4a4a63; line-height: 1.7; margin-bottom: 14px; }
.ev-team-features { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.ev-team-features li { position: relative; padding-left: 24px; font-size: 14px; color: #14102e; }
.ev-team-features li::before { content: ""; position: absolute; left: 0; top: 3px; width: 15px; height: 15px; border-radius: 50%; background: linear-gradient(135deg, #6d4aff, #9b30d4);}

/* visual */
.ev-team-visual { position: relative; padding: 10px 0 50px; min-height: 340px; }
.ev-team-users { background: #fff; border-radius: 18px; padding: 16px;position: relative; z-index: 1; max-width: 420px; }
.ev-tu-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1px solid #eee; }
.ev-tu-head strong { font-size: 14px; font-weight: 800; color: #14102e; }
.ev-tu-count { font-size: 11px; color: #16a34a; font-weight: 600; }
.ev-tu-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid #f3f3f7; }
.ev-tu-row:last-child { border-bottom: 0; }
.ev-tu-av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #6d4aff, #9b30d4); flex: none; }
.ev-tu-av.a2 { background: linear-gradient(135deg, #f5a623, #ec3b7a); }
.ev-tu-av.a3 { background: linear-gradient(135deg, #18c5c5, #2aa0e8); }
.ev-tu-av.a4 { background: linear-gradient(135deg, #34d399, #10b981); }
.ev-tu-nm { flex: 1; font-size: 13px; font-weight: 600; color: #14102e; }
.ev-tu-role { font-size: 10px; font-weight: 700; border-radius: 100px; padding: 3px 9px; }
.ev-tu-role.admin { background: #ede9ff; color: #6d28d9; }
.ev-tu-role.mkt   { background: #ffe4ef; color: #be185d; }
.ev-tu-role.ops   { background: #e0f6f6; color: #0e7490; }
.ev-tu-role.spon  { background: #e7f8ee; color: #047857; }
.ev-tu-on { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; flex: none;animation: evLivePulse 2s ease-out infinite; }
.ev-tu-row:nth-child(3) .ev-tu-on { animation-delay: .5s; }
.ev-tu-row:nth-child(4) .ev-tu-on { animation-delay: 1s; }
.ev-tu-row:nth-child(5) .ev-tu-on { animation-delay: 1.5s; }

/* floating chat popup */
.ev-team-chat {
  position: absolute; right: 0; bottom: 0; z-index: 2; width: 70%; max-width: 300px;
  background: #fff; border-radius: 16px; padding: 14px;
  animation: evBob 5s ease-in-out infinite;
}
.ev-tc-head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid #f0f0f5; }
.ev-tc-head strong { font-size: 12px; font-weight: 800; color: #14102e; }
.ev-tc-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.ev-tc-msg { display: flex; align-items: flex-end; gap: 7px; margin-top: 9px; opacity: 0; transform: translateY(8px); animation: evTcMsg 8s ease-in-out infinite; }
.ev-tc-msg.m1 { animation-delay: .3s; }
.ev-tc-msg.m2 { animation-delay: 1.6s; }
.ev-tc-msg.m3 { animation-delay: 2.9s; }
.ev-tc-av { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, #6d4aff, #9b30d4); flex: none; }
.ev-tc-av.b { background: linear-gradient(135deg, #f5a623, #ec3b7a); }
.ev-tc-av.c { background: linear-gradient(135deg, #18c5c5, #2aa0e8); }
.ev-tc-bubble { background: #f4f2ff; color: #14102e; font-size: 11.5px; line-height: 1.4; padding: 7px 11px; border-radius: 12px 12px 12px 4px; max-width: 80%; }
@keyframes evTcMsg {
  0%, 3%   { opacity: 0; transform: translateY(8px); }
  8%, 78%  { opacity: 1; transform: none; }
  86%, 100%{ opacity: 0; transform: translateY(8px); }
}
.ev-tc-typing { display: flex; align-items: center; gap: 4px; margin: 11px 0 2px 29px; }
.ev-tc-typing span { width: 6px; height: 6px; border-radius: 50%; background: #c4b5fd; animation: evTyping 1.3s ease-in-out infinite; }
.ev-tc-typing span:nth-child(2) { animation-delay: .2s; }
.ev-tc-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes evTyping { 0%,60%,100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

@media (max-width: 575px) {
  .ev-team-features { grid-template-columns: 1fr; }
  .ev-team-chat { width: 82%; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-team-chat, .ev-tu-on, .ev-tc-typing span { animation: none !important; }
  .ev-tc-msg { animation: none !important; opacity: 1; transform: none; }
}

/* ---------- team collaboration: laptop mockup ---------- */
.ev-team-visual { position: relative; padding: 10px 0; min-height: 0; display: flex; justify-content: center; }
.ev-laptop { position: relative; width: 100%; max-width: 560px; }
.ev-laptop-screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 16px 16px 6px 6px;
  background: #0c0c1c; border: 12px solid #16162e; border-bottom-width: 14px;
  overflow: hidden;
}
.ev-laptop-cam { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); width: 5px; height: 5px; border-radius: 50%; background: #2c2c46; z-index: 6; }
.ev-laptop-base {
  position: relative; left: 50%; transform: translateX(-50%); width: 100%; height: 16px; margin-top: -2px;
  background: linear-gradient(180deg, #d4d5e1 0%, #a7a8bd 70%, #8e8fa6 100%);
  border-radius: 0 0 16px 16px;}
.ev-laptop-base::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 90px; height: 6px; background: #82839a; border-radius: 0 0 8px 8px; }

/* app inside screen */
.ev-laptop-content { position: absolute; inset: 0; display: flex; background: #f6f7fb; font-size: 11px; }
.ev-app-side { width: 38%; background: #fff; border-right: 1px solid #eceaf5; padding: 10px 9px; }
.ev-app-side-h { font-size: 11px; font-weight: 800; color: #14102e; display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.ev-app-online { margin-left: auto; font-size: 8.5px; font-weight: 600; color: #16a34a; }
.ev-app-mem { display: flex; align-items: center; gap: 7px; padding: 6px 4px; border-radius: 8px; transition: background .2s ease; }
.ev-app-mem:hover { background: #f4f2ff; }
.ev-app-mem .ev-tu-av { width: 20px; height: 20px; }
.ev-app-mem-nm { flex: 1; font-size: 10.5px; font-weight: 600; color: #14102e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ev-app-main { flex: 1; display: flex; flex-direction: column; padding: 10px 12px; min-width: 0; }
.ev-app-main .ev-tc-head { display: flex; align-items: center; gap: 7px; padding-bottom: 9px; border-bottom: 1px solid #eee; margin-bottom: 8px; }
.ev-app-main .ev-tc-head strong { font-size: 11.5px; }
.ev-app-room { margin-left: auto; font-size: 9px; color: #9ca3af; font-weight: 600; }
.ev-app-msgs { flex: 1; overflow: hidden; }
.ev-app-input { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 7px 12px; background: #f1f0f8; border-radius: 100px; }
.ev-app-input-ph { flex: 1; font-size: 10px; color: #9ca3af; }
.ev-app-send { font-size: 13px; color: #6d4aff; animation: evSendPulse 9s ease-in-out infinite; }
@keyframes evSendPulse { 0%,72%,100% { transform: scale(1); } 77% { transform: scale(0.8); } 82% { transform: scale(1.25); } }

/* animated cursor — moves to a member, then to send, clicks */
.ev-laptop-cursor {
  position: absolute; z-index: 7; width: 17px; height: 17px; left: 50%; top: 55%; pointer-events: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 2 L5 19 L9.5 14.8 L12.3 21 L15 19.8 L12.2 13.8 L18.5 13.5 Z" fill="white" stroke="%2314102e" stroke-width="1.3" stroke-linejoin="round"/></svg>') no-repeat center / contain;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.35));
  animation: evCursorMove 9s cubic-bezier(.5,.05,.4,1) infinite;
}
.ev-laptop-cursor::after {
  content: ""; position: absolute; inset: -7px; border: 2px solid rgba(109,74,255,0.7); border-radius: 50%;
  opacity: 0; animation: evCursorClick 9s ease-in-out infinite;
}
@keyframes evCursorMove {
  0%   { left: 52%; top: 58%; }
  18%  { left: 20%; top: 36%; }
  42%  { left: 20%; top: 50%; }
  72%  { left: 88%; top: 86%; }
  80%  { left: 88%; top: 86%; }
  100% { left: 52%; top: 58%; }
}
@keyframes evCursorClick {
  0%, 73%  { opacity: 0; transform: scale(0.4); }
  77%      { opacity: 0.85; transform: scale(0.6); }
  86%      { opacity: 0; transform: scale(1.4); }
  100%     { opacity: 0; }
}

@media (max-width: 575px) {
  .ev-laptop-content { font-size: 10px; }
  .ev-app-mem-nm { font-size: 9.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-laptop-cursor, .ev-laptop-cursor::after, .ev-app-send { animation: none !important; }
  .ev-laptop-cursor { display: none; }
}

/* ---------- why eventogen (spotlight grid, dark) ---------- */
.ev-why {
  padding: 60px 0; position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(155,48,212,0.22), transparent 60%),
    linear-gradient(180deg, #0a0a1f 0%, #14102e 100%);
}
.ev-why .ev-section-head { max-width: none; margin-bottom: 40px; }
.ev-why .ev-section-head .eyebrow { color: #b9a8ff; }
.ev-why .ev-section-head h2 { color: #fff; white-space: nowrap; }
@media (max-width: 767px) {
  .ev-why .ev-section-head h2 { white-space: normal; font-size: 24px; }
}

/* grid + faint guide lines */
.ev-why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(255,255,255,0.07);
}
@media (max-width: 860px) { .ev-why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ev-why-grid { grid-template-columns: 1fr; } }

/* card — cursor-following spotlight via --mx/--my */
.ev-why-card {
  position: relative; background: #0e0e22; overflow: hidden;
  transition: background .4s ease;
}
.ev-why-card:hover { background: #11112a; }
/* the glow that tracks the cursor */
.ev-why-glow {
  position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
              rgba(155,48,212,0.30), rgba(109,74,255,0.14) 35%, transparent 65%);
}
.ev-why-card:hover .ev-why-glow { opacity: 1; }
/* gradient hairline border that lights up near the cursor */
.ev-why-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  padding: 1px; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%),
              rgba(185,168,255,0.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.ev-why-card:hover::before { opacity: 1; }

.ev-why-inner { position: relative; z-index: 2; padding: 30px 26px; }
.ev-why-num {
  position: absolute; top: 18px; right: 22px; font-family: 'Inter', sans-serif;
  font-size: 30px; font-weight: 800; line-height: 1; letter-spacing: -1px;
  color: transparent; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.07);
  /* gradient fill that rises from the bottom on hover (liquid effect) */
  background-image: linear-gradient(180deg, #b9a8ff, #c062e5 55%, #ec3b7a);
  background-repeat: no-repeat; background-position: center bottom;
  background-size: 100% 0%;
  -webkit-background-clip: text; background-clip: text;
  transition: background-size .65s cubic-bezier(.34,1.4,.5,1);
}
.ev-why-card:hover .ev-why-num { background-size: 100% 110%; }
@media (prefers-reduced-motion: reduce) {
  .ev-why-num { transition: none; }
}
.ev-why-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; color: #fff; margin-bottom: 18px;
transition: transform .35s ease;
}
.ev-why-card:hover .ev-why-ico { transform: translateY(-3px) scale(1.06) rotate(-4deg); }
.ev-why-ico.w1 { background: linear-gradient(135deg, #6d4aff, #3b5bff); }
.ev-why-ico.w2 { background: linear-gradient(135deg, #f5a623, #ec3b7a); }
.ev-why-ico.w3 { background: linear-gradient(135deg, #ec3b7a, #c062e5); }
.ev-why-ico.w4 { background: linear-gradient(135deg, #18c5c5, #2aa0e8); }
.ev-why-ico.w5 { background: linear-gradient(135deg, #34d399, #10b981); }
.ev-why-ico.w6 { background: linear-gradient(135deg, #f97316, #db2777); }
.ev-why-card h3 { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.ev-why-card p { font-size: 14px; color: #b3aedc; line-height: 1.6; margin: 0; }

/* ---------- CTA redesign: centered band + floating orbs ---------- */
.ev-cta-center { text-align: center; padding: 42px 40px; position: relative; overflow: hidden; }
.ev-cta-center .eyebrow { letter-spacing: normal; }
.ev-cta-content { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.ev-cta-center h2 { font-size: 38px; line-height: 1.1; margin-bottom: 14px; }
.ev-cta-center p { font-size: 15px; color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 22px; }
.ev-cta-center .ev-cta-actions { justify-content: center; margin-bottom: 14px; }
.ev-cta-center .ev-cta-meta { justify-content: center; }

/* floating event-icon orbs */
.ev-cta-orb {
  position: absolute; z-index: 1; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; font-size: 24px;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: evFloat 6s ease-in-out infinite;
}
.ev-cta-orb.o1 { top: 16%;  left: 6%;  animation-delay: 0s; }
.ev-cta-orb.o2 { top: 60%;  left: 11%; animation-delay: -1.2s; }
.ev-cta-orb.o3 { bottom: 14%; left: 22%; animation-delay: -2.4s; transform: scale(0.85); }
.ev-cta-orb.o4 { top: 18%;  right: 8%;  animation-delay: -0.6s; }
.ev-cta-orb.o5 { top: 58%;  right: 12%; animation-delay: -1.8s; }
.ev-cta-orb.o6 { bottom: 16%; right: 24%; animation-delay: -3s; transform: scale(0.85); }
@media (max-width: 991px) {
  .ev-cta-center h2 { font-size: 32px; }
  .ev-cta-orb.o3, .ev-cta-orb.o6 { display: none; }
}
@media (max-width: 700px) {
  .ev-cta-orb { display: none; }
  .ev-cta-center { padding: 48px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-cta-orb { animation: none !important; }
}

/* ---------- footer subscribe input ---------- */
.ev-subscribe {
  display: flex; align-items: center; gap: 8px; max-width: 320px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px; padding: 5px 5px 5px 16px;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.ev-subscribe:focus-within { border-color: rgba(155,48,212,0.6);background: rgba(255,255,255,0.08); }
.ev-subscribe-input {
  flex: 1; min-width: 0; background: transparent; border: none; outline: none;
  color: #fff; font-size: 14px; font-family: inherit;
}
.ev-subscribe-input::placeholder { color: #9ca3af; }
.ev-subscribe-btn {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, #6d4aff, #9b30d4); color: #fff;
  display: grid; place-items: center;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.ev-subscribe-btn:hover { transform: translateY(-1px);filter: brightness(1.06); }
.ev-subscribe-btn svg { width: 17px; height: 17px; transition: transform .25s ease; }
.ev-subscribe-btn:hover svg { transform: translateX(2px); }

/* footer subscribe wrapper (all pages) */
.footer-subscribe-wrap { margin-top: 20px; }
.footer-subscribe-wrap h5 { margin-bottom: 12px; }

/* ============================================
   LEAD-CAPTURE MODAL (exit intent)
   ============================================ */
.lead-modal-overlay {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(8, 8, 22, 0.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.lead-modal-overlay.show { opacity: 1; visibility: visible; }
.lead-modal {
  position: relative; width: 100%; max-width: 1040px; max-height: 92vh; overflow: auto;
  border-radius: 22px; background: #0b0b1c;  transform: translateY(24px) scale(0.98); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.lead-modal-overlay.show .lead-modal { transform: none; }
.lead-modal-close {
  position: absolute; top: 16px; right: 16px; z-index: 5; width: 38px; height: 38px; border-radius: 50%;
  border: none; background: rgba(255,255,255,0.92); color: #14102e; font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: transform .2s ease, background .2s ease;
}
.lead-modal-close:hover { transform: rotate(90deg); background: #fff; }
.lead-modal-grid { display: grid; grid-template-columns: 1.05fr 1fr; }

/* LEFT */
.lm-left { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(ellipse 70% 50% at 30% 0%, rgba(245,120,40,0.45), transparent 55%), #0b0b1c; }
/* film-grain texture over the colored left panel */
.lm-left::before {
  content: "";
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  position: absolute;
  pointer-events: none;
  background-repeat: repeat;
  background-position: left top;
  background-size: 256px auto;
  background-image: url(https://framerusercontent.com/images/6mcf62RlDfRfU61Yg5vb2pefpi4.png);
  opacity: 0.09;
}
.lm-left-glow { position: absolute; inset: -20% auto auto -10%; width: 70%; height: 80%;
  background: radial-gradient(circle, rgba(245,90,30,0.55), rgba(155,48,212,0.25) 50%, transparent 70%);
  filter: blur(40px); pointer-events: none; }
.lm-left-inner { position: relative; z-index: 1; padding: 40px 36px; }
.lm-left h2 { font-family: 'Inter', sans-serif; font-size: 34px; font-weight: 800; margin: 0 0 10px; }
.lm-sub { font-size: 14px; color: rgba(255,255,255,0.78); margin-bottom: 22px; max-width: 380px; }
.lm-quote { position: relative; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 20px 22px 18px; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.lm-quote-mark { font-family: Georgia, serif; font-size: 54px; line-height: 0; color: #6d8bff; display: block; height: 26px; }
.lm-slides { display: grid; }
.lm-slide { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .45s ease; }
.lm-slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }
@keyframes lmFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.lm-slide p { font-size: 15px; line-height: 1.6; color: #e7e6f5; margin: 0 0 18px; }
.lm-author { display: flex; align-items: center; gap: 12px; }
.lm-author-av { width: 42px; height: 42px; border-radius: 50%; flex: none; overflow: hidden; background: linear-gradient(135deg,#6d4aff,#9b30d4); }
.lm-author-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lm-author-av.a2 { background: linear-gradient(135deg,#f5a623,#ec3b7a); }
.lm-author-av.a3 { background: linear-gradient(135deg,#18c5c5,#2aa0e8); }
.lm-author-meta strong { display: block; font-size: 14px; }
.lm-author-meta span { font-size: 12px; color: rgba(255,255,255,0.6); }
.lm-nav { position: absolute; right: 22px; bottom: 18px; display: flex; gap: 8px; }
.lm-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: #fff; cursor: pointer; font-size: 16px; transition: background .2s ease, border-color .2s ease; }
.lm-arrow:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }
.lm-awards, .lm-brands { margin-top: 22px; }
.lm-awards-label, .lm-brands-label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.45); text-align: center; margin-bottom: 12px; }
.lm-awards-row, .lm-brands-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.lm-awards-row span, .lm-brands-row span { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.6); letter-spacing: 0.3px; }
.lm-brands-row span { opacity: 0.8; }

/* RIGHT (form) */
.lm-right { background: #fff; padding: 40px 36px; }
.lm-form-intro { font-size: 15px; line-height: 1.5; color: #4a4a63; margin: 4px 0 26px; }
.lm-form-intro strong { color: #14102e; }
.lm-row { display: flex; gap: 22px; }
.lm-field { flex: 1; margin-bottom: 22px; min-width: 0; }
.lm-field input, .lm-field textarea, .lm-field select {
  width: 100%; border: none; border-bottom: 1px solid #d8d6e4; background: transparent;
  padding: 8px 0; font-size: 14px; color: #14102e; font-family: inherit; outline: none;
  transition: border-color .2s ease;
}
.lm-field input::placeholder, .lm-field textarea::placeholder { color: #9a98ac; }
.lm-field input:focus, .lm-field textarea:focus, .lm-field select:focus { border-bottom-color: #6d4aff; }
.lm-phone { display: flex; gap: 10px; align-items: flex-end; }
.lm-phone select { width: 72px; flex: none; cursor: pointer; }
.lm-field-area textarea { resize: vertical; }
.lm-note { display: flex; align-items: center; gap: 10px; background: #fff8e1; border-radius: 10px; padding: 12px 14px; font-size: 13px; color: #6b5d2e; margin-bottom: 22px; }
.lm-note svg { width: 20px; height: 20px; color: #d9a300; flex: none; }
.lm-note strong { color: #4a4012; }
.lm-submit-row { display: flex; align-items: center; gap: 18px; }
.lm-captcha { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #14102e; }
.lm-captcha input { width: 60px; height: 48px; border: 1px solid #d8d6e4; border-radius: 10px; text-align: center; font-size: 16px; outline: none; }
.lm-captcha input:focus { border-color: #6d4aff; }
.lm-submit { flex: 1; height: 52px; border: none; border-radius: 100px; cursor: pointer; color: #fff; font-size: 15px; font-weight: 700; background: linear-gradient(135deg,#6d4aff,#9b30d4); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.lm-submit:hover { transform: translateY(-2px);filter: brightness(1.05); }
.lm-submit:disabled { opacity: .6; cursor: default; transform: none;}
.lm-success { margin: 16px 0 0; font-size: 14px; font-weight: 600; color: #16a34a; }

@media (max-width: 860px) {
  .lead-modal-grid { grid-template-columns: 1fr; }
  .lm-left-inner, .lm-right { padding: 30px 24px; }
  .lm-left h2 { font-size: 28px; }
  .lm-row { flex-direction: column; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .lead-modal, .lm-slide.is-active { transition: none; animation: none; }
}

/* ---------- bulk certificate generator ---------- */
.ev-cert-title { font-family: 'Inter', sans-serif; font-size: 34px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; color: #14102e; margin: 14px 0 16px; }
.ev-cert-grad { background: linear-gradient(95deg, #6d4aff, #9b30d4, #ec3b7a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ev-cert-text { font-size: 15.5px; color: #4a4a63; line-height: 1.7; margin-bottom: 4px; }
.ev-cert-bullets { margin-top: 22px; margin-bottom: 26px; }

/* visual: stacked certificate + delivery widget */
.ev-cert-visual { position: relative; padding: 14px 14px 60px; }
.ev-cert-card { border-radius: 16px; }
.ev-cert-card.back { position: absolute; left: 50%; top: 6px; width: 86%; height: 78%; background: #fff;border: 1px solid #ececf2; }
.ev-cert-card.b1 { transform: translateX(-50%) rotate(-3deg); z-index: 1; }
.ev-cert-card.b2 { transform: translateX(-50%) rotate(-6deg); z-index: 0; opacity: 0.7; }
.ev-cert-card.main {
  position: relative; z-index: 2;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, #faf7ff, transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  border: 1px solid #e7e1f7;
  padding: 12px; text-align: center;
}
/* faint watermark */
.ev-cert-card.main::after {
  content: "★"; position: absolute; right: 14px; bottom: 6px; font-size: 120px; line-height: 1;
  color: rgba(109,74,255,0.05); pointer-events: none; z-index: 0;
}
/* ornate inner gold frame */
.ev-cert-frame {
  position: relative; z-index: 1;
  border: 1.5px solid #e7c98a;
  outline: 4px solid #fff; outline-offset: -7px;
  border-radius: 6px;
  padding: 26px 24px 20px;
  display: flex; flex-direction: column; align-items: center;
}
.ev-cert-frame::before {
  content: ""; position: absolute; inset: 5px; border: 1px solid rgba(231,201,138,0.5); border-radius: 3px; pointer-events: none;
}
/* gold corner accents */
.ev-cert-corner { position: absolute; width: 18px; height: 18px; z-index: 3; border: 2px solid #d4af5f; }
.ev-cert-corner.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.ev-cert-corner.tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.ev-cert-corner.bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.ev-cert-corner.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

/* medal seal with ribbon */
.ev-cert-seal { position: relative; width: 50px; height: 50px; margin-bottom: 16px; animation: evFloat 5s ease-in-out infinite; }
.ev-cert-seal-disc {
  position: relative; z-index: 2; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; font-size: 22px;
  background: radial-gradient(circle at 35% 30%, #ffd77a, #e0a93c 55%, #c8881f);
}
.ev-cert-ribbon { position: absolute; z-index: 1; bottom: -14px; left: 50%; width: 26px; height: 22px; transform: translateX(-50%);
  background: linear-gradient(135deg, #ec3b7a, #c062e5);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); opacity: 0.9; }

.ev-cert-kicker { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: #b8902f; }
.ev-cert-presented { font-size: 11.5px; color: #8b87a0; margin-top: 14px; font-style: italic; }
.ev-cert-names { position: relative; height: 36px; width: 100%; margin: 4px 0 0; }
.ev-cert-name { position: absolute; left: 0; right: 0; top: 0; font-family: 'Inter', sans-serif; font-size: 27px; font-weight: 800; color: #14102e; opacity: 0; animation: evCertName 9s ease-in-out infinite; }
.ev-cert-name.n2 { animation-delay: 3s; }
.ev-cert-name.n3 { animation-delay: 6s; }
@keyframes evCertName {
  0%, 2%    { opacity: 0; transform: translateY(8px); }
  8%, 30%   { opacity: 1; transform: none; }
  36%, 100% { opacity: 0; transform: translateY(-8px); }
}
.ev-cert-rule { width: 180px; max-width: 70%; height: 2px; margin: 6px 0 12px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, #d4af5f, transparent); }
.ev-cert-desc { font-size: 11.5px; color: #8b87a0; margin: 0 0 3px; }
.ev-cert-event { font-size: 13px; font-weight: 700; color: #14102e; }
.ev-cert-foot { display: flex; justify-content: space-between; align-items: flex-end; width: 100%; margin-top: 22px; gap: 16px; }
.ev-cert-sig { display: flex; flex-direction: column; align-items: center; flex: 1; }
.ev-cert-sig-name { font-family: 'Inter', sans-serif; font-weight: 800; color: #14102e; font-size: 14px; }
.ev-cert-sig-label { font-size: 9px; letter-spacing: 0.5px; text-transform: uppercase; color: #9ca3af; margin-top: 3px; padding-top: 5px; border-top: 1px solid #e6e3f2; width: 100%; }

/* delivery widget floating at bottom */
.ev-cert-send { position: absolute; right: 0; bottom: 8px; z-index: 3; width: 64%; max-width: 270px; background: #fff; border-radius: 14px; padding: 12px 14px;animation: evBob 5s ease-in-out infinite; }
.ev-cert-send-head { font-size: 12px; font-weight: 700; color: #14102e; display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.ev-cert-bar { height: 6px; border-radius: 100px; background: #eee9fb; overflow: hidden; }
.ev-cert-bar span { display: block; height: 100%; width: 0; border-radius: 100px; background: linear-gradient(90deg, #6d4aff, #9b30d4); animation: evCertFill 3.4s ease-in-out infinite; }
@keyframes evCertFill { 0% { width: 0; } 70%, 100% { width: 100%; } }
.ev-cert-send-meta { font-size: 11px; color: #16a34a; font-weight: 600; margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.ev-cert-tick { width: 15px; height: 15px; border-radius: 50%; background: #22c55e; color: #fff; display: grid; place-items: center; font-size: 9px; }
@media (max-width: 575px) {
  .ev-cert-send { width: 78%; }
}
@media (prefers-reduced-motion: reduce) {
  .ev-cert-seal, .ev-cert-send, .ev-cert-bar span { animation: none !important; }
  .ev-cert-name { animation: none !important; }
  .ev-cert-name.n1 { opacity: 1; }
}

/* ---------- delegates QR check-in ---------- */
.ev-qr { background: #f6f7fb; }
.ev-qr-title { font-family: 'Inter', sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -0.5px; line-height: 1.15; color: #14102e; margin: 14px 0 16px; }
.ev-qr-grad { background: linear-gradient(95deg, #6d4aff, #9b30d4, #ec3b7a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ev-qr-text { font-size: 15.5px; color: #4a4a63; line-height: 1.7; margin-bottom: 4px; }
.ev-qr-bullets { margin-top: 22px; margin-bottom: 26px; }

/* visual */
.ev-qr-visual { position: relative; padding: 14px 14px 50px; max-width: 420px; margin: 0 auto; }
.ev-qr-scanner { background: #fff; border-radius: 20px; padding: 18px;position: relative; z-index: 1; }
.ev-qr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ev-qr-head > span:first-child { font-size: 14px; font-weight: 800; color: #14102e; }
.ev-qr-live { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #16a34a; }
.ev-qr-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e;animation: evLivePulse 1.8s ease-out infinite; }
.ev-qr-code {
  position: relative; width: 190px; height: 190px; margin: 0 auto; border-radius: 16px; overflow: hidden;
  background: #fff; padding: 16px;}
.ev-qr-svg { display: block; width: 100%; height: 100%; }
/* rounded "dot-matrix" modules */
.ev-qr-svg rect { rx: 0.45px; ry: 0.45px; }
.ev-qr-svg path { rx: 0; }
/* centered brand logo badge */
.ev-qr-logo {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-family: 'Inter', sans-serif; font-weight: 800; font-size: 20px; color: #fff;
  background: linear-gradient(135deg, #6d4aff, #9b30d4);
}
.ev-qr-laser {
  position: absolute; left: 6px; right: 6px; top: 0; height: 28px; border-radius: 6px;
  background: linear-gradient(180deg, rgba(109,74,255,0), rgba(109,74,255,0.45));
border-bottom: 2px solid #6d4aff;
  animation: evQrScan 2.4s ease-in-out infinite;
}
@keyframes evQrScan { 0% { top: 4px; } 50% { top: 158px; } 100% { top: 4px; } }
/* staged check-in flow: scan -> verify -> approve */
.ev-qr-stage { position: relative; height: 222px; }
.ev-qr-phase { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(8px) scale(0.98); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.ev-qr-scanner[data-step="0"] .ph-scan,
.ev-qr-scanner[data-step="1"] .ph-verify,
.ev-qr-scanner[data-step="2"] .ph-approve { opacity: 1; transform: none; }

/* verify phase */
.ev-qr-vhead { display: flex; align-items: center; gap: 10px; width: 100%; padding: 0 6px 12px; border-bottom: 1px solid #f0eef8; }
.ev-qr-vav { width: 38px; height: 38px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #6d4aff, #9b30d4); }
.ev-qr-vmeta strong { display: block; font-size: 14px; font-weight: 800; color: #14102e; }
.ev-qr-vmeta span { font-size: 11px; color: #6b7280; }
.ev-qr-checks { list-style: none; margin: 12px 0 0; padding: 0 6px; width: 100%; }
.ev-qr-checks li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; color: #4a4a63; padding: 5px 0; opacity: 0; transform: translateX(-6px); }
.ev-qr-checks li b { color: #14102e; font-weight: 700; }
.ev-qr-scanner[data-step="1"] .ev-qr-checks li { animation: evQrCheckIn .4s ease forwards; }
.ev-qr-scanner[data-step="1"] .ev-qr-checks li:nth-child(1) { animation-delay: .15s; }
.ev-qr-scanner[data-step="1"] .ev-qr-checks li:nth-child(2) { animation-delay: .40s; }
.ev-qr-scanner[data-step="1"] .ev-qr-checks li:nth-child(3) { animation-delay: .65s; }
.ev-qr-scanner[data-step="1"] .ev-qr-checks li:nth-child(4) { animation-delay: .90s; }
@keyframes evQrCheckIn { to { opacity: 1; transform: none; } }
.ev-qr-ck { width: 16px; height: 16px; border-radius: 50%; flex: none; background: #22c55e; position: relative; }
.ev-qr-ck::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 10px; font-weight: 700; }

/* approve phase */
.ev-qr-approve-ring { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 35% 30%, #4ade80, #16a34a);}
.ev-qr-scanner[data-step="2"] .ev-qr-approve-ring { animation: evQrPop .5s cubic-bezier(.2,1.4,.5,1) both, evQrRing 1.6s ease-out .4s infinite; }
.ev-qr-approve-ring svg { width: 34px; height: 34px; stroke-dasharray: 30; stroke-dashoffset: 30; }
.ev-qr-scanner[data-step="2"] .ev-qr-approve-ring svg { animation: evQrDraw .5s ease .25s forwards; }
.ev-qr-approve-ttl { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 800; color: #14102e; margin-top: 16px; }
.ev-qr-approve-sub { font-size: 12.5px; color: #6b7280; margin-top: 4px; }
@keyframes evQrPop { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes evQrDraw { to { stroke-dashoffset: 0; } }
@keyframes evQrRing { 0% {} 100% {} }

/* status text crossfade per step */
.ev-qr-status { position: relative; height: 16px; margin-top: 12px; }
.ev-qr-status .st { position: absolute; inset: 0; text-align: center; font-size: 12px; font-weight: 600; opacity: 0; transition: opacity .35s ease; }
.ev-qr-status .st-scan { color: #6d4aff; }
.ev-qr-status .st-verify { color: #b8902f; }
.ev-qr-status .st-approve { color: #16a34a; }
.ev-qr-scanner[data-step="0"] .st-scan,
.ev-qr-scanner[data-step="1"] .st-verify,
.ev-qr-scanner[data-step="2"] .st-approve { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .ev-qr-phase, .ev-qr-checks li, .ev-qr-approve-ring, .ev-qr-approve-ring svg { transition: none !important; animation: none !important; }
  .ev-qr-checks li { opacity: 1; transform: none; }
}

/* check-in toast */
.ev-qr-toast {
  position: absolute; left: -6px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 9px;
  background: #fff; border-radius: 14px; padding: 10px 14px;  animation: evQrToast 4s ease-in-out infinite;
}
.ev-qr-toast-tick { width: 22px; height: 22px; border-radius: 50%; background: #22c55e; color: #fff; display: grid; place-items: center; font-size: 12px; flex: none; }
.ev-qr-toast-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #6d4aff, #9b30d4); flex: none; }
.ev-qr-toast-meta strong { display: block; font-size: 12px; font-weight: 700; color: #14102e; }
.ev-qr-toast-meta span { font-size: 10px; color: #6b7280; }
@keyframes evQrToast {
  0%, 12%   { opacity: 0; transform: translateY(10px) scale(0.96); }
  20%, 80%  { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: translateY(10px) scale(0.96); }
}

/* live count */
.ev-qr-count { position: absolute; right: -6px; top: 8px; z-index: 2; background: linear-gradient(135deg, #1f1547, #2a1a5b); color: #fff; border-radius: 14px; padding: 12px 16px; text-align: center;animation: evBob 5s ease-in-out infinite; }
.ev-qr-count strong { display: block; font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 800; }
.ev-qr-count span { font-size: 10px; color: #b9a8ff; }

@media (prefers-reduced-motion: reduce) {
  .ev-qr-laser, .ev-qr-toast, .ev-qr-count, .ev-qr-live-dot { animation: none !important; }
  .ev-qr-toast { opacity: 1; }
}

/* ---------- Snapogen hero laptop · face-match + download content ---------- */
.sf-hero-visual { padding: 10px 0 30px; }
.sf-count { margin-left: auto; font-size: 10px; font-weight: 700; color: #94939f; background: #f1f0f7; border-radius: 100px; padding: 1px 7px; }
/* active person highlight + its count pill */
.ev-app-mem.sf-active { background: linear-gradient(135deg, rgba(249,115,22,.14), rgba(236,59,122,.12)); border-radius: 8px; margin: 0 -4px; padding: 4px;}
.ev-app-mem.sf-active .ev-app-mem-nm { color: #14102e; font-weight: 800; }
.ev-app-mem.sf-active .sf-count { color: #fff; background: linear-gradient(135deg, #f97316, #ec3b7a); }
.sf-room { color: #f97316 !important; font-weight: 800; }

/* photo grid — shrinks to fit so the progress/download widget stays visible */
.sf-hero-visual .ev-app-main { min-height: 0; }
.sf-grid { position: relative; flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(0, 1fr); gap: 6px; padding: 4px 0 2px; overflow: hidden; }
.sf-thumb { position: relative; border-radius: 7px; overflow: hidden; min-height: 0; background: linear-gradient(135deg, #f97316, #fbbf24); opacity: 0; transform: scale(.9); animation: sfThumbIn .5s ease forwards; }
.sf-thumb.t1 { background: linear-gradient(135deg, #f97316, #ef4444); animation-delay: .15s; }
.sf-thumb.t2 { background: linear-gradient(135deg, #6d4aff, #9b30d4); animation-delay: .22s; }
.sf-thumb.t3 { background: linear-gradient(135deg, #18c5c5, #2aa0e8); animation-delay: .29s; }
.sf-thumb.t4 { background: linear-gradient(135deg, #fbbf24, #f97316); animation-delay: .36s; }
.sf-thumb.t5 { background: linear-gradient(135deg, #ec3b7a, #9b30d4); animation-delay: .43s; }
.sf-thumb.t6 { background: linear-gradient(135deg, #2aa0e8, #6d4aff); animation-delay: .50s; }
.sf-thumb.t7 { background: linear-gradient(135deg, #22c55e, #18c5c5); animation-delay: .57s; }
.sf-thumb.t8 { background: linear-gradient(135deg, #f5a623, #ec3b7a); animation-delay: .64s; }
.sf-thumb.t9 { background: linear-gradient(135deg, #9b30d4, #2aa0e8); animation-delay: .71s; }
.sf-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.sf-thumb::after { content: ""; position: absolute; inset: 0; z-index: 2; background: radial-gradient(circle at 50% 38%, rgba(255,255,255,.18), transparent 55%); }
/* sidebar avatar photos */
.sf-hero-visual .ev-tu-av { overflow: hidden; position: relative; }
.sf-hero-visual .ev-tu-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }

/* full loop = 7s :: scan (0-30%) -> match -> download (32-56%) -> upload (60-92%) */
.ev-app-main { position: relative; }

/* face-match boxes — appear in a staggered loop as if recognised */
.sf-face { position: absolute; top: 22%; left: 28%; width: 44%; height: 46%; border: 2px solid #fff; border-radius: 4px;z-index: 3; opacity: 0; animation: sfFaceScan 7s ease-in-out infinite; }
.sf-face.f2 { top: 30%; left: 20%; width: 40%; height: 42%; animation-delay: .35s; }
.sf-face.f3 { top: 26%; left: 34%; width: 38%; height: 44%; animation-delay: .7s; }
.sf-face.f4 { top: 20%; left: 30%; width: 46%; height: 48%; animation-delay: 1.05s; }
.sf-face::before { content: "Aanya · " attr(data-m); position: absolute; top: -14px; left: -2px; font-size: 7px; font-weight: 800; color: #14102e; background: #fff; padding: 1px 5px; border-radius: 4px; white-space: nowrap;}

/* green "selected/matched" check badge, drops in after the scan reaches the tile */
.sf-check { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #22c55e;z-index: 4; opacity: 0; transform: scale(.4); animation: sfCheckIn 7s ease-in-out infinite; }
.sf-check::after { content: ""; position: absolute; top: 3.5px; left: 3px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sf-thumb.t1 .sf-check { animation-delay: .15s; }
.sf-thumb.t2 .sf-check { animation-delay: .45s; }
.sf-thumb.t4 .sf-check { animation-delay: .75s; }
.sf-thumb.t7 .sf-check { animation-delay: 1.05s; }
.sf-thumb.t9 .sf-check { animation-delay: 1.35s; }

/* scanning beam sweeping down the grid */
.sf-scan { position: absolute; left: 0; right: 0; top: 0; height: 26px; z-index: 5; pointer-events: none; background: linear-gradient(180deg, rgba(34,197,94,0) 0%, rgba(34,197,94,.18) 60%, rgba(34,197,94,.55) 100%); border-bottom: 2px solid #22c55e;border-radius: 6px; animation: sfScan 7s ease-in-out infinite; }

/* matched photos flying down into the download tray */
.sf-fly { position: absolute; top: 4%; left: 6%; width: 30%; aspect-ratio: 1/1; border-radius: 6px; overflow: hidden; z-index: 6; opacity: 0;border: 2px solid #fff; pointer-events: none; animation: sfFly 7s cubic-bezier(.55,.1,.35,1) infinite; }
.sf-fly img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sf-fly.fly1 { left: 6%;  animation-delay: 0s; }
.sf-fly.fly2 { left: 36%; animation-delay: .25s; }
.sf-fly.fly3 { left: 66%; animation-delay: .5s; }

/* download / upload progress widget */
.sf-dl { position: relative; margin-top: 8px; background: #fff; border: 1px solid #ececf4; border-radius: 10px; padding: 8px 10px;}
.sf-dl-row { display: flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; color: #14102e; }
.sf-dl-ic { position: relative; width: 18px; height: 18px; flex: none; display: grid; place-items: center; border-radius: 6px; background: linear-gradient(135deg, #f97316, #ec3b7a); color: #fff; font-size: 10px; }
.sf-ic { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
.sf-ic-scan { animation: sfPhScan 7s ease-in-out infinite; }
.sf-ic-dl   { animation: sfPhDl 7s ease-in-out infinite; }
.sf-ic-up   { animation: sfPhUp 7s ease-in-out infinite; }
.sf-dl-txt { position: relative; flex: 1; min-width: 0; height: 14px; }
.sf-tx { position: absolute; left: 0; top: 0; white-space: nowrap; opacity: 0; }
.sf-tx-scan { animation: sfPhScan 7s ease-in-out infinite; }
.sf-tx-dl   { animation: sfPhDl 7s ease-in-out infinite; }
.sf-tx-up   { animation: sfPhUp 7s ease-in-out infinite; }
.sf-dl-pct { font-size: 10.5px; font-weight: 800; color: #f97316; }
.sf-dl-pct::after { content: "0%"; animation: sfPct 7s linear infinite; }
.sf-dl-bar { margin-top: 7px; height: 6px; border-radius: 100px; background: #f1f0f7; overflow: hidden; }
.sf-dl-fill { display: block; height: 100%; width: 0; border-radius: 100px; background: linear-gradient(90deg, #f97316, #fbbf24, #ec3b7a); animation: sfFill 7s ease-in-out infinite; }

@keyframes sfThumbIn { to { opacity: 1; transform: scale(1); } }
@keyframes sfScan { 0% { transform: translateY(-30px); opacity: 0; } 5% { opacity: 1; } 30% { transform: translateY(118%); opacity: 1; } 36%, 100% { opacity: 0; transform: translateY(118%); } }
@keyframes sfFaceScan { 0%, 6% { opacity: 0; transform: translateY(5px) scale(.96); } 16%, 54% { opacity: 1; transform: translateY(0) scale(1); } 62%, 100% { opacity: 0; } }
@keyframes sfCheckIn { 0%, 18% { opacity: 0; transform: scale(.4); } 28%, 56% { opacity: 1; transform: scale(1); } 64%, 100% { opacity: 0; transform: scale(.6); } }
/* photo flies from grid into the tray then disappears */
@keyframes sfFly {
  0%, 32% { opacity: 0; transform: translate(0, 0) scale(1) rotate(-3deg); }
  36% { opacity: 1; transform: translate(0, 0) scale(1) rotate(-3deg); }
  52% { opacity: 1; transform: translate(var(--fx, 30%), 230%) scale(.28) rotate(6deg); }
  57%, 100% { opacity: 0; transform: translate(var(--fx, 30%), 250%) scale(.18) rotate(8deg); }
}
.sf-fly.fly1 { --fx: 120%; }
.sf-fly.fly2 { --fx: 20%; }
.sf-fly.fly3 { --fx: -70%; }
/* two-phase bar: orange download fill, then teal upload fill */
@keyframes sfFill {
  0%, 30% { width: 0; background: linear-gradient(90deg, #f97316, #fbbf24, #ec3b7a); }
  56% { width: 100%; background: linear-gradient(90deg, #f97316, #fbbf24, #ec3b7a); }
  58% { width: 100%; }
  60% { width: 0; background: linear-gradient(90deg, #18c5c5, #2aa0e8, #6d4aff); }
  92%, 100% { width: 100%; background: linear-gradient(90deg, #18c5c5, #2aa0e8, #6d4aff); }
}
@keyframes sfPct {
  0%, 4% { content: "0%"; } 12% { content: "28%"; } 22% { content: "61%"; } 30% { content: "100%"; }
  32% { content: "0%"; } 40% { content: "34%"; } 48% { content: "72%"; } 56% { content: "100%"; }
  60% { content: "0%"; } 70% { content: "37%"; } 82% { content: "78%"; } 92%, 100% { content: "100%"; }
}
/* phase visibility (icons + labels) */
@keyframes sfPhScan { 0%, 2% { opacity: 0; } 5%, 28% { opacity: 1; } 32%, 100% { opacity: 0; } }
@keyframes sfPhDl   { 0%, 32% { opacity: 0; } 36%, 56% { opacity: 1; } 60%, 100% { opacity: 0; } }
@keyframes sfPhUp   { 0%, 60% { opacity: 0; } 64%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
/* upload phase recolors the icon badge */
.sf-dl-ic { animation: sfIcTint 7s ease-in-out infinite; }
@keyframes sfIcTint { 0%, 58% { background: linear-gradient(135deg, #f97316, #ec3b7a); } 62%, 100% { background: linear-gradient(135deg, #18c5c5, #6d4aff); } }
.sf-dl-pct { animation: sfPctTint 7s ease-in-out infinite; }
@keyframes sfPctTint { 0%, 58% { color: #f97316; } 62%, 100% { color: #2aa0e8; } }

@media (prefers-reduced-motion: reduce) {
  .sf-thumb, .sf-face, .sf-check, .sf-scan, .sf-fly, .sf-dl-fill, .sf-dl-pct,
  .sf-dl-pct::after, .sf-dl-ic, .sf-ic, .sf-tx { animation: none !important; }
  .sf-thumb { opacity: 1; transform: none; }
  .sf-face, .sf-check { opacity: 1; transform: none; }
  .sf-scan, .sf-fly { display: none; }
  .sf-dl-fill { width: 100%; background: linear-gradient(90deg, #18c5c5, #2aa0e8, #6d4aff); }
  .sf-dl-ic { background: linear-gradient(135deg, #18c5c5, #6d4aff); }
  .sf-ic-up, .sf-tx-up { opacity: 1; }
  .sf-dl-pct::after { content: "100%"; }
}

/* ---------- Snapogen hero · 50/50 layout (no Bootstrap on this page) ---------- */
.sf-hero .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sf-hero .row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.sf-hero .row > [class*="col-"] { flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px); min-width: 0; }
.sf-hero .sf-hero-visual { width: 100%; }
@media (max-width: 991px) {
  .sf-hero .row { gap: 32px; }
  .sf-hero .row > [class*="col-"] { flex-basis: 100%; max-width: 100%; }
  /* centre the laptop and cap its size when stacked */
  .sf-hero-visual { padding: 6px 0 44px; }
  .sf-hero-visual .ev-laptop { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 575px) {
  .sf-hero .ev-hero-cta { gap: 10px; }
  .sf-hero-visual { padding: 4px 0 56px; }
  .sf-hero-visual .ev-laptop { max-width: 340px; margin: 0 auto; }
  /* drop the 16:10 ratio on phones — give the screen real height so the app UI fits */
  .sf-hero-visual .ev-laptop-screen { aspect-ratio: auto; height: 300px; border-width: 9px; border-bottom-width: 11px; }
  .sf-hero-visual .ev-laptop-base { width: 110%; }
  .sf-hero-visual .ev-laptop-content { font-size: 10px; }
  /* keep the floating pills inside the frame and legible on small screens */
  .sf-hero .float-pill { font-size: 10px; padding: 6px 11px; gap: 6px; }
  .sf-hero .float-pill .pill-icon { font-size: 12px; }
  .sf-hero .float-pill.pill-1 { top: -10px; left: 0; }
  .sf-hero .float-pill.pill-2 { bottom: 8px; right: 0; }
  /* a touch more room inside the tiny screen */
  .sf-hero-visual .ev-app-side { width: 40%; padding: 8px 7px; }
  .sf-hero-visual .sf-grid { gap: 5px; }
  .sf-hero-visual .sf-dl { padding: 7px 9px; }
}
@media (max-width: 360px) {
  .sf-hero-visual .ev-laptop { max-width: 290px; }
  .sf-hero-visual .ev-laptop-screen { height: 280px; }
}

/* ---------- Snapogen problem section (no Bootstrap on this page) ---------- */
.sf-problem .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sf-problem .row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.sf-problem .row > [class*="col-"] { flex: 1 1 calc(50% - 20px); max-width: calc(50% - 20px); min-width: 0; }
.sf-prob-list { list-style: none; margin: 16px 0 22px; padding: 0; display: grid; gap: 11px; }
.sf-prob-list li { position: relative; padding-left: 30px; font-size: 15.5px; font-weight: 600; color: #4a4a63; }
.sf-prob-list li::before { content: "✕"; position: absolute; left: 0; top: 0; width: 19px; height: 19px; display: grid; place-items: center; font-size: 9px; font-weight: 800; color: #ec3b7a; background: rgba(236,59,122,.12); border-radius: 50%; }
.sf-prob-solve { font-size: 15.5px; color: #14102e; line-height: 1.6; background: linear-gradient(135deg, rgba(249,115,22,.10), rgba(236,59,122,.08)); border-left: 3px solid #f97316; padding: 13px 16px; border-radius: 0 10px 10px 0; margin: 0; }
.sf-prob-solve strong { color: #ec3b7a; }
@media (max-width: 991px) {
  .sf-problem .row { gap: 32px; }
  .sf-problem .row > [class*="col-"] { flex-basis: 100%; max-width: 100%; }
}

/* ---------- Snapogen core solution · key features grid ---------- */
.sf-core .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sf-feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sf-feat-card { background: rgba(255,255,255,0.045); border: 1px solid rgba(255,255,255,0.10); border-radius: 18px; padding: 24px 22px; transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease; }
.sf-feat-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.07); border-color: rgba(155,48,212,0.45);}
.sf-feat-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; font-size: 24px; margin-bottom: 16px;}
.sf-feat-ico.g1 { background: linear-gradient(135deg, #6d4aff, #3b5bff); }
.sf-feat-ico.g2 { background: linear-gradient(135deg, #f97316, #db2777); }
.sf-feat-ico.g3 { background: linear-gradient(135deg, #ec3b7a, #c062e5); }
.sf-feat-ico.g4 { background: linear-gradient(135deg, #18c5c5, #2aa0e8); }
.sf-feat-ico.g5 { background: linear-gradient(135deg, #f5a623, #ec3b7a); }
.sf-feat-ico.g6 { background: linear-gradient(135deg, #34d399, #10b981); }
.sf-feat-card h3 { font-size: 17px; font-weight: 800; color: #fff; margin: 0 0 8px; font-family: 'Inter', sans-serif; }
.sf-feat-card p { font-size: 13.5px; color: #b3aedc; line-height: 1.6; margin: 0; }
@media (max-width: 900px) { .sf-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sf-feat-grid { grid-template-columns: 1fr; } }

/* ---------- Snapogen "How It Works" · image + dark overlay ---------- */
.sf-how {
  position: relative; overflow: hidden; padding: 80px 0; color: #fff;
  background-color: #06080f;
  background-image: url('assets/images/automatrick_1.png');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-attachment: fixed;
}
.sf-how::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6,8,15,0.86) 0%, rgba(10,10,31,0.78) 50%, rgba(6,8,15,0.88) 100%);
}
.sf-how .container { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.sf-how .ev-section-head h2 { color: #fff; }
.sf-how .eyebrow { color: #b9a8ff !important; }
/* boxless animated flow — a connector line draws across while each number lights up in sequence */
.sf-how-flow { position: relative; display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin-top: 20px; }
/* connector track + animated fill, aligned to the centre of the number badges (top 23px) */
.sf-how-flow::before,
.sf-how-flow::after { content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px; border-radius: 2px; }
.sf-how-flow::before { background: rgba(255,255,255,0.14); }
.sf-how-flow::after {
  background: linear-gradient(90deg, #f97316, #ec3b7a, #9b30d4, #6d4aff);
  transform-origin: left center; transform: scaleX(0);
animation: sfHowLine 7s ease-in-out infinite;
}
.sf-how-step { flex: 1; min-width: 0; text-align: center; padding: 0 14px; }
.sf-how-num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px;
  border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, #f97316, #ec3b7a);
opacity: .45; transform: scale(.85);
  animation: sfHowNum 7s ease-in-out infinite;
}
.sf-how-num svg { width: 24px; height: 24px; }
.sf-how-step:nth-child(1) .sf-how-num { animation-delay: .2s; }
.sf-how-step:nth-child(3) .sf-how-num { animation-delay: 1.6s; }
.sf-how-step:nth-child(5) .sf-how-num { animation-delay: 3.0s; }
.sf-how-step:nth-child(7) .sf-how-num { animation-delay: 4.4s; }
/* text fades up in sequence, then holds */
.sf-how-step h3, .sf-how-step p { opacity: 0; transform: translateY(8px); animation: sfHowText 7s ease-in-out infinite; }
.sf-how-step h3 { font-size: 15.5px; font-weight: 800; color: #fff; margin: 0 0 8px; line-height: 1.3; }
.sf-how-step p { font-size: 13px; color: #b3aedc; line-height: 1.55; margin: 0; }
.sf-how-step:nth-child(1) h3 { animation-delay: .35s; } .sf-how-step:nth-child(1) p { animation-delay: .5s; }
.sf-how-step:nth-child(3) h3 { animation-delay: 1.75s; } .sf-how-step:nth-child(3) p { animation-delay: 1.9s; }
.sf-how-step:nth-child(5) h3 { animation-delay: 3.15s; } .sf-how-step:nth-child(5) p { animation-delay: 3.3s; }
.sf-how-step:nth-child(7) h3 { animation-delay: 4.55s; } .sf-how-step:nth-child(7) p { animation-delay: 4.7s; }
.sf-how-arrow { display: none; }

@keyframes sfHowLine { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
@keyframes sfHowNum {
  0% { opacity: .45; transform: scale(.85);}
  8% { opacity: 1; transform: scale(1.14);}
  16%, 94% { opacity: 1; transform: scale(1);}
  100% { opacity: .45; transform: scale(.85);}
}
@keyframes sfHowText {
  0%, 4% { opacity: 0; transform: translateY(8px); }
  14%, 94% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(8px); }
}
@media (max-width: 900px) {
  .sf-how { background-attachment: scroll; }
  .sf-how-flow { flex-wrap: wrap; gap: 28px 8px; }
  .sf-how-flow::before, .sf-how-flow::after { display: none; }
  .sf-how-step { flex: 1 1 calc(50% - 8px); }
}
@media (max-width: 560px) { .sf-how-step { flex-basis: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .sf-how-flow::after { animation: none; transform: scaleX(1); }
  .sf-how-num { animation: none; opacity: 1; transform: scale(1); }
  .sf-how-step h3, .sf-how-step p { animation: none; opacity: 1; transform: none; }
}

/* ---------- Snapogen use cases · image + dark overlay ---------- */
.sf-usecases {
  position: relative; overflow: hidden; color: #fff;
  background-color: #06080f;
  background-image: url('assets/images/automatrick_1.png');
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-attachment: fixed;
}
.sf-usecases::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(155,48,212,0.40), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 100%, rgba(42,48,232,0.35), transparent 60%),
    linear-gradient(180deg, rgba(10,10,31,0.92) 0%, rgba(20,16,46,0.90) 100%);
}
.sf-usecases .container { position: relative; z-index: 1; }
.sf-usecases .ev-section-head h2 { color: #fff; }
.sf-usecases .eyebrow { color: #b9a8ff !important; }
.sf-usecases .ev-section-head h2 .underline { background-image: linear-gradient(180deg, transparent 70%, rgba(236,59,122,0.45) 70%); }
.sf-usecases .container, .sf-impact .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
/* pill-cluster — rounded chips that wrap in a centered group */
.sf-uc-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 940px; margin: 0 auto; }
.sf-uc-card {
  display: inline-flex; flex-direction: row; align-items: center; gap: 12px;
  padding: 9px 22px 9px 9px; border-radius: 100px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .3s ease, background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.sf-uc-card:hover { transform: translateY(-3px); background: rgba(255,255,255,0.10); border-color: rgba(236,59,122,.55);}
.sf-uc-ico {
  flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; background: linear-gradient(135deg, #f97316, #ec3b7a);
transition: transform .3s ease;
}
.sf-uc-ico svg { width: 20px; height: 20px; }
.sf-uc-card:hover .sf-uc-ico { transform: scale(1.1) rotate(-5deg); }

/* ---------- Snapogen impact ---------- */
.sf-impact { background: linear-gradient(180deg, #faf7ff 0%, #f3effd 100%); }
.sf-impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sf-impact-item {
  display: flex; align-items: center; gap: 13px; padding: 20px 20px;
  background: #fff; border: 1px solid #ececf4; border-radius: 14px;
font-size: 15px; font-weight: 600; color: #14102e;
  transition: transform .3s ease, box-shadow .3s ease;
}
.sf-impact-item:hover { transform: translateY(-4px);}
.sf-impact-ico { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #22c55e, #10b981);}
.sf-impact-ico svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .sf-usecases { background-attachment: scroll; }
  .sf-uc-grid { grid-template-columns: repeat(2, 1fr); }
  .sf-impact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .sf-uc-grid, .sf-impact-grid { grid-template-columns: 1fr; }
}

/* ---------- Snapogen Before vs After · paired transformation table (dark) ---------- */
.sf-ba {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(155,48,212,0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 100%, rgba(42,48,232,0.20), transparent 60%),
    linear-gradient(180deg, #0a0a1f 0%, #14102e 100%);
}
.sf-ba .container { position: relative; z-index: 1; max-width: 980px; margin: 0 auto; padding: 0 24px; }
.sf-ba .ev-section-head h2 { color: #fff; }
.sf-ba .eyebrow { color: #b9a8ff !important; }
.sf-ba-table { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: 22px; overflow: hidden;backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sf-ba-toprow, .sf-ba-row { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; }
/* header */
.sf-ba-th { display: flex; align-items: center; gap: 11px; padding: 18px 28px; font-size: 16px; font-weight: 800; }
.sf-ba-th.before { background: linear-gradient(180deg, rgba(239,68,68,0.14), transparent); color: #ff8d8d; }
.sf-ba-th.after { background: linear-gradient(180deg, rgba(34,197,94,0.16), transparent); color: #6ee7a8; }
.sf-ba-spacer { background: transparent; }
.sf-ba-badge { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 800; color: #fff; }
.sf-ba-badge.b { background: linear-gradient(135deg, #f87171, #ef4444); }
.sf-ba-badge.a { background: linear-gradient(135deg, #34d399, #10b981); }
/* rows */
.sf-ba-row { border-top: 1px solid rgba(255,255,255,0.08); transition: background .25s ease; }
.sf-ba-row:hover { background: rgba(255,255,255,0.04); }
.sf-ba-cell { padding: 16px 28px; font-size: 15px; font-weight: 600; line-height: 1.5; display: flex; align-items: center; }
.sf-ba-cell.before { color: #9a96b8; background: linear-gradient(90deg, rgba(239,68,68,.10), transparent); }
.sf-ba-cell.before::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #ef4444; margin-right: 11px; opacity: .8; }
.sf-ba-cell.after { color: #fff; font-weight: 700; background: linear-gradient(90deg, transparent, rgba(34,197,94,.12)); justify-content: flex-end; text-align: right; }
.sf-ba-cell.after::after { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-left: 11px;}
/* arrow */
.sf-ba-arrow { display: grid; place-items: center; color: #fff; }
.sf-ba-arrow svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: linear-gradient(135deg, #6d4aff, #ec3b7a);}
@media (max-width: 680px) {
  .sf-ba-toprow { grid-template-columns: 1fr 1fr; }
  .sf-ba-toprow .sf-ba-spacer { display: none; }
  .sf-ba-row { grid-template-columns: 1fr; }
  .sf-ba-cell.before { background: linear-gradient(90deg, rgba(239,68,68,.12), transparent); }
  .sf-ba-cell.after { justify-content: flex-start; text-align: left; background: rgba(34,197,94,.10); }
  .sf-ba-cell.after::after { display: none; }
  .sf-ba-cell.after::before { content: "→"; color: #b9a8ff; font-weight: 800; margin-right: 9px; }
  .sf-ba-arrow { display: none; }
}

/* =========================================================
   CASE STUDIES — /case-study
   ========================================================= */
.cs-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
  max-width: 720px;
}
.cs-hero-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px 16px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cs-hero-stat .cs-stat-num {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, #b9a8ff, #e0b3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cs-hero-stat-label { display: block; margin-top: 8px; font-size: 13px; color: #b3aedc; line-height: 1.35; }

.cs-section { padding: 84px 0 40px; background: var(--bg); }

.cs-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  margin-bottom: 40px;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.cs-card:hover {
  transform: translateY(-4px);
  border-color: #d7ddf7;
}
.cs-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}
.cs-card-glow {
  position: absolute;
  top: -40%; right: -10%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(155, 48, 212, 0.10), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.cs-card:hover .cs-card-glow { opacity: 1; }

.cs-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; position: relative; z-index: 1; }
.cs-card-alt .cs-grid { grid-template-columns: 1fr 300px; }
.cs-card-alt .cs-identity { order: 2; }

.cs-identity { position: relative; }
.cs-index {
  font-family: 'Inter', sans-serif;
  font-size: 58px; font-weight: 800; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #dfe4f5;
  display: block; margin-bottom: 14px;
}
.cs-logo {
  display: flex; align-items: center; justify-content: center;
  width: 120px; height: 120px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 18px;
  margin-bottom: 18px;
}
.cs-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cs-logo-mono {
  font-family: 'Inter', sans-serif;
  font-size: 54px; font-weight: 800; color: #fff; padding: 0;
}
.cs-mono-blue { background: linear-gradient(135deg, var(--primary), var(--accent)); border: none; }

.cs-name {
  font-family: 'Inter', sans-serif;
  font-size: 26px; font-weight: 800; letter-spacing: -.4px;
  color: var(--text); margin: 0 0 8px;
}
.cs-headline { font-size: 14.5px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.cs-industry {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; color: var(--primary);
  background: var(--primary-soft); border-radius: 100px; padding: 7px 14px;
}
.cs-industry-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.cs-body { display: flex; flex-direction: column; gap: 26px; }
.cs-block-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 12px;
}
.cs-block-ico {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  font-size: 15px; font-weight: 800; color: #fff;
}
.cs-ico-challenge { background: linear-gradient(135deg, #f97316, #ef4444); }
.cs-ico-challenge::before { content: '!'; }
.cs-ico-solution { background: linear-gradient(135deg, var(--primary), #4a55ff); }
.cs-ico-solution::before { content: '\2713'; }
.cs-ico-impact { background: linear-gradient(135deg, #22c55e, #16a34a); }
.cs-ico-impact::before { content: '\2191'; }
.cs-block-text { font-size: 15px; color: #475569; line-height: 1.65; margin: 0; }

.cs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cs-list-impact { margin-top: 4px; }
.cs-list li { position: relative; padding-left: 30px; font-size: 15px; color: #334155; line-height: 1.5; }
.cs-list li::before {
  content: '\2713';
  position: absolute; left: 0; top: 1px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}
.cs-list-impact li::before { content: '\2605'; background: #fef3c7; color: #d97706; }

.cs-stats { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; }
.cs-stat {
  flex: 1 1 150px; min-width: 140px;
  background: linear-gradient(160deg, #f7f8ff, #ffffff);
  border: 1px solid var(--border); border-radius: 16px; padding: 18px 16px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cs-stat:hover { transform: translateY(-3px);}
.cs-stat .cs-stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 32px; font-weight: 800; line-height: 1;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cs-stat-label { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.4; }

/* Why Automatrick */
.cs-why { position: relative; padding: 80px 0; background: linear-gradient(180deg, #0a0a1f 0%, #14102e 100%); color: #fff; overflow: hidden; isolation: isolate; }
.cs-why-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cs-why-glow { position: absolute; width: 420px; height: 420px; border-radius: 50%; filter: blur(90px); opacity: .5; }
.cs-why-glow-1 { top: -120px; left: -80px; background: radial-gradient(circle, rgba(42, 48, 232, 0.6), transparent 65%); animation: blogGlowDrift 15s ease-in-out infinite alternate; }
.cs-why-glow-2 { bottom: -140px; right: -60px; background: radial-gradient(circle, rgba(155, 48, 212, 0.6), transparent 65%); animation: blogGlowDrift 17s ease-in-out infinite alternate-reverse; }
.cs-why .container { position: relative; z-index: 1; }
.cs-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cs-why-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: #b9a8ff; background: rgba(155, 48, 212, 0.18); border: 1px solid rgba(255, 255, 255, 0.1); padding: 7px 16px; border-radius: 100px; margin-bottom: 18px; }
.cs-why-title { font-family: 'Inter', sans-serif; font-size: 40px; font-weight: 800; line-height: 1.1; letter-spacing: -.6px; margin: 0 0 18px; }
.cs-why-lead { font-size: 16px; color: #c4c0e6; line-height: 1.7; margin: 0 0 16px; }
.cs-why-sub { font-size: 15px; color: #fff; font-weight: 600; margin: 0; }
.cs-why-list { display: grid; gap: 14px; }
.cs-benefit { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 16px 18px; font-size: 15px; color: #e6e3f7; transition: background .3s var(--ease), transform .3s var(--ease); }
.cs-benefit:hover { background: rgba(255, 255, 255, 0.09); transform: translateX(4px); }
.cs-benefit-ico { width: 26px; height: 26px; border-radius: 8px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.cs-benefit-ico::before { content: '\2713'; color: #fff; font-size: 13px; font-weight: 800; }

/* Closing CTA */
.cs-cta { padding: 70px 0 90px; background: var(--bg); }
.cs-cta-card { position: relative; text-align: center; border-radius: 28px; padding: 60px 32px; overflow: hidden; background: linear-gradient(135deg, var(--primary) 0%, #4a2fd0 55%, var(--accent) 100%); color: #fff;}
.cs-cta-shine { position: absolute; inset: 0; background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25), transparent 40%), radial-gradient(circle at 80% 90%, rgba(255, 255, 255, 0.18), transparent 45%); pointer-events: none; }
.cs-cta-mark { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3); font-family: 'Inter', sans-serif; font-size: 30px; font-weight: 800; margin-bottom: 22px; }
.cs-cta-title { position: relative; z-index: 1; font-family: 'Inter', sans-serif; font-size: 38px; font-weight: 800; letter-spacing: -.6px; margin: 0 0 10px; }
.cs-cta-tag { position: relative; z-index: 1; font-size: 18px; font-weight: 600; color: rgba(255, 255, 255, 0.9); letter-spacing: .5px; margin: 0 0 28px; }
.cs-cta-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--primary); font-weight: 700; font-size: 15.5px; padding: 15px 30px; border-radius: 100px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cs-cta-btn svg { width: 19px; height: 19px; transition: transform .3s var(--ease); }
.cs-cta-btn:hover { transform: translateY(-3px);color: var(--primary); }
.cs-cta-btn:hover svg { transform: translateX(4px); }

@media (max-width: 991px) {
  .cs-grid, .cs-card-alt .cs-grid { grid-template-columns: 1fr; gap: 26px; }
  .cs-card-alt .cs-identity { order: 0; }
  .cs-why-grid { grid-template-columns: 1fr; gap: 32px; }
  .cs-hero-stats { grid-template-columns: repeat(2, 1fr); max-width: 460px; }
}
@media (max-width: 575px) {
  .cs-section { padding: 56px 0 20px; }
  .cs-card { padding: 26px 20px; }
  .cs-name { font-size: 23px; }
  .cs-why { padding: 60px 0; }
  .cs-why-title { font-size: 30px; }
  .cs-cta-card { padding: 44px 22px; }
  .cs-cta-title { font-size: 27px; }
  .cs-stat { flex-basis: 100%; }
}

/* =========================================================
   HOMEPAGE — Success Stories teaser
   ========================================================= */
.hp-success { padding: 6px 0 96px; background: var(--bg); }
.hp-success-card {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 28px;
  background: linear-gradient(135deg, #f5f6ff 0%, #fbf5ff 100%);
  border: 1px solid var(--border);
  padding: 54px 56px;
}
.hp-success-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hp-success-glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(80px); opacity: .5; }
.hp-success-glow-1 { top: -120px; right: -60px; background: radial-gradient(circle, rgba(155, 48, 212, 0.28), transparent 65%); }
.hp-success-glow-2 { bottom: -140px; left: -80px; background: radial-gradient(circle, rgba(42, 48, 232, 0.22), transparent 65%); }
.hp-success-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.hp-success-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--primary); background: var(--primary-soft);
  border: 1px solid #dfe3fb; padding: 7px 16px; border-radius: 100px; margin-bottom: 18px;
}
.hp-success-title {
  font-family: 'Inter', sans-serif;
  font-size: 38px; font-weight: 800; line-height: 1.12; letter-spacing: -.6px;
  color: var(--text); margin: 0 0 18px;
}
.hp-success-text { font-size: 15.5px; color: #475569; line-height: 1.7; margin: 0 0 28px; max-width: 620px; }
.hp-success-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 700; font-size: 15.5px; padding: 15px 30px; border-radius: 100px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.hp-success-btn svg { width: 19px; height: 19px; transition: transform .3s var(--ease); }
.hp-success-btn:hover { transform: translateY(-3px);color: #fff; }
.hp-success-btn:hover svg { transform: translateX(4px); }
.hp-success-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-success-logo {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 10; background: #fff; border: 1px solid var(--border);
  border-radius: 18px; padding: 18px;  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.hp-success-logo:hover { transform: translateY(-4px);}
.hp-success-logo img { max-width: 100%; max-height: 64px; object-fit: contain; }
.hp-success-logo-mono {
  font-family: 'Inter', sans-serif;
  font-size: 42px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent)); border: none;
}

@media (max-width: 991px) {
  .hp-success-card { padding: 40px 28px; }
  .hp-success-inner { grid-template-columns: 1fr; gap: 34px; }
  .hp-success-title { font-size: 30px; }
}
@media (max-width: 575px) {
  .hp-success { padding: 0 0 64px; }
  .hp-success-card { padding: 32px 20px; border-radius: 22px; }
  .hp-success-title { font-size: 25px; }
  .hp-success-logos { gap: 12px; }
  .hp-success-logo img { max-height: 46px; }
}

/* =========================================================
   NAV — Services mega-menu
   left-rail category switcher + single active detail panel,
   so only one category's items are ever on screen at once —
   avoids the uneven-height problem a grid-of-8-cards has when
   categories hold very different numbers of items.
   ========================================================= */
.nav-inner { position: relative; }
/* static so the wide panel anchors to the nav container, not the toggle */
.nav-dropdown-mega { position: static; }
.dropdown-menu-services {
  left: 0; right: 0; margin: 0 auto;
  width: min(940px, 100%);
  min-width: 0;
  padding: 18px 20px 0;
  transform: translateY(10px) scale(.98);
  max-height: calc(100vh - 150px);
  overflow-y: auto;
}
.nav-dropdown-mega:hover .dropdown-menu-services,
.nav-dropdown-mega.open .dropdown-menu-services,
.nav-dropdown-mega:focus-within .dropdown-menu-services {
  transform: translateY(0) scale(1);
}

.svc-layout { display: flex; align-items: stretch; gap: 20px; }

.svc-rail {
  flex: none; width: 236px;
  display: flex; flex-direction: column; gap: 6px;
  padding-right: 18px;
  border-right: 1px solid var(--border);
}
.svc-rail-item {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 8px 10px;
  background: none; border: none; border-radius: 10px;
  font: inherit; font-size: 12.6px; font-weight: 600; text-align: left;
  white-space: nowrap;
  color: var(--text-2); cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.svc-rail-item:hover { background: var(--c-bg, var(--bg-alt)); }
.svc-rail-item.is-active { background: var(--brand-gradient); color: #ffffff; }
.svc-rail-ico {
  width: 27px; height: 27px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: var(--c-bg, var(--primary-soft));
  color: var(--c, var(--primary));
  transition: background .2s var(--ease), color .2s var(--ease);
}
.svc-rail-ico svg { width: 14px; height: 14px; }
.svc-rail-item.is-active .svc-rail-ico { background: rgba(255, 255, 255, 0.22); color: #ffffff; }

.svc-panels {
  flex: 1; min-width: 0; padding: 2px 0 18px;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.svc-panel { display: none; }
.svc-panel.is-active { display: block; }
.svc-panel-head { display: none; }
/* multi-column, not grid: a 2-col grid forces both columns into shared
   row heights, so a 2-line description in one column stretches its whole
   row and leaves an uneven gap under the shorter item beside it. Columns
   let each side stack independently with a truly constant gap. */
.svc-panel-grid {
  columns: 2;
  column-gap: 10px;
}
.svc-panel-grid > a {
  break-inside: avoid;
  margin-bottom: 6px;
}
.svc-panel-grid > a:last-child { margin-bottom: 0; }

/* on-theme per-category accents — reuses the exact hues already used
   elsewhere on the site (Products dropdown, brand gradient stops) */
.mega-col-web        { --c: #2a30e8; --c-bg: rgba(42, 48, 232, .05);  --c-bg-h: rgba(42, 48, 232, .10);  --c-bd: rgba(42, 48, 232, .28); }
.mega-col-app         { --c: #6438dd; --c-bg: rgba(100, 56, 221, .05); --c-bg-h: rgba(100, 56, 221, .10); --c-bd: rgba(100, 56, 221, .28); }
.mega-col-ai          { --c: #9b30d4; --c-bg: rgba(155, 48, 212, .05); --c-bg-h: rgba(155, 48, 212, .10); --c-bd: rgba(155, 48, 212, .28); }
.mega-col-marketing   { --c: #db2777; --c-bg: rgba(219, 39, 119, .05); --c-bg-h: rgba(219, 39, 119, .10); --c-bd: rgba(219, 39, 119, .28); }
.mega-col-design      { --c: #a855f7; --c-bg: rgba(168, 85, 247, .05); --c-bg-h: rgba(168, 85, 247, .10); --c-bd: rgba(168, 85, 247, .28); }
.mega-col-cloud       { --c: #0ea371; --c-bg: rgba(14, 163, 113, .05); --c-bg-h: rgba(14, 163, 113, .10); --c-bd: rgba(14, 163, 113, .28); }
.mega-col-ecom        { --c: #ea7317; --c-bg: rgba(234, 115, 23, .05); --c-bg-h: rgba(234, 115, 23, .10); --c-bd: rgba(234, 115, 23, .28); }
.mega-col-support     { --c: #ca8a04; --c-bg: rgba(202, 138, 4, .05);  --c-bg-h: rgba(202, 138, 4, .10);  --c-bd: rgba(202, 138, 4, .28); }

/* !important so page-level nav overrides (e.g. body.page-form .navbar.nav-on-dark
   .nav-links a, which forces white) can't make these links invisible on the panel */
.navbar .nav-links .svc-panel-grid a {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 8px 10px; color: #475569 !important;
  border-radius: 10px;
  transition: background .2s var(--ease);
}
.svc-item-ico {
  width: 32px; height: 32px; border-radius: 9px; flex: none;
  display: grid; place-items: center; margin-top: 1px;
  background: var(--c-bg, var(--primary-soft));
  color: var(--c, var(--primary));
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.svc-item-ico svg { width: 16px; height: 16px; }
.svc-item-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.svc-item-text strong { font-size: 13.2px; font-weight: 700; color: var(--text); transition: color .2s var(--ease); }
.svc-item-text span { font-size: 11.8px; color: var(--muted); line-height: 1.4; }
.navbar .nav-links .svc-panel-grid a:hover {
  background: var(--c-bg-h, var(--primary-soft));
}
.navbar .nav-links .svc-panel-grid a:hover .svc-item-text strong { color: var(--c, var(--primary)); }
.navbar .nav-links .svc-panel-grid a:hover .svc-item-ico { background: #ffffff; transform: scale(1.06); }
.navbar .nav-links .svc-panel-grid a::after { display: none !important; }

/* panel chrome — layer the same top accent strip over its own soft fill
   (background shorthand elsewhere would otherwise reset the accent layer) */
.dropdown-menu-services {
  background-color: #f6f7ff;
  background-image: var(--brand-gradient), linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: 100% 5px, 100% 100%;
  background-position: top left, top left;
}
.dropdown-menu-services .dropdown-label {
  display: block; font-size: 10.5px; font-weight: 800; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 12px; padding: 0 2px;
}

/* footer CTA bar — bleeds edge-to-edge and stays pinned while the panel
   scrolls, matching the rounded bottom corners of the card above it */
.svc-foot {
  position: sticky; bottom: 0; z-index: 2;
  display: flex; align-items: center; justify-content: flex-end; gap: 10px;
  margin: 0 -20px; padding: 14px 20px;
  border-top: 1px solid var(--border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: linear-gradient(135deg, rgba(42, 48, 232, .06), rgba(155, 48, 212, .06));
}
.svc-foot-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px;
  font-size: 13.5px; font-weight: 700;
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
/* this button lives inside .nav-links (nested in the Services dropdown),
   so it otherwise inherits the top-nav's animated hover-underline — kill
   it here the same way the dropdown item links already do */
.svc-foot-btn::after { display: none !important; }
.svc-foot-btn svg { width: 14px; height: 14px; flex: none; }
.svc-foot-btn-solid {
  position: relative;
  color: #ffffff !important;
  background: var(--brand-gradient);
}
.svc-foot-btn-solid:hover { transform: translateY(-1px); }

/* label swap on hover: current text slides up and out while a duplicate
   slides up from below to replace it, instead of a plain underline */
.svc-foot-btn-solid .btn-label {
  position: relative;
  display: inline-block;
  overflow: hidden;
  height: 1.4em;
  line-height: 1.4;
  vertical-align: bottom;
}
.svc-foot-btn-solid .btn-label span {
  display: block;
  transition: transform .3s var(--ease-out);
}
.svc-foot-btn-solid .btn-label span::after {
  content: attr(data-text);
  position: absolute;
  top: 100%;
  left: 0;
}
.svc-foot-btn-solid:hover .btn-label span { transform: translateY(-100%); }

@media (max-width: 860px) {
  .svc-panel-grid { columns: 1; }
}

@media (max-width: 720px) {
  .nav-dropdown-mega { position: relative; }
  .dropdown-menu-services {
    width: 100%; padding: 0; transform: none;
    max-height: 0; overflow: hidden;
  }
  .nav-dropdown-mega:hover .dropdown-menu-services,
  .nav-dropdown-mega.open .dropdown-menu-services,
  .nav-dropdown-mega:focus-within .dropdown-menu-services { transform: none; }
  .nav-dropdown.open .dropdown-menu-services { max-height: 55vh; overflow-y: auto; }
  .dropdown-menu-services { background: transparent; }

  /* mobile drops the rail/single-panel switcher and just stacks every
     category full-width, each with its own visible icon+title header */
  .svc-layout { flex-direction: column; gap: 8px; }
  .svc-rail { display: none; }
  .svc-panels { padding: 0; }
  .svc-panel { display: block; margin-bottom: 8px; }
  .svc-panel-head {
    display: flex; align-items: center; gap: 10px;
    padding: 10px; margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #ffffff; font-size: 13px; font-weight: 700;
  }
  .svc-panel-ico {
    width: 26px; height: 26px; border-radius: 7px; flex: none;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, 0.12); color: #ffffff;
  }
  .svc-panel-ico svg { width: 14px; height: 14px; }
  .svc-panel-grid { columns: 1; padding: 2px 4px 10px; }
  .navbar .nav-links .svc-panel-grid a { color: #e2e8f0 !important; padding: 8px; }
  .svc-item-ico { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
  .svc-item-text strong { color: #ffffff; }
  .svc-item-text span { color: #94a3b8; }
  .navbar .nav-links .svc-panel-grid a:hover { background: rgba(255, 255, 255, 0.08); }
  .navbar .nav-links .svc-panel-grid a:hover .svc-item-ico { background: rgba(255, 255, 255, 0.18); }
  .navbar .nav-links .svc-panel-grid a:hover .svc-item-text strong { color: #ffffff; }

  .svc-foot {
    position: static; flex-direction: column; align-items: stretch;
    margin: 6px 0 0; padding: 14px 0 4px;
    border-top-color: rgba(255, 255, 255, 0.12);
    border-radius: 0; background: none;
  }
  .svc-foot-btn { justify-content: center; }
}

/* Custom Mobile Fixes */
@media (max-width: 768px) {
  .hero-checklist {
    flex-wrap: nowrap !important;
    gap: 8px !important;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
  }
  .hero-checklist::-webkit-scrollbar {
    display: none;
  }
  .hero-check-item {
    padding: 7px 14px 7px 12px !important;
    font-size: 11.5px !important;
    letter-spacing: -0.1px;
  }
}

/* Force hero title fit on very small screens */
@media (max-width: 420px) {
  .hero-title {
    font-size: 40px !important;
  }
}

/* Force hero CTA buttons to one line on mobile and shrink slightly */
@media (max-width: 480px) {
  .hero-cta {
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  .ev-hero-btn {
    padding: 6px 6px 6px 16px !important;
    font-size: 11px !important;
    gap: 10px !important;
    letter-spacing: 0.5px !important;
    width: auto !important;
    white-space: nowrap !important;
  }
  .ev-hero-btn-icon {
    width: 32px !important;
    height: 32px !important;
  }
  .ev-hero-btn-icon svg {
    width: 14px !important;
    height: 14px !important;
  }
  .ev-hero-btn-secondary {
    padding: 12px 18px !important;
    font-size: 12px !important;
    width: auto !important;
    white-space: nowrap !important;
  }
}

/* Prevent flex items from shrinking and overlapping when menu expands on mobile */
@media (max-width: 900px) {
  .nav-links > * {
    flex-shrink: 0 !important;
  }
}
