/* ============================================================
   VELORYX AI — STYLE.CSS
   Design System · Navigation · Hero · Glass Components
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Color Palette */
  --bg-dark:              #0B0F1A;
  --bg-deep-purple:       #1A0F2E;
  --bg-gradient-start:    #2E1065;
  --bg-gradient-mid:      #7C3AED;
  --bg-gradient-end:      #EC4899;

  --accent-purple:        #8B5CF6;
  --accent-pink:          #F472B6;
  --accent-light:         #C084FC;

  --text-primary:         #FFFFFF;
  --text-secondary:       #C7C9D9;
  --text-muted:           #9CA3AF;

  --card-bg:              rgba(255, 255, 255, 0.04);
  --card-border:          rgba(255, 255, 255, 0.08);

  /* Gradients */
  --grad-brand:    linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
  --grad-bg:       linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-deep-purple) 50%, #0D0B1F 100%);
  --grad-text:     linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
  --grad-glow:     linear-gradient(135deg, rgba(139,92,246,0.4) 0%, rgba(244,114,182,0.4) 100%);

  /* Spacing scale — 8px base */
  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 40px;
  --sp-6: 48px;
  --sp-8: 64px;
  --sp-10: 80px;
  --sp-12: 96px;

  /* Typography */
  --font-body:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:   'SF Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;

  /* Radii */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-full: 50px;

  /* Shadows */
  --shadow-card:  0 0 0 1px var(--card-border), 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow:  0 0 32px rgba(139,92,246,0.25), 0 0 64px rgba(244,114,182,0.12);
  --shadow-btn:   0 4px 24px rgba(139,92,246,0.4);

  /* Transitions */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:    160ms;
  --dur-base:    280ms;
  --dur-slow:    480ms;

  /* Layout */
  --max-width: 1280px;
  --nav-h:     72px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
}

img, svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   3. SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
  background: rgba(139,92,246,0.4);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-purple); }

/* ============================================================
   4. UTILITY CLASSES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   5. BUTTON SYSTEM
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-full);
  transition: transform var(--dur-base) var(--ease-spring),
              box-shadow var(--dur-base) var(--ease-out),
              opacity var(--dur-fast) var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Primary — gradient filled */
.btn-primary {
  background: var(--grad-brand);
  color: var(--text-primary);
  box-shadow: var(--shadow-btn);
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 40px rgba(139,92,246,0.55), 0 2px 12px rgba(244,114,182,0.3);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: translateY(0) scale(0.98); }

.btn-arrow {
  transition: transform var(--dur-base) var(--ease-spring);
  flex-shrink: 0;
}

.btn-primary:hover .btn-arrow { transform: translateX(4px); }

/* Secondary — glass outlined */
.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.03);
  background: rgba(255,255,255,0.09);
  border-color: rgba(139,92,246,0.5);
  color: var(--text-primary);
  box-shadow: 0 0 24px rgba(139,92,246,0.2);
}

.btn-secondary:active { transform: translateY(0) scale(0.98); }

/* CTA nav button */
.btn-cta {
  background: var(--grad-brand);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 16px rgba(139,92,246,0.35);
  transition: transform var(--dur-base) var(--ease-spring),
              box-shadow var(--dur-base) var(--ease-out);
}

.btn-cta:hover {
  transform: scale(1.05) translateY(-1px);
  box-shadow: 0 6px 28px rgba(139,92,246,0.55);
}

.btn-cta:active { transform: scale(0.97); }

/* ============================================================
   6. NAVIGATION
   ============================================================ */
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 15, 26, 0.7);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  will-change: background;
}

.nav-wrapper.scrolled {
  background: rgba(11, 15, 26, 0.9);
  border-bottom-color: rgba(139,92,246,0.15);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04), 0 8px 32px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.footer-logo-text {
    font-size: 1.400rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.logo-ai {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo-ai-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex: 1;
  justify-content: center;
}

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--dur-fast) var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-out);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  transform: scaleX(1);
}

/* Nav CTA group */
.nav-cta-group {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: background var(--dur-fast) var(--ease-out);
  flex-shrink: 0;
}

.hamburger:hover { background: rgba(255,255,255,0.08); }

.hamburger-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--dur-base) var(--ease-out),
              opacity var(--dur-base) var(--ease-out);
}

/* Hamburger open state */
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--dur-slow) var(--ease-out);
  background: rgba(11, 15, 26, 0.98);
  border-top: 1px solid var(--card-border);
}

.mobile-menu.is-open {
  max-height: 480px;
}

.mobile-nav-links {
  padding: var(--sp-3) var(--sp-6) var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav-link {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}

.mobile-nav-link:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.mobile-cta-item {
  margin-top: var(--sp-2);
  padding-top: var(--sp-2);
  border-top: 1px solid var(--card-border);
}

.mobile-cta-btn {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-full);
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + var(--sp-8)) var(--sp-6) var(--sp-10);
  overflow: hidden;
}

/* Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--grad-bg);
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.22) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  animation: orbDrift1 18s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244,114,182,0.18) 0%, transparent 70%);
  bottom: -100px;
  left: -60px;
  animation: orbDrift2 22s ease-in-out infinite;
}

.orb-3 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(192,132,252,0.14) 0%, transparent 70%);
  top: 40%;
  left: 38%;
  transform: translate(-50%, -50%);
  animation: orbDrift3 28s ease-in-out infinite;
}

/* Mesh grid overlay */
.mesh-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Hero Inner */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--sp-8);
}

/* ---- Hero Text Column ---- */
.hero-text-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  max-width: 580px;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 8px var(--accent-purple);
  animation: pulseDot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* Headline */
.hero-headline {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.headline-line-1 {
  color: var(--text-primary);
  display: block;
}

.headline-line-2 {
  display: block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subheading */
.hero-subheading {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

/* CTA group */
.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}

/* Trust strip */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-top: var(--sp-1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-purple);
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ---- Hero Visual Column ---- */
.hero-visual-col {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glass card base */
.vis-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

/* Main code card */
.vis-card-main {
  position: relative;
  z-index: 2;
  width: 360px;
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
  will-change: transform;
}

.vis-card-header {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
}

.vis-dots {
  display: flex;
  gap: 6px;
}

.vis-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.vis-dot-red    { background: #FF5F57; }
.vis-dot-yellow { background: #FEBC2E; }
.vis-dot-green  { background: #28C840; }

.vis-card-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.vis-card-body {
  padding: 20px 18px 24px;
}

/* Code lines */
.vis-code-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
}

.vis-line         { color: var(--text-secondary); }
.vis-line-indent  { padding-left: 20px; }
.vis-cursor-line  { display: flex; align-items: center; gap: 6px; }

.vl-keyword { color: #C084FC; }
.vl-var     { color: #93C5FD; }
.vl-fn      { color: #6EE7B7; }
.vl-str     { color: #FCA5A5; }
.vl-num     { color: #FDE68A; }
.vl-op      { color: #F9A8D4; }
.vl-punc    { color: var(--text-muted); }
.vl-key     { color: #BAE6FD; }
.vl-comment { color: rgba(156,163,175,0.6); font-style: italic; }

.vis-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--accent-purple);
  border-radius: 1px;
  animation: blink 1.1s step-end infinite;
}

/* Stat cards */
.vis-stat-card {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 18px;
  min-width: 160px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06);
}

.vis-stat-1 {
  top: 48px;
  right: -24px;
  animation: floatStat1 7s ease-in-out infinite;
  will-change: transform;
}

.vis-stat-2 {
  bottom: 72px;
  left: -20px;
  animation: floatStat2 8s ease-in-out infinite;
  will-change: transform;
}

.stat-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.stat-value {
  font-size: 1.625rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-unit {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 2px;
}

.stat-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: var(--fill);
  background: var(--grad-brand);
  border-radius: 2px;
  animation: barGrow 1.4s var(--ease-out) both;
  animation-delay: 1.2s;
}

/* Floating badges */
.vis-badge {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.vis-badge-1 {
  top: 18px;
  left: 10px;
  animation: floatBadge1 9s ease-in-out infinite;
}

.vis-badge-2 {
  bottom: 32px;
  right: -10px;
  animation: floatBadge2 7.5s ease-in-out infinite;
}

/* Glow ring */
.vis-glow-ring {
  position: absolute;
  z-index: 0;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(139,92,246,0.2);
  box-shadow:
    0 0 60px rgba(139,92,246,0.18),
    0 0 120px rgba(244,114,182,0.1),
    inset 0 0 60px rgba(139,92,246,0.06);
  animation: ringPulse 4s ease-in-out infinite;
  pointer-events: none;
}

/* ---- Scroll Indicator ---- */
.scroll-indicator {
  position: absolute;
  bottom: var(--sp-5);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.3));
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   8. SCROLL REVEAL STATE
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children inside .reveal-group */
.reveal-child {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal-child.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   9. ABOUT SECTION
   ============================================================ */

/* Section wrapper */
/* ============================================================
   9. ABOUT SECTION
   ============================================================ */

.about-section {
  position: relative;
  padding: var(--sp-12) 0;
  overflow: hidden;
  background: var(--bg-dark);
}

/* --- Background --- */
.about-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.about-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(88px);
}

.about-orb-1 {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
  top: -120px;
  right: -80px;
  animation: orbDrift2 22s ease-in-out infinite;
}

.about-orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
  bottom: -80px;
  left: -60px;
  animation: orbDrift1 28s ease-in-out infinite;
}

.about-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.09) 0%, transparent 70%);
  top: 40%;
  left: 35%;
  animation: orbDrift3 34s ease-in-out infinite;
}

.about-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.028) 1px, transparent 1px);
  background-size: 52px 52px;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.about-section.in-view .about-grid-overlay {
  opacity: 1;
}

/* --- Inner two-column layout --- */
.about-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: var(--sp-12);
  align-items: center;
}

/* --- Text column --- */
.about-text-col {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.about-heading {
  font-size: clamp(2.125rem, 3.8vw, 3.125rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-top: var(--sp-3);
}

.about-heading-grad {
  display: block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.about-copy p {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.78;
  font-weight: 400;
}

.about-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-light);
  text-decoration: none;
  letter-spacing: 0.01em;
  width: fit-content;
  transition:
    color var(--dur-fast) var(--ease-out),
    gap var(--dur-base) var(--ease-spring);
}

.about-cta-link:hover {
  color: #FFFFFF;
  gap: 10px;
}

/* --- Cards column --- */
.about-cards-col {
  position: relative;
}

.about-glass-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.07) inset,
    0 24px 64px rgba(0, 0, 0, 0.38),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

/* Ambient glow behind the panel */
.agp-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 70%);
  top: -60px;
  right: -60px;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

/* Thin divider between pillar rows */
.agp-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 0 var(--sp-5);
}

/* --- Individual pillar row --- */
.about-pillar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-5);
  cursor: default;
  transition:
    background var(--dur-base) var(--ease-out);
}

.about-pillar:first-of-type {
  border-radius: 22px 22px 0 0;
}

.about-pillar:last-of-type {
  border-radius: 0 0 22px 22px;
}

.about-pillar:hover {
  background: rgba(139, 92, 246, 0.07);
}

/* Hover right-side accent bar */
.ap-accent {
  position: absolute;
  right: 0;
  top: 16%;
  bottom: 16%;
  width: 2px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(180deg, var(--accent-purple), var(--accent-pink));
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.about-pillar:hover .ap-accent {
  opacity: 0.8;
}

/* Icon container */
.ap-icon-wrap {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-spring);
}

.about-pillar:hover .ap-icon-wrap {
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.28);
  transform: scale(1.05);
}

/* Text block */
.ap-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ap-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  transition: color var(--dur-fast) var(--ease-out);
}

.about-pillar:hover .ap-title {
  color: #FFFFFF;
}

.ap-label {
  font-size: 0.855rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.4;
}

/* ============================================================
   10. VISION & MISSION SECTION
   ============================================================ */

/* ---
   Background: layered radial + linear for a brighter,
   breathable feel - lighter than other dark sections
--- */
.vision-section {
  position: relative;
  padding: var(--sp-12) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(139, 92, 246, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 55% 40% at 90% 110%, rgba(236, 72, 153, 0.11) 0%, transparent 55%),
    radial-gradient(ellipse 50% 35% at 10% 100%, rgba(124, 58, 237, 0.1) 0%, transparent 55%),
    linear-gradient(175deg, #0E0B1E 0%, #170E30 30%, #1B0E34 55%, #130A24 80%, #0B0F1A 100%);
}

/* Background layers container */
.vision-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Central radial highlight — the main "brightness source" */
.vision-radial {
  position: absolute;
  width: 700px;
  height: 400px;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.16) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

/* Ambient orbs */
.vision-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.vision-orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  top: -80px;
  right: -100px;
  animation: orbDrift1 24s ease-in-out infinite;
}

.vision-orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.14) 0%, transparent 70%);
  bottom: -60px;
  left: -80px;
  animation: orbDrift2 30s ease-in-out infinite;
}

.vision-orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.1) 0%, transparent 70%);
  top: 40%;
  left: 45%;
  filter: blur(60px);
  animation: orbDrift3 38s ease-in-out infinite;
}

/* Subtle dot-grid overlay — fades in on .in-view */
.vision-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(139, 92, 246, 0.22) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0;
  transition: opacity 1.8s ease;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 80%);
}

.vision-section.in-view .vision-grid-overlay {
  opacity: 0.35;
}

/* --- Inner container --- */
.vision-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-12);
}

/* --- Section Header --- */
.vision-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  max-width: 640px;
}

/* Slightly brighter eyebrow for this lighter section */
.vision-eyebrow {
  background: transparent;
  border-color: rgba(139, 92, 246, 0.28);
}

.vision-heading {
  font-size: clamp(2.125rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: var(--text-primary);
  text-align: center;
}

.vision-heading-grad {
  display: block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.vision-subheading {
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
  color: var(--text-muted);
  line-height: 1.7;
  text-align: center;
  max-width: 500px;
  margin-top: var(--sp-1);
}

/* --- Cards grid --- */
.vision-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  width: 100%;
}

/* --- Individual vision card --- */
.vision-card {
  position: relative;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.075) 0%,
    rgba(255, 255, 255, 0.03)  100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  /* Generous, consistent padding on all sides */
  padding: 2.75rem 2.5rem 2.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  cursor: default;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 16px 56px rgba(0, 0, 0, 0.35),
    0 4px 16px rgba(0, 0, 0, 0.2);
  transition:
    transform    0.45s cubic-bezier(0.23, 1, 0.32, 1),
    box-shadow   0.45s ease,
    border-color 0.45s ease,
    background   0.45s ease;
}

.vision-card:hover {
  transform: translateY(-10px);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(139, 92, 246, 0.06) 100%
  );
  border-color: rgba(139, 92, 246, 0.32);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.18) inset,
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 24px 72px rgba(0, 0, 0, 0.42),
    0 0 60px rgba(139, 92, 246, 0.22);
}

/* Gradient glow frame — hollow 1px gradient border on hover
   using the CSS mask technique */
.vc-glow-frame {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0) 0%,
    rgba(236, 72, 153, 0) 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease, background 0.45s ease;
}

.vision-card:hover .vc-glow-frame {
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.55) 0%,
    rgba(236, 72, 153, 0.45) 100%
  );
  opacity: 1;
}

/* Shimmer accent line at top of card */
.vc-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 24px 24px 0 0;
  background-size: 200% 100%;
  background-image: linear-gradient(
    90deg,
    var(--accent-purple) 0%,
    var(--accent-pink)   50%,
    var(--accent-purple) 100%
  );
  opacity: 0.45;
  animation: shimmerBorder 3.5s linear infinite;
  transition: opacity 0.45s ease;
}

.vision-card:hover .vc-top-accent {
  opacity: 1;
}

/* Glass light-sweep: a diagonal highlight that passes on hover */
.vc-light-sweep {
  position: absolute;
  top: 0;
  left: -75%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.045) 50%,
    transparent 60%
  );
  pointer-events: none;
  transition: left 0.65s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 1;
}

.vision-card:hover .vc-light-sweep {
  left: 120%;
}

/* Icon wrapper */
.vc-icon-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.11);
  border: 1px solid rgba(139, 92, 246, 0.22);
  /* Use margin instead of box-shadow ring so overflow:hidden can't clip it */
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.12);
  flex-shrink: 0;
  transition:
    transform    0.4s var(--ease-spring),
    background   0.4s ease,
    box-shadow   0.4s ease,
    border-color 0.4s ease;
}

.vision-card:hover .vc-icon-wrap {
  transform: scale(1.08) translateY(-2px);
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.38);
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.35);
}

/* Card tag ("Our Vision" / "Our Mission") */
.vc-tag {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

/* Keep .vc-label as alias for legacy compat */
.vc-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 0.75rem;
}

/* Card heading */
.vc-title {
  position: relative;
  z-index: 2;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 1rem;
}

/* Card body */
.vc-body {
  position: relative;
  z-index: 2;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.78;
  margin-bottom: 0;
}

/* Shimmer border keyframe */
@keyframes shimmerBorder {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ============================================================
   11. SERVICES SECTION
   ============================================================ */

.services-section {
  position: relative;
  padding: var(--sp-12) var(--sp-6);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--bg-dark)             0%,
    rgba(20, 8, 45, 0.65)      50%,
    var(--bg-dark)             100%
  );
}

/* Background orbs */
.services-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.services-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.services-orb-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  top: -80px;
  left: -120px;
  animation: orbDrift2 28s ease-in-out infinite;
}

.services-orb-2 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(244,114,182,0.1) 0%, transparent 70%);
  bottom: 0;
  right: -80px;
  animation: orbDrift1 32s ease-in-out infinite;
}

.services-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(192,132,252,0.09) 0%, transparent 70%);
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  animation: orbDrift3 24s ease-in-out infinite;
}

/* Inner */
.services-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-10);
}

/* ---- Header ---- */
.services-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  max-width: 740px;
}

.services-heading {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.services-heading-grad {
  display: inline-block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-subheading {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  text-align: center;
}

/* ---- 3×2 Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  width: 100%;
}

/* ---- Service Card ---- */
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  cursor: default;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 8px 32px rgba(0,0,0,0.38);
  transition:
    transform    var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow   var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1),
    border-color var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1),
    background   var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-card:hover {
  transform: translateY(-7px);
  background: rgba(255,255,255,0.066);
  border-color: rgba(139,92,246,0.35);
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.2),
    0 20px 56px rgba(0,0,0,0.45),
    0 0 44px rgba(139,92,246,0.18);
}

/* Left accent border */
.svc-left-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  bottom: 0;
  border-radius: 18px 0 0 18px;
  background-size: 100% 200%;
  background-image: linear-gradient(
    180deg,
    var(--accent-purple) 0%,
    var(--accent-pink)   50%,
    var(--accent-purple) 100%
  );
  opacity: 0.45;
  animation: shimmerBorderV 3.5s linear infinite;
  transition: opacity var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-card:hover .svc-left-border {
  opacity: 1;
}

@keyframes shimmerBorderV {
  0%   { background-position: center -200%; }
  100% { background-position: center  200%; }
}

/* Icon */
.svc-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.18);
  box-shadow: 0 0 0 5px rgba(139,92,246,0.05);
  flex-shrink: 0;
  transition:
    transform  var(--dur-base) var(--ease-spring),
    background var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-card:hover .svc-icon-wrap {
  transform: scale(1.1);
  background: rgba(139,92,246,0.18);
  box-shadow: 0 0 0 7px rgba(139,92,246,0.08), 0 0 22px rgba(139,92,246,0.28);
}

/* Content */
.svc-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.3;
}

.svc-body {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* Ghost learn more link */
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.01em;
  margin-top: auto;
  width: fit-content;
  padding: 2px 0;
  border-bottom: 1px solid rgba(192,132,252,0.25);
  transition:
    color        var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    gap          var(--dur-base) var(--ease-spring);
}

.svc-link:hover {
  color: var(--text-primary);
  border-color: rgba(192,132,252,0.7);
  gap: 9px;
}

.svc-link:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 4px;
  border-radius: 3px;
}

/* ---- Bottom CTA ---- */
.services-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 640px;
  width: 100%;
  box-shadow: 0 0 0 1px rgba(139,92,246,0.08), 0 8px 40px rgba(0,0,0,0.3);
}

.services-cta-text {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.6;
}

.services-cta-btn {
  animation: ctaGlow 3s ease-in-out infinite;
}

@keyframes ctaGlow {
  0%, 100% { box-shadow: var(--shadow-btn); }
  50%       { box-shadow: 0 8px 48px rgba(139,92,246,0.6), 0 2px 16px rgba(244,114,182,0.35); }
}

/* ============================================================
   12. WHY VELORYX SECTION
   ============================================================ */

.why-section {
  position: relative;
  padding: var(--sp-12) var(--sp-6);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--bg-dark)            0%,
    rgba(22, 10, 48, 0.6)     50%,
    var(--bg-dark)            100%
  );
}

/* Background elements */
.why-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.why-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.why-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.13) 0%, transparent 70%);
  top: -60px;
  right: -80px;
  animation: orbDrift1 26s ease-in-out infinite;
}

.why-orb-2 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(244,114,182,0.1) 0%, transparent 70%);
  bottom: -60px;
  left: -60px;
  animation: orbDrift2 30s ease-in-out infinite;
}

/* Subtle grid overlay texture */
.why-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 50% 50%, black 30%, transparent 100%);
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-section.in-view .why-grid-overlay {
  opacity: 1;
}

/* Inner layout */
.why-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: start;
  gap: var(--sp-12);
}

/* ---- LEFT COLUMN ---- */
.why-left {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.why-header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.why-heading {
  font-size: clamp(2rem, 3.6vw, 2.875rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.why-heading-grad {
  display: inline-block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-subheading {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
}

/* Differentiator list */
.why-diffs {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

/* Single diff block */
.why-diff {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  transition:
    transform    var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow   var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1),
    border-color var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1),
    background   var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.why-diff:hover {
  transform: translateX(5px);
  background: rgba(255,255,255,0.065);
  border-color: rgba(139,92,246,0.32);
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.15),
    0 8px 32px rgba(0,0,0,0.35),
    0 0 30px rgba(139,92,246,0.13);
}

/* Left accent border */
.wd-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  bottom: 0;
  background-size: 100% 200%;
  background-image: linear-gradient(
    180deg,
    var(--accent-purple) 0%,
    var(--accent-pink)   50%,
    var(--accent-purple) 100%
  );
  opacity: 0.4;
  animation: shimmerBorderV 4s linear infinite;
  transition: opacity var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.why-diff:hover .wd-border {
  opacity: 1;
}

/* Block body */
.wd-body {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: 18px var(--sp-4) 18px 20px;
}

/* Check icon */
.wd-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.18);
  flex-shrink: 0;
  margin-top: 1px;
  transition:
    background  var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow  var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.why-diff:hover .wd-indicator {
  background: rgba(139,92,246,0.18);
  box-shadow: 0 0 14px rgba(139,92,246,0.3);
}

.wd-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.wd-title {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.3;
}

.wd-desc {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- RIGHT COLUMN: VISUAL ---- */
.why-visual {
  position: sticky;
  top: calc(var(--nav-h) + var(--sp-6));
  display: flex;
  align-items: center;
  justify-content: center;
}

.wv-scene {
  position: relative;
  width: 280px;
  height: 280px;
}

/* Pulse rings */
.wv-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139,92,246,0.18);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.wv-ring-outer {
  width: 260px;
  height: 260px;
  animation: ringPulse 5s ease-in-out infinite;
}

.wv-ring-mid {
  width: 190px;
  height: 190px;
  border-color: rgba(244,114,182,0.14);
  animation: ringPulse 5s ease-in-out infinite 0.8s;
}

/* Core node */
.wv-core {
  position: absolute;
  width: 64px;
  height: 64px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wv-core-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139,92,246,0.3) 0%, rgba(244,114,182,0.2) 100%);
  border: 1px solid rgba(139,92,246,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: floatCard 6s ease-in-out infinite;
  will-change: transform;
}

.wv-core-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.22) 0%, transparent 70%);
  animation: ringPulse 4s ease-in-out infinite;
  pointer-events: none;
}

/* Orbiting nodes */
.wv-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
}

.wv-orbit-1 {
  transform-origin: center center;
  animation: orbitSpin1 18s linear infinite;
}

.wv-orbit-2 {
  animation: orbitSpin2 24s linear infinite;
}

.wv-orbit-3 {
  animation: orbitSpin3 30s linear infinite;
}

.wv-node {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  position: absolute;
  top: -108px;
  left: -5px;
}

.wv-node-purple { background: #8B5CF6; box-shadow: 0 0 12px rgba(139,92,246,0.8); }
.wv-node-pink   { background: #F472B6; box-shadow: 0 0 12px rgba(244,114,182,0.8); top: -90px; }
.wv-node-light  { background: #C084FC; box-shadow: 0 0 12px rgba(192,132,252,0.8); top: -75px; }

@keyframes orbitSpin1 {
  from { transform: rotate(0deg);   }
  to   { transform: rotate(360deg); }
}

@keyframes orbitSpin2 {
  from { transform: rotate(120deg);  }
  to   { transform: rotate(480deg); }
}

@keyframes orbitSpin3 {
  from { transform: rotate(240deg);  }
  to   { transform: rotate(600deg); }
}

/* SVG connectors */
.wv-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.6;
}

/* Floating glass labels */
.wv-label {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.wv-label-1 {
  top: 16px;
  left: -28px;
  animation: floatBadge1 8s ease-in-out infinite;
}

.wv-label-2 {
  bottom: 44px;
  right: -24px;
  animation: floatBadge2 9s ease-in-out infinite;
}

.wv-label-3 {
  bottom: 14px;
  left: 20px;
  animation: floatBadge1 10s ease-in-out infinite 1s;
}

.wv-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 6px var(--accent-purple);
  flex-shrink: 0;
}

.wv-label-dot-pink {
  background: var(--accent-pink);
  box-shadow: 0 0 6px var(--accent-pink);
}

/* ============================================================
   13. VALUES SECTION
   ============================================================ */

.values-section {
  position: relative;
  padding: var(--sp-12) var(--sp-6);
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--bg-dark)            0%,
    rgba(26, 10, 52, 0.58)    50%,
    var(--bg-dark)            100%
  );
}

/* Background elements */
.values-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.values-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.values-orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 70%);
  top: -80px;
  right: -100px;
  animation: orbDrift1 24s ease-in-out infinite;
}

.values-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(244,114,182,0.1) 0%, transparent 70%);
  bottom: -60px;
  left: -80px;
  animation: orbDrift2 28s ease-in-out infinite;
}

/* Grid overlay texture */
.values-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 100%);
  transition: opacity 1.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.values-section.in-view .values-grid-overlay {
  opacity: 1;
}

/* Inner container */
.values-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-10);
}

/* Header */
.values-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  max-width: 740px;
}

.values-heading {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.values-heading-grad {
  display: inline-block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.values-subheading {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
  text-align: center;
}

/* 3x2 card grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  width: 100%;
}

/* Individual value card */
.val-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  cursor: default;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03),
    0 8px 32px rgba(0,0,0,0.38);
  transition:
    transform    var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow   var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1),
    border-color var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1),
    background   var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.val-card:hover {
  transform: translateY(-7px);
  background: rgba(255,255,255,0.065);
  border-color: rgba(139,92,246,0.35);
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.2),
    0 20px 56px rgba(0,0,0,0.45),
    0 0 40px rgba(139,92,246,0.17);
}

/* Gradient top accent border with shimmer */
.val-top-border {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 18px 18px 0 0;
  background-size: 200% 100%;
  background-image: linear-gradient(
    90deg,
    var(--accent-purple) 0%,
    var(--accent-pink)   50%,
    var(--accent-purple) 100%
  );
  opacity: 0.45;
  animation: shimmerBorder 3.8s linear infinite;
  transition: opacity var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.val-card:hover .val-top-border {
  opacity: 1;
}

/* Icon wrapper */
.val-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.18);
  box-shadow: 0 0 0 5px rgba(139,92,246,0.05);
  flex-shrink: 0;
  transition:
    transform  var(--dur-base) var(--ease-spring),
    background var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow var(--dur-base) cubic-bezier(0.4, 0, 0.2, 1);
}

.val-card:hover .val-icon-wrap {
  transform: scale(1.1);
  background: rgba(139,92,246,0.18);
  box-shadow: 0 0 0 7px rgba(139,92,246,0.08), 0 0 22px rgba(139,92,246,0.28);
}

/* Card content */
.val-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.val-title {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.3;
}

.val-body {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ============================================================
   SECTION 14 — HOW WE WORK (PROCESS)
   ============================================================ */

/* --- Container --- */
.process-section {
  position: relative;
  padding: var(--sp-12) 0;
  background: var(--bg-dark);
  overflow: hidden;
}

/* --- Background --- */
.process-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.process-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  transition: opacity 1s ease;
}

.process-section.in-view .process-orb {
  opacity: 1;
}

.process-orb-1 {
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.16) 0%, transparent 70%);
  top: -140px;
  left: -180px;
}

.process-orb-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.13) 0%, transparent 70%);
  bottom: -100px;
  right: -120px;
}

.process-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.process-section.in-view .process-grid-overlay {
  opacity: 1;
}

/* --- Inner --- */
.process-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* --- Header --- */
.process-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--sp-12);
}

.process-heading {
  font-size: clamp(2rem, 3.8vw, 2.875rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-top: var(--sp-3);
}

.process-heading-grad {
  display: block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Timeline --- */
.process-timeline {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: flex-start;
}

/* Connecting line (desktop) */
.process-line {
  position: absolute;
  top: 26px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  z-index: 0;
  overflow: hidden;
}

.process-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8B5CF6 0%, #C084FC 50%, #EC4899 100%);
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.process-section.in-view .process-line-fill {
  width: 100%;
}

/* --- Individual Step --- */
.process-step {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  padding: 0 var(--sp-2);
}

/* --- Step Number Badge --- */
.ps-number-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.ps-number {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono, 'SF Mono', 'Fira Code', 'Courier New', monospace);
  color: var(--accent-light);
  letter-spacing: 0.06em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    border-color var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-spring),
    box-shadow var(--dur-base) var(--ease-out);
}

.ps-number-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
  animation: stepGlowPulse 3.2s ease-in-out infinite;
}

@keyframes stepGlowPulse {
  0%, 100% { opacity: 0.15; transform: scale(0.95); }
  50%       { opacity: 0.45; transform: scale(1.15); }
}

.process-step:hover .ps-number {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.18);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.25);
}

/* --- Step Card --- */
.ps-card {
  position: relative;
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: var(--sp-5) var(--sp-4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.28),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition:
    transform var(--dur-base) var(--ease-spring),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  will-change: transform;
}

.ps-card-top-border {
  position: absolute;
  left: 20%;
  right: 20%;
  top: -1px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), var(--accent-pink), transparent);
  opacity: 0.65;
}

.process-step:hover .ps-card {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.22);
  box-shadow:
    0 16px 48px rgba(139, 92, 246, 0.14),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.ps-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}

.ps-body {
  font-size: 0.855rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================================
   SECTION 15 — WHO WE SERVE (INDUSTRIES)
   ============================================================ */

/* --- Container --- */
.industries-section {
  position: relative;
  padding: var(--sp-12) 0;
  background: var(--bg-dark);
  overflow: hidden;
}

/* --- Background --- */
.industries-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.ind-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
  transition: opacity 1.1s ease;
}

.industries-section.in-view .ind-orb {
  opacity: 1;
}

.ind-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.ind-orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.11) 0%, transparent 70%);
  bottom: -120px;
  left: -80px;
}

.ind-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.industries-section.in-view .ind-grid-overlay {
  opacity: 1;
}

/* --- Inner --- */
.industries-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* --- Header --- */
.industries-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--sp-10);
}

.industries-heading {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-top: var(--sp-3);
}

.industries-heading-grad {
  display: block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- 4×2 Grid --- */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

/* --- Tile --- */
.ind-tile {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: var(--sp-5) var(--sp-4) var(--sp-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  transition:
    transform var(--dur-base) var(--ease-spring),
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out);
  will-change: transform;
  cursor: default;
}

/* Gradient top border accent */
.ind-tile-border {
  position: absolute;
  left: 25%;
  right: 25%;
  top: -1px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), var(--accent-pink), transparent);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.ind-tile:hover .ind-tile-border {
  opacity: 0.75;
}

.ind-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.22);
  box-shadow:
    0 20px 48px rgba(139, 92, 246, 0.13),
    0 6px 16px rgba(0, 0, 0, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

/* --- Icon wrapper --- */
.ind-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-out),
    transform var(--dur-base) var(--ease-spring),
    box-shadow var(--dur-base) var(--ease-out);
}

.ind-tile:hover .ind-icon-wrap {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.3);
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.22);
}

/* --- Title --- */
.ind-title {
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  letter-spacing: 0em;
  transition: color var(--dur-base) var(--ease-out);
}

.ind-tile:hover .ind-title {
  color: var(--text-primary);
}

/* Focus state for keyboard nav */
.ind-tile:focus-within {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
}

/* ============================================================
   SECTION 16 — CALL TO ACTION (#cta)
   ============================================================ */

.cta-section {
  position: relative;
  padding: var(--sp-12) var(--sp-6);
  overflow: hidden;
  background: var(--bg-dark);
}

/* Background */
.cta-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.cta-orb-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.28) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: ctaOrbFloat1 8s ease-in-out infinite;
}

.cta-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 65%);
  top: 50%;
  left: 50%;
  transform: translate(-40%, -60%);
  animation: ctaOrbFloat2 11s ease-in-out infinite;
}

.cta-grad-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(44, 16, 101, 0.55) 0%, transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(11, 15, 26, 0.5) 100%);
}

@keyframes ctaOrbFloat1 {
  0%, 100% { transform: translate(-50%, -50%) scale(1);   }
  50%       { transform: translate(-50%, -55%) scale(1.08); }
}
@keyframes ctaOrbFloat2 {
  0%, 100% { transform: translate(-40%, -60%) scale(1);   }
  50%       { transform: translate(-44%, -56%) scale(1.06); }
}

/* Inner */
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* Glass panel */
.cta-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  padding: var(--sp-10) var(--sp-10);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  max-width: 760px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 0 80px rgba(139, 92, 246, 0.12),
    0 32px 64px rgba(0, 0, 0, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.cta-panel-border {
  position: absolute;
  left: 20%;
  right: 20%;
  top: -1px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), var(--accent-pink), transparent);
  border-radius: 0 0 2px 2px;
  opacity: 0.8;
}

.cta-eyebrow {
  justify-content: center;
  margin-bottom: var(--sp-4);
}

.cta-heading {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-4);
}

.cta-heading-grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-body {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto var(--sp-7);
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
}

/* White CTA button */
.btn-cta-white {
  background: var(--grad-brand);
  color: var(--text-primary);
  box-shadow: var(--shadow-btn);
  border: none;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  will-change: transform;
}

.btn-cta-white::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.btn-cta-white:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 40px rgba(139, 92, 246, 0.55), 0 2px 12px rgba(244, 114, 182, 0.3);
}

.btn-cta-white:hover::before { opacity: 1; }
.btn-cta-white:active { transform: translateY(0) scale(0.98); }
.btn-cta-white:hover .btn-arrow { transform: translateX(4px); }

.btn-cta-white:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
}

.cta-email-line {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cta-email-anchor {
  color: var(--accent-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 132, 252, 0.35);
  transition: color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out);
}

.cta-email-anchor:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   SECTION 17 — CONTACT (#contact)
   ============================================================ */

.contact-section {
  position: relative;
  padding: var(--sp-12) 0;
  background: var(--bg-dark);
  overflow: hidden;
}

/* Background */
.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.contact-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
  transition: opacity 1.2s ease;
}

.contact-section.in-view .contact-orb {
  opacity: 1;
}

.contact-orb-1 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
  top: -100px;
  left: -120px;
}

.contact-orb-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.12) 0%, transparent 70%);
  bottom: -80px;
  right: -80px;
}

.contact-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.contact-section.in-view .contact-grid-overlay {
  opacity: 1;
}

/* Inner */
.contact-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* Header */
.contact-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--sp-10);
}

.contact-heading {
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-top: var(--sp-3);
}

.contact-heading-grad {
  display: block;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subheading {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: var(--sp-3);
}

/* Two-column layout */
.contact-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-6);
  align-items: start;
}

/* --- Form card --- */
.contact-form-card {
  position: relative;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 2.75rem 2.75rem 2.5rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 0 0 1px rgba(139, 92, 246, 0.06) inset,
    0 12px 48px rgba(0, 0, 0, 0.36),
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.cfc-border {
  position: absolute;
  left: 20%;
  right: 20%;
  top: -1px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, var(--accent-purple), var(--accent-pink), transparent);
  opacity: 0.6;
}

/* Honeypot */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Form layout */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
}

.cf-row {
  display: flex;
  gap: 1.25rem;
}

.cf-row-2 > .cf-field {
  flex: 1;
  min-width: 0;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Labels */
.cf-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.015em;
  margin-bottom: 0.1rem;
}

.cf-required {
  color: var(--accent-pink);
  font-size: 0.75rem;
  margin-left: 2px;
}

.cf-optional {
  color: var(--text-muted);
  font-size: 0.73rem;
  font-weight: 400;
  margin-left: 3px;
}

/* Inputs + Textarea */
.cf-input,
.cf-select,
.cf-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  padding: 0.8125rem 1rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-family: inherit;
  line-height: 1.5;
  transition:
    border-color var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    background var(--dur-base) var(--ease-out);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.cf-input::placeholder,
.cf-textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

.cf-input:hover,
.cf-select:hover,
.cf-textarea:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.cf-input:focus,
.cf-select:focus,
.cf-textarea:focus {
  border-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.06);
  box-shadow:
    0 0 0 3px rgba(139, 92, 246, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.24);
}

/* Validation states */
.cf-input.is-invalid,
.cf-select.is-invalid,
.cf-textarea.is-invalid {
  border-color: rgba(248, 113, 113, 0.6);
  box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.12);
}

.cf-input.is-valid,
.cf-select.is-valid {
  border-color: rgba(52, 211, 153, 0.5);
}

.cf-error {
  font-size: 0.73rem;
  color: #F87171;
  min-height: 1.1em;
  line-height: 1.4;
  padding-left: 2px;
  margin-top: 0.1rem;
}

/* Select wrapper */
.cf-select-wrap {
  position: relative;
}

.cf-select {
  padding-right: 2.25rem;
  cursor: pointer;
  color: var(--text-primary);
}

.cf-select option {
  background: #1A0F2E;
  color: var(--text-primary);
}

.cf-select-arrow {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

/* Textarea */
.cf-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.65;
  padding-top: 0.875rem;
}

/* Submit button */
.cf-submit-btn {
  width: 100%;
  justify-content: center;
  position: relative;
  min-height: 52px;
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border-radius: 12px;
}

.cf-submit-btn[aria-busy="true"] .cf-submit-label,
.cf-submit-btn[aria-busy="true"] .cf-submit-arrow {
  opacity: 0;
}

.cf-submit-btn[aria-busy="true"] .cf-spinner {
  opacity: 1;
}

.cf-spinner {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #FFFFFF;
  border-radius: 50%;
  opacity: 0;
  animation: cfSpin 0.7s linear infinite;
  transition: opacity var(--dur-fast) var(--ease-out);
}

@keyframes cfSpin {
  to { transform: rotate(360deg); }
}

/* Success message */
.cf-success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
  gap: var(--sp-3);
  animation: fadeUp 0.5s var(--ease-out) both;
}

.cf-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cf-success-heading {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

.cf-success-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 360px;
}

/* --- Info card --- */
.contact-info-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: var(--sp-6) var(--sp-6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.24),
    0 1px 0 rgba(255, 255, 255, 0.04) inset;
  height: fit-content;
}

.cic-border {
  position: absolute;
  left: 25%;
  right: 25%;
  top: -1px;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: linear-gradient(90deg, transparent, var(--accent-pink), var(--accent-purple), transparent);
  opacity: 0.55;
}

.cic-heading {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}

.cic-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.cic-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
}

.cic-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.cic-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cic-label {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cic-value {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cic-link {
  color: var(--accent-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(192, 132, 252, 0.3);
  transition:
    color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out);
}

.cic-link:hover {
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
}

.cic-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: var(--sp-5) 0;
}

.cic-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   18. FOOTER
   ============================================================ */

.site-footer {
  position: relative;
  overflow: hidden;
  /* Deep navy + subtle purple tint — closes the page cleanly */
  background: linear-gradient(180deg, #090D1E 0%, #0B0F1A 60%, #07091A 100%);
}

/* ── Background texture system ── */
.footer-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Radial glow bleeding in from the top (connects to CTA above) */
.footer-glow-top {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 720px;
  height: 260px;
  background: radial-gradient(
    ellipse,
    rgba(139, 92, 246, 0.12) 0%,
    transparent 68%
  );
  filter: blur(40px);
}

/* Soft upward glow from the floor */
.footer-glow-bottom {
  position: absolute;
  bottom: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 320px;
  background: radial-gradient(
    ellipse,
    rgba(124, 58, 237, 0.1) 0%,
    rgba(139, 92, 246, 0.05) 40%,
    transparent 70%
  );
  filter: blur(52px);
}

/* Dot-grid texture */
.footer-dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: radial-gradient(circle, rgba(139, 92, 246, 0.9) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 30%, transparent 100%);
}

/* SVG fractal noise grain */
.footer-noise {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* Top gradient divider line */
.footer-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent              0%,
    rgba(139, 92, 246, 0.38) 22%,
    rgba(236, 72, 153, 0.3)  50%,
    rgba(139, 92, 246, 0.38) 78%,
    transparent              100%
  );
}

/* ── Centered content stack ── */
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: var(--sp-11) var(--sp-6) var(--sp-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* ── Wordmark ── */
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-3);
  transition: opacity 0.25s ease;
}

.footer-logo:hover { opacity: 0.75; }

.footer-logo-v {
  font-size: 1.5rem;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo-eloryx {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.04em;
}

.footer-logo-ai {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.04em;
  opacity: 0.8;
  align-self: center;
  padding-bottom: 2px;
}

/* ── Tagline ── */
.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(199, 201, 217, 0.55);
  font-weight: 400;
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

/* ── Navigation: two centered rows ── */
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  margin-bottom: var(--sp-3);
}

.footer-nav-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

/* Pipe separators between nav items */
.footer-nav-row li + li::before {
  content: '|';
  color: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  padding: 0 2px;
  pointer-events: none;
  display: inline-block;
  vertical-align: middle;
}

/* ── Nav links ── */
.footer-link {
  position: relative;
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(199, 201, 217, 0.55);
  text-decoration: none;
  padding: 6px 12px;
  transition: color 0.22s ease;
}

/* Center-out underline on hover */
.footer-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  right: 50%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
  transition:
    left  0.3s cubic-bezier(0.23, 1, 0.32, 1),
    right 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 1px;
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-link:hover::after {
  left: 12px;
  right: 12px;
}

.footer-link:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Social pills row ── */
.footer-social {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(199, 201, 217, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 9px 18px 9px 13px;
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition:
    color        0.25s ease,
    background   0.25s ease,
    border-color 0.25s ease,
    transform    0.32s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-social-link svg {
  flex-shrink: 0;
  transition: transform 0.32s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-social-link:hover {
  color: #FFFFFF;
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(139, 92, 246, 0.36);
  transform: translateY(-2px);
}

.footer-social-link:hover svg {
  transform: scale(1.12);
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 4px;
  border-radius: 10px;
}

/* ── Bottom bar ── */
.footer-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: var(--sp-2);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(156, 163, 175, 0.35);
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* ── Col 1: Brand ── */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-logo {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  letter-spacing: -0.03em;
  line-height: 1;
  width: fit-content;
  transition: opacity 0.25s ease;
}

.footer-logo:hover { opacity: 0.75; }

.footer-logo-v {
  font-size: 1.375rem;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-logo-eloryx {
  font-size: 1.375rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.04em;
}

.footer-logo-ai {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  letter-spacing: 0.04em;
  opacity: 0.8;
  align-self: center;
  padding-bottom: 2px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(199, 201, 217, 0.65);
  line-height: 1.65;
  font-weight: 400;
  max-width: 280px;
  margin-top: var(--sp-1);
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(156, 163, 175, 0.38);
  line-height: 1.5;
  margin-top: var(--sp-4);
  /*padding-top: var(--sp-4);*/
  padding-bottom: 20px;
  /*border-top: 1px solid rgba(255, 255, 255, 0.05);*/
}

/* ── Col 2 & 3: column labels ── */
.footer-col-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 0 var(--sp-4) 0;
}

/* ── Link lists ── */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.footer-link {
  position: relative;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(199, 201, 217, 0.6);
  text-decoration: none;
  padding: 5px 0;
  transition: color 0.22s ease;
}

/* Underline grows from left on hover */
.footer-link::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
  transition: width 0.28s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 1px;
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-link:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Col 3: Nav & Legal layout ── */
.footer-nav,
.footer-legal {
  display: flex;
  flex-direction: column;
}

/* ── Social — LinkedIn pill ── */
.footer-social {
  margin-top: var(--sp-5);
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(199, 201, 217, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition:
    color        0.25s ease,
    background   0.25s ease,
    border-color 0.25s ease,
    transform    0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-social-link svg {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-social-link:hover {
  color: #FFFFFF;
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.footer-social-link:hover svg {
  transform: scale(1.1);
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 3px;
  border-radius: 8px;
}
