/* ============================================================
   LUMANO DIGITAL INDIA — MASTER STYLESHEET
   Design System, Tokens, Typography, Layout
   ============================================================ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Color Palette */
  --color-bg:           #080A0F;
  --color-bg-surface:   #0E1118;
  --color-bg-card:      #141820;
  --color-bg-elevated:  #1C2230;

  --color-blue-core:    #0057FF;
  --color-blue-bright:  #1A8FFF;
  --color-blue-glow:    #0A6EFF;
  --color-cyan:         #00D4FF;
  --color-cyan-dim:     rgba(0, 212, 255, 0.15);

  --color-text-primary:   #F0F2F5;
  --color-text-secondary: #8B95A8;
  --color-text-muted:     #4A5568;
  --color-text-accent:    var(--color-blue-bright);

  --color-chrome-light:  #A0AEC0;
  --color-chrome-mid:    #6B7A8D;
  --color-chrome-dark:   #2D3748;

  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-border-mid:    rgba(255, 255, 255, 0.12);
  --color-border-blue:   rgba(0, 87, 255, 0.3);

  --color-glow-blue:   rgba(0, 87, 255, 0.2);
  --color-glow-cyan:   rgba(0, 212, 255, 0.15);

  /* Typography Scale */
  --font-display:   'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --font-body:      'Inter', 'Helvetica Neue', system-ui, sans-serif;
  --font-mono:      'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:    clamp(0.65rem, 0.6vw, 0.75rem);
  --text-sm:    clamp(0.75rem, 0.8vw, 0.875rem);
  --text-base:  clamp(0.875rem, 1vw, 1rem);
  --text-lg:    clamp(1rem, 1.2vw, 1.125rem);
  --text-xl:    clamp(1.125rem, 1.5vw, 1.25rem);
  --text-2xl:   clamp(1.25rem, 2vw, 1.5rem);
  --text-3xl:   clamp(1.5rem, 2.5vw, 2rem);
  --text-4xl:   clamp(2rem, 3.5vw, 2.75rem);
  --text-5xl:   clamp(2.5rem, 5vw, 4rem);
  --text-6xl:   clamp(3rem, 7vw, 6rem);
  --text-hero:  clamp(4rem, 10vw, 10rem);

  --weight-light:   300;
  --weight-regular: 400;
  --weight-medium:  500;
  --weight-semibold: 600;
  --weight-bold:    700;
  --weight-black:   900;

  --leading-tight:  0.9;
  --leading-snug:   1.1;
  --leading-normal: 1.5;
  --leading-loose:  1.8;

  --tracking-tighter: -0.04em;
  --tracking-tight:   -0.02em;
  --tracking-normal:  0;
  --tracking-wide:    0.08em;
  --tracking-wider:   0.15em;
  --tracking-widest:  0.3em;

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-24:  6rem;
  --space-32:  8rem;
  --space-40:  10rem;
  --space-48:  12rem;

  /* Layout */
  --container-max:   1400px;
  --container-wide:  1600px;
  --container-tight: 900px;
  --gutter:          clamp(1.5rem, 5vw, 5rem);

  /* Borders */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-xl:   24px;
  --radius-full: 9999px;

  /* Shadows / Glows */
  --shadow-blue:  0 0 40px rgba(0, 87, 255, 0.2), 0 0 80px rgba(0, 87, 255, 0.08);
  --shadow-cyan:  0 0 30px rgba(0, 212, 255, 0.15);
  --shadow-card:  0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-float: 0 8px 48px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --ease-out-expo:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-expo:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-in-out:      cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:    0.15s;
  --duration-normal:  0.3s;
  --duration-slow:    0.6s;
  --duration-xslow:   1s;

  /* Z-layers */
  --z-below:    -1;
  --z-base:      0;
  --z-raised:    10;
  --z-dropdown:  100;
  --z-overlay:   200;
  --z-modal:     300;
  --z-nav:       400;
  --z-toast:     500;
  --z-cursor:    1000;
}

/* ── 2. RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scroll */
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg);
  overflow-x: hidden;
  cursor: none; /* Custom cursor */
}

/* Lenis smooth scroll */
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

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

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

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

ul, ol {
  list-style: none;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

/* ── 3. CUSTOM CURSOR ─────────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  mix-blend-mode: difference;
}

.cursor__dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--duration-fast) var(--ease-out-expo);
}

.cursor__ring {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform var(--duration-slow) var(--ease-out-expo),
              width var(--duration-normal) var(--ease-out-expo),
              height var(--duration-normal) var(--ease-out-expo),
              opacity var(--duration-normal) var(--ease-out-expo);
}

body:not(.cursor-active) .cursor__ring {
  opacity: 0;
}

/* Cursor states */
.cursor--hover .cursor__dot {
  transform: translate(-50%, -50%) scale(2);
}
.cursor--hover .cursor__ring {
  width: 60px;
  height: 60px;
  border-color: var(--color-blue-bright);
}
.cursor--text .cursor__ring {
  width: 80px;
  height: 80px;
  border-color: var(--color-cyan);
}

/* ── 4. NAVIGATION ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: var(--space-6) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--duration-slow) var(--ease-out-expo),
              padding var(--duration-slow) var(--ease-out-expo),
              backdrop-filter var(--duration-slow) var(--ease-out-expo);
}

.nav--scrolled {
  background: rgba(8, 10, 15, 0.9);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  padding-top: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border-subtle);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
  transition: color var(--duration-normal) var(--ease-out-expo);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-blue-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out-expo);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-text-primary);
}

.nav__link:hover::after,
.nav__link.active::after {
  transform: scaleX(1);
}

/* Dropdown */
.nav__item {
  position: relative;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 1.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out-expo),
              transform var(--duration-normal) var(--ease-out-expo);
  backdrop-filter: blur(20px);
}

.nav__item:hover .nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background var(--duration-fast);
}

.nav__dropdown-link:hover {
  color: var(--color-text-primary);
  background: var(--color-border-subtle);
}

.nav__cta {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--color-blue-core);
  border-radius: var(--radius-full);
  color: var(--color-blue-bright);
  transition: background var(--duration-normal) var(--ease-out-expo),
              color var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo);
}

.nav__cta:hover {
  background: var(--color-blue-core);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-text-primary);
  transition: transform var(--duration-normal) var(--ease-out-expo),
              opacity var(--duration-normal);
}

/* ── 5. TYPOGRAPHY COMPONENTS ─────────────────────────────── */
.label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-blue-bright);
}

.label--line {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  color: var(--color-text-muted);
}

.label--line::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-blue-core);
  flex-shrink: 0;
}

.display-headline {
  font-size: var(--text-hero);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tighter);
  color: var(--color-text-primary);
}

.section-headline {
  font-size: var(--text-5xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
}

.body-large {
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  color: var(--color-text-secondary);
}

.section-number {
  font-size: var(--text-hero);
  font-weight: var(--weight-black);
  color: var(--color-border-subtle);
  line-height: 1;
  letter-spacing: -0.08em;
  pointer-events: none;
  user-select: none;
}

/* ── 6. BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out-expo);
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--color-blue-core);
  color: #fff;
  box-shadow: 0 0 0 0 var(--color-glow-blue);
}

.btn--primary:hover {
  background: var(--color-blue-bright);
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-mid);
}

.btn--outline:hover {
  border-color: var(--color-blue-bright);
  color: var(--color-blue-bright);
  background: var(--color-glow-blue);
}

.btn--ghost {
  background: transparent;
  color: var(--color-blue-bright);
  padding-left: 0;
  padding-right: 0;
  border-radius: 0;
}

.btn--ghost::after {
  content: '→';
  transition: transform var(--duration-normal) var(--ease-spring);
}

.btn--ghost:hover::after {
  transform: translateX(6px);
}

/* Ripple effect */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  border-radius: inherit;
  transform: scale(0);
  transition: transform var(--duration-slow) var(--ease-out-expo);
}

.btn:active::before {
  transform: scale(2);
  opacity: 0;
}

/* Arrow button */
.btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border-mid);
  border-radius: 50%;
  color: var(--color-text-secondary);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.btn-arrow:hover {
  border-color: var(--color-blue-bright);
  color: var(--color-blue-bright);
  background: var(--color-glow-blue);
}

/* ── 7. LAYOUT ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--wide {
  max-width: var(--container-wide);
}

.container--tight {
  max-width: var(--container-tight);
}

.section {
  padding-block: var(--space-32);
  position: relative;
}

.section--tall {
  padding-block: var(--space-48);
}

.section--hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 0;
}

/* Grid */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

/* ── 8. CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-normal) var(--ease-out-expo),
              box-shadow var(--duration-normal) var(--ease-out-expo),
              transform var(--duration-normal) var(--ease-out-expo);
}

.card:hover {
  border-color: var(--color-border-blue);
  box-shadow: var(--shadow-card), var(--shadow-blue);
  transform: translateY(-4px);
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-surface);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-xslow) var(--ease-out-expo);
}

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__body {
  padding: var(--space-6);
}

.card__label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-blue-bright);
  margin-bottom: var(--space-3);
}

.card__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
}

.card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-loose);
}

/* ── 9. PRODUCT CARD ──────────────────────────────────────── */
.product-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out-expo);
  cursor: pointer;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 87, 255, 0.05) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.product-card:hover {
  border-color: var(--color-border-blue);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), var(--shadow-blue);
  transform: translateY(-8px);
}

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

.product-card__media {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(180deg, #141820 0%, #0E1118 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
  overflow: hidden;
}

.product-card__media img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform var(--duration-xslow) var(--ease-out-expo),
              filter var(--duration-normal);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

.product-card:hover .product-card__media img {
  transform: scale(1.08) translateY(-8px);
  filter: drop-shadow(0 30px 60px rgba(0, 87, 255, 0.2));
}

/* Glow spotlight behind product */
.product-card__glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 100px;
  background: radial-gradient(ellipse at center,
    rgba(0, 87, 255, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--duration-normal);
}

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

.product-card__body {
  padding: var(--space-6) var(--space-6) var(--space-8);
}

.product-card__category {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-blue-bright);
  margin-bottom: var(--space-2);
}

.product-card__name {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-2);
}

.product-card__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

/* ── 10. SECTION DIVIDERS ─────────────────────────────────── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-border-subtle);
}

.divider--blue {
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-blue-core) 50%,
    transparent 100%
  );
}

/* ── 11. LOADING SCREEN ───────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.loader__logo {
  animation: loader-pulse 2s ease-in-out infinite;
}

.loader__logo img {
  height: 80px;
  width: auto;
}

.loader__bar {
  width: 240px;
  height: 1px;
  background: var(--color-border-mid);
  position: relative;
  overflow: hidden;
}

.loader__bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-blue-bright) 50%,
    transparent 100%
  );
  animation: loader-scan 1.5s ease-in-out infinite;
}

.loader__text {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@keyframes loader-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes loader-scan {
  0% { left: -100%; }
  100% { left: 100%; }
}


/* ── 12. CANVAS / WEBGL CONTAINERS ───────────────────────── */
.canvas-hero {
  position: absolute;
  inset: 0;
  z-index: var(--z-below);
}

.canvas-hero canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

/* Full-size Three.js particle canvas in the hero */
#hero-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  pointer-events: none;
}


/* ── 13. HERO SECTION ─────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 40%,
      rgba(0, 87, 255, 0.08) 0%,
      transparent 70%
    ),
    radial-gradient(ellipse 40% 40% at 80% 60%,
      rgba(0, 212, 255, 0.04) 0%,
      transparent 60%
    );
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%,
    rgba(0,0,0,0.3) 0%, transparent 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  padding-top: 120px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  overflow: hidden;
}

.hero__eyebrow-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--color-blue-core), var(--color-cyan));
}

.hero__eyebrow-text {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-blue-bright);
}

.hero__headline {
  font-size: var(--text-hero);
  font-weight: var(--weight-black);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tighter);
  color: var(--color-text-primary);
  margin-bottom: var(--space-8);
  overflow: hidden;
}

.hero__headline .line {
  display: block;
  overflow: hidden;
}

.hero__headline .word {
  display: inline-block;
  transform: translateY(100%);
}

.hero__headline em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.3);
  background: linear-gradient(90deg, var(--color-blue-bright), var(--color-cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__sub {
  font-size: var(--text-xl);
  line-height: var(--leading-loose);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin-bottom: var(--space-12);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-12);
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.hero__scroll-line {
  width: 60px;
  height: 1px;
  background: var(--color-border-mid);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: var(--color-blue-bright);
  animation: scroll-indicate 2s ease-in-out infinite;
}

@keyframes scroll-indicate {
  0% { left: -50%; }
  100% { left: 150%; }
}

/* ── 14. PRODUCT WALL ────────────────────────────────────── */
.product-wall {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: var(--color-bg);
}

.product-wall__canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.product-wall__info {
  position: absolute;
  bottom: var(--space-16);
  left: var(--gutter);
  z-index: 2;
  max-width: 400px;
}

.product-wall__label {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-blue-bright);
  margin-bottom: var(--space-2);
}

.product-wall__name {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-4);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.product-wall__name.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 15. ELLIPTICAL CAROUSEL ──────────────────────────────── */
.ellipse-carousel {
  position: relative;
  width: 100%;
  height: 70vh;
  perspective: 1200px;
  overflow: hidden;
}

.ellipse-carousel__track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.ellipse-item {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center;
  cursor: pointer;
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.ellipse-item__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.ellipse-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ellipse-item--active .ellipse-item__img {
  box-shadow: var(--shadow-float), var(--shadow-blue);
}

/* ── 16. STAT COUNTERS ────────────────────────────────────── */
.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--space-8);
  padding: var(--space-16) 0;
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: var(--text-5xl);
  font-weight: var(--weight-black);
  letter-spacing: var(--tracking-tighter);
  color: var(--color-text-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, #fff 0%, var(--color-blue-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat__label {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── 17. SOLUTION TILES ───────────────────────────────────── */
.solution-tile {
  position: relative;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  background: var(--color-bg-card);
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out-expo);
  cursor: pointer;
}

.solution-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(0, 87, 255, 0.06) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.solution-tile:hover {
  border-color: var(--color-border-blue);
  transform: translateY(-4px);
}

.solution-tile:hover::after {
  opacity: 1;
}

.solution-tile__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-6);
  color: var(--color-blue-bright);
}

.solution-tile__title {
  font-size: var(--text-xl);
  font-weight: var(--weight-semibold);
  margin-bottom: var(--space-3);
}

.solution-tile__desc {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-loose);
}

/* ── 18. FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--space-24);
  padding-bottom: var(--space-12);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-16);
  margin-bottom: var(--space-16);
}

.footer__brand img {
  height: 40px;
  width: auto;
  margin-bottom: var(--space-6);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: var(--leading-loose);
  max-width: 280px;
  margin-bottom: var(--space-8);
}

.footer__social {
  display: flex;
  gap: var(--space-4);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: all var(--duration-normal) var(--ease-out-expo);
}

.footer__social-link:hover {
  border-color: var(--color-blue-bright);
  color: var(--color-blue-bright);
  background: var(--color-glow-blue);
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  transition: color var(--duration-fast);
}

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

.footer__bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ── 19. FORM COMPONENTS ──────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  transition: border-color var(--duration-normal), box-shadow var(--duration-normal);
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--color-blue-bright);
  box-shadow: 0 0 0 3px var(--color-glow-blue);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: var(--text-xs);
  color: #FF4757;
}

.form-success {
  font-size: var(--text-xs);
  color: #2ED573;
}

/* ── 20. ANIMATIONS & UTILITIES ───────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-fade {
  opacity: 0;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

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

.text-chrome {
  background: linear-gradient(135deg, #fff 0%, var(--color-chrome-light) 50%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-blue {
  box-shadow: var(--shadow-blue);
}

/* Horizontal scrolling section */
.h-scroll {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--space-4);
}

.h-scroll::-webkit-scrollbar {
  display: none;
}

/* Tag / Chip */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--color-border-mid);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
}

.tag--blue {
  border-color: var(--color-border-blue);
  color: var(--color-blue-bright);
  background: var(--color-glow-blue);
}

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

/* ── 21. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-row { flex-wrap: wrap; gap: var(--space-8); }

  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }

  .hero__headline { font-size: clamp(2.5rem, 8vw, 5rem); }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }

  body { cursor: auto; }
  .cursor { display: none; }

  .section { padding-block: var(--space-16); }
  .section--tall { padding-block: var(--space-24); }
}

/* ── 22. PAGE TRANSITIONS ─────────────────────────────────── */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: var(--color-bg);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

/* ── 23. ACCESSIBILITY UTILITIES ─────────────────────────── */
/* Screen-reader only: visually hidden but accessible to AT */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus visible ring */
:focus-visible {
  outline: 2px solid var(--color-blue-bright);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Hide elements until body.loaded */
body:not(.loaded) .hero__content > * {
  opacity: 0;
}

/* ── 23. SKIP LINK ────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-3) var(--space-6);
  background: var(--color-blue-core);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: var(--weight-semibold);
  z-index: calc(var(--z-cursor) + 1);
  transition: top var(--duration-fast);
}

.skip-link:focus {
  top: var(--space-4);
}

/* ── 24. MOBILE NAV OVERLAY ───────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: calc(var(--z-nav) - 1);
  padding: 100px var(--gutter) var(--space-12);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out-expo);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-nav__link {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-tight);
  color: var(--color-text-primary);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border-subtle);
  transition: color var(--duration-fast);
}

.mobile-nav__link:hover {
  color: var(--color-blue-bright);
}

/* ── 25. SECTION HEADER ───────────────────────────────────── */
.section-header {
  margin-bottom: var(--space-16);
}

.section-header--centered {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section-header__label {
  margin-bottom: var(--space-4);
}

.section-header__title {
  margin-bottom: var(--space-6);
}

.section-header__desc {
  max-width: 600px;
}

.section-header--centered .section-header__desc {
  margin-inline: auto;
}


/* Responsive solution tiles: avoid narrow cards around tablet-sized viewports. */
@media (max-width: 1100px) {
  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .solutions-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .solutions-grid > .solution-tile {
    grid-column: auto !important;
    min-width: 0;
  }

  .solution-tile {
    padding: clamp(1.25rem, 5vw, 2rem);
  }

  .solution-tile__desc {
    overflow-wrap: anywhere;
  }
}
