/* ==========================================================================
   NOUVELTECH — DESIGN 01 (VAST INSPIRED)
   Brand Color Harmony: Electric Purple (#7f02fd) & Luminous Cyan (#00e5c9)
   Inspired by VAST (vastworld.ai) Architectural System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Nouveltech Official Brand Colors */
  --brand-purple: #7f02fd;
  --brand-purple-light: #9d3bff;
  --brand-purple-dim: rgba(127, 2, 253, 0.15);
  --brand-purple-glow: rgba(127, 2, 253, 0.35);

  --brand-cyan: #00e5c9;
  --brand-cyan-light: #38f2db;
  --brand-cyan-dim: rgba(0, 229, 201, 0.12);
  --brand-cyan-glow: rgba(0, 229, 201, 0.3);

  --gradient-brand: linear-gradient(135deg, #7f02fd 0%, #00e5c9 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(127, 2, 253, 0.2) 0%, rgba(0, 229, 201, 0.15) 100%);

  /* Core Canvas & Surfaces */
  --bg-black: #050508;
  --bg-space: #09090d;
  --bg-card: #0e0e13;
  --bg-card-hover: #14141c;
  --bg-white-plate: #ffffff;
  --bg-footer-hero: #121218;

  /* Typography Colors */
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.72);
  --text-dim: rgba(255, 255, 255, 0.45);
  --text-faint: rgba(255, 255, 255, 0.2);
  --text-black: #000000;
  --text-black-muted: rgba(0, 0, 0, 0.68);
  --text-black-dim: rgba(0, 0, 0, 0.45);

  /* Hairlines & Borders */
  --border-hairline: rgba(255, 255, 255, 0.12);
  --border-hairline-bright: rgba(255, 255, 255, 0.24);
  --border-purple-hairline: rgba(127, 2, 253, 0.4);
  --border-dark-hairline: rgba(0, 0, 0, 0.12);

  /* Typography */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1440px;
  --nav-height: 82px;
  --gutter-left: clamp(2.75rem, 6vw, 6rem);
  --gutter-right: clamp(1.5rem, 3.2vw, 3rem);
  --gutter: var(--gutter-right);
  --ease-vast: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
[data-theme="light"] {
  /* Core Canvas & Surfaces */
  --bg-black: #f8f9fc;
  --bg-space: #eef2f8;
  --bg-card: #ffffff;
  --bg-card-hover: #f3f6fc;
  --bg-footer-hero: #0e0f16;

  /* Typography Colors */
  --text-white: #0a0c16;
  --text-muted: #495164;
  --text-dim: #6e788e;
  --text-faint: rgba(10, 12, 22, 0.12);

  /* Hairlines & Borders */
  --border-hairline: rgba(10, 12, 22, 0.09);
  --border-hairline-bright: rgba(10, 12, 22, 0.18);
  --border-purple-hairline: rgba(127, 2, 253, 0.3);

  /* Tailored Brand Tones for Light Background */
  --brand-purple: #6a00d8;
  --brand-purple-light: #7f02fd;
  --brand-purple-dim: rgba(106, 0, 216, 0.08);
  --brand-purple-glow: rgba(106, 0, 216, 0.2);

  --brand-cyan: #008779;
  --brand-cyan-light: #00a595;
  --brand-cyan-dim: rgba(0, 135, 121, 0.08);
  --brand-cyan-glow: rgba(0, 135, 121, 0.2);

  --gradient-brand: linear-gradient(135deg, #6a00d8 0%, #008779 100%);
  --gradient-brand-subtle: linear-gradient(135deg, rgba(106, 0, 216, 0.08) 0%, rgba(0, 135, 121, 0.06) 100%);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-black);
  color: var(--text-white);
  -webkit-font-smoothing: antialiased;
}

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

::selection {
  background: var(--brand-purple);
  color: #ffffff;
}

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

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

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

/* Container & Section Offsets */
section[id] {
  scroll-margin-top: calc(var(--nav-height) + 10px);
}

.vast-container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-left);
  padding-right: var(--gutter-right);
  position: relative;
}

/* ==========================================================================
   VAST-STYLE BUTTONS (Crisp 1px frame, hover invert, 45deg arrow)
   ========================================================================== */
.vast-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.25s var(--ease-vast);
  position: relative;
  overflow: hidden;
  border-radius: 0;
  white-space: nowrap;
  user-select: none;
}

.vast-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #ffffff;
  transform: translateY(100%);
  transition: transform 0.25s var(--ease-vast);
  z-index: 0;
}

.vast-btn span, .vast-btn svg {
  position: relative;
  z-index: 1;
  transition: color 0.25s ease, fill 0.25s ease;
}

.vast-btn:hover {
  border-color: #ffffff;
  color: #000000;
}

.vast-btn:hover::before {
  transform: translateY(0);
}

.vast-btn:hover span, .vast-btn:hover svg path {
  color: #000000;
  fill: #000000;
}

/* Purple Brand Button Variation */
.vast-btn-brand {
  border-color: var(--brand-purple);
  background: rgba(127, 2, 253, 0.12);
  color: #ffffff;
}

.vast-btn-brand::before {
  background: var(--brand-purple);
}

.vast-btn-brand:hover {
  border-color: var(--brand-purple-light);
  color: #ffffff;
  box-shadow: 0 0 20px var(--brand-purple-glow);
}

.vast-btn-brand:hover span, .vast-btn-brand:hover svg path {
  color: #ffffff;
  fill: #ffffff;
}

/* Inverted White Button */
.vast-btn-solid {
  background-color: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

.vast-btn-solid::before {
  background-color: var(--brand-purple);
}

.vast-btn-solid:hover {
  color: #ffffff;
  border-color: var(--brand-purple);
}

.vast-btn-solid:hover span, .vast-btn-solid:hover svg path {
  color: #ffffff;
  fill: #ffffff;
}

/* ==========================================================================
   FIXED ARCHITECTURAL HEADER
   ========================================================================== */
#vast-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background-color: rgba(5, 5, 8, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-hairline);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

#vast-navbar.scrolled {
  background-color: rgba(5, 5, 8, 0.94);
  border-bottom-color: var(--border-purple-hairline);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-brand-logo {
  height: clamp(46px, 4.2vw, 56px);
  max-height: 58px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: drop-shadow(0 0 12px rgba(127, 2, 253, 0.35));
}

.navbar-brand:hover .navbar-brand-logo {
  transform: scale(1.03);
}

.navbar-links {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .navbar-links {
    display: flex;
  }
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

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

.nav-new-pill {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 1px 6px;
  background: var(--gradient-brand);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 700;
  margin-left: 6px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(0, 229, 201, 0.4);
}

.nav-separator {
  width: 1px;
  height: 12px;
  background-color: var(--border-hairline);
}

.mobile-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-toggle {
    display: none !important;
  }
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer: STRICTLY HIDDEN ON DESKTOP */
.mobile-drawer {
  display: none !important;
}

@media (max-width: 991px) {
  .mobile-drawer {
    display: none !important;
    position: fixed;
    inset: 0;
    background-color: rgba(5, 5, 8, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 999;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(var(--nav-height) + 1.5rem) var(--gutter) 2.5rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-drawer.open {
    display: flex !important;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-link {
    font-family: var(--font-display);
    font-size: clamp(1.05rem, 3.2vw, 1.25rem);
    font-weight: 600;
    color: #ffffff;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
  }

  .mobile-nav-link span {
    font-size: 0.9rem;
    color: var(--brand-cyan);
    font-weight: 500;
  }

  .mobile-nav-link.active {
    color: var(--brand-cyan);
  }
}

/* ==========================================================================
   HERO SECTION (VAST 100vh Layout)
   ========================================================================== */
#hero-section {
  position: relative;
  min-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: calc(var(--nav-height) + 0.75rem);
  padding-bottom: 0;
  overflow: hidden;
  background: radial-gradient(circle at 65% 45%, rgba(127, 2, 253, 0.08) 0%, rgba(0, 229, 201, 0.04) 40%, transparent 70%);
}

#webgl-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#hero-section .vast-container {
  padding-left: clamp(3.5rem, 8vw, 8.5rem);
}

.hero-main-wrapper {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 3.5rem;
  }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-headline .text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-cyan) 60%, var(--brand-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* VAST-Style Hero Floating Module Pill */
.hero-pill-box {
  background: #ffffff;
  color: #000000;
  padding: 6px 12px 10px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border-radius: 2px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  user-select: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 380px;
  position: relative;
  overflow: hidden;
}

.hero-pill-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(127, 2, 253, 0.4);
}

.pill-progress-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--brand-purple);
  transition: width 3.8s linear, background-color 0.3s ease;
}

.pill-thumb {
  width: 40px;
  height: 40px;
  background-color: var(--brand-purple);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.8rem;
  color: #ffffff;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}

.pill-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 170px;
}

.pill-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.55);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.pill-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.02em;
}

.pill-arrows {
  display: flex;
  align-items: center;
  gap: 4px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  padding-left: 8px;
}

.pill-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.06);
  color: #000000;
  transition: all 0.2s ease;
}

.pill-btn:hover {
  background: var(--brand-purple);
  color: #ffffff;
}

/* Hero Slides Nav Dots */
.hero-slides-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.hero-slide-nav-btn {
  width: 22px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 2px;
  padding: 0;
}

[data-theme="light"] .hero-slide-nav-btn {
  background: rgba(15, 23, 42, 0.2);
}

.hero-slide-nav-btn:hover {
  background: rgba(255, 255, 255, 0.6);
}

[data-theme="light"] .hero-slide-nav-btn:hover {
  background: rgba(15, 23, 42, 0.45);
}

.hero-slide-nav-btn.active {
  background: var(--brand-cyan);
  width: 36px;
  box-shadow: 0 0 10px var(--brand-cyan);
}

/* Hero Right Column */
.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 440px;
}

.hero-slide-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--brand-cyan);
  text-transform: uppercase;
  margin-bottom: -0.25rem;
  transition: color 0.3s ease;
}

.hero-aside h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #ffffff;
  transition: opacity 0.45s ease, transform 0.45s ease;
  will-change: opacity, transform;
}

.hero-aside p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.scroll-start-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--border-hairline-bright);
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}

.scroll-start-btn:hover {
  background: rgba(127, 2, 253, 0.12);
  border-color: var(--brand-purple-light);
}

.scroll-start-btn svg {
  transition: transform 0.25s ease;
}

.scroll-start-btn:hover svg {
  transform: translateY(3px);
}

/* ==========================================================================
   PARTNER MARQUEE TICKER (Pinned at bottom of Hero)
   ========================================================================== */
.hero-marquee {
  width: 100%;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
  z-index: 10;
  background: #000000;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeRun 28s linear infinite;
  gap: 3.5rem;
}

.marquee-track:hover {
  animation-play-state: paused;
}

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.marquee-item:hover {
  color: #ffffff;
}

.marquee-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan);
}

/* ==========================================================================
   FOUNDATION & MANIFESTO SPLIT SECTION
   ========================================================================== */
.foundation-section {
  position: relative;
  padding: clamp(3rem, 4.5vw, 4.25rem) 0;
  background-color: var(--bg-black);
  border-bottom: 1px solid var(--border-hairline);
}

.foundation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .foundation-grid {
    grid-template-columns: 6fr 6fr;
    gap: 3.5rem;
  }
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  display: block;
}

.foundation-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.foundation-blocks {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.foundation-item {
  padding-left: 1.75rem;
  border-left: 1px solid var(--border-hairline-bright);
  position: relative;
}

.foundation-item::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 0;
  width: 1px;
  height: 24px;
  background-color: var(--brand-purple-light);
}

.foundation-item h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.foundation-item p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==========================================================================
   SHOWCASE PLATE SECTION (VAST White Plate)
   ========================================================================== */
.showcase-plate-section {
  position: relative;
  background-color: #ffffff;
  color: #000000;
  padding: clamp(3rem, 4.5vw, 4.25rem) 0;
}

.showcase-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .showcase-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }
}

.plate-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--brand-purple);
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.plate-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #000000;
}

.showcase-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ctrl-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  display: grid;
  place-items: center;
  background: transparent;
  color: #000000;
  transition: all 0.25s ease;
}

.ctrl-btn:hover {
  background: var(--brand-purple);
  color: #ffffff;
  border-color: var(--brand-purple);
}

.showcase-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .showcase-stage {
    grid-template-columns: 5fr 7fr;
    gap: 3.5rem;
  }
}

.showcase-meta {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.slide-counter {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.4);
  letter-spacing: 0.08em;
}

.slide-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #000000;
}

.slide-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(0, 0, 0, 0.7);
}

.slide-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-item {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(127, 2, 253, 0.06);
  border: 1px solid rgba(127, 2, 253, 0.15);
  border-radius: 2px;
  color: var(--brand-purple);
  font-weight: 600;
}

.showcase-frame {
  position: relative;
  background: #000000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
  aspect-ratio: 16 / 10;
}

.showcase-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.5s var(--ease-vast);
}

.showcase-frame:hover img {
  transform: scale(1.03);
}

.frame-status {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  border-radius: 8px;
  z-index: 2;
}

.status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brand-cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--brand-cyan);
}

.showcase-stats-bar {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-dark-hairline);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .showcase-stats-bar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.stat-group {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.stat-metric {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #000000;
}

.stat-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
}

/* ==========================================================================
   AYA MOBILE APP (Dedicated Feature Section)
   ========================================================================== */
.aya-section {
  position: relative;
  padding: clamp(3.25rem, 4.5vw, 4.5rem) 0;
  background: radial-gradient(circle at 30% 50%, rgba(127, 2, 253, 0.15) 0%, rgba(0, 229, 201, 0.08) 50%, transparent 75%), var(--bg-space);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
}

.aya-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .aya-grid {
    grid-template-columns: 6fr 6fr;
    gap: 3.5rem;
  }
}

.aya-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: var(--brand-purple-dim);
  border: 1px solid var(--border-purple-hairline);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.aya-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.aya-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.aya-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.75rem;
}

.aya-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.aya-highlights li svg {
  color: var(--brand-cyan);
  flex-shrink: 0;
}

.aya-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.aya-preview-card {
  position: relative;
  background: #000000;
  border: 1px solid var(--border-purple-hairline);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(127, 2, 253, 0.2);
}

.aya-preview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.6s var(--ease-vast);
}

.aya-preview-card:hover img {
  transform: scale(1.03);
}

/* ==========================================================================
   ENTERPRISE PLATFORM MATRIX (VAST Dual Cards)
   ========================================================================== */
.matrix-section {
  position: relative;
  padding: clamp(3rem, 4.5vw, 4.25rem) 0;
  background-color: var(--bg-black);
}

.matrix-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 2.25rem;
}

.matrix-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-top: 0.5rem;
}

.matrix-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .matrix-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.matrix-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.3s ease;
}

.matrix-card:hover {
  border-color: var(--border-purple-hairline);
  box-shadow: 0 10px 30px rgba(127, 2, 253, 0.1);
}

.card-audience {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.card-heading {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.card-summary {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.code-console {
  background: #000000;
  border: 1px solid var(--border-hairline);
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brand-cyan);
  border-radius: 2px;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.console-tabs {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
  margin-bottom: 10px;
  font-size: 0.7rem;
}

.features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.features-list li svg {
  color: var(--brand-cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   THE 4 CORE PILLARS
   ========================================================================== */
.pillars-section {
  position: relative;
  padding: clamp(3rem, 4.5vw, 4.25rem) 0;
  background-color: var(--bg-space);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

@media (min-width: 1200px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  border: 1px solid var(--border-hairline);
  padding: 2rem 1.75rem;
  background: rgba(255, 255, 255, 0.015);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-card:hover {
  background: rgba(127, 2, 253, 0.05);
  border-color: var(--brand-purple-light);
  transform: translateY(-3px);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-purple-light);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
  display: block;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-hairline-bright);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  color: #ffffff;
  transition: all 0.25s ease;
}

.pillar-card:hover .pillar-icon {
  border-color: var(--brand-purple);
  background: var(--brand-purple);
  color: #ffffff;
}

.pillar-card h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.pillar-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   NEWS & INSIGHTS (VAST 05 / News)
   ========================================================================== */
.news-section {
  position: relative;
  padding: clamp(3.75rem, 5.5vw, 5.5rem) 0;
  background-color: #060812;
  color: #ffffff;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.news-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

@media (min-width: 992px) {
  .news-header {
    grid-template-columns: 2fr 7fr 3fr;
    align-items: start;
  }
}

.news-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--brand-purple-light);
  letter-spacing: 0.1em;
  font-weight: 700;
}

.news-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.news-header-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

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

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(127, 2, 253, 0.18);
  border-color: var(--brand-purple-light);
}

.news-thumb {
  aspect-ratio: 16 / 10;
  width: 100%;
  background-color: #05070d;
  overflow: hidden;
  position: relative;
  margin: 0;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-card:hover .news-thumb img {
  transform: scale(1.06);
}

.news-card-content {
  padding: 1.85rem 2.1rem 2.25rem 2.1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (max-width: 1200px) {
  .news-card-content {
    padding: 1.5rem 1.65rem 1.9rem 1.65rem;
  }
}

@media (max-width: 575px) {
  .news-card-content {
    padding: 1.35rem 1.4rem 1.65rem 1.4rem;
  }
}

.news-date {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--brand-cyan);
  letter-spacing: 0.08em;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}

.news-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem 0;
  color: #ffffff;
}

.news-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   FOOTER (VAST Contrast Style)
   ========================================================================== */
#site-footer {
  background-color: #000000;
  color: #ffffff;
  position: relative;
}

#site-footer .vast-container {
  padding-left: clamp(3.5rem, 8vw, 8.5rem);
}

.footer-dir-grid .navbar-brand-logo {
  height: clamp(48px, 4.5vw, 62px);
  max-height: 64px;
}

.footer-hero {
  background: var(--bg-footer-hero);
  padding: clamp(2.5rem, 3.5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--border-hairline);
}

.footer-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .footer-hero-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-hero-title h2 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.footer-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-directory {
  padding: clamp(2.5rem, 3.5vw, 3.5rem) 0 2rem;
}

.footer-dir-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

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

@media (min-width: 992px) {
  .footer-dir-grid {
    grid-template-columns: 4fr 2.5fr 2.5fr 3fr;
    gap: var(--gutter);
  }
}

.footer-col-header {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--brand-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

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

.footer-doc-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--border-hairline);
  color: #ffffff;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.footer-doc-btn:hover {
  border-color: var(--brand-purple);
  background: var(--brand-purple-dim);
}

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

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.cluster-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.status-beacon-pulse {
  width: 7px;
  height: 7px;
  background-color: var(--brand-cyan);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 6px var(--brand-cyan);
}

.status-beacon-pulse::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 1px solid var(--brand-cyan);
  animation: beaconPulse 2s infinite;
}

@keyframes beaconPulse {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.copy-text {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #0a0a0f;
  border: 1px solid var(--border-purple-hairline);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.95), 0 0 40px rgba(127, 2, 253, 0.15);
  transform: translateY(16px);
  transition: transform 0.25s var(--ease-vast);
}

.modal-backdrop.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-hairline);
  display: grid;
  place-items: center;
  color: #ffffff;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--brand-purple);
  color: #ffffff;
  border-color: var(--brand-purple);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: 5px;
  letter-spacing: 0.08em;
}

.form-group input, .form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-hairline);
  padding: 10px 14px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group select {
  width: 100%;
  background-color: #0e111a;
  border: 1px solid var(--border-hairline);
  padding: 11px 40px 11px 14px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  border-radius: 2px;
  cursor: pointer;
  color-scheme: dark;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300e5c9' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group select option {
  background-color: #0e111a !important;
  color: #ffffff !important;
  padding: 10px 14px;
  font-size: 0.9rem;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--brand-purple-light);
  box-shadow: 0 0 10px var(--brand-purple-glow);
}

/* ==========================================================================
   SUBPAGE ARCHITECTURAL SYSTEM (Internal Pages)
   ========================================================================== */
.subpage-hero {
  position: relative;
  padding-top: calc(var(--nav-height) + 3rem);
  padding-bottom: 3.5rem;
  background: radial-gradient(circle at 75% 30%, rgba(127, 2, 253, 0.12) 0%, rgba(0, 229, 201, 0.06) 45%, transparent 75%), var(--bg-black);
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--brand-purple-light) 40%, var(--brand-cyan) 80%, transparent 100%);
}

.subpage-hero .vast-container {
  padding-left: clamp(3.5rem, 8vw, 8.5rem);
}

.subpage-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}

.subpage-breadcrumb a {
  color: var(--brand-cyan);
  transition: color 0.2s ease;
}

.subpage-breadcrumb a:hover {
  color: #ffffff;
}

.subpage-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.subpage-subtitle {
  font-size: clamp(0.92rem, 1.15vw, 1.02rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 580px;
}

/* Subpage 2-Column Hero Grid */
.subpage-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .subpage-hero-grid {
    grid-template-columns: 6fr 6fr;
    gap: 3.5rem;
  }
}

/* ==========================================================================
   SUBPAGE HERO TELEMETRY SLIDER (Graphs, Images, Metrics)
   ========================================================================== */
.hero-telemetry-slider {
  position: relative;
  width: 100%;
}

.slider-glass-plate {
  background: rgba(14, 14, 19, 0.78);
  border: 1px solid var(--border-hairline);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  padding: 1.5rem 1.75rem 1.25rem;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

[data-theme="light"] .slider-glass-plate {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(10, 12, 22, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06), inset 0 1px 0 #ffffff;
}

.slider-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.slider-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brand-cyan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slider-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-counter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
  min-width: 44px;
  text-align: center;
}

.slider-arrow-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hairline);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: all 0.2s ease;
}

[data-theme="light"] .slider-arrow-btn {
  background: #f1f3f9;
  border-color: rgba(10, 12, 22, 0.12);
  color: #0a0c16;
}

.slider-arrow-btn:hover {
  background: var(--brand-purple);
  border-color: var(--brand-purple-light);
  color: #ffffff;
}

.slider-progress-track {
  width: 100%;
  height: 2px;
  background: var(--border-hairline);
  position: relative;
  overflow: hidden;
  margin-bottom: 1.1rem;
}

.slider-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gradient-brand);
}

.slider-slides-viewport {
  position: relative;
  min-height: 235px;
}

.telemetry-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
  pointer-events: none;
}

.telemetry-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.telemetry-slide-header {
  margin-bottom: 0.85rem;
}

.telemetry-slide-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brand-purple-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.telemetry-slide-header h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

[data-theme="light"] .telemetry-slide-header h4 {
  color: #0a0c16;
}

.telemetry-graph-box {
  width: 100%;
  height: 120px;
  margin-bottom: 1.1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="light"] .telemetry-graph-box {
  background: rgba(240, 243, 249, 0.7);
  border-color: rgba(10, 12, 22, 0.08);
}

.telemetry-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.telemetry-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-hairline);
}

.telemetry-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.telemetry-stat .stat-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-cyan);
  letter-spacing: -0.02em;
}

[data-theme="light"] .telemetry-stat .stat-num {
  color: #008779;
}

.telemetry-stat .stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.slider-dots-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 1.1rem;
}

.slider-dot {
  width: 22px;
  height: 3px;
  background: var(--border-hairline);
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
  border-radius: 1px;
}

.slider-dot.active {
  background: var(--brand-cyan);
  box-shadow: 0 0 8px var(--brand-cyan-glow);
}

/* PDF-Style Architectural Callout Box */
.callout-box {
  background: rgba(0, 229, 201, 0.04);
  border: 1px solid rgba(0, 229, 201, 0.2);
  border-left: 3px solid var(--brand-cyan);
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
  position: relative;
}

.callout-box.purple {
  background: rgba(127, 2, 253, 0.04);
  border-color: rgba(127, 2, 253, 0.2);
  border-left-color: var(--brand-purple-light);
}

.callout-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.callout-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Feature 3-Grid (PDF ERP Foundation) */
.erp-found-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

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

.erp-found-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 1.75rem;
  transition: all 0.25s ease;
}

.erp-found-card:hover {
  border-color: var(--brand-purple-light);
  transform: translateY(-2px);
}

.erp-found-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.erp-found-card p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* AYA Product Deep-Dive Section */
.aya-deepdive-section {
  padding: clamp(3rem, 4.5vw, 4.25rem) 0;
  border-bottom: 1px solid var(--border-hairline);
}

.aya-deepdive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .aya-deepdive-grid {
    grid-template-columns: 7fr 5fr;
    gap: 4rem;
  }
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.feature-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.feature-check-list li svg {
  color: var(--brand-cyan);
  flex-shrink: 0;
  margin-top: 3px;
}

.feature-check-list li strong {
  color: #ffffff;
}

/* Connect-to-ERP Mini Cards */
.connect-erp-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-hairline);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.connect-erp-item {
  border-left: 2px solid var(--brand-purple-light);
  padding-left: 1rem;
}

.connect-erp-item h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.connect-erp-item p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Product Directory Cards (products.html) */
.product-dir-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

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

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

.product-dir-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.product-dir-card:hover {
  border-color: var(--brand-purple-light);
  box-shadow: 0 12px 36px rgba(127, 2, 253, 0.15);
  transform: translateY(-3px);
}

.product-dir-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--brand-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: block;
}

.product-dir-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.product-dir-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* Client Portals Cards (clients_access.html) */
.portal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

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

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

.portal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.portal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.portal-card:hover {
  border-color: var(--border-purple-hairline);
  transform: translateY(-3px);
}

.portal-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--brand-cyan);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.portal-status-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-cyan);
  box-shadow: 0 0 6px var(--brand-cyan);
}

/* ==========================================================================
   THEME SWITCHER TOGGLE & LIGHT MODE SYSTEM
   ========================================================================== */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  position: relative;
  width: 56px;
  height: 30px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-hairline);
  cursor: pointer;
  padding: 3px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-cyan);
  box-shadow: 0 0 12px var(--brand-cyan-glow);
}

.theme-toggle-pill {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-brand);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  z-index: 1;
}

[data-theme="light"] .theme-toggle-pill {
  transform: translateX(26px);
  background: linear-gradient(135deg, #ff9e00 0%, #ff6b00 100%);
  box-shadow: 0 2px 10px rgba(255, 158, 0, 0.45);
}

[data-theme="light"] .theme-toggle-btn {
  background: #eaedf5;
  border-color: rgba(10, 12, 22, 0.15);
}

.theme-toggle-icon {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: opacity 0.25s ease, color 0.25s ease;
  color: #ffffff;
}

.theme-toggle-icon.icon-moon {
  opacity: 0.95;
  color: #ffffff;
}

.theme-toggle-icon.icon-sun {
  opacity: 0.35;
  color: #ffaa00;
}

[data-theme="light"] .theme-toggle-icon.icon-moon {
  opacity: 0.35;
  color: #64748b;
}

[data-theme="light"] .theme-toggle-icon.icon-sun {
  opacity: 1;
  color: #ffffff;
}

/* Global Light Mode Overrides */
[data-theme="light"] body {
  background-color: var(--bg-black);
  color: var(--text-white);
}

[data-theme="light"] #vast-navbar {
  background-color: rgba(248, 249, 252, 0.88);
  border-bottom: 1px solid rgba(10, 12, 22, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

[data-theme="light"] #vast-navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .nav-link {
  color: #495164;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #0a0c16;
}

[data-theme="light"] .nav-separator {
  background-color: rgba(10, 12, 22, 0.12);
}

/* Universal Headings and Text Color Safety Net */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
  color: var(--text-white);
}

[data-theme="light"] [style*="color: #ffffff"]:not(.vast-btn):not(.vast-btn *):not(.theme-toggle-btn *):not(.pill-btn:hover):not(.badge-item):not(.nav-new-pill),
[data-theme="light"] [style*="color:#ffffff"]:not(.vast-btn):not(.vast-btn *):not(.theme-toggle-btn *):not(.pill-btn:hover):not(.badge-item):not(.nav-new-pill),
[data-theme="light"] [style*="color: #fff"]:not(.vast-btn):not(.vast-btn *):not(.theme-toggle-btn *):not(.pill-btn:hover):not(.badge-item):not(.nav-new-pill),
[data-theme="light"] [style*="color:#fff"]:not(.vast-btn):not(.vast-btn *):not(.theme-toggle-btn *):not(.pill-btn:hover):not(.badge-item):not(.nav-new-pill) {
  color: var(--text-white) !important;
}

[data-theme="light"] [style*="background: #000000"],
[data-theme="light"] [style*="background-color: #000000"] {
  background-color: #ffffff !important;
  border-color: rgba(10, 12, 22, 0.09) !important;
}

/* Hero Section (Homepage) */
[data-theme="light"] #hero-section {
  background: radial-gradient(circle at 65% 45%, rgba(106, 0, 216, 0.06) 0%, rgba(0, 135, 121, 0.03) 40%, transparent 70%), #f8f9fc;
}

[data-theme="light"] .hero-headline {
  color: #0a0c16 !important;
}

[data-theme="light"] .hero-headline .text-gradient {
  background: linear-gradient(135deg, #0a0c16 0%, #6a00d8 55%, #008779 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .hero-pill-box {
  background: #ffffff;
  color: #0a0c16;
  border: 1px solid rgba(10, 12, 22, 0.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .hero-pill-box:hover {
  box-shadow: 0 16px 40px rgba(106, 0, 216, 0.15);
}

[data-theme="light"] .pill-tag {
  color: #6e788e;
}

[data-theme="light"] .pill-name {
  color: #0a0c16;
}

[data-theme="light"] .pill-btn {
  color: #0a0c16;
  background: #f1f3f9;
  border-color: rgba(10, 12, 22, 0.15);
}

[data-theme="light"] .pill-btn:hover {
  background-color: var(--brand-purple);
  color: #ffffff;
}

[data-theme="light"] .hero-aside {
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  padding: 0;
}

[data-theme="light"] .hero-aside h2 {
  color: #0a0c16 !important;
}

[data-theme="light"] .hero-aside p {
  color: #495164;
}

[data-theme="light"] .hero-slide-badge {
  background: transparent;
  color: var(--brand-purple);
  font-weight: 700;
  padding: 0;
}

[data-theme="light"] .hero-slides-nav button {
  background: rgba(10, 12, 22, 0.2);
}

[data-theme="light"] .hero-slides-nav button.active {
  background: var(--brand-purple);
  box-shadow: 0 0 10px rgba(106, 0, 216, 0.4);
}

[data-theme="light"] .scroll-start-btn {
  color: #0a0c16;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(10, 12, 22, 0.14);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  backdrop-filter: blur(8px);
}

[data-theme="light"] .scroll-start-btn:hover {
  background: #ffffff;
  border-color: var(--brand-purple);
  color: var(--brand-purple);
  box-shadow: 0 4px 16px rgba(106, 0, 216, 0.1);
}

[data-theme="light"] .hero-marquee {
  background: #ffffff;
  border-top-color: rgba(10, 12, 22, 0.08);
  border-bottom-color: rgba(10, 12, 22, 0.08);
}

[data-theme="light"] .marquee-item {
  color: rgba(10, 12, 22, 0.55);
}

[data-theme="light"] .marquee-item:hover {
  color: #0a0c16;
}

/* Buttons in Light Mode */
[data-theme="light"] .vast-btn {
  border-color: rgba(10, 12, 22, 0.25);
  color: #0a0c16 !important;
  background: transparent;
}

[data-theme="light"] .vast-btn span {
  color: #0a0c16;
}

[data-theme="light"] .vast-btn svg {
  color: #0a0c16;
}

[data-theme="light"] .vast-btn svg path {
  fill: #0a0c16;
}

[data-theme="light"] .vast-btn::before {
  background-color: #0a0c16 !important;
}

[data-theme="light"] .vast-btn:hover {
  background-color: #0a0c16;
  border-color: #0a0c16;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(10, 12, 22, 0.15);
}

[data-theme="light"] .vast-btn:hover,
[data-theme="light"] .vast-btn:hover span,
[data-theme="light"] .vast-btn:hover * {
  color: #ffffff !important;
}

[data-theme="light"] .vast-btn:hover svg {
  color: #ffffff !important;
}

[data-theme="light"] .vast-btn:hover svg path {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

[data-theme="light"] .vast-btn-brand {
  border-color: var(--brand-purple);
  background: rgba(106, 0, 216, 0.08);
  color: var(--brand-purple) !important;
}

[data-theme="light"] .vast-btn-brand span {
  color: var(--brand-purple);
}

[data-theme="light"] .vast-btn-brand svg {
  color: var(--brand-purple);
}

[data-theme="light"] .vast-btn-brand svg path {
  fill: var(--brand-purple);
}

[data-theme="light"] .vast-btn-brand::before {
  background-color: var(--brand-purple) !important;
}

[data-theme="light"] .vast-btn-brand:hover {
  background-color: var(--brand-purple);
  border-color: var(--brand-purple);
  color: #ffffff !important;
  box-shadow: 0 0 20px var(--brand-purple-glow);
}

[data-theme="light"] .vast-btn-brand:hover,
[data-theme="light"] .vast-btn-brand:hover span,
[data-theme="light"] .vast-btn-brand:hover * {
  color: #ffffff !important;
}

[data-theme="light"] .vast-btn-brand:hover svg {
  color: #ffffff !important;
}

[data-theme="light"] .vast-btn-brand:hover svg path {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

[data-theme="light"] .vast-btn-solid {
  background-color: #0a0c16;
  color: #ffffff !important;
  border-color: #0a0c16;
}

[data-theme="light"] .vast-btn-solid span {
  color: #ffffff !important;
}

[data-theme="light"] .vast-btn-solid::before {
  background-color: var(--brand-purple) !important;
}

[data-theme="light"] .vast-btn-solid:hover {
  background-color: var(--brand-purple);
  border-color: var(--brand-purple);
  color: #ffffff !important;
}

[data-theme="light"] .vast-btn-solid:hover,
[data-theme="light"] .vast-btn-solid:hover span,
[data-theme="light"] .vast-btn-solid:hover * {
  color: #ffffff !important;
}

[data-theme="light"] .vast-btn-solid:hover svg path {
  fill: #ffffff !important;
  stroke: #ffffff !important;
}

/* Foundation Section & Headings */
[data-theme="light"] .foundation-title {
  color: #0a0c16 !important;
}

[data-theme="light"] .foundation-item h3 {
  color: #0a0c16 !important;
}

[data-theme="light"] .foundation-item p {
  color: #495164;
}

[data-theme="light"] .white-heading,
[data-theme="light"] .card-heading {
  color: #0a0c16 !important;
}

[data-theme="light"] .card-summary {
  color: #495164;
}

[data-theme="light"] .foundation-card,
[data-theme="light"] .pillar-card,
[data-theme="light"] .news-card,
[data-theme="light"] .product-dir-card,
[data-theme="light"] .portal-card,
[data-theme="light"] .erp-found-card,
[data-theme="light"] .connect-erp-box {
  background: #ffffff;
  border-color: rgba(10, 12, 22, 0.09);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .foundation-card:hover,
[data-theme="light"] .pillar-card:hover,
[data-theme="light"] .news-card:hover,
[data-theme="light"] .product-dir-card:hover,
[data-theme="light"] .portal-card:hover {
  box-shadow: 0 16px 36px rgba(106, 0, 216, 0.1);
}

[data-theme="light"] .foundation-card h3,
[data-theme="light"] .pillar-card h3,
[data-theme="light"] .news-card h3,
[data-theme="light"] .product-dir-card h3,
[data-theme="light"] .portal-card h3,
[data-theme="light"] .erp-found-card h3,
[data-theme="light"] .erp-found-card h4,
[data-theme="light"] .connect-erp-box h4,
[data-theme="light"] .connect-erp-box h5 {
  color: #0a0c16 !important;
}

[data-theme="light"] .foundation-card p,
[data-theme="light"] .pillar-card p,
[data-theme="light"] .product-dir-card p,
[data-theme="light"] .portal-card p,
[data-theme="light"] .erp-found-card p,
[data-theme="light"] .news-card p,
[data-theme="light"] .connect-erp-box p {
  color: #495164;
}

/* News Section in Light Mode */
[data-theme="light"] .news-section {
  background-color: #f6f8fc;
  color: #0a0c16;
  border-top: 1px solid rgba(10, 12, 22, 0.08);
  border-bottom: 1px solid rgba(10, 12, 22, 0.08);
}

[data-theme="light"] .news-title {
  color: #0a0c16 !important;
}

[data-theme="light"] .news-header-desc,
[data-theme="light"] .news-header p {
  color: #495164 !important;
}

[data-theme="light"] .news-date {
  color: var(--brand-purple) !important;
}

/* Callout Boxes */
[data-theme="light"] .callout-box {
  background: rgba(0, 135, 121, 0.06);
  border-color: rgba(0, 135, 121, 0.25);
}

[data-theme="light"] .callout-title {
  color: #0a0c16 !important;
}

[data-theme="light"] .callout-body {
  color: #495164;
}

[data-theme="light"] .callout-box span {
  color: #0a0c16;
}

[data-theme="light"] .callout-box.purple {
  background: rgba(106, 0, 216, 0.05);
  border-color: rgba(106, 0, 216, 0.22);
}

[data-theme="light"] .callout-box.purple span {
  color: #0a0c16;
}

[data-theme="light"] .feature-check-list li {
  color: #495164;
}

[data-theme="light"] .feature-check-list li strong {
  color: #0a0c16;
}

/* AYA Section on Homepage */
[data-theme="light"] .aya-section {
  background: radial-gradient(circle at 30% 50%, rgba(106, 0, 216, 0.06) 0%, rgba(0, 135, 121, 0.04) 50%, transparent 75%), #ffffff;
  border-color: rgba(10, 12, 22, 0.08);
}

[data-theme="light"] .aya-title {
  color: #0a0c16 !important;
}

[data-theme="light"] .aya-desc {
  color: #495164;
}

[data-theme="light"] .aya-highlights li {
  color: #495164;
}

[data-theme="light"] .aya-preview-card {
  background: #ffffff;
  border-color: rgba(106, 0, 216, 0.18);
  box-shadow: 0 20px 45px rgba(106, 0, 216, 0.08);
}

/* Matrix & Pillars */
[data-theme="light"] .matrix-section {
  background-color: #f8f9fc;
}

[data-theme="light"] .matrix-title {
  color: #0a0c16 !important;
}

[data-theme="light"] .features-list li {
  color: #495164;
}

[data-theme="light"] .pillars-section {
  background-color: #ffffff;
  border-color: rgba(10, 12, 22, 0.08);
}

[data-theme="light"] .pillar-card {
  background: #f8f9fc;
  border-color: rgba(10, 12, 22, 0.08);
}

[data-theme="light"] .pillar-card:hover {
  background: #ffffff;
  border-color: var(--brand-purple);
  box-shadow: 0 12px 30px rgba(106, 0, 216, 0.08);
}

[data-theme="light"] .pillar-icon {
  border-color: rgba(10, 12, 22, 0.12);
  color: #0a0c16;
  background: #ffffff;
}

/* Code Console in Light Mode */
[data-theme="light"] .code-console {
  background: #edf2f9;
  border: 1px solid rgba(10, 12, 22, 0.12);
  color: #007a6c;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .console-tabs {
  border-bottom: 1px solid rgba(10, 12, 22, 0.12);
  color: #64748b;
}

[data-theme="light"] #tab-code-rest,
[data-theme="light"] #copy-code-btn {
  color: #0a0c16 !important;
}

[data-theme="light"] #matrix-code-display {
  color: #1e293b;
}

/* Subpage Systems */
[data-theme="light"] .subpage-hero {
  background: radial-gradient(circle at 75% 30%, rgba(106, 0, 216, 0.07) 0%, rgba(0, 135, 121, 0.04) 45%, transparent 75%), #f8f9fc;
}

[data-theme="light"] .subpage-title {
  color: #0a0c16 !important;
}

[data-theme="light"] .subpage-subtitle {
  color: #495164;
}

/* Modal Box */
[data-theme="light"] .modal-backdrop {
  background: rgba(10, 12, 22, 0.65);
}

[data-theme="light"] .modal-box {
  background: #ffffff;
  color: #0a0c16;
  border: 1px solid rgba(10, 12, 22, 0.1);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .modal-box h3 {
  color: #0a0c16 !important;
}

[data-theme="light"] .modal-box label {
  color: var(--brand-purple);
}

[data-theme="light"] .modal-box input,
[data-theme="light"] .modal-box textarea {
  background: #f4f6fb;
  border: 1px solid rgba(10, 12, 22, 0.14);
  color: #0a0c16;
}

[data-theme="light"] .modal-box select,
[data-theme="light"] .form-group select {
  background-color: #ffffff;
  border: 1px solid rgba(10, 12, 22, 0.18);
  color: #0a0c16;
  color-scheme: light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%237f02fd' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

[data-theme="light"] .form-group select option {
  background-color: #ffffff !important;
  color: #0a0c16 !important;
}

[data-theme="light"] .modal-close {
  color: #0a0c16;
  border-color: rgba(10, 12, 22, 0.14);
}

[data-theme="light"] .mobile-drawer {
  background: rgba(255, 255, 255, 0.98);
  color: #0a0c16;
}

[data-theme="light"] .mobile-nav-link {
  color: #0a0c16 !important;
  border-bottom-color: rgba(10, 12, 22, 0.08);
}

[data-theme="light"] .mobile-nav-link span {
  color: var(--brand-purple);
}

[data-theme="light"] .mobile-nav-link.active {
  color: var(--brand-purple) !important;
}

[data-theme="light"] .mobile-toggle span {
  background-color: #0a0c16;
}

/* Refined Executive Footer in Light Mode */
[data-theme="light"] #site-footer {
  background-color: #f1f4f9;
  color: #0a0c16;
  border-top: 1px solid rgba(10, 12, 22, 0.08);
}

[data-theme="light"] .footer-hero {
  background-color: #e5ebf4;
  border-bottom: 1px solid rgba(10, 12, 22, 0.08);
}

[data-theme="light"] .footer-hero-title h2 {
  color: #0a0c16 !important;
}

[data-theme="light"] .footer-col-header {
  color: var(--brand-purple);
}

[data-theme="light"] .footer-links a {
  color: #495164;
}

[data-theme="light"] .footer-links a:hover {
  color: var(--brand-purple);
}

[data-theme="light"] .footer-doc-btn {
  background: transparent;
  border-color: rgba(10, 12, 22, 0.12);
  color: #495164;
}

[data-theme="light"] .footer-doc-btn:hover {
  background: rgba(106, 0, 216, 0.06);
  border-color: var(--brand-purple);
  color: var(--brand-purple);
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(10, 12, 22, 0.08);
}

[data-theme="light"] .copy-text {
  color: #6e788e;
}

[data-theme="light"] .cluster-status {
  color: #6e788e;
}

/* Full Width Sections Across Pages */
#about-detail .vast-container,
#aya-erp-foundation .vast-container,
#strategic-axes .vast-container,
.full-width-container {
  max-width: 100% !important;
  width: 100% !important;
}

/* Responsive Grid & Card Utilities for About Us & Subpages */
.about-duo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .about-duo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.doc-download-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

[data-theme="light"] .doc-download-card {
  background: #ffffff;
  border-color: rgba(10, 12, 22, 0.08);
}

/* Global Code Overflow Protection */
pre {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Tablet & Mobile Navigation & Touch Ergonomics */
@media (max-width: 991px) {
  #nav-demo-btn {
    display: none !important;
  }
  .mobile-toggle {
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
  }
  .vast-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* Mobile Screen Balanced Gutters (< 768px) */
@media (max-width: 767px) {
  :root {
    --gutter-left: 1.25rem;
    --gutter-right: 1.25rem;
    --gutter: 1.25rem;
  }
  #hero-section .vast-container,
  .subpage-hero .vast-container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }
  .subpage-hero {
    padding-top: calc(var(--nav-height) + 1.25rem);
    padding-bottom: 2.5rem;
  }
}

/* Smartphone Viewport Optimization (< 540px) */
@media (max-width: 540px) {
  .theme-toggle-btn {
    width: 48px;
    height: 28px;
  }
  .theme-toggle-pill {
    width: 20px;
    height: 20px;
  }
  [data-theme="light"] .theme-toggle-pill {
    transform: translateX(20px);
  }
  .matrix-card,
  .product-dir-card,
  .portal-card,
  .erp-found-card,
  .doc-download-card,
  .callout-box {
    padding: 1.5rem 1.15rem;
  }
  .modal-backdrop {
    padding: 1rem;
  }
  .modal-box {
    padding: 2rem 1.25rem 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
  }
  .telemetry-stats-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .hero-pill-box {
    max-width: 100%;
    width: 100%;
  }
}

/* Narrow Screen Fallback (< 360px) */
@media (max-width: 360px) {
  .hero-pill-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .pill-arrows {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 6px;
    width: 100%;
    justify-content: flex-end;
  }
}

