/* =========================================================
   FULFILIX CLOUD — Premium Layer  (loaded last)
   Enterprise-SaaS craft pass: type, surfaces, depth,
   micro-interaction, rhythm. Pure CSS, no dependencies.
   ========================================================= */

:root {
  /* Motion */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);
  --e-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --e-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Elevation — tuned, multi-layer, low-opacity */
  --el-1: 0 1px 2px rgba(4, 2, 12, 0.5), 0 2px 8px rgba(4, 2, 12, 0.32);
  --el-2: 0 2px 4px rgba(4, 2, 12, 0.42), 0 12px 28px -8px rgba(4, 2, 12, 0.6);
  --el-3: 0 4px 8px rgba(4, 2, 12, 0.4), 0 28px 64px -16px rgba(4, 2, 12, 0.72);
  --glow-p: 0 0 0 1px rgba(139, 92, 246, 0.28), 0 18px 48px -14px rgba(109, 40, 217, 0.55);

  /* Surfaces */
  --surface-1: linear-gradient(168deg, rgba(255, 255, 255, 0.055) 0%, rgba(255, 255, 255, 0.018) 46%, rgba(255, 255, 255, 0.008) 100%);
  --surface-2: linear-gradient(168deg, rgba(255, 255, 255, 0.085) 0%, rgba(255, 255, 255, 0.028) 52%, rgba(139, 92, 246, 0.05) 100%);
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-hi: rgba(255, 255, 255, 0.16);

  --btn-radius: 999px;
  --section-pad: 128px;
}

/* ---------------------------------------------------------
   1. FOUNDATION
   --------------------------------------------------------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
  text-rendering: optimizeLegibility;
}

::selection { background: rgba(139, 92, 246, 0.34); color: #fff; }

/* Refined scrollbar */
* { scrollbar-width: thin; scrollbar-color: rgba(139, 92, 246, 0.42) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.02); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.5), rgba(109, 40, 217, 0.5));
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(139, 92, 246, 0.8); background-clip: padding-box; }

/* Accessible, on-brand focus */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid rgba(167, 139, 250, 0.9);
  outline-offset: 3px;
  border-radius: 999px;
}

/* Very fine film grain over the whole page — kills the flat "AI gradient" look */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------
   2. TYPOGRAPHY — editorial hierarchy
   --------------------------------------------------------- */
h1, .hero-title, .product-hero h1 {
  font-size:clamp(2.35rem, 3.0vw, 2.9rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
h2, .section-header h2, .cta-card h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
h3, .feature-card h3, .industry-content h3, .alt-feature-content h3 {
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.018em;
}

.hero-subtitle,
.section-header p {
  font-size: 1.0625rem;
  line-height: 1.72;
  letter-spacing: -0.005em;
  color: rgba(226, 224, 240, 0.66);
  max-width: 56ch;
}
.section-header p { margin-left: auto; margin-right: auto; }
.hero-subtitle { max-width: 34rem; }

.feature-card p,
.step-card p,
.industry-feature-text,
.faq-answer-inner,
.footer p {
  color: rgba(226, 224, 240, 0.6);
  line-height: 1.68;
  letter-spacing: -0.003em;
}

/* Gradient headline text — richer, with a soft light sweep */
.gradient-text {
  background: linear-gradient(96deg, #c4b5fd 0%, #a78bfa 34%, #8b5cf6 62%, #d8b4fe 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Eyebrow / section tag — small caps, hairline pill */
.section-tag,
.product-hero-tag,
.hm-tag,
.int-hub-badge,
.trusted-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section-tag,
.product-hero-tag {
  border-radius: 999px;
  background: linear-gradient(140deg, rgba(139, 92, 246, 0.16), rgba(139, 92, 246, 0.05));
  border: 1px solid rgba(139, 92, 246, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
  color: #c4b5fd;
  backdrop-filter: blur(8px);
}
.trusted-label { color: rgba(226, 224, 240, 0.42); }

.section-header { margin-bottom: 64px; }

/* ---------------------------------------------------------
   3. BUTTONS — pill geometry, tactile feedback
   --------------------------------------------------------- */
.btn,
.btn-primary,
.btn-outline,
.btn-ghost,
.btn-lg,
.nav-cta,
.mobile-nav-cta,
.cta-buttons .btn,
.hero-cta .btn,
.industry-tab,
.platform-tab,
.social-btn,
.scroll-top,
.play-btn,
.video-modal-close,
button.btn,
input[type="submit"] {
  border-radius: 999px !important;
}

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  font-weight: 600;
  letter-spacing: -0.008em;
  padding: 0 30px;
  height: 48px;
  transition: transform 0.32s var(--e-out), box-shadow 0.32s var(--e-out),
    background-color 0.32s var(--e-soft), border-color 0.32s var(--e-soft), color 0.24s;
  will-change: transform;
}
.btn-lg { height: 54px; padding: 0 36px; font-size: 1rem; }

/* Specular sheen that sweeps on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.24) 48%, transparent 76%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--e-out);
}
.btn:hover::before { transform: translateX(120%); }

.btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 48%, #8b5cf6 100%);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0) scale(0.985); }

.btn-outline {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--hairline-hi);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  transform: translateY(-2px);
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(167, 139, 250, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 32px -12px rgba(109, 40, 217, 0.6);
}
.btn-outline:active { transform: translateY(0) scale(0.985); }

.btn-ghost:hover { color: #fff; }

/* Segmented tabs read as one control, not floating chips */
.industry-tabs,
.platform-tabs-nav {
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), var(--el-1);
  backdrop-filter: blur(14px);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  justify-content: center;
}
.industry-tab,
.platform-tab {
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  transition: color 0.28s, background 0.36s var(--e-out), box-shadow 0.36s var(--e-out);
}
.industry-tab:hover,
.platform-tab:hover { background: rgba(255, 255, 255, 0.05); }
.industry-tab.active,
.platform-tab.active {
  background: linear-gradient(135deg, #7c3aed, #6d28d9);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 8px 22px -8px rgba(109, 40, 217, 0.8);
}

/* ---------------------------------------------------------
   4. NAVIGATION — glass rail that condenses on scroll
   --------------------------------------------------------- */
.navbar {
  transition: height 0.4s var(--e-out), background 0.4s var(--e-soft),
    box-shadow 0.4s var(--e-soft), backdrop-filter 0.4s;
}
.navbar.scrolled {
  height: 100px;
  background: rgba(10, 8, 22, 0.72);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 40px -18px rgba(0, 0, 0, 0.9);
}

.nav-logo {
  border-radius: 999px;
  transition: transform 0.4s var(--e-out), box-shadow 0.4s var(--e-out);
}
.nav-logo:hover { transform: translateY(-1px); }

/* Underline that grows from the centre */
.nav-link {
  position: relative;
  letter-spacing: -0.005em;
  transition: color 0.26s var(--e-soft);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #a78bfa, #7c3aed);
  transform: translateX(-50%);
  transition: width 0.36s var(--e-out);
}
.nav-link:hover::after { width: 62%; }

.dropdown-menu {
  border-radius: 18px;
  border: 1px solid var(--hairline);
  background: linear-gradient(170deg, rgba(24, 18, 44, 0.97), rgba(14, 10, 28, 0.97));
  box-shadow: var(--el-3), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(20px);
  padding: 8px;
}
.dropdown-item {
  border-radius: 12px;
  transition: background 0.26s var(--e-soft), transform 0.26s var(--e-out), color 0.2s;
}
.dropdown-item:hover { background: rgba(139, 92, 246, 0.14); transform: translateX(3px); }

/* ---------------------------------------------------------
   5. SURFACES — one card language everywhere
   --------------------------------------------------------- */
.feature-card,
.step-card,
.testimonial-card,
.testimonial-featured-card,
.stat-box,
.faq-item,
.industry-panel,
.platform-panel,
.hm-card,
.cta-card,
.video-thumbnail,
.alt-feature-visual,
.product-hero-visual {
  position: relative;
  border-radius: 20px;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  box-shadow: var(--el-1), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(2px);
  transition: transform 0.5s var(--e-out), box-shadow 0.5s var(--e-out),
    border-color 0.4s var(--e-soft), background 0.5s var(--e-soft);
}

/* Mouse-tracking spotlight (coords set by premium.js) */
.feature-card::before,
.step-card::before,
.testimonial-card::before,
.stat-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s var(--e-soft);
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%),
    rgba(139, 92, 246, 0.16), transparent 62%);
}
.feature-card:hover::before,
.step-card:hover::before,
.testimonial-card:hover::before,
.stat-box:hover::before { opacity: 1; }

.feature-card:hover,
.step-card:hover,
.testimonial-card:hover,
.stat-box:hover {
  transform: translateY(-6px);
  border-color: rgba(167, 139, 250, 0.34);
  box-shadow: var(--el-3), inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(139, 92, 246, 0.16);
}

/* Top-edge light that ignites on hover */
.feature-card::after,
.step-card::after,
.testimonial-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 14%;
  right: 14%;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.85), transparent);
  opacity: 0;
  transition: opacity 0.45s var(--e-soft), left 0.55s var(--e-out), right 0.55s var(--e-out);
}
.feature-card:hover::after,
.step-card:hover::after,
.testimonial-card:hover::after { opacity: 1; left: 4%; right: 4%; }

.features-grid,
.steps-grid,
.testimonials-grid { gap: 20px; }

.feature-card,
.step-card,
.testimonial-card { padding: 30px 28px 28px; }

/* Icon tiles — inset-lit squircles */
.feature-icon,
.industry-feature-icon,
.check-icon,
.step-num {
  border-radius: 14px;
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.24), rgba(109, 40, 217, 0.1));
  border: 1px solid rgba(167, 139, 250, 0.26);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 6px 18px -8px rgba(109, 40, 217, 0.6);
  color: #ddd6fe;
  transition: transform 0.5s var(--e-spring), box-shadow 0.45s var(--e-out), background 0.4s;
}
.feature-card:hover .feature-icon,
.step-card:hover .step-num {
  transform: translateY(-2px) scale(1.06) rotate(-3deg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), 0 12px 26px -10px rgba(124, 58, 237, 0.9);
}
.check-icon { border-radius: 999px; }
.step-num { border-radius: 999px; font-variant-numeric: tabular-nums; }

/* Learn-more links: arrow slides, label brightens */
.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: color 0.26s, gap 0.34s var(--e-out);
}
.feature-link:hover { gap: 13px; color: #c4b5fd; }
.feature-link svg,
.feature-link i { transition: transform 0.34s var(--e-out); }

/* ---------------------------------------------------------
   6. HERO — layered atmosphere
   --------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 120%;
  pointer-events: none;
  background:
    radial-gradient(52% 42% at 18% 22%, rgba(124, 58, 237, 0.3), transparent 68%),
    radial-gradient(46% 38% at 82% 12%, rgba(56, 189, 248, 0.12), transparent 66%),
    radial-gradient(40% 34% at 62% 78%, rgba(217, 70, 239, 0.13), transparent 70%);
  filter: blur(12px);
  animation: auraDrift 22s ease-in-out infinite alternate;
}
@keyframes auraDrift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-2.5%, 2%, 0) scale(1.07); }
}

/* Horizon line under the hero */
.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.32), transparent);
}

.hero-badges .hero-badge-item {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hairline);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  font-size: 0.8125rem;
  letter-spacing: -0.005em;
}

.hero-social-proof .proof-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.proof-label { letter-spacing: 0.01em; font-size: 0.8125rem; }

/* Marquee cards get real depth + slow parallax feel */
.hm-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--el-2);
}
.hm-card img { transition: transform 1.2s var(--e-out); }
.hm-card:hover img { transform: scale(1.05); }
.hm-tag {
  border-radius: 999px;
  background: rgba(12, 9, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  letter-spacing: 0.08em;
}
.hm-chip {
  border-radius: 999px;
  background: linear-gradient(150deg, rgba(24, 18, 44, 0.94), rgba(14, 10, 28, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--el-2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  animation: chipFloat 7s ease-in-out infinite;
}
.hm-chip-2 { animation-delay: -3.5s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.hm-chip-dot { box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.16); }

/* ---------------------------------------------------------
   7. LOGO STRIP
   --------------------------------------------------------- */
.trusted-section { position: relative; }
.logo-item {
  opacity: 0.44;
  filter: grayscale(1);
  transition: opacity 0.4s var(--e-soft), filter 0.4s var(--e-soft), transform 0.4s var(--e-out);
}
.logo-item:hover { opacity: 1; filter: grayscale(0); transform: translateY(-2px); }
.marquee-outer {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

/* ---------------------------------------------------------
   8. INTEGRATIONS HUB
   --------------------------------------------------------- */
.int-node-in {
  border-radius: 999px;
  background: linear-gradient(160deg, rgb(255 255 255 / 92%), rgb(255 255 255));
  border: 1px solid var(--hairline-hi);
  box-shadow: var(--el-2), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-weight: 600;
  transition: transform 0.5s var(--e-spring), box-shadow 0.45s var(--e-out), border-color 0.35s;
}
.int-node:hover .int-node-in {
  border-color: rgba(167, 139, 250, 0.6);
  box-shadow: var(--el-3), 0 0 0 6px rgba(139, 92, 246, 0.1);
}
.int-hub-center { animation: hubBreathe 6s ease-in-out infinite; }
@keyframes hubBreathe {
  0%, 100% { box-shadow: 0 0 0 12px rgba(109, 40, 217, 0.07), 0 22px 60px rgba(109, 40, 217, 0.35); }
  50% { box-shadow: 0 0 0 22px rgba(109, 40, 217, 0.05), 0 26px 72px rgba(109, 40, 217, 0.5); }
}
.integration-list-item {
        padding: 10px 10px 10px 12px!important;
    width: fit-content!important;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.34s var(--e-out), color 0.26s;
}
.integration-list-item:hover { transform: translateX(4px); color: #fff; }

/* ---------------------------------------------------------
   9. STATS / AUTOMATION / MEDIA
   --------------------------------------------------------- */
.stat-box { padding: 22px 24px; border-radius: 18px; }
.stat-box-num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.stat-box-label { color: rgba(226, 224, 240, 0.56); font-size: 0.8125rem; }

.video-thumbnail,
.industry-visual,
.alt-feature-visual,
.product-hero-visual {
  border: 10px solid rgba(139, 92, 246, 0.26);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--el-3);
}
.video-thumbnail img,
.industry-visual img,
.alt-feature-visual img { transition: transform 1.1s var(--e-out); }
.video-thumbnail:hover img,
.industry-visual:hover img { transform: scale(1.035); }

.play-btn {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.8);
  transition: transform 0.45s var(--e-spring), background 0.35s;
}
.play-btn::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  animation: pulseRing 2.8s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.9); opacity: 0.75; }
  100% { transform: scale(1.4); opacity: 0; }
}
.play-btn:hover { transform: scale(1.09); background: rgba(139, 92, 246, 0.5); }

/* ---------------------------------------------------------
   10. TESTIMONIALS
   --------------------------------------------------------- */
.testimonial-card,
.testimonial-featured-card { padding: 30px 30px 26px; }
.testimonial-text {
  font-size: 1.0125rem;
  line-height: 1.7;
  color: rgba(232, 230, 245, 0.86);
  letter-spacing: -0.008em;
}
.testimonial-featured-card { position: relative; overflow: hidden; }
.testimonial-featured-card::before {
  content: "\201C";
  position: absolute;
  top: -28px;
  right: 14px;
  font-size: 9rem;
  line-height: 1;
  font-weight: 700;
  color: rgba(139, 92, 246, 0.12);
  pointer-events: none;
}
.author-avatar {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.9);
}
.author-name { font-weight: 600; letter-spacing: -0.01em; }
.author-role { color: rgba(226, 224, 240, 0.5); font-size: 0.8125rem; }
.stars, .testimonial-rating { letter-spacing: 1px; }

/* ---------------------------------------------------------
   11. FAQ
   --------------------------------------------------------- */
.faq-item {
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item:hover { border-color: rgba(167, 139, 250, 0.28); }
.faq-item.active {
  background: var(--surface-2);
  border-color: rgba(167, 139, 250, 0.34);
  box-shadow: var(--el-2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.faq-question {
  padding: 20px 22px;
  font-weight: 600;
  letter-spacing: -0.012em;
  transition: color 0.24s;
}
.faq-question:hover { color: #fff; }
.faq-chevron { transition: transform 0.45s var(--e-out), color 0.3s; }
.faq-item.active .faq-chevron { color: #c4b5fd; }
.faq-answer-inner { padding: 0 22px 22px; }

/* ---------------------------------------------------------
   12. CTA
   --------------------------------------------------------- */
.cta-card {
  border-radius: 30px;
  overflow: hidden;
  background:
    radial-gradient(78% 120% at 50% -18%, rgba(124, 58, 237, 0.36), transparent 66%),
    linear-gradient(168deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(167, 139, 250, 0.22);
  box-shadow: var(--el-3), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 50% 40%, #000, transparent);
}
.cta-card > * { position: relative; z-index: 1; }
.cta-avatar {
  border-radius: 999px;
  border: 2px solid rgba(18, 13, 34, 0.95);
  transition: transform 0.4s var(--e-spring);
}
.cta-avatars:hover .cta-avatar { transform: translateY(-3px); }
.cta-note { color: rgba(226, 224, 240, 0.5); font-size: 0.8125rem; }

/* ---------------------------------------------------------
   13. FOOTER
   --------------------------------------------------------- */
.footer {
  position: relative;
  border-top: 1px solid var(--hairline);
  background:
    radial-gradient(60% 90% at 50% 0%, rgba(109, 40, 217, 0.13), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.014), transparent);
}
.footer-link {
  position: relative;
  color: rgba(226, 224, 240, 0.56);
  transition: color 0.26s, transform 0.3s var(--e-out);
  display: inline-block;
}
.footer-link:hover { color: #fff; transform: translateX(3px); }
.footer-col h5 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.6875rem;
  color: rgba(226, 224, 240, 0.42);
}
.social-btn {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--hairline);
  transition: transform 0.4s var(--e-spring), background 0.3s, border-color 0.3s;
}
.social-btn:hover {
  transform: translateY(-3px);
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(167, 139, 250, 0.5);
}
.footer-bottom { border-top: 1px solid var(--hairline); color: rgba(226, 224, 240, 0.45); }

.scroll-top {
  border: 1px solid rgba(167, 139, 250, 0.32);
  box-shadow: var(--el-2);
  transition: transform 0.45s var(--e-spring), opacity 0.35s, box-shadow 0.4s;
}
.scroll-top:hover { transform: translateY(-4px) scale(1.05); }

/* ---------------------------------------------------------
   14. SECTION RHYTHM + separators
   --------------------------------------------------------- */
.features-section,
.integrations-section,
.automation-section,
.industries-section,
.platform-section,
.testimonials-section,
.faq-section,
.how-it-works,
.cta-section {
  position: relative;
  padding-top: var(--section-pad);
  padding-bottom: var(--section-pad);
}
.features-section::before,
.integrations-section::before,
.industries-section::before,
.testimonials-section::before,
.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent);
}

@media (max-width: 1023px) { :root { --section-pad: 92px; } }
@media (max-width: 767px) {
  :root { --section-pad: 72px; }
  .feature-card, .step-card, .testimonial-card { padding: 24px 22px; }
  .cta-card { border-radius: 24px; }
}

/* ---------------------------------------------------------
   15. REVEAL CHOREOGRAPHY
   --------------------------------------------------------- */
.reveal, .reveal-left, .reveal-right {
  transition: opacity 0.7s var(--e-out), transform 0.7s var(--e-out), filter 0.7s var(--e-out);
  filter: blur(4px);
}
.reveal { transform: translateY(26px); }
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal.revealed, .reveal-left.revealed, .reveal-right.revealed {
  transform: none;
  filter: blur(0);
}
.reveal-delay-1 { transition-delay: 0.09s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.27s; }
.reveal-delay-4 { transition-delay: 0.36s; }

/* Staggered children (index set by premium.js) */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
  transition: opacity 0.6s var(--e-out), transform 0.6s var(--e-out), filter 0.6s var(--e-out);
  transition-delay: calc(var(--i, 0) * 60ms);
}
[data-stagger].in-view > * { opacity: 1; transform: none; filter: blur(0); }

/* Subtle 3D tilt hook */
.tilt {
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px));
  transition: transform 0.5s var(--e-out);
  transform-style: preserve-3d;
}

/* Featured quote glyph — sit behind, off the star row */
.testimonial-featured-card { padding-top: 40px; }
.testimonial-featured-card::before {
  top: 8px;
  right: 28px;
  font-size: 7rem;
  color: rgba(139, 92, 246, 0.1);
  z-index: 0;
}
.testimonial-featured-card > * { position: relative; z-index: 1; }
