/* ═══════════════════════════════════════════════════════════
   COIxist — Award-Winning Marketing Website
   Inspired by Opal Camera & Palantir
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand */
  --navy: #1E3A5F;
  --navy-light: #2A4D7A;
  --blue: #5B8FCE;
  --blue-light: #7AA5DC;
  --blue-pale: #A8C8F0;
  --blue-glow: rgba(91, 143, 206, 0.15);

  /* Neutrals */
  --bg: #07090F;
  --bg-elevated: #0D1117;
  --bg-card: #111622;
  --bg-card-hover: #161D2E;
  --surface: #1A2235;
  --border: rgba(91, 143, 206, 0.1);
  --border-hover: rgba(91, 143, 206, 0.25);

  /* Text */
  --text-primary: #F1F3F9;
  --text-secondary: #A0A8C0;
  --text-muted: #5A6380;

  /* Risk Colors */
  --risk-high: #F87171;
  --risk-medium: #FBBF24;
  --risk-low: #60A5FA;
  --risk-none: #34D399;

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-padding: clamp(80px, 12vh, 160px);
  --container-max: 1280px;
  --container-padding: clamp(20px, 4vw, 80px);

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  font-size: 16px;
  scroll-behavior: initial; /* Lenis handles this */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; cursor: none; }
button { cursor: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ─── CUSTOM CURSOR ─── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  pointer-events: none;
  mix-blend-mode: difference;
}

.cursor-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease-out-expo);
}

.cursor-outline {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.2s var(--ease-out-expo);
}

.cursor.is-hovering .cursor-outline {
  width: 64px;
  height: 64px;
  border-color: var(--blue);
  background: rgba(91, 143, 206, 0.08);
}

.cursor.is-hovering .cursor-dot {
  transform: translate(-50%, -50%) scale(1.5);
  background: var(--blue-light);
}

/* ─── SCROLL PROGRESS ─── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-pale));
  z-index: 9999;
  transition: none;
}

/* ─── LOADER ─── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  width: 180px;
  height: 50px;
  margin-bottom: 24px;
  opacity: 0;
  animation: loaderFadeIn 0.8s 0.2s var(--ease-out-expo) forwards;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(91, 143, 206, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 16px;
  opacity: 0;
  animation: loaderFadeIn 0.8s 0.4s var(--ease-out-expo) forwards;
}

.loader-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-pale));
  border-radius: 2px;
  transition: width 0.3s linear;
}

.loader-text {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: loaderFadeIn 0.8s 0.6s var(--ease-out-expo) forwards;
}

@keyframes loaderFadeIn {
  to { opacity: 1; }
}

/* ─── NAVIGATION ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.5s var(--ease-out-expo);
}

.nav.is-scrolled {
  padding: 12px 0;
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  text-decoration: none;
}

.nav-logo-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  transition: opacity 0.3s;
}

.nav-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
  transition: opacity 0.3s;
}

.nav-logo-x {
  color: #E88271;
}

.nav-logo-ist {
  color: #5B9279;
}

.nav-logo:hover .nav-logo-img,
.nav-logo:hover .nav-logo-text { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--blue);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bg);
  background: var(--text-primary);
  padding: 10px 24px;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out-expo);
}

.nav-cta:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(91, 143, 206, 0.3);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s var(--ease-out-expo);
  transform-origin: center;
}

.nav-hamburger.is-active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.is-active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(7, 9, 15, 0.98);
  backdrop-filter: blur(40px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.mobile-menu-link {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.is-open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.is-open .mobile-menu-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu-cta {
  font-size: 16px;
  font-weight: 600;
  color: var(--bg);
  background: var(--text-primary);
  padding: 14px 36px;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--ease-out-expo);
}

.mobile-menu.is-open .mobile-menu-cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg-image {
  position: absolute;
  inset: -20px;
  background: url('../assets/images/hero-bg.jpg') center center / cover no-repeat;
  filter: blur(12px);
  opacity: 0.4;
  z-index: 0;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  z-index: 1;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}

.hero-gradient-orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(91, 143, 206, 0.3), transparent 70%);
  top: -10%;
  right: -5%;
  animation: orbFloat1 20s ease-in-out infinite;
}

.hero-gradient-orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.4), transparent 70%);
  bottom: -10%;
  left: -10%;
  animation: orbFloat2 25s ease-in-out infinite;
}

.hero-gradient-orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(168, 200, 240, 0.15), transparent 70%);
  top: 40%;
  left: 30%;
  animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-30px, 40px) scale(1.1); }
  66% { transform: translate(20px, -30px) scale(0.95); }
}

@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(1.1); }
}

@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(91, 143, 206, 0.08);
  border: 1px solid rgba(91, 143, 206, 0.15);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue-light);
  margin-bottom: 32px;
  opacity: 0;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--risk-none);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.hero-title-line {
  display: block;
  overflow: hidden;
}

.hero-title-word {
  display: inline-block;
  transform: translateY(110%);
  margin-right: 0.25em;
}

.hero-title-word--accent {
  background: linear-gradient(135deg, var(--blue), var(--blue-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 64px;
  opacity: 0;
  transform: translateY(20px);
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue-light), var(--blue-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stat-divider {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--border-hover), transparent);
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}

.hero-scroll-indicator span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.btn--primary {
  background: var(--text-primary);
  color: var(--bg);
}

.btn--primary:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(91, 143, 206, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}

.btn--ghost:hover {
  border-color: var(--blue);
  background: rgba(91, 143, 206, 0.06);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
  width: 100%;
  justify-content: center;
}

.btn--outline:hover {
  border-color: var(--blue);
  background: rgba(91, 143, 206, 0.06);
}

.btn--large {
  padding: 18px 48px;
  font-size: 16px;
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 45%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0.15) 55%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out-expo);
}

.btn:hover .btn-shine {
  transform: translateX(100%);
}

.btn-arrow {
  transition: transform 0.4s var(--ease-out-expo);
}

.btn:hover .btn-arrow {
  transform: translateY(3px);
}

/* ─── MARQUEE ─── */
.marquee-section {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}



.marquee-section::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 200%;
  background: linear-gradient(
    90deg,
    rgba(100, 140, 255, 0.0) 0%,
    rgba(100, 140, 255, 0.3) 12%,
    rgba(255, 140, 200, 0.3) 30%,
    rgba(100, 140, 255, 0.3) 50%,
    rgba(255, 140, 200, 0.3) 70%,
    rgba(100, 140, 255, 0.3) 88%,
    rgba(100, 140, 255, 0.0) 100%
  );
  animation: marqueeScroll 30s linear infinite;
  pointer-events: none;
}

.marquee {
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.marquee-separator {
  color: var(--blue);
  font-size: 8px;
  opacity: 0.5;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SECTION HEADERS ─── */
.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 6vh, 80px);
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(10px);
}

/* ─── FEATURES ─── */
.features {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.features-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.16;
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.feature-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.5s;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(91, 143, 206, 0.12), transparent 60%);
}

.feature-card:hover .feature-card-glow {
  opacity: 1;
}

.feature-card-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(
    var(--holo-angle, 135deg),
    rgba(100, 140, 255, 0.0) 0%,
    rgba(100, 140, 255, 0.06) 25%,
    rgba(200, 140, 230, 0.08) 50%,
    rgba(255, 150, 200, 0.06) 75%,
    rgba(100, 160, 255, 0.0) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.feature-card-inner.holo-active::after {
  opacity: 1;
}

.feature-card-inner.breathing {
  border-color: rgba(91, 143, 206, 0.7);
  box-shadow: 0 0 30px rgba(91, 143, 206, 0.25), 0 0 60px rgba(91, 143, 206, 0.12), inset 0 0 30px rgba(91, 143, 206, 0.06);
  transition: border-color 1s ease-in-out, box-shadow 1s ease-in-out;
}

.feature-card-inner.breathing-out {
  border-color: var(--border);
  box-shadow: none;
  transition: border-color 1.5s ease-in-out, box-shadow 1.5s ease-in-out;
}

.feature-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  height: 100%;
  transition: all 0.5s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.feature-card:hover .feature-card-inner {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ─── ON-PREMISE CALLOUT ─── */
.on-prem-callout {
  padding: clamp(48px, 6vh, 80px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.on-prem-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 200%;
  background: linear-gradient(
    90deg,
    rgba(100, 140, 255, 0.0) 0%,
    rgba(100, 140, 255, 0.3) 12%,
    rgba(255, 140, 200, 0.3) 30%,
    rgba(100, 140, 255, 0.3) 50%,
    rgba(255, 140, 200, 0.3) 70%,
    rgba(100, 140, 255, 0.3) 88%,
    rgba(100, 140, 255, 0.0) 100%
  );
  animation: marqueeScroll 30s linear infinite;
  pointer-events: none;
}

.on-prem-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
}

.on-prem-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.on-prem-icon svg {
  width: 100%;
  height: 100%;
}

.on-prem-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.on-prem-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .on-prem-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ─── RIBBON CALLOUT (reusable) ─── */
.ribbon-callout {
  padding: clamp(48px, 6vh, 80px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.ribbon-callout::before {
  content: '';
  position: absolute;
  inset: 0;
  width: 200%;
  background: linear-gradient(
    90deg,
    rgba(100, 140, 255, 0.0) 0%,
    rgba(100, 140, 255, 0.3) 12%,
    rgba(255, 140, 200, 0.3) 30%,
    rgba(100, 140, 255, 0.3) 50%,
    rgba(255, 140, 200, 0.3) 70%,
    rgba(100, 140, 255, 0.3) 88%,
    rgba(100, 140, 255, 0.0) 100%
  );
  animation: marqueeScroll 30s linear infinite;
  pointer-events: none;
}

.ribbon-callout-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
}

.ribbon-callout-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.ribbon-callout-icon svg {
  width: 100%;
  height: 100%;
}

.ribbon-callout-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.ribbon-callout-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .ribbon-callout-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ─── HOW IT WORKS ─── */
.how-it-works {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.how-it-works-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  pointer-events: none;
}

.steps {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  z-index: 0;
}

.steps-line {
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  z-index: -1;
  pointer-events: none;
}

.steps-line-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--blue), var(--blue-pale));
  transition: height 0.1s linear;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 60px 0;
  opacity: 0;
  transform: translateY(40px);
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(17, 22, 34, 0.9);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.5s var(--ease-out-expo);
}

.step.is-active .step-number {
  border-color: var(--blue);
  background: rgba(17, 22, 34, 0.95);
  box-shadow: 0 0 40px rgba(91, 143, 206, 0.2);
}

.step-number span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.5s;
}

.step.is-active .step-number span {
  color: var(--blue-light);
}

.step-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* Step Visuals */
.step-visual-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transform: perspective(800px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.5s var(--ease-out-expo);
}

.step:hover .step-visual-card {
  transform: perspective(800px) rotateY(-2deg) rotateX(1deg);
}

.step-visual-card--dark {
  background: var(--bg);
}

.step-visual-header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.step-visual-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.step-visual-dot--red { background: #FF5F57; }
.step-visual-dot--yellow { background: #FEBC2E; }
.step-visual-dot--green { background: #28C840; }

.step-visual-body {
  padding: 20px;
}

.step-visual-field {
  margin-bottom: 14px;
}

.step-visual-field:last-child {
  margin-bottom: 0;
}

.step-visual-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.step-visual-input {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
  padding: 8px 12px;
  background: rgba(91, 143, 206, 0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.step-visual-input--typing {
  border-color: var(--blue);
  position: relative;
}

.step-visual-input--typing::after {
  content: '|';
  animation: blink 1s steps(1) infinite;
  color: var(--blue);
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Search Animation */
.search-animation {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 30px auto;
}

.search-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.search-ring--1 {
  width: 80px;
  height: 80px;
  animation: searchPulse 3s ease-in-out infinite;
}

.search-ring--2 {
  width: 130px;
  height: 130px;
  animation: searchPulse 3s 0.5s ease-in-out infinite;
}

.search-ring--3 {
  width: 180px;
  height: 180px;
  animation: searchPulse 3s 1s ease-in-out infinite;
}

@keyframes searchPulse {
  0%, 100% { border-color: var(--border); opacity: 0.3; }
  50% { border-color: var(--blue); opacity: 0.8; }
}

.search-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: rgba(91, 143, 206, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-node {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  color: var(--blue-light);
  background: rgba(91, 143, 206, 0.1);
  border: 1px solid rgba(91, 143, 206, 0.2);
  border-radius: 8px;
  padding: 4px 10px;
  white-space: nowrap;
}

.search-node--1 { top: 5px; left: 50%; transform: translateX(-50%); }
.search-node--2 { top: 25%; right: 0; }
.search-node--3 { bottom: 25%; right: 0; }
.search-node--4 { bottom: 5px; left: 50%; transform: translateX(-50%); }
.search-node--5 { bottom: 25%; left: 0; }
.search-node--6 { top: 25%; left: 0; }

/* Results */
.result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  transition: background 0.3s;
}

.result-row:last-child { margin-bottom: 0; }

.result-row--high { background: rgba(248, 113, 113, 0.05); }
.result-row--medium { background: rgba(251, 191, 36, 0.05); }
.result-row--low { background: rgba(96, 165, 250, 0.05); }

.result-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.result-badge--high { background: rgba(248, 113, 113, 0.15); color: var(--risk-high); }
.result-badge--medium { background: rgba(251, 191, 36, 0.15); color: var(--risk-medium); }
.result-badge--low { background: rgba(96, 165, 250, 0.15); color: var(--risk-low); }

.result-name {
  font-size: 13px;
  flex: 1;
  color: var(--text-secondary);
}

.result-score {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ─── SHOWCASE ─── */
.showcase {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.showcase-grid-lines {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(91, 143, 206, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 143, 206, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: center top;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue), var(--blue-pale));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.showcase-desc {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(10px);
}

/* Metrics */
.showcase-metrics {
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transform: translateY(10px);
}

.showcase-metric-bar {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.showcase-metric-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue-pale));
  border-radius: 4px;
  transition: width 1.5s var(--ease-out-expo);
}

.showcase-metric-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.showcase-metric-label {
  font-size: 13px;
  color: var(--text-secondary);
}

.showcase-metric-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-light);
}

/* Orb */
.showcase-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-orb {
  position: relative;
  width: 320px;
  height: 320px;
}

.showcase-orb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.showcase-orb-ring--1 {
  width: 100%;
  height: 100%;
  border-color: rgba(91, 143, 206, 0.15);
  animation: showcaseOrbSpin 20s linear infinite;
}

.showcase-orb-ring--2 {
  width: 75%;
  height: 75%;
  border-color: rgba(91, 143, 206, 0.2);
  animation: showcaseOrbSpin 15s linear infinite reverse;
}

.showcase-orb-ring--3 {
  width: 50%;
  height: 50%;
  border-color: rgba(91, 143, 206, 0.25);
  animation: showcaseOrbSpin 10s linear infinite;
}

@keyframes showcaseOrbSpin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}


.showcase-orb-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--blue), var(--navy));
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(91, 143, 206, 0.4), 0 0 120px rgba(91, 143, 206, 0.2);
  animation: coreGlow 4s ease-in-out infinite;
}

@keyframes coreGlow {
  0%, 100% { box-shadow: 0 0 60px rgba(91, 143, 206, 0.4), 0 0 120px rgba(91, 143, 206, 0.2); }
  50% { box-shadow: 0 0 80px rgba(91, 143, 206, 0.6), 0 0 160px rgba(91, 143, 206, 0.3); }
}

.showcase-orb-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--blue-light);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 6s ease-in-out infinite;
}

.showcase-orb-particles span:nth-child(1) { left: 10%; top: 30%; animation-delay: 0s; }
.showcase-orb-particles span:nth-child(2) { left: 80%; top: 20%; animation-delay: 0.8s; }
.showcase-orb-particles span:nth-child(3) { left: 60%; top: 80%; animation-delay: 1.6s; }
.showcase-orb-particles span:nth-child(4) { left: 20%; top: 70%; animation-delay: 2.4s; }
.showcase-orb-particles span:nth-child(5) { left: 90%; top: 50%; animation-delay: 3.2s; }
.showcase-orb-particles span:nth-child(6) { left: 5%; top: 55%; animation-delay: 4s; }
.showcase-orb-particles span:nth-child(7) { left: 45%; top: 5%; animation-delay: 4.8s; }
.showcase-orb-particles span:nth-child(8) { left: 70%; top: 95%; animation-delay: 5.6s; }

@keyframes particleFloat {
  0%, 100% { opacity: 0; transform: translate(0, 0) scale(0); }
  20% { opacity: 1; transform: translate(0, 0) scale(1); }
  80% { opacity: 1; }
  100% { opacity: 0; transform: translate(20px, -30px) scale(0); }
}

/* ─── SECURITY ─── */
.security {
  padding: var(--section-padding) 0;
  position: relative;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.security-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.5s var(--ease-out-expo);
  opacity: 0;
  transform: translateY(20px);
}

.security-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.security-card--large {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.security-card-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.security-card-icon svg {
  width: 100%;
  height: 100%;
}

.security-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.security-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

/* ─── INTEGRATIONS ─── */
.integrations {
  padding: var(--section-padding) 0;
  position: relative;
}

.integrations-orbit {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto;
  opacity: 0;
}

.integrations {
  overflow: hidden;
}

.integrations-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
}

.orbit-radar {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  z-index: 2;
  pointer-events: none;
}

.orbit-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--bg-card);
  border: 2px solid var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 0 60px rgba(91, 143, 206, 0.2);
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(91, 143, 206, 0.3);
  left: 50%;
  top: 50%;
}

.orbit-ring--1 {
  width: 260px;
  height: 260px;
  margin-left: -130px;
  margin-top: -130px;
  animation: orbOscillate 20s ease-in-out infinite;
}

.orbit-ring--2 {
  width: 400px;
  height: 400px;
  margin-left: -200px;
  margin-top: -200px;
  animation: orbOscillate 28s ease-in-out infinite reverse;
}

.orbit-ring--3 {
  width: 540px;
  height: 540px;
  margin-left: -270px;
  margin-top: -270px;
  animation: orbOscillate 35s ease-in-out infinite;
}

@keyframes orbOscillate {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(45deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-45deg); }
  100% { transform: rotate(0deg); }
}

@keyframes orbSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.orbit-node {
  position: absolute;
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  left: 50%;
  top: 50%;
  transform: rotate(var(--angle)) translateY(-130px) rotate(calc(-1 * var(--angle))) translate(-50%, -50%);
  transform-origin: 0 0;
}

.orbit-ring--1 .orbit-node { transform: rotate(var(--angle)) translateY(-130px) rotate(calc(-1 * var(--angle))) translate(-50%, -50%); }
.orbit-ring--2 .orbit-node { transform: rotate(var(--angle)) translateY(-200px) rotate(calc(-1 * var(--angle))) translate(-50%, -50%); }
.orbit-ring--3 .orbit-node { transform: rotate(var(--angle)) translateY(-270px) rotate(calc(-1 * var(--angle))) translate(-50%, -50%); }



.orbit-node-icon {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-light);
  text-align: center;
  line-height: 1;
}

/* ─── TESTIMONIAL ─── */
.testimonial {
  padding: var(--section-padding) 0;
}

.testimonial-inner {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
}

.testimonial-quote {
  width: 48px;
  height: 48px;
  margin: 0 auto 32px;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-author-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.testimonial-author-info {
  text-align: left;
}

.testimonial-author-name {
  display: block;
  font-weight: 600;
  font-size: 15px;
}

.testimonial-author-role {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── PRICING ─── */
.pricing {
  padding: var(--section-padding) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  position: relative;
  border-radius: 24px;
  opacity: 0;
  transform: translateY(30px);
}

.pricing-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px 32px;
  height: 100%;
  transition: all 0.5s var(--ease-out-expo);
}

.pricing-card:hover .pricing-card-inner {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.pricing-card--featured .pricing-card-inner {
  border-color: var(--blue);
  background: linear-gradient(180deg, rgba(91, 143, 206, 0.08), var(--bg-card));
}

.pricing-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--blue), transparent 60%);
  opacity: 0.15;
  z-index: -1;
  filter: blur(20px);
}

.pricing-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(91, 143, 206, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.pricing-tier {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 16px;
}

.pricing-currency {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-amount {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.pricing-amount--custom {
  font-size: 36px;
}

.pricing-period {
  font-size: 16px;
  color: var(--text-muted);
}

.pricing-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-secondary);
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 8l2 2 4-4' stroke='%235B8FCE' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;
}

/* ─── CTA ─── */
.cta {
  padding: var(--section-padding) 0;
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.cta-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}

.cta-gradient-orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(91, 143, 206, 0.2), transparent 70%);
  top: -20%;
  left: -10%;
  animation: orbFloat1 20s ease-in-out infinite;
}

.cta-gradient-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(30, 58, 95, 0.3), transparent 70%);
  bottom: -20%;
  right: -10%;
  animation: orbFloat2 25s ease-in-out infinite;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(10px);
}

.cta-form {
  max-width: 560px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(10px);
}

.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.cta-form-field input,
.cta-form-field select {
  width: 100%;
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  transition: all 0.3s var(--ease-out-expo);
  cursor: none;
  -webkit-appearance: none;
}

.cta-form-field input::placeholder {
  color: var(--text-muted);
}

.cta-form-field select {
  color: var(--text-muted);
}

.cta-form-field input:focus,
.cta-form-field select:focus {
  border-color: var(--blue);
  background: var(--bg-card-hover);
  box-shadow: 0 0 0 3px rgba(91, 143, 206, 0.1);
}

.cta-form .btn {
  width: 100%;
  justify-content: center;
}

/* ─── FOOTER ─── */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
}

.footer-logo-link {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  text-decoration: none;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.footer-logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-primary);
}

.footer-logo-x {
  color: #E88271;
}

.footer-logo-ist {
  color: #5B9279;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-muted);
  padding: 6px 0;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--blue-light);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 40px;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all 0.3s var(--ease-out-expo);
}

.footer-social a:hover {
  color: var(--blue-light);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .showcase-visual {
    order: -1;
  }

  .showcase-orb {
    width: 240px;
    height: 240px;
  }

  .step {
    grid-template-columns: 60px 1fr;
    gap: 24px;
  }

  .step-visual {
    grid-column: span 2;
    padding-left: 84px;
  }

  .steps-line {
    left: 30px;
  }

  .step-number {
    width: 60px;
    height: 60px;
  }

  .security-card--large {
    grid-column: span 2;
  }

  .integrations-orbit {
    width: 500px;
    height: 500px;
  }

  .orbit-ring--3 {
    width: 460px;
    height: 460px;
    margin-left: -230px;
    margin-top: -230px;
  }

  .orbit-ring--3 .orbit-node { transform: rotate(var(--angle)) translateY(-230px) rotate(calc(-1 * var(--angle))) translate(-50%, -50%); }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero-title {
    font-size: clamp(40px, 10vw, 64px);
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

  .hero-stat-divider {
    width: 48px;
    height: 1px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .step {
    grid-template-columns: 1fr;
    padding-left: 0;
  }

  .steps-line {
    display: none;
  }

  .step-visual {
    grid-column: 1;
    padding-left: 0;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .security-card--large {
    grid-column: 1;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .security-card--large .security-card-icon {
    margin: 0 auto 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .cta-form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .integrations-orbit {
    width: 380px;
    height: 380px;
  }

  .orbit-ring--1 { width: 170px; height: 170px; margin-left: -85px; margin-top: -85px; }
  .orbit-ring--1 .orbit-node { transform: rotate(var(--angle)) translateY(-85px) rotate(calc(-1 * var(--angle))) translate(-50%, -50%); }

  .orbit-ring--2 { width: 260px; height: 260px; margin-left: -130px; margin-top: -130px; }
  .orbit-ring--2 .orbit-node { transform: rotate(var(--angle)) translateY(-130px) rotate(calc(-1 * var(--angle))) translate(-50%, -50%); }

  .orbit-ring--3 { width: 360px; height: 360px; margin-left: -180px; margin-top: -180px; }
  .orbit-ring--3 .orbit-node { transform: rotate(var(--angle)) translateY(-180px) rotate(calc(-1 * var(--angle))) translate(-50%, -50%); }

  .orbit-node {
    padding: 4px 6px;
  }

  .orbit-node-icon { font-size: 8px; }

  /* Hide custom cursor on touch devices */
  .cursor {
    display: none;
  }

  body {
    cursor: auto;
  }

  a, button {
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  .footer-links {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ─── UTILITY: Reveal animations (controlled via GSAP) ─── */
[data-reveal-split] .line {
  overflow: hidden;
}

[data-reveal-split] .line .word {
  display: inline-block;
  transform: translateY(110%);
}

/* ─── PREFERS REDUCED MOTION ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-gradient-orb,
  .marquee-track {
    animation: none !important;
  }
}
