/* ============================================
   haiil — Premium Light Mode Landing Page
   Palette: Pure White + Black + #6D28D9 accent
   Fonts: Outfit (logo/display) + Plus Jakarta Sans (body)
   ============================================ */

/* ---- RESET & VARIABLES ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Light Mode Core — Pure White + Black */
  --bg: #FFFFFF;
  --bg-cream: #F7F7F8;
  --bg-alt: #F2F2F3;
  --bg-card: #FFFFFF;
  --bg-dark: #0A0A0B;

  /* Text — heavier blacks */
  --text-primary: #000000;
  --text-secondary: #333333;
  --text-tertiary: #777777;
  --text-light: #AAAAAA;
  --text-on-dark: #FFFFFF;
  --text-on-dark-muted: #9A9A9F;

  /* Grays — cooler, less warm */
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-300: #D0D0D0;
  --gray-400: #999999;
  --gray-500: #666666;
  --gray-600: #444444;
  --gray-700: #333333;
  --gray-800: #1A1A1A;
  --gray-900: #0D0D0D;

  /* Accent */
  --accent: #6D28D9;
  --accent-light: #8B5CF6;
  --accent-lighter: #A78BFA;
  --accent-dark: #5B21B6;
  --accent-bg: rgba(109, 40, 217, 0.06);
  --accent-bg-hover: rgba(109, 40, 217, 0.1);
  --accent-glow: rgba(109, 40, 217, 0.25);

  /* Typography */
  --font-logo: 'Outfit', sans-serif;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Spacing */
  --section-py: clamp(80px, 10vw, 160px);
  --container-max: 1280px;
  --container-px: clamp(20px, 5vw, 48px);

  /* Border Radius */
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-2xl: 44px;
  --r-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);
}

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

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

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

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

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

.section {
  padding: var(--section-py) 0;
  position: relative;
}

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

/* Services section gets a richer background */
#services.section-alt {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(109, 40, 217, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(139, 92, 246, 0.03) 0%, transparent 50%),
    var(--bg-cream);
  position: relative;
  overflow: hidden;
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

/* ---- LOADER ---- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  clip-path: circle(150% at 50% 50%);
}

/* Animated gradient background */
.loader-bg-gradient {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%,
      rgba(109, 40, 217, 0.08) 0deg,
      transparent 60deg,
      rgba(139, 92, 246, 0.06) 120deg,
      transparent 180deg,
      rgba(167, 139, 250, 0.04) 240deg,
      transparent 300deg,
      rgba(109, 40, 217, 0.08) 360deg);
  animation: loader-bg-spin 8s linear infinite;
}

@keyframes loader-bg-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Floating particles */
.loader-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.loader-particle {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--accent-light);
  left: var(--x);
  top: var(--y);
  opacity: 0;
  animation: loader-particle-float var(--dur) var(--delay) ease-in-out infinite;
}

@keyframes loader-particle-float {

  0%,
  100% {
    opacity: 0;
    transform: translate(0, 0) scale(0.5);
  }

  20% {
    opacity: 0.6;
  }

  50% {
    opacity: 0.8;
    transform: translate(calc(var(--x) * -0.3), -40px) scale(1);
  }

  80% {
    opacity: 0.4;
  }
}

/* Loader inner content */
.loader-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

/* Orbit wrapper */
.loader-orbit-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbital rings */
.loader-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid transparent;
  top: 50%;
  left: 50%;
}

.loader-orbit-1 {
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%);
  border-color: rgba(109, 40, 217, 0.25);
  animation: loader-orbit-spin-1 3s linear infinite;
}

.loader-orbit-2 {
  width: 130px;
  height: 130px;
  transform: translate(-50%, -50%);
  border-color: rgba(139, 92, 246, 0.15);
  border-style: dashed;
  animation: loader-orbit-spin-2 5s linear infinite reverse;
}

.loader-orbit-3 {
  width: 158px;
  height: 158px;
  transform: translate(-50%, -50%);
  border-color: rgba(167, 139, 250, 0.08);
  animation: loader-orbit-spin-1 8s linear infinite;
}

/* Small glowing dots on orbital rings */
.loader-orbit-1::after,
.loader-orbit-2::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 10px var(--accent-glow), 0 0 20px rgba(109, 40, 217, 0.3);
}

.loader-orbit-1::after {
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
}

.loader-orbit-2::after {
  bottom: -3px;
  right: 20%;
}

@keyframes loader-orbit-spin-1 {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes loader-orbit-spin-2 {
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

/* Logo glow behind icon */
.loader-logo-glow {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.3), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: loader-glow-pulse 2s ease-in-out infinite;
}

@keyframes loader-glow-pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 1;
  }
}

/* Logo icon */
.loader-logo-icon {
  width: 56px;
  height: 56px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(109, 40, 217, 0.4));
  opacity: 0;
  transform: scale(0.5) rotate(-20deg);
}

/* Brand letters */
.loader-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-bottom: 36px;
}

.loader-letter {
  font-family: var(--font-logo);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -2px;
  color: #fff;
  opacity: 0;
  transform: translateY(30px) scale(0.8);
  display: inline-block;
}

/* Progress bar */
.loader-bar {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--r-full);
  overflow: visible;
  margin: 0 auto 20px;
  position: relative;
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: var(--r-full);
  position: relative;
}

/* Glow that follows the progress bar tip */
.loader-progress-glow {
  position: absolute;
  top: 50%;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-light);
  transform: translate(50%, -50%);
  box-shadow: 0 0 12px var(--accent-glow), 0 0 30px rgba(109, 40, 217, 0.25);
  opacity: 0;
}

/* Bottom info */
.loader-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.loader-counter {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 1px;
  min-width: 36px;
  opacity: 0;
}

.loader-status {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0;
}


/* ---- LOGO COMPONENT ---- */
.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}

.logo-icon-lg {
  width: 52px;
  height: 52px;
}

.logo-icon-eco {
  width: 44px;
  height: 44px;
}

.logo-wordmark {
  font-family: var(--font-logo);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text-primary);
  position: relative;
  transition: color 0.3s var(--ease);
}

.logo-wordmark-lg {
  font-size: 40px;
  letter-spacing: -2.5px;
}

/* Logo hover animation */
.nav-logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.1);
  filter: drop-shadow(0 4px 12px var(--accent-glow));
}

.nav-logo:hover .logo-wordmark {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- NAVIGATION ---- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), box-shadow 0.5s var(--ease), border-radius 0.5s var(--ease), width 0.5s var(--ease), margin 0.5s var(--ease);
  will-change: padding, background;
}

#navbar.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.04);
  width: 95%;
  margin: 0 auto;
  margin-top: 10px;
  border-radius: 80px;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  transition: .5s ease;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.4s var(--ease);
}

.nav-logo:hover {
  opacity: 1;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.4s var(--ease);
  position: relative;
  letter-spacing: 0.1px;
  padding: 6px 14px;
  border-radius: var(--r-full);
}

/* Glowing pill background on hover */
.nav-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-full);
  background: var(--accent-bg);
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.4s var(--ease);
  z-index: -1;
}

/* Active dot indicator below link */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.4s var(--ease);
  box-shadow: 0 0 8px var(--accent-glow);
}

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

.nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav-link:hover::after,
.nav-link.active-nav::after {
  transform: translateX(-50%) scale(1);
}

.nav-link.active-nav {
  color: var(--accent);
}

.nav-link.active-nav::before {
  opacity: 0.7;
  transform: scale(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: var(--r-full);
  background: var(--text-primary);
  color: var(--bg);
  transition: all 0.4s var(--ease);
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Gradient sweep on hover */
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% 100%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  animation: gradient-sweep 3s ease infinite;
}

@keyframes gradient-sweep {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.nav-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow), 0 0 0 1px rgba(109, 40, 217, 0.15);
}

.nav-cta:hover::before {
  opacity: 1;
}

.nav-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--r-full);
  transition: all 0.4s var(--ease);
  transform-origin: center;
}

.nav-menu-btn.active span:first-child {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.nav-menu-btn.active span:last-child {
  transform: rotate(-45deg) translate(3px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(40px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-link {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-tertiary);
  transition: all 0.3s;
  transform: translateY(20px);
  opacity: 0;
}

.mobile-menu.active .mobile-link {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.active .mobile-link:nth-child(1) {
  transition-delay: 0.1s;
}

.mobile-menu.active .mobile-link:nth-child(2) {
  transition-delay: 0.15s;
}

.mobile-menu.active .mobile-link:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-menu.active .mobile-link:nth-child(4) {
  transition-delay: 0.25s;
}

.mobile-menu.active .mobile-link:nth-child(5) {
  transition-delay: 0.3s;
}

.mobile-menu.active .mobile-link:nth-child(6) {
  transition-delay: 0.35s;
}

.mobile-link:hover {
  color: var(--text-primary);
}

.mobile-cta-link {
  color: var(--accent) !important;
}

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, var(--bg) 80%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: 0 var(--container-px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: var(--r-full);
  border: 1px solid rgba(109, 40, 217, 0.2);
  background: var(--accent-bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.3px;
  margin-top: 80px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.6);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 100px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -4px;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-word {
  display: inline-block;
  transform: translateY(120%);
}

.accent-line .title-word {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px);
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 400;
  max-width: 540px;
  margin: 0 auto 44px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  margin-bottom: 30px;
  transform: translateY(20px);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--r-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.4s var(--ease);
  position: relative;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  border: 1.5px solid var(--gray-300);
  color: var(--text-primary);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 15px;
}

/* ---- SCROLL INDICATOR ---- */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  display: none;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border-radius: 14px;
  border: 2px solid var(--gray-300);
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  border-radius: var(--r-full);
  background: var(--accent);
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {

  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.3;
    transform: translateY(8px);
  }
}

.hero-scroll-indicator span {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
}

/* ---- MARQUEE ---- */
.marquee-section {
  padding: 28px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  background: var(--bg);
  position: relative;
}

/* Gradient fade edges on marquee */
.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.marquee-section::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.marquee-section::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  white-space: nowrap;
}

.marquee-content span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.4s var(--ease);
}

.marquee-content span:not(.marquee-sep):hover {
  color: var(--accent);
}

.marquee-sep {
  color: var(--accent) !important;
  font-size: 8px !important;
  filter: drop-shadow(0 0 6px var(--accent-glow));
  animation: marquee-sep-pulse 2s ease-in-out infinite;
}

@keyframes marquee-sep-pulse {

  0%,
  100% {
    filter: drop-shadow(0 0 4px var(--accent-glow));
  }

  50% {
    filter: drop-shadow(0 0 12px var(--accent-glow)) drop-shadow(0 0 20px rgba(109, 40, 217, 0.15));
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---- SECTION HEADERS ---- */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.section-dark .section-title {
  color: var(--text-on-dark);
}

.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 560px;
  font-weight: 400;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-header .section-desc {
  margin: 0 auto;
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform 0.5s var(--ease);
}

.stat-item:hover {
  transform: translateY(-4px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -2px;
  line-height: 1;
  transition: text-shadow 0.5s var(--ease);
}

.stat-item:hover .stat-number {
  text-shadow: 0 0 30px rgba(109, 40, 217, 0.15);
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(109, 40, 217, 0.2);
}

.stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 4px;
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Bento layout — first card is featured and spans 2 columns */
.service-card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
}

.service-card:first-child .service-icon-wrap {
  width: 56px;
  height: 56px;
  margin-bottom: 0;
}

.service-card:first-child .service-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.service-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(109, 40, 217, 0.08);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease), background 0.5s var(--ease);
  position: relative;
  overflow: hidden;
  will-change: transform;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 4px 16px rgba(0, 0, 0, 0.02),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Top accent bar */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent-lighter));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}

/* Mouse-following glow overlay */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  background: radial-gradient(350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(109, 40, 217, 0.06), transparent 60%);
}

.service-card:hover {
  border-color: rgba(109, 40, 217, 0.2);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(109, 40, 217, 0.12),
    0 0 60px rgba(109, 40, 217, 0.06),
    0 0 100px rgba(109, 40, 217, 0.03);
}

.service-card:hover::before {
  transform: scaleX(1);
}

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

.service-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.5s var(--ease);
  position: relative;
}

/* Animated gradient ring on hover */
.service-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-light), var(--accent-lighter), var(--accent));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
  animation: icon-ring-spin 4s linear infinite;
}

@keyframes icon-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

.service-icon-wrap svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  transition: all 0.4s var(--ease);
}

.service-card:hover .service-icon-wrap {
  background: var(--accent);
  box-shadow: 0 6px 20px var(--accent-glow);
  transform: scale(1.08);
}

.service-card:hover .service-icon-wrap::before {
  opacity: 1;
}

.service-card:hover .service-icon-wrap svg {
  color: #fff;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--r-full);
  background: rgba(109, 40, 217, 0.04);
  color: var(--text-tertiary);
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  transition: all 0.4s var(--ease);
}

.service-card:hover .service-tags span {
  background: var(--accent-bg);
  color: var(--accent);
  border-color: rgba(109, 40, 217, 0.15);
  box-shadow: 0 2px 8px rgba(109, 40, 217, 0.06);
}

/* ---- SHOWCASE ---- */
.showcase-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.showcase-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.showcase-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.showcase-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
}

.list-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

/* Glass Card */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(109, 40, 217, 0.1);
  border-radius: var(--r-xl);
  padding: 40px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset,
    0 0 80px rgba(109, 40, 217, 0.04);
  position: relative;
  overflow: hidden;
  animation: glass-float 6s ease-in-out infinite;
}

@keyframes glass-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.glass-card::before {
  content: '';
  position: absolute;
  top: -80%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.08) 0%, transparent 70%);
  opacity: 1;
  pointer-events: none;
  animation: glass-orb-drift 8s ease-in-out infinite alternate;
}

@keyframes glass-orb-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(-40px, 40px) scale(1.2);
  }
}

/* Shimmer sweep across the glass card */
.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: glass-shimmer 5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes glass-shimmer {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}

.card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.6), 0 0 40px rgba(34, 197, 94, 0.2);
    transform: scale(1.2);
  }
}

.card-label {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.card-metric {
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -3px;
  color: var(--text-primary);
  background: linear-gradient(135deg, var(--text-primary) 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.metric-unit {
  font-size: 28px;
  color: var(--accent);
}

.metric-label {
  display: block;
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
  font-weight: 500;
}

.card-bars {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bar-label {
  font-size: 13px;
  color: var(--text-tertiary);
  width: 72px;
  flex-shrink: 0;
  font-weight: 500;
}

.bar-track {
  flex: 1;
  height: 6px;
  background: var(--gray-100);
  border-radius: var(--r-full);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: var(--r-full);
  width: 0%;
  transition: width 1.5s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(109, 40, 217, 0.3);
}

/* Shimmer animation on progress bars */
.bar-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: bar-shimmer 2.5s ease-in-out infinite;
}

@keyframes bar-shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.bar-val {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 600;
  width: 36px;
  text-align: right;
}

/* ---- PRODUCTS ---- */
.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-2xl);
  padding: 60px;
  margin-bottom: 24px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  overflow: hidden;
  position: relative;
  will-change: transform;
}

.product-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.04), transparent 70%);
  pointer-events: none;
}

.product-hero:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.product-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--r-full);
  background: var(--accent);
  color: #fff;
  margin-bottom: 16px;
}

.product-hero-text h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -1.5px;
}

.product-hero-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-features span {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--gray-200);
  color: var(--text-secondary);
  transition: all 0.3s;
}

.product-hero:hover .product-features span,
.product-card:hover .product-features span {
  border-color: rgba(109, 40, 217, 0.2);
  color: var(--accent);
  background: var(--accent-bg);
}

.product-hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-hero-image img {
  max-height: 360px;
  object-fit: contain;
  filter:
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.05)) drop-shadow(0 16px 32px rgba(0, 0, 0, 0.1)) drop-shadow(0 32px 64px rgba(0, 0, 0, 0.05));
  transition: transform 0.6s var(--ease);
}

.product-hero:hover .product-hero-image img {
  transform: scale(1.05) rotate(-2deg) translateY(-8px);
  filter:
    drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08)) drop-shadow(0 24px 48px rgba(0, 0, 0, 0.14)) drop-shadow(0 48px 80px rgba(0, 0, 0, 0.06));
}

/* Product Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.product-card:hover {
  border-color: rgba(109, 40, 217, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(109, 40, 217, 0.06);
}

.product-card-image {
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(109, 40, 217, 0.03) 0%, transparent 50%),
    linear-gradient(180deg, var(--gray-50) 0%, var(--bg-cream) 100%);
  min-height: 280px;
  overflow: hidden;
  position: relative;
}

/* Inner shadow for depth */
.product-card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  pointer-events: none;
}

.product-card-image img {
  max-height: 220px;
  object-fit: contain;
  /* Multi-layered shadow for realistic depth */
  filter:
    drop-shadow(0 4px 6px rgba(0, 0, 0, 0.04)) drop-shadow(0 12px 24px rgba(0, 0, 0, 0.08)) drop-shadow(0 24px 48px rgba(0, 0, 0, 0.04));
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}

.product-card:hover .product-card-image img {
  transform: scale(1.08) translateY(-12px);
  /* Stronger shadow when lifted */
  filter:
    drop-shadow(0 8px 12px rgba(0, 0, 0, 0.06)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12)) drop-shadow(0 40px 80px rgba(0, 0, 0, 0.06));
}

.product-card-body {
  padding: 28px;
}

.product-card-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.product-card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ---- ECOSYSTEM ---- */
.eco-diagram {
  position: relative;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 1;
  min-height: 560px;
  margin: 0 auto;
  overflow: visible;
}

.eco-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}

.eco-core {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px var(--accent-glow), 0 0 100px rgba(109, 40, 217, 0.12);
}

.eco-core span {
  font-family: var(--font-logo);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
}

.eco-core small {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
}

.eco-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
}

.eco-orbit-1 {
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
  animation: orbit-rotate 70s linear infinite;
}

.eco-orbit-2 {
  width: 560px;
  height: 560px;
  transform: translate(-50%, -50%);
  animation: orbit-rotate 100s linear infinite reverse;
}

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

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

.eco-node {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(180px) rotate(calc(-1 * var(--angle)));
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  z-index: 2;
}

.eco-orbit-2 .eco-node {
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(280px) rotate(calc(-1 * var(--angle)));
}

.eco-node-sm {
  width: 48px;
  height: 48px;
  font-size: 18px;
}

.eco-node::after {
  content: attr(data-label);
  position: absolute;
  bottom: -22px;
  font-size: 9px;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
  white-space: nowrap;
  font-weight: 600;
  animation: counter-rotate 70s linear infinite reverse;
}

.eco-orbit-2 .eco-node::after {
  animation: counter-rotate 100s linear infinite;
}

@keyframes counter-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.eco-node:hover {
  background: var(--accent-bg-hover);
  border-color: var(--accent);
  box-shadow: 0 8px 30px var(--accent-glow);
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(180px) rotate(calc(-1 * var(--angle))) scale(1.15);
}

/* ---- VISION ---- */
.vision-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.vision-timeline {
  position: relative;
  padding-left: 36px;
}

.vision-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 11px;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), rgba(255, 255, 255, 0.1));
  border-radius: var(--r-full);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

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

.timeline-marker {
  position: absolute;
  left: -36px;
  top: 4px;
}

.timeline-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.timeline-dot.active {
  border-color: var(--accent);
}

.timeline-dot.active::after {
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
}

.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
  color: var(--text-on-dark);
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-on-dark-muted);
  line-height: 1.7;
}

/* ---- CTA ---- */
.cta-section {
  background: var(--bg);
}

.cta-block {
  text-align: center;
  padding: 80px 48px;
  border-radius: var(--r-2xl);
  background: linear-gradient(135deg, rgba(109, 40, 217, 0.03), rgba(139, 92, 246, 0.02), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(109, 40, 217, 0.1);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%,
      transparent 0deg,
      rgba(109, 40, 217, 0.03) 60deg,
      transparent 120deg,
      rgba(139, 92, 246, 0.04) 180deg,
      transparent 240deg,
      rgba(167, 139, 250, 0.03) 300deg,
      transparent 360deg);
  animation: cta-rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes cta-rotate {
  to {
    transform: rotate(360deg);
  }
}

/* Floating glow orb behind CTA */
.cta-block::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.08), transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: cta-glow-pulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cta-glow-pulse {

  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.5;
  }

  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
  }
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

/* ---- FOOTER ---- */
#footer {
  padding: 72px 0 36px;
  border-top: 1px solid var(--gray-200);
  background:
    radial-gradient(ellipse at 10% 90%, rgba(109, 40, 217, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(139, 92, 246, 0.02) 0%, transparent 50%),
    var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  transition: all 0.4s var(--ease);
}

.footer-logo .logo-wordmark {
  font-size: 28px;
  letter-spacing: -2px;
}

.footer-logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.1);
  filter: drop-shadow(0 4px 12px var(--accent-glow));
}

.footer-logo:hover .logo-wordmark {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  transition: all 0.4s var(--ease);
  position: relative;
}

.social-link:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 14px;
  color: var(--text-tertiary);
  transition: color 0.3s;
  font-weight: 400;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--text-light);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-light);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--accent);
}

/* ---- FLOATING GRADIENT BLOBS ---- */
.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(109, 40, 217, 0.12), transparent 70%);
  top: 10%;
  left: -5%;
  animation: blob-drift-1 12s ease-in-out infinite;
}

.blob-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.10), transparent 70%);
  bottom: 10%;
  right: -5%;
  animation: blob-drift-2 14s ease-in-out infinite;
}

.blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08), transparent 70%);
  top: 40%;
  left: 50%;
  animation: blob-drift-3 16s ease-in-out infinite;
}

@keyframes blob-drift-1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(40px, -30px) scale(1.15);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@keyframes blob-drift-2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-50px, 30px) scale(1.1);
  }

  66% {
    transform: translate(30px, -40px) scale(0.95);
  }
}

@keyframes blob-drift-3 {

  0%,
  100% {
    transform: translate(-50%, 0) scale(1);
  }

  50% {
    transform: translate(-50%, -30px) scale(1.2);
  }
}

/* ---- WAVE SECTION DIVIDERS ---- */
.wave-divider {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

.wave-divider-flip {
  transform: rotate(180deg);
  margin-top: 0;
  margin-bottom: -2px;
}

/* ---- SHOWCASE SECTION ENHANCEMENTS ---- */
#showcase {
  position: relative;
  overflow: hidden;
}

/* Decorative ring behind showcase card */
.showcase-visual {
  position: relative;
}

.showcase-visual::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  border: 2px solid rgba(109, 40, 217, 0.06);
  border-radius: 50%;
  animation: showcase-ring-rotate 30s linear infinite;
  pointer-events: none;
}

.showcase-visual::after {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  top: -20%;
  left: -20%;
  border: 1px dashed rgba(109, 40, 217, 0.04);
  border-radius: 50%;
  animation: showcase-ring-rotate 45s linear infinite reverse;
  pointer-events: none;
}

@keyframes showcase-ring-rotate {
  to {
    transform: rotate(360deg);
  }
}

/* ---- ANIMATED GRADIENT TEXT ACCENTS ---- */
.accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--accent-lighter), var(--accent));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-text-shift 6s ease infinite;
}

@keyframes gradient-text-shift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ---- SECTION EYEBROW ENHANCEMENTS ---- */
.section-eyebrow {
  position: relative;
  padding-left: 20px;
}

.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: eyebrow-dot-pulse 2s ease-in-out infinite;
}

@keyframes eyebrow-dot-pulse {

  0%,
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }

  50% {
    transform: translateY(-50%) scale(1.4);
    opacity: 0.6;
  }
}

/* ---- BUTTON RIPPLE EFFECT ---- */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s var(--ease), height 0.6s var(--ease);
}

.btn-primary:hover::after {
  width: 300px;
  height: 300px;
}

/* ---- PRODUCT CARD SHINE EFFECT ---- */
.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.8s var(--ease);
  z-index: 1;
  pointer-events: none;
}

.product-card:hover::before {
  left: 150%;
}

/* ---- HERO BADGE GLOW ---- */
.hero-badge {
  box-shadow: 0 0 20px rgba(109, 40, 217, 0.1), 0 0 40px rgba(109, 40, 217, 0.05);
  animation: badge-glow 3s ease-in-out infinite;
}

@keyframes badge-glow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(109, 40, 217, 0.1), 0 0 40px rgba(109, 40, 217, 0.05);
  }

  50% {
    box-shadow: 0 0 30px rgba(109, 40, 217, 0.2), 0 0 60px rgba(109, 40, 217, 0.1);
  }
}

/* ---- ECOSYSTEM ENHANCED GLOW ---- */
.eco-core {
  animation: eco-core-pulse 4s ease-in-out infinite;
}

@keyframes eco-core-pulse {

  0%,
  100% {
    box-shadow: 0 0 50px var(--accent-glow), 0 0 100px rgba(109, 40, 217, 0.12);
  }

  50% {
    box-shadow: 0 0 70px var(--accent-glow), 0 0 140px rgba(109, 40, 217, 0.2), 0 0 200px rgba(109, 40, 217, 0.08);
  }
}

/* ---- VISION SECTION ENHANCED ---- */
.section-dark {
  background:
    radial-gradient(ellipse at 20% 80%, rgba(109, 40, 217, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    var(--bg-dark);
}

/* ---- REVEAL STATES ---- */
.reveal-up {
  opacity: 0;
  transform: translateY(36px);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {

  .about-grid,
  .showcase-block,
  .vision-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  /* Reset bento layout so first card doesn't span 2 cols */
  .service-card:first-child {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .service-card:first-child .service-icon-wrap {
    margin-bottom: 20px;
  }

  .product-hero {
    grid-template-columns: 1fr;
    padding: 40px;
  }

  .product-hero-image img {
    max-height: 280px;
  }

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

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

  .eco-orbit-2 {
    width: 460px;
    height: 460px;
  }

  .eco-orbit-2 .eco-node {
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(230px) rotate(calc(-1 * var(--angle)));
  }
}

@media (max-width: 768px) {

  /* Increase container padding on mobile */
  :root {
    --container-px: 20px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-menu-btn {
    display: flex;
  }

  /* Scrolled navbar: wider on mobile so content doesn't clip */
  #navbar.scrolled {
    width: 100%;
    margin-top: 0;
    border-radius: 0;
  }

  .hero-title {
    letter-spacing: -2px;
    font-size: clamp(42px, 11vw, 68px);
  }

  .hero-badge {
    margin-top: 60px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Section titles — prevent overflow */
  .section-title {
    font-size: clamp(30px, 8vw, 46px);
    letter-spacing: -1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

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

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

  /* Service cards — proper single column layout */
  .service-card {
    padding: 28px 22px;
  }

  .service-card:first-child {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .service-card:first-child .service-icon-wrap {
    margin-bottom: 20px;
  }

  /* About section — ensure text doesn't clip */
  .about-left,
  .about-right {
    width: 100%;
    overflow: hidden;
  }

  .about-text {
    font-size: 16px;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    text-align: center;
  }

  .stat-item {
    align-items: center;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-suffix {
    font-size: 24px;
  }

  .stat-label {
    font-size: 13px;
    text-align: center;
  }

  /* Showcase */
  .showcase-block {
    gap: 40px;
  }

  .glass-card {
    padding: 28px 22px;
  }

  .metric-value {
    font-size: 44px;
    letter-spacing: -2px;
  }

  .metric-unit {
    font-size: 24px;
  }

  /* Products */
  .product-hero {
    padding: 24px;
    gap: 32px;
  }

  .product-hero-text h3 {
    font-size: 30px;
  }

  .product-hero-image img {
    max-height: 220px;
  }

  .product-card-image {
    padding: 28px 20px;
    min-height: 220px;
  }

  .product-card-image img {
    max-height: 180px;
  }

  .product-card-body {
    padding: 22px;
  }

  /* Ecosystem diagram scaled for mobile */
  .eco-diagram {
    max-width: 340px;
    min-height: 400px;
  }

  .eco-orbit-1 {
    width: 240px;
    height: 240px;
  }

  .eco-orbit-2 {
    width: 340px;
    height: 340px;
  }

  .eco-node {
    width: 44px;
    height: 44px;
    font-size: 17px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle)));
  }

  .eco-orbit-2 .eco-node {
    width: 38px;
    height: 38px;
    font-size: 15px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(170px) rotate(calc(-1 * var(--angle)));
  }

  .eco-core {
    width: 80px;
    height: 80px;
  }

  .eco-core span {
    font-size: 17px;
  }

  .eco-node::after {
    font-size: 7px;
    bottom: -18px;
  }

  /* Vision */
  .vision-layout {
    gap: 40px;
  }

  .vision-timeline {
    padding-left: 32px;
  }

  .timeline-marker {
    left: -32px;
  }

  .timeline-dot {
    width: 20px;
    height: 20px;
  }

  .timeline-content h4 {
    font-size: 18px;
  }

  .timeline-content p {
    font-size: 15px;
  }

  /* CTA */
  .cta-block {
    padding: 48px 24px;
  }

  .cta-desc {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  #footer {
    padding: 48px 0 28px;
  }

  /* Section spacing */
  .section {
    padding: clamp(48px, 8vw, 80px) 0;
  }
}

/* Small phones */
@media (max-width: 480px) {

  :root {
    --container-px: 16px;
  }

  .hero-title {
    font-size: clamp(36px, 10vw, 52px);
    letter-spacing: -1.5px;
  }

  .hero-subtitle {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-badge {
    font-size: 13px;
    padding: 7px 18px;
    margin-top: 40px;
    margin-bottom: 28px;
  }

  .section-title {
    font-size: clamp(28px, 8vw, 38px);
    letter-spacing: -0.8px;
  }

  .section-eyebrow {
    font-size: 12px;
    letter-spacing: 2px;
  }

  .section-desc {
    font-size: 15px;
  }

  /* About stats go to stacked layout */
  .about-stats {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: left;
  }

  .stat-item {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }

  .stat-number {
    font-size: 38px;
    min-width: auto;
  }

  .stat-suffix {
    font-size: 26px;
  }

  .stat-label {
    font-size: 14px;
    text-align: left;
  }

  /* Showcase card */
  .showcase-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .showcase-desc {
    font-size: 15px;
  }

  .showcase-list li {
    font-size: 15px;
  }

  .bar-label {
    width: 60px;
    font-size: 13px;
  }

  /* Product hero */
  .product-hero {
    padding: 20px;
    gap: 24px;
  }

  .product-hero-text h3 {
    font-size: 26px;
    letter-spacing: -1px;
  }

  .product-hero-text p {
    font-size: 15px;
  }

  .product-hero-image img {
    max-height: 180px;
  }

  .product-badge {
    font-size: 11px;
    padding: 6px 14px;
  }

  .product-features span {
    font-size: 12px;
    padding: 6px 14px;
  }

  .product-card-image {
    padding: 24px 16px;
    min-height: 180px;
  }

  .product-card-image img {
    max-height: 150px;
  }

  .product-card-body {
    padding: 18px;
  }

  .product-card-body h3 {
    font-size: 20px;
  }

  .product-card-body p {
    font-size: 14px;
  }

  /* Ecosystem */
  .eco-diagram {
    max-width: 300px;
    min-height: 340px;
  }

  .eco-orbit-1 {
    width: 200px;
    height: 200px;
  }

  .eco-orbit-2 {
    width: 300px;
    height: 300px;
  }

  .eco-node {
    width: 38px;
    height: 38px;
    font-size: 14px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(100px) rotate(calc(-1 * var(--angle)));
  }

  .eco-orbit-2 .eco-node {
    width: 32px;
    height: 32px;
    font-size: 12px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(150px) rotate(calc(-1 * var(--angle)));
  }

  .eco-core {
    width: 64px;
    height: 64px;
  }

  .eco-core span {
    font-size: 14px;
  }

  .eco-core small {
    font-size: 7px;
  }

  .eco-node::after {
    display: none;
  }

  /* CTA */
  .cta-block {
    padding: 36px 18px;
  }

  .cta-title {
    font-size: clamp(28px, 8vw, 42px);
    letter-spacing: -1px;
  }

  .cta-desc {
    font-size: 15px;
  }

  /* Buttons */
  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }

  .btn-lg {
    padding: 16px 28px;
    font-size: 15px;
  }

  /* Footer */
  .footer-col h4 {
    font-size: 12px;
  }

  .footer-col a {
    font-size: 14px;
  }

  .footer-bottom p,
  .footer-links a {
    font-size: 13px;
  }

  /* Marquee */
  .marquee-content span {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .marquee-content {
    gap: 24px;
    padding-right: 24px;
  }

  /* Service cards */
  .service-card {
    padding: 24px 18px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  .service-card p {
    font-size: 14px;
  }

  .service-tags span {
    font-size: 11px;
    padding: 5px 12px;
  }

  /* Vision timeline */
  .timeline-item {
    margin-bottom: 28px;
  }

  .vision-timeline {
    padding-left: 28px;
  }

  .timeline-marker {
    left: -28px;
  }

  .timeline-dot {
    width: 18px;
    height: 18px;
  }

  .timeline-dot::after {
    width: 6px;
    height: 6px;
  }

  .vision-timeline::before {
    left: 9px;
  }

  .timeline-content h4 {
    font-size: 15px;
  }

  .timeline-content p {
    font-size: 12px;
  }
}

/* Extra small phones (iPhone SE etc.) */
@media (max-width: 375px) {

  :root {
    --container-px: 14px;
  }

  .hero-title {
    font-size: 30px;
  }

  .section-title {
    font-size: 22px;
    letter-spacing: -0.5px;
  }

  .eco-diagram {
    max-width: 260px;
    min-height: 300px;
  }

  .eco-orbit-1 {
    width: 170px;
    height: 170px;
  }

  .eco-orbit-2 {
    width: 260px;
    height: 260px;
  }

  .eco-node {
    width: 34px;
    height: 34px;
    font-size: 12px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(85px) rotate(calc(-1 * var(--angle)));
  }

  .eco-orbit-2 .eco-node {
    width: 28px;
    height: 28px;
    font-size: 10px;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateX(130px) rotate(calc(-1 * var(--angle)));
  }

  .eco-core {
    width: 56px;
    height: 56px;
  }

  .eco-core span {
    font-size: 12px;
  }

  .eco-core small {
    font-size: 6px;
  }
}

@keyframes progressSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}