/* ========================================
   AIVise Design System - CSS
   Cyberpunk + Business Aesthetic
   ======================================== */

/* ----------------------------------------
   CSS Variables (Design Tokens)
   ---------------------------------------- */
:root {
  /* Background Colors */
  --color-bg: #0A0A0F;
  --color-bg-secondary: #12121A;
  --color-bg-tertiary: #1A1A2E;
  /* Primary Accent - Cyan */
  --color-cyan: #00FFFF;
  --color-cyan-400: oklch(0.789 0.154 211.53);
  --color-cyan-500: oklch(0.715 0.143 215.221);
  --color-cyan-glow: rgba(0, 255, 255, 0.5);

  /* Secondary Accent - Purple */
  --color-purple: #FF00FF;
  --color-purple-500: oklch(0.627 0.265 303.9);
  --color-purple-glow: rgba(255, 0, 255, 0.5);

  /* Product Colors */
  --color-visa: #7D8B75;
  --color-visa-dark: #6A7864;
  --color-bridge: #2563EB;
  --color-bridge-dark: #1D4ED8;
  --color-docflow: #F97316;
  --color-docflow-dark: #EA580C;

  /* Utility Colors */
  --color-blue: #3B82F6;
  --color-green: #22C55E;
  --color-yellow: #EAB308;

  /* Text Colors */
  --color-text: #FFFFFF;
  --color-text-secondary: #A0AEC0;
  --color-text-muted: #718096;
  --color-text-dark: #4A5568;

  /* Border Colors */
  --color-border: rgba(0, 255, 255, 0.3);
  --color-border-hover: rgba(0, 255, 255, 0.6);

  /* Typography */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;

  /* Section Spacing (Standardized) */
  --section-padding: 6rem;
  --grid-gap: 2rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Shadows */
  --shadow-cyan: 0 0 30px rgba(0, 255, 255, 0.4);
  --shadow-cyan-lg: 0 0 50px rgba(0, 255, 255, 0.6);
  --shadow-purple: 0 0 30px rgba(255, 0, 255, 0.4);

  /* Z-index layers */
  --z-background: 1;
  --z-grid: 2;
  --z-content: 10;
  --z-nav: 50;
  --z-modal: 100;
}

/* ----------------------------------------
   CSS Reset & Base Styles
   ---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* ----------------------------------------
   Typography
   ---------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-cyan {
  color: var(--color-cyan);
}

.text-muted {
  color: var(--color-text-muted);
}

/* Neon Text Effects */
.neon-text {
  text-shadow:
    0 0 10px rgba(0, 255, 255, 0.8),
    0 0 20px rgba(0, 255, 255, 0.5),
    0 0 30px rgba(0, 255, 255, 0.3);
}

.neon-text-strong {
  text-shadow:
    0 0 10px rgba(0, 255, 255, 1),
    0 0 30px rgba(0, 255, 255, 0.8),
    0 0 50px rgba(0, 255, 255, 0.5),
    0 0 70px rgba(0, 255, 255, 0.3);
}

/* ----------------------------------------
   Layout Utilities
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 1.5rem;
  position: relative;
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ----------------------------------------
   Background Elements
   ---------------------------------------- */
.bg-gradient-dark {
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-secondary) 50%, var(--color-bg) 100%);
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.2;
  z-index: var(--z-grid);
  background-image:
    linear-gradient(to right, rgba(0, 255, 255, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: var(--z-background);
}

.glow-orb-cyan {
  width: 600px;
  height: 600px;
  background: rgba(0, 255, 255, 0.12);
  top: 10%;
  left: 10%;
  animation: pulse 10s ease-in-out infinite;
}

/* Purple and blue orbs removed for cleaner design */

/* Canvas animations removed for cleaner design */

/* ----------------------------------------
   Navigation
   ---------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.9);
  border-bottom: 1px solid var(--color-border);
  transform: translateY(-100%);
  animation: slideDown 0.6s ease-out forwards;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform var(--transition-base);
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-cyan);
  animation: spin 20s linear infinite;
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--color-text-secondary);
  font-weight: 500;
  position: relative;
  transition: color var(--transition-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-cyan);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--color-cyan);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.625rem 1.5rem;
  background: rgba(0, 255, 255, 0.1);
  border: 2px solid var(--color-cyan);
  color: var(--color-cyan);
  border-radius: var(--radius-xl);
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-cyan);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
}

.nav-cta:hover {
  color: var(--color-bg);
}

.nav-cta:hover::before {
  transform: translateX(0);
}

.nav-cta span {
  position: relative;
  z-index: 1;
}

/* Navigation scanning line */
.nav-scanline {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
  animation: scanline 3s linear infinite;
}

/* Mobile menu button */
.nav-mobile-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-mobile-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-cyan);
  transition: all var(--transition-base);
}

/* ----------------------------------------
   Hero Section - 3D Wireframe Digital Human
   ---------------------------------------- */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
}

#hero3dCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: radial-gradient(ellipse at center, #001122 0%, #0A0A0F 70%);
}

.hero-overlay {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: max(18vh, 120px) 4rem 2rem 4rem;
  display: flex;
  align-items: flex-start;
  min-height: 100vh;
}

.hero-content-left {
  max-width: 900px;
  margin-left: 2%;
  opacity: 0;
  transform: translateX(-50px);
  animation: fadeInLeft 1s ease-out forwards;
}

.hero-tagline {
  color: #FF00FF;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
  animation: glowPulse 2s ease-in-out infinite;
}

.hero-title-spaced {
  font-size: clamp(3rem, 12vw, 8rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  color: white;
  text-shadow:
    0 0 40px rgba(0, 255, 255, 0.6),
    0 0 80px rgba(0, 255, 255, 0.4),
    0 0 120px rgba(0, 255, 255, 0.2);
  margin-bottom: 0.5rem;
  line-height: 1;
  margin-left: -0.1em;
  max-width: 90vw;
}

.hero-subtitle-glow {
  color: #00FFFF;
  font-size: clamp(1rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  max-width: 550px;
  line-height: 1.8;
}

.btn-outline-white {
  display: inline-block;
  background: transparent;
  border: 2px solid white;
  color: white;
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-outline-white:hover {
  background: white;
  color: var(--color-bg);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-outline-white::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-outline-white:hover::before {
  left: 100%;
}

/* Scroll Indicator - Left Bottom */
.scroll-indicator-left {
  position: absolute;
  bottom: 3rem;
  left: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  animation: fadeIn 1s ease-out 1s forwards;
  opacity: 0;
}

.scroll-indicator-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--color-cyan), transparent);
  animation: scrollLineGlow 2s ease-in-out infinite;
}

.scroll-indicator-left span {
  color: var(--color-cyan);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

@keyframes scrollLineGlow {
  0%, 100% {
    opacity: 0.5;
    height: 60px;
  }
  50% {
    opacity: 1;
    height: 80px;
  }
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 40px rgba(255, 0, 255, 0.8), 0 0 60px rgba(255, 0, 255, 0.4);
  }
}

/* WebGL Fallback - CSS Animated Rings */
.hero-fallback {
  position: absolute;
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
}

.fallback-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 50%;
}

.fallback-ring-1 {
  width: 100%;
  height: 100%;
  animation: spin 20s linear infinite;
}

.fallback-ring-2 {
  width: 80%;
  height: 80%;
  border-color: rgba(255, 0, 255, 0.2);
  animation: spin 15s linear infinite reverse;
}

.fallback-ring-3 {
  width: 60%;
  height: 60%;
  animation: spin 10s linear infinite;
}

.fallback-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 30px var(--color-cyan), 0 0 60px var(--color-cyan-glow);
  animation: pulse 2s ease-in-out infinite;
}

/* Hero Mobile Adjustments */
@media (max-width: 767px) {
  .hero-content-left {
    margin-left: 0;
    text-align: center;
    padding: 0 1rem;
  }

  .hero-title-spaced {
    font-size: clamp(2.5rem, 15vw, 4rem);
    letter-spacing: 0.15em;
  }

  .hero-tagline,
  .hero-subtitle-glow {
    letter-spacing: 0.15em;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  /* Mobile fallback - gradient background when 3D globe is hidden */
  #hero3dCanvas {
    display: none;
  }

  .hero-fullscreen {
    background:
      radial-gradient(ellipse at 30% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
      radial-gradient(ellipse at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
      var(--color-bg);
  }

  .scroll-indicator-left {
    left: 50%;
    transform: translateX(-50%);
    bottom: 2rem;
  }

  .hero-fallback {
    right: 50%;
    transform: translate(50%, -50%);
    width: 300px;
    height: 300px;
    opacity: 0.5;
  }
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-blue) 100%);
  color: var(--color-bg);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-cyan-lg);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.8) 0%, rgba(59, 130, 246, 0.8) 100%);
  transform: translateX(100%);
  transition: transform var(--transition-base);
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary span,
.btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-cyan);
  color: var(--color-cyan);
}

.btn-secondary:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: var(--shadow-cyan);
}

.btn-secondary::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-cyan);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.btn-secondary:hover::after {
  transform: scaleX(1);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-icon {
  transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Product-specific buttons */
.btn-visa {
  background: rgba(125, 139, 117, 0.2);
  border: 2px solid var(--color-visa);
  color: var(--color-visa);
}

.btn-visa:hover {
  background: var(--color-visa);
  color: var(--color-text);
}

.btn-bridge {
  background: rgba(37, 99, 235, 0.2);
  border: 2px solid var(--color-bridge);
  color: var(--color-bridge);
}

.btn-bridge:hover {
  background: var(--color-bridge);
  color: var(--color-text);
}

.btn-docflow {
  background: rgba(249, 115, 22, 0.2);
  border: 2px solid var(--color-docflow);
  color: var(--color-docflow);
}

.btn-docflow:hover {
  background: var(--color-docflow);
  color: var(--color-text);
}

/* ----------------------------------------
   Trusted By Section
   ---------------------------------------- */
.trusted {
  padding: 4rem 1.5rem;
  background: rgba(18, 18, 26, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: var(--z-content);
}

.trusted-title {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.trusted-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.trusted-logo {
  text-align: center;
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 1.125rem;
  transition: all var(--transition-base);
  cursor: pointer;
}

.trusted-logo:hover {
  color: var(--color-cyan);
  transform: scale(1.1);
}

/* ----------------------------------------
   Stats Section
   ---------------------------------------- */
.stats {
  padding: var(--section-padding) 1.5rem;
  background: linear-gradient(180deg, rgba(18, 18, 26, 0.5) 0%, transparent 100%);
  position: relative;
  z-index: var(--z-content);
}

.stats-header {
  text-align: center;
  margin-bottom: 2rem;
}

.stats-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-cyan);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.stat-card {
  background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-cyan);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 3rem;
  height: 3rem;
  color: var(--color-cyan);
  margin: 0 auto 1rem;
  transition: all var(--transition-slow);
}

.stat-card:hover .stat-icon {
  transform: scale(1.05);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.stat-label {
  color: var(--color-text-muted);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.stat-context {
  color: var(--color-text-dark);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

/* Animated bottom border */
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-blue));
  transition: width var(--transition-slow);
}

.stat-card:hover::after {
  width: 100%;
}

/* ----------------------------------------
   Products Section
   ---------------------------------------- */
.products {
  padding: 8rem 1.5rem;
  position: relative;
  z-index: var(--z-content);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-cyan);
  font-weight: 700;
  margin-bottom: 1rem;
  animation: pulse 3s ease-in-out infinite;
}

.section-title {
  margin-bottom: 1.5rem;
}

.section-description {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  max-width: 60rem;
  margin: 0 auto;
  line-height: 1.6;
}

.products-grid {
  display: grid;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* Product Card */
.product-card {
  background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
  border: 2px solid;
  border-radius: var(--radius-3xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--product-color-light) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.product-card:hover {
  transform: translateY(-12px);
}

.product-card:hover::before {
  opacity: 1;
}

/* Glow effect on hover */
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 60px var(--product-glow);
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.product-card:hover::after {
  opacity: 1;
}

/* Product-specific colors */
.product-card-visa {
  border-color: rgba(125, 139, 117, 0.4);
  --product-color: var(--color-visa);
  --product-color-light: rgba(125, 139, 117, 0.1);
  --product-glow: rgba(125, 139, 117, 0.4);
}

.product-card-visa:hover {
  border-color: var(--color-visa);
}

.product-card-bridge {
  border-color: rgba(37, 99, 235, 0.4);
  --product-color: var(--color-bridge);
  --product-color-light: rgba(37, 99, 235, 0.1);
  --product-glow: rgba(37, 99, 235, 0.4);
}

.product-card-bridge:hover {
  border-color: var(--color-bridge);
}

.product-card-docflow {
  border-color: rgba(249, 115, 22, 0.4);
  --product-color: var(--color-docflow);
  --product-color-light: rgba(249, 115, 22, 0.1);
  --product-glow: rgba(249, 115, 22, 0.4);
}

.product-card-docflow:hover {
  border-color: var(--color-docflow);
}

.product-card-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-icon-wrapper {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, var(--product-color) 0%, var(--product-color-dark, var(--product-color)) 100%);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all var(--transition-slow);
}

.product-card:hover .product-icon-wrapper {
  transform: scale(1.05);
}

.product-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-text);
}

.product-title {
  font-size: 1.875rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  transition: color var(--transition-base);
}

.product-card:hover .product-title {
  color: var(--product-color);
}

.product-tagline {
  color: var(--product-color);
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.product-description {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.product-features {
  margin-bottom: 2rem;
  flex: 1;
}

.product-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.product-feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--product-color);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.product-feature-text {
  color: var(--color-text-secondary);
}

.product-domain {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  background: rgba(0, 0, 0, 0.3);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  display: inline-block;
  margin-bottom: 1.5rem;
}

.product-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--product-color) 0%, var(--product-color-dark, var(--product-color)) 100%);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
}

.product-btn:hover::before {
  transform: translateX(0);
}

.product-btn span,
.product-btn svg {
  position: relative;
  z-index: 1;
}

.product-btn:hover {
  transform: scale(1.02);
}

.product-btn:hover svg {
  transform: translateX(8px);
}

/* Corner accents */
.product-corner-tl,
.product-corner-br {
  position: absolute;
  width: 5rem;
  height: 5rem;
  border-color: var(--product-color);
  opacity: 0.5;
}

.product-corner-tl {
  top: 0;
  right: 0;
  border-top: 2px solid;
  border-right: 2px solid;
  border-radius: 0 var(--radius-3xl) 0 0;
}

.product-corner-br {
  bottom: 0;
  left: 0;
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-radius: 0 0 0 var(--radius-3xl);
}

/* ----------------------------------------
   Features Section
   ---------------------------------------- */
.features {
  padding: 8rem 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 26, 0.5) 50%, transparent 100%);
  position: relative;
  z-index: var(--z-content);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
  max-width: 1280px;
  margin: 0 auto;
}

.feature-card {
  background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-cyan);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  color: var(--color-cyan);
  margin-bottom: 1.5rem;
  transition: all var(--transition-slow);
}

.feature-card:hover .feature-icon {
  transform: scale(1.05);
}

.feature-title {
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 1rem;
  transition: color var(--transition-base);
}

.feature-card:hover .feature-title {
  color: var(--color-cyan);
}

.feature-description {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Animated corner */
.feature-corner {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 4rem;
  height: 4rem;
  border-bottom: 2px solid rgba(0, 255, 255, 0.5);
  border-right: 2px solid rgba(0, 255, 255, 0.5);
  border-radius: 0 0 var(--radius-2xl) 0;
  transform: scale(0);
  transition: transform var(--transition-base);
}

.feature-card:hover .feature-corner {
  transform: scale(1);
}

/* ----------------------------------------
   About Section
   ---------------------------------------- */
.about {
  padding: 8rem 1.5rem;
  position: relative;
  z-index: var(--z-content);
}

.about-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

.about-content {
  opacity: 0;
  transform: translateX(-50px);
}

.about-content.visible {
  animation: fadeInLeft 0.8s ease-out forwards;
}

.about-visual {
  opacity: 0;
  transform: translateX(50px);
}

.about-visual.visible {
  animation: fadeInRight 0.8s ease-out forwards;
}

.about-card {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, var(--color-bg-tertiary) 50%, rgba(255, 0, 255, 0.1) 100%);
  border: 2px solid rgba(0, 255, 255, 0.4);
  border-radius: var(--radius-3xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.about-card-item {
  margin-bottom: 2rem;
}

.about-card-item:last-child {
  margin-bottom: 0;
}

.about-card-label {
  font-size: 0.875rem;
  color: var(--color-cyan);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.about-card-content {
  color: var(--color-text);
  font-size: 1.125rem;
  line-height: 1.6;
}

.about-card-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-card-list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--color-text);
  font-size: 1.125rem;
}

.about-card-list-item span:first-child {
  color: var(--color-cyan);
}

.about-list {
  margin-top: 2rem;
}

.about-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.about-list-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-cyan);
  transition: all var(--transition-base);
}

.about-list-item:hover .about-list-icon {
  transform: scale(1.2) rotate(360deg);
}

.about-list-text {
  color: var(--color-text);
  font-size: 1.125rem;
  font-weight: 500;
}

/* Card corner decorations */
.about-corner-tl,
.about-corner-br {
  position: absolute;
  width: 6rem;
  height: 6rem;
  border-color: rgba(0, 255, 255, 0.5);
}

.about-corner-tl {
  top: 0;
  left: 0;
  border-top: 2px solid;
  border-left: 2px solid;
  border-radius: var(--radius-3xl) 0 0 0;
}

.about-corner-br {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid;
  border-right: 2px solid;
  border-radius: 0 0 var(--radius-3xl) 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.about-lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.about-text {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
  max-width: 1280px;
  margin: 0 auto;
}

.value-card {
  background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  transition: all var(--transition-base);
}

.value-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-cyan);
}

.value-number {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-cyan);
  font-weight: 700;
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.25rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.value-description {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ----------------------------------------
   Testimonials Section
   ---------------------------------------- */
.testimonials {
  padding: var(--section-padding) 1.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 18, 26, 0.5) 50%, transparent 100%);
  position: relative;
  z-index: var(--z-content);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
  max-width: 1280px;
  margin: 0 auto;
}

.testimonial-card {
  background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: 2rem;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-cyan);
}

.testimonial-quote {
  font-size: 1.0625rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-quote::before {
  content: '"';
  font-size: 2rem;
  color: var(--color-cyan);
  font-style: normal;
  line-height: 0;
  vertical-align: -0.3em;
  margin-right: 0.25rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ----------------------------------------
   CTA Section
   ---------------------------------------- */
.cta {
  padding: 8rem 1.5rem;
  position: relative;
  z-index: var(--z-content);
}

.cta-card {
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 3rem;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.2) 0%, rgba(255, 0, 255, 0.2) 50%, rgba(59, 130, 246, 0.2) 100%);
  animation: gradientShift 10s linear infinite;
}

.cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid rgba(0, 255, 255, 0.5);
  border-radius: 3rem;
}

.cta-glow {
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-cyan);
  border-radius: 3rem;
  opacity: 0.5;
  animation: pulse 3s ease-in-out infinite;
}

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

.cta-icon {
  width: 4rem;
  height: 4rem;
  color: var(--color-cyan);
  margin: 0 auto 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

.cta-title {
  margin-bottom: 2rem;
}

.cta-description {
  font-size: 1.5rem;
  color: var(--color-text-secondary);
  margin-bottom: 3rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-trust-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.cta-trust-icon.green { color: var(--color-green); }
.cta-trust-icon.cyan { color: var(--color-cyan); }
.cta-trust-icon.blue { color: var(--color-blue); }

/* ----------------------------------------
   Footer
   ---------------------------------------- */
.footer {
  background: rgba(18, 18, 26, 0.8);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-border);
  padding: 4rem 1.5rem 2rem;
  position: relative;
  z-index: var(--z-content);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  grid-column: span 1;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-base);
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-logo-icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--color-cyan);
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
}

.footer-tagline {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: var(--color-text-dark);
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-section h4 {
  color: var(--color-cyan);
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--color-text-muted);
  transition: all var(--transition-base);
}

.footer-link:hover {
  color: var(--color-cyan);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-copyright {
  color: var(--color-text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  transition: all var(--transition-base);
}

.footer-legal-link:hover {
  color: var(--color-cyan);
  transform: translateY(-2px);
}

/* ----------------------------------------
   Animations
   ---------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.2);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

@keyframes scrollWheel {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(12px);
    opacity: 0.5;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes gridMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 60px 60px;
  }
}

@keyframes scanline {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
}

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

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px var(--color-cyan-glow);
  }
  50% {
    box-shadow: 0 0 40px var(--color-cyan-glow), 0 0 60px var(--color-cyan-glow);
  }
}

/* Staggered animation delay utilities */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }
.delay-600 { animation-delay: 600ms; }
.delay-700 { animation-delay: 700ms; }
.delay-800 { animation-delay: 800ms; }
.delay-900 { animation-delay: 900ms; }
.delay-1000 { animation-delay: 1000ms; }

/* ----------------------------------------
   Responsive Breakpoints
   ---------------------------------------- */

/* Tablet (640px and up) */
@media (min-width: 640px) {
  .trusted-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Medium screens (768px and up) */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-mobile-btn {
    display: none;
  }

  .hero-overlay {
    padding: max(18vh, 120px) 5rem 2rem 5rem;
  }

  .hero-content-left {
    margin-left: 3%;
  }

  .hero-title-spaced {
    letter-spacing: 0.38em;
  }

  .scroll-indicator-left {
    left: 4rem;
  }

  .trusted-logos {
    grid-template-columns: repeat(6, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-brand {
    grid-column: span 1;
  }
}

/* Large screens (1024px and up) */
@media (min-width: 1024px) {
  .hero-overlay {
    padding: max(18vh, 120px) 6rem 2rem 6rem;
  }

  .hero-content-left {
    margin-left: 5%;
    max-width: 1000px;
  }

  .hero-title-spaced {
    font-size: clamp(5rem, 14vw, 10rem);
    letter-spacing: 0.25em;
  }

  .hero-tagline,
  .hero-subtitle-glow {
    letter-spacing: 0.4em;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .footer-brand {
    grid-column: span 1;
  }

  .cta-card {
    padding: 4rem;
  }
}

/* Extra large screens (1280px and up) */
@media (min-width: 1280px) {
  .container {
    padding: 0 2rem;
  }

  .section {
    padding: 8rem 2rem;
  }

  .hero-overlay {
    padding: max(18vh, 120px) 8rem 2rem 8rem;
  }

  .hero-content-left {
    margin-left: 3%;
    max-width: 1100px;
  }

  .hero-title-spaced {
    font-size: clamp(6rem, 15vw, 12rem);
  }
}

/* Ultra wide screens (1600px and up) */
@media (min-width: 1600px) {
  .hero-overlay {
    max-width: 1800px;
    padding: max(18vh, 120px) 10rem 2rem 10rem;
  }

  .hero-title-spaced {
    font-size: 10rem;
    letter-spacing: 0.3em;
  }

  .hero-tagline {
    font-size: 1.75rem;
  }

  .hero-subtitle-glow {
    font-size: 2rem;
  }
}

/* ----------------------------------------
   Utility Classes
   ---------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.hidden {
  display: none;
}

.visible {
  visibility: visible;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

/* ----------------------------------------
   Scroll Reveal Animation System
   ---------------------------------------- */

/* Base reveal state - hidden */
[data-reveal] {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

/* Revealed state - reset will-change to release GPU layer */
[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
  will-change: auto;
}

/* Fade Up (default) */
[data-reveal="fade-up"] {
  transform: translateY(60px);
}

/* Scale Up - for emphasis */
[data-reveal="scale-up"] {
  transform: scale(0.9);
}

/* Simple slide variants - fallback to fade-up */
[data-reveal="slide-left"],
[data-reveal="slide-right"],
[data-reveal="fade-down"],
[data-reveal="blur-in"],
[data-reveal="zoom-in"],
[data-reveal="flip-up"],
[data-reveal="glitch-in"],
[data-reveal="neon-in"] {
  transform: translateY(40px);
}

/* Stagger delay utilities */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }
[data-delay="600"] { transition-delay: 600ms; }
[data-delay="700"] { transition-delay: 700ms; }
[data-delay="800"] { transition-delay: 800ms; }

/* Duration modifiers */
[data-duration="fast"] {
  transition-duration: 0.4s;
}
[data-duration="slow"] {
  transition-duration: 1.2s;
}

/* ----------------------------------------
   Nav Scroll Effects
   ---------------------------------------- */
.nav {
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease,
    box-shadow 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.5),
    0 0 1px rgba(0, 255, 255, 0.3);
}

/* ----------------------------------------
   Enhanced Card Hover Effects
   ---------------------------------------- */
.product-card,
.feature-card,
.stat-card {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    border-color 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
}

.feature-card:hover {
  transform: translateY(-8px);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-cyan);
}

/* Simplified card hover - no shine sweep animation */

/* ----------------------------------------
   Button Hover Enhancements
   ---------------------------------------- */
.btn {
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 30px rgba(0, 255, 255, 0.3),
    0 0 40px rgba(0, 255, 255, 0.2);
}

.btn-secondary:hover {
  transform: translateY(-3px);
}

/* ----------------------------------------
   Hero Text Entrance Animations
   ---------------------------------------- */

/* GPU compositing hints for animated hero elements */
.hero-tagline,
.hero-title-spaced,
.hero-subtitle-glow,
.hero-description {
  will-change: transform, opacity;
}

.hero-badge {
  animation: heroFadeSlide 0.8s ease-out 0.2s both;
}

.hero-title {
  animation: heroFadeSlide 0.8s ease-out 0.4s both;
}

.hero-description {
  animation: heroFadeSlide 0.8s ease-out 0.6s both;
}

.hero-buttons {
  animation: heroFadeSlide 0.8s ease-out 0.8s both;
}

.hero-visual {
  animation: heroScaleIn 1s ease-out 0.6s both;
}

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

@keyframes heroScaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ----------------------------------------
   Scroll Indicator Bounce
   ---------------------------------------- */
.scroll-indicator {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0) translateZ(0);
  }
  50% {
    transform: translateY(10px) translateZ(0);
  }
}

/* ----------------------------------------
   Section Title Underline Animation
   ---------------------------------------- */
.section-title {
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-cyan), transparent);
  transition: width 0.8s ease-out, left 0.8s ease-out;
}

.section-title.revealed::after {
  width: 100px;
  left: calc(50% - 50px);
}

/* Legacy class support */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Print styles */
@media print {
  .bg-grid,
  .glow-orb,
  .nav,
  .scroll-indicator {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .neon-text,
  .neon-text-strong {
    text-shadow: none;
  }
}

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

  .bg-grid,
  .glow-orb {
    animation: none;
  }
}

/* ----------------------------------------
   Solutions Page - Hero Banner
   ---------------------------------------- */
.hero-banner {
  padding: 10rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  z-index: var(--z-content);
}

.hero-banner h1 {
  margin-bottom: 1rem;
}

.hero-banner p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ----------------------------------------
   Solutions Page - Section Subtitle
   ---------------------------------------- */
.section-subtitle {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ----------------------------------------
   Solutions Page - Video Cards Grid
   ---------------------------------------- */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 640px) {
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .videos-grid { grid-template-columns: repeat(3, 1fr); }
}

.video-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--transition-base);
}

.video-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-cyan);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--color-bg-tertiary);
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-secondary) 100%);
}

.video-placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.video-card:hover .play-overlay {
  opacity: 1;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg);
  font-size: 1.5rem;
  transition: transform var(--transition-base);
}

.video-card:hover .play-btn {
  transform: scale(1.1);
}

.video-duration {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.8);
  color: var(--color-text);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

.video-info {
  padding: 1.5rem;
}

.video-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.video-description {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ----------------------------------------
   Solutions Page - Articles Section
   ---------------------------------------- */
.articles-grid {
  display: grid;
  gap: 2rem;
}

.article-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all var(--transition-base);
}

@media (min-width: 768px) {
  .article-card {
    grid-template-columns: 280px 1fr;
  }
}

.article-card:hover {
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-cyan);
}

.article-thumbnail {
  aspect-ratio: 16/10;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, rgba(0, 255, 255, 0.05) 100%);
}

.article-placeholder-icon {
  font-size: 2.5rem;
  opacity: 0.4;
}

.article-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  transition: color var(--transition-base);
}

.article-card:hover .article-title {
  color: var(--color-cyan);
}

.article-excerpt {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.article-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  color: var(--color-cyan);
  margin-top: 1rem;
}

/* ----------------------------------------
   Solutions Page - Fade In Up Animation
   ---------------------------------------- */
.fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ----------------------------------------
   Solutions Page - Nav Link Active State
   ---------------------------------------- */
.nav-link.active {
  color: var(--color-cyan);
}

.nav-link.active::after {
  width: 100%;
}
