/* ==========================================================================
   Vardand Technologies — Global Design System & Stylesheet (Vanilla CSS)
   ========================================================================== */

/* 1. Imports & Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Lexend:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* 2. Custom Properties (Design Tokens) */
:root {
  --bg-base: #0A0F1C;
  --bg-panel: #121A2F;
  --bg-footer: #080d18;
  
  --color-cyan: #22D3EE;
  --color-blue: #3B82F6;
  --color-violet: #8B5CF6;
  
  --text-muted: #94A3B8;
  --text-body: #E2E8F0;
  --text-heading: #FFFFFF;
  
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Space Grotesk', var(--font-body);
  --font-dyslexia: 'Lexend', sans-serif;
  
  --transition-smooth: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-spring: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  height: 100%;
}

body {
  background-color: var(--bg-base);
  color: var(--text-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-smooth);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* WCAG Focus Styling (2.4.7) */
:focus {
  outline: none;
}
:focus-visible {
  outline: 2px solid var(--color-cyan);
  outline-offset: 4px;
}

/* 4. Accessibility Skip Links (WCAG 2.4.1) */
.skip-links {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--bg-panel);
  color: var(--text-heading);
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--color-cyan);
  border-radius: 0.5rem;
  font-weight: 600;
  transition: top var(--transition-smooth);
}
.skip-link:focus {
  top: 1rem;
}

/* 5. Typography Custom Classes */
.text-cyan { color: var(--color-cyan) !important; }
.text-blue { color: var(--color-blue) !important; }
.text-violet { color: var(--color-violet) !important; }
.text-muted { color: var(--text-muted) !important; }
.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  font-weight: 600;
  color: var(--color-cyan);
  display: block;
  margin-bottom: 0.75rem;
}

/* 6. Layout Containers & Grid */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}
@media (min-width: 768px) {
  .section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.section-divider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-cyan) 0%, var(--color-blue) 50%, var(--color-violet) 100%);
  opacity: 0.3;
}

/* 2x2 and 3-column Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* 7. Recurring UI Components */

/* Glass Panels */
.glass-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.75rem;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

/* Sheen Buttons */
.sheen-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-heading);
  padding: 0.55rem 0.5rem;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 0.775rem;
  transition: background var(--transition-smooth), border var(--transition-smooth);
}
.sheen-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}
.sheen-btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(30deg);
  transition: transform 0.5s ease-in-out;
  pointer-events: none;
}
.sheen-btn:hover::after {
  transform: translate(400%, 0) rotate(30deg);
}

.sheen-btn-filled {
  background: #FFFFFF;
  color: var(--bg-base);
  border: 1px solid #FFFFFF;
  font-weight: 600;
}
.sheen-btn-filled:hover {
  background: #E2E8F0;
  border-color: #E2E8F0;
  color: var(--bg-base);
}
.sheen-btn-filled::after {
  background: rgba(255, 255, 255, 0.4);
}

/* Orbit Ring Buttons */
.orbit-ring-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.5rem;
  border-radius: 1rem;
  color: var(--text-heading);
  font-weight: 600;
  font-size: 0.775rem;
  background: transparent;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.orbit-ring-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 1.1rem;
  padding: 2px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-blue), var(--color-violet), var(--color-cyan));
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity var(--transition-smooth);
}

.orbit-ring-btn:hover {
  transform: translateY(-3px) scale(1.02);
}

.orbit-ring-btn:hover::before {
  opacity: 1;
  animation: rotate-gradient 3s linear infinite;
}

@keyframes rotate-gradient {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

/* Hover Glow Cards */
.hover-glow-card {
  position: relative;
  transition: border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
}
.hover-glow-card:hover {
  border-color: rgba(34, 211, 238, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.12);
}

/* Alternate Section Accent Glows */
.section-glow-blue {
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.12), transparent 55%);
}

.section-glow-violet {
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.12), transparent 55%);
}

/* Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* 8. Global Header */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.5rem 1rem;
  pointer-events: none;
}

.header-pill {
  pointer-events: auto;
  max-width: 1280px;
  margin: 0 auto;
  background: rgba(10, 15, 28, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 1.25rem;
  box-shadow: 0 14px 48px rgba(2, 6, 23, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

.header-pill:hover {
  transform: translateY(2px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.logo-dot {
  width: 6px;
  height: 6px;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-blue));
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-cyan);
}
.logo-muted {
  color: var(--text-muted);
  font-weight: 400;
}

.desktop-nav {
  display: none;
}
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.gooey-nav-container ul {
  display: flex;
  align-items: center;
  position: relative;
  list-style: none;
}
.gooey-nav-container ul li {
  position: relative;
  list-style: none;
}
.gooey-nav-container ul li a {
  padding: 0.35rem 0.85rem;
  font-weight: 500;
  font-size: 0.8rem;
  border-radius: 9999px;
  color: var(--text-muted);
  display:flex;
  align-items: center;
}
.gooey-nav-container ul li a:hover {
  color: var(--text-heading);
}

/* Gooey Pill Element */
.gooey-pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: -1;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Particles burst (gooey effect container) */
.nav-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--color-cyan);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: burst-out 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes burst-out {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

/* Header CTAs */
.header-ctas {
  display: none;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .header-ctas {
    display: flex;
  }
}

/* Hamburger button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 28px;
  justify-content: center;
  align-items: flex-end;
}
@media (min-width: 1024px) {
  .hamburger-btn {
    display: none;
  }
}
.hamburger-bar {
  height: 2px;
  background-color: var(--text-body);
  transition: all var(--transition-smooth);
}
.hamburger-bar:nth-child(1) { width: 100%; }
.hamburger-bar:nth-child(2) { width: 75%; }
.hamburger-bar:nth-child(3) { width: 50%; }

.hamburger-btn:hover .hamburger-bar {
  width: 100%;
}

/* Mobile Slide-down Panel */
.mobile-nav-panel {
  position: fixed;
  top: 5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 15, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}
.mobile-nav-panel.is-active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.5rem;
}

/* 9. Global Footer */
.footer {
  background-color: var(--bg-footer);
  padding: 5rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.footer-brand p {
  color: var(--text-muted);
  max-width: 400px;
}

.footer-links-col h3 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-links-col ul a {
  color: var(--text-muted);
  font-size: 0.875rem;
}
.footer-links-col ul a:hover {
  color: var(--color-cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* 10. Global Accessibility Widget */
.a11y-trigger-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  background: var(--bg-base);
  border: 2px solid var(--color-cyan);
  border-radius: 50%;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.25);
  transition: transform var(--transition-smooth), background var(--transition-smooth);
}
.a11y-trigger-btn:hover {
  transform: scale(1.08);
  background: rgba(34, 211, 238, 0.08);
}
.a11y-trigger-btn svg {
  width: 1.75rem;
  height: 1.75rem;
}

.a11y-dialog {
  position: fixed;
  bottom: 6rem;
  right: 1.5rem;
  width: calc(100% - 3rem);
  max-width: 350px;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
  z-index: 200;
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  animation: dialog-fade-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.a11y-dialog.is-active {
  display: flex;
}

@keyframes dialog-fade-in {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.a11y-dialog h2 {
  font-size: 1.125rem;
  font-weight: 600;
}
.a11y-dialog p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.a11y-control-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 0;
}
.a11y-control-group legend {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.a11y-button-row {
  display: flex;
  gap: 0.5rem;
}
.a11y-btn {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-smooth);
}
.a11y-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.a11y-btn.is-active {
  border-color: var(--color-cyan);
  background: rgba(34, 211, 238, 0.15);
  color: #FFFFFF;
}

.a11y-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.a11y-switch-row label {
  font-size: 0.875rem;
  font-weight: 500;
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.1);
  transition: .4s;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: var(--color-cyan);
  border-color: var(--color-cyan);
}
input:checked + .slider:before {
  transform: translateX(24px);
}

.a11y-dialog-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.a11y-action-btn {
  flex: 1;
  padding: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.5rem;
  text-align: center;
  transition: all var(--transition-smooth);
}
.a11y-reset {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
}
.a11y-reset:hover {
  background: rgba(255, 255, 255, 0.05);
}
.a11y-done {
  background: var(--color-cyan);
  color: var(--bg-base);
  font-weight: 600;
}
.a11y-done:hover {
  background: #06b6d4;
}

/* 11. Accessibility Panel Dynamic CSS States */
html[data-font-scale="112"] { font-size: 18px; }
html[data-font-scale="125"] { font-size: 20px; }

html[data-dyslexia-font],
html[data-dyslexia-font] body,
html[data-dyslexia-font] h1,
html[data-dyslexia-font] h2,
html[data-dyslexia-font] h3,
html[data-dyslexia-font] h4,
html[data-dyslexia-font] h5,
html[data-dyslexia-font] h6,
html[data-dyslexia-font] a,
html[data-dyslexia-font] p,
html[data-dyslexia-font] button,
html[data-dyslexia-font] span {
  font-family: var(--font-dyslexia) !important;
}

html[data-high-contrast] {
  --bg-base: #000000;
  --bg-panel: #000000;
  --bg-footer: #000000;
  --text-muted: #E2E8F0;
  --text-body: #FFFFFF;
  --text-heading: #FFFFFF;
  --color-cyan: #FFFF00; /* High visibility yellow */
  --color-blue: #FFFF00;
  --color-violet: #FFFF00;
}

html[data-high-contrast] body {
  background-color: #000000 !important;
  color: #FFFFFF !important;
}

html[data-high-contrast] .glass-panel {
  background: #000000 !important;
  border: 2px solid #FFFFFF !important;
  box-shadow: none !important;
}

html[data-high-contrast] a {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}

html[data-high-contrast] :focus-visible {
  outline: 3px solid #FFFF00 !important;
  outline-offset: 4px;
}

/* 12. Main Hero Section Styling */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 6rem;
  background-color: var(--bg-base);
}

.hero-bg-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-radial-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.15), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .hero-title { font-size: 4rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 5.5rem; line-height: 1.1; } }

.hero-subtext {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
}
@media (min-width: 768px) { .hero-subtext { font-size: 1.25rem; } }

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    gap: 1.5rem;
  }
}

/* 13. Platform Intelligence Pipeline Section */
.pipeline-cards {
  margin-top: 4rem;
}

.pipeline-card-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: 1.5rem;
}

/* Anti-gravity bobbing animation */
.bobbing-card {
  animation: bob-gravity 6s ease-in-out infinite;
}
.bobbing-card:nth-child(2) { animation-delay: 1.5s; }
.bobbing-card:nth-child(3) { animation-delay: 3s; }
.bobbing-card:nth-child(4) { animation-delay: 4.5s; }

@keyframes bob-gravity {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* 14. Product Suite Section */
.product-showcase-row {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.suite-card-anchor {
  display: block;
}

.suite-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
  border-radius: 1.5rem;
  cursor: pointer;
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.suite-card-glow-cyan:hover {
  border-color: rgba(34, 211, 238, 0.25);
  box-shadow: 0 10px 40px rgba(34, 211, 238, 0.08);
}
.suite-card-glow-violet:hover {
  border-color: rgba(139, 92, 246, 0.25);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.08);
}
.suite-card-glow-blue:hover {
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.08);
}

@media (min-width: 1024px) {
  .suite-card-align-right {
    margin-left: auto;
    max-width: 85%;
  }
  .suite-card-align-left {
    margin-right: auto;
    max-width: 85%;
  }
}

.suite-card h3 {
  font-size: 1.75rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.suite-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-blue);
  margin-top: 1rem;
}

.product-suite-detail-panel {
  margin-top: 0.75rem;
  display: none;
}
.product-suite-detail-box {
  border-radius: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: linear-gradient(180deg, rgba(46, 16, 101, 0.25) 0%, rgba(15, 23, 42, 0.4) 100%);
  padding: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(10px);
}
.product-suite-detail-box strong {
  color: var(--text-heading);
  font-weight: 600;
}

/* 15. Investigation Workflow Section */
.workflow-row {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .workflow-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.workflow-step-container {
  display: flex;
  flex-direction: column;
  position: relative;
}

.workflow-step-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  text-align: left;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-smooth);
}
.workflow-step-btn:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow: 0 12px 40px rgba(34, 211, 238, 0.12);
  transform: translateY(-2px);
}

.workflow-badge {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-cyan);
  transition: all var(--transition-smooth);
}
.workflow-step-btn:hover .workflow-badge {
  border-color: rgba(34, 211, 238, 0.5);
  box-shadow: 0 0 15px rgba(34, 211, 238, 0.25);
  color: #FFFFFF;
}

.workflow-step-title {
  font-weight: 600;
  color: var(--text-heading);
  font-size: 1rem;
}

.workflow-mobile-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  padding-left: 0.5rem;
}
@media (min-width: 1024px) {
  .workflow-mobile-desc {
    display: none;
  }
}

/* Tooltip on Desktop */
.workflow-tooltip {
  display: none;
}
@media (min-width: 1024px) {
  .workflow-tooltip {
    display: block;
    position: absolute;
    top: 110%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
  }
  .workflow-step-container:hover .workflow-tooltip {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  .workflow-tooltip-inner {
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.4) 0%, rgba(139, 92, 246, 0.4) 100%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  }
  .workflow-tooltip-content {
    background: #0B1220;
    border-radius: 0.9rem;
    padding: 1rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* 16. Solutions Section */
.solutions-grid {
  margin-top: 4rem;
}

.solution-card {
  height: 100%;
}

.solution-extended-panel {
  display: none;
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  line-height: 1.6;
}

/* 17. Live Wallet Tracing Simulation Demo */
.demo-panel {
  position: relative;
  overflow: hidden;
}
.demo-glow-dot {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(34, 211, 238, 0.08);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.demo-input-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 640px) {
  .demo-input-row {
    flex-direction: row;
  }
}

.demo-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  color: #FFFFFF;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.demo-input:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.15);
}

.demo-btn {
  background: linear-gradient(90deg, var(--color-blue), var(--color-cyan));
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
  transition: filter var(--transition-smooth), transform var(--transition-smooth);
}
.demo-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.demo-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.demo-graph-area {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #080d18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
}

.demo-graph-svg {
  width: 100%;
  height: 100%;
}

.demo-graph-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-muted);
  font-size: 0.875rem;
  pointer-events: none;
  font-family: var(--font-display);
}

.demo-graph-node {
  fill: var(--color-cyan);
  stroke: #0A0F1C;
  stroke-width: 2px;
  cursor: pointer;
  transition: r 0.3s ease, fill 0.3s ease;
}
.demo-graph-node:hover {
  fill: #FFFFFF;
  r: 10px;
}

.demo-graph-edge {
  stroke: url(#edge-gradient);
  stroke-width: 1.5px;
  stroke-dasharray: 5, 5;
  animation: dash 15s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -100;
  }
}

.demo-status-msg {
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  animation: fade-in-up 0.4s ease forwards;
}
.demo-status-success {
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--color-cyan);
}
.demo-status-error {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.2);
  color: #FDA4AF;
}

/* 18. Cinematic Product Story Page Layout */
.product-story-wrapper {
  background-color: var(--bg-base);
}

.product-story-hero,
.product-hero {
  position: center;
  padding: 7%;
  padding-bottom: 8rem;
  background-color: var(--bg-base);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.product-hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px; /* Constrain horizontal line length for readability */
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-hero-content .hero-title {
  font-size: 5rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-heading);
}

@media (min-width: 768px) {
  .product-hero-content .hero-title {
    font-size: 4.5rem;
  }
}

@media (min-width: 1024px) {
  .product-hero-content .hero-title {
    font-size: 5.5rem;
  }
}

.product-hero-content .hero-subtext {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

@media (min-width: 768px) {
  .product-hero-content .hero-subtext {
    font-size: 1.25rem;
  }
}

.product-hero-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Colors for specific product hero glows */
.product-hero-crypto .product-hero-glow {
  background: radial-gradient(circle at 50% 30%, rgba(34, 211, 238, 0.18), transparent 60%);
}

.product-hero-mft .product-hero-glow {
  background: radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.18), transparent 60%);
}

.product-hero-investigator .product-hero-glow {
  background: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.18), transparent 60%);
}

.product-story-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.75;
}

.product-story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 15, 28, 0.4) 0%, var(--bg-base) 100%);
  z-index: 1;
}

.product-story-hero-content {
  position: relative;
  z-index: 2;
}

.product-story-hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .product-story-hero h1 {
    font-size: 4rem;
  }
}
@media (min-width: 1280px) {
  .product-story-hero h1 {
    font-size: 4.5rem;
  }
}

.product-story-hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
}
@media (min-width: 768px) {
  .product-story-hero p {
    font-size: 1.25rem;
  }
}

/* Introduction part buttons inside hero content wrapper */
.product-intro-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-cyan);
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.product-intro-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.product-intro-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all var(--transition-smooth);
}
.product-intro-btn:hover {
  border-color: rgba(34, 211, 238, 0.4);
  background: rgba(255, 255, 255, 0.08);
}
.product-intro-btn.is-active {
  border-color: var(--color-cyan);
  background: rgba(34, 211, 238, 0.15);
  color: #FFFFFF;
}

.product-intro-desc-box {
  display: block; /* Ensure it is visible */
  max-width: 750px;
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--accent-color, var(--color-cyan));
  background: rgba(18, 26, 47, 0.4);
  backdrop-filter: blur(12px);
  border-radius: 0 0.75rem 0.75rem 0;
  transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  margin-top: 1.5rem;
}

.product-intro-desc-box.is-animating {
  opacity: 0;
  transform: translateY(5px);
}

.desc-box-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.desc-box-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.desc-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-color, var(--color-cyan));
  flex-shrink: 0;
}

.desc-box-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.desc-box-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.desc-box-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
}

.desc-box-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-chip {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.desc-box-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-body);
}

/* Scroll progress indicators */
.scroll-progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 110;
  background: rgba(255, 255, 255, 0.05);
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--color-cyan);
  box-shadow: 0 0 10px var(--color-cyan);
}

.product-story-features-section {
  position: relative;
  padding: 6rem 0;
}

/* Vertical Scroll progress line */
.scroll-progress-line-container {
  display: none;
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.scroll-progress-line {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--color-cyan), var(--color-blue));
  origin-top: 50% 0%;
}
@media (min-width: 1024px) {
  .scroll-progress-line-container {
    display: block;
  }
}

.product-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}
@media (min-width: 1024px) {
  .product-story-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    padding-left: 3rem; /* Leave room for vertical line */
  }
}

.product-story-features-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.product-feature-block {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.product-feature-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-feature-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.product-feature-block h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.product-feature-block p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Sticky live preview panel */
.sticky-preview-wrapper {
  position: relative;
}
@media (min-width: 1024px) {
  .sticky-preview-wrapper {
    position: sticky;
    top: 6rem;
    height: fit-content;
  }
}

.sticky-preview-card {
  min-height: 420px;
}
.sticky-preview-card .preview-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

.sticky-preview-card .preview-title {
  font-size: 1.125rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.preview-stat-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  font-size: 0.6875rem;
  margin-bottom: 1.5rem;
}
.preview-stat-tile {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 0.75rem;
}
.preview-stat-tile p:first-child {
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}
.preview-stat-tile p:last-child {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 600;
}

.preview-graphics-area {
  height: 160px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 0.95) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 19. Contact Form Success State & Ingestion */
.contact-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
}
.form-group label span {
  color: var(--color-cyan);
}
.form-input, .form-textarea {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 0.875rem 1.25rem;
  font-size: 0.875rem;
  color: #FFFFFF;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--color-cyan);
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.15);
}
.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-success-message {
  display: none;
  text-align: center;
  padding: 3rem 2rem;
  animation: fade-in-up var(--transition-smooth) forwards;
}
.form-success-icon {
  width: 4rem;
  height: 4rem;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  color: var(--color-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}
.form-success-message h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.form-success-message p {
  color: var(--text-muted);
}

/* 20. Helper animations */
@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 21. Global Hover Pop-up and Fading Glow Effects */
a, button, .glass-panel, .hover-glow-card, .sheen-btn, .orbit-ring-btn, .suite-card, .workflow-step-btn, .preview-stat-tile, input, textarea, select, .logo, .a11y-trigger-btn {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15), box-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15), border-color 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15), text-shadow 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.15);
}

a:hover, button:hover, .glass-panel:hover, .hover-glow-card:hover, .sheen-btn:hover, .orbit-ring-btn:hover, .suite-card:hover, .workflow-step-btn:hover, .preview-stat-tile:hover, input:focus, textarea:focus, select:focus, .logo:hover, .a11y-trigger-btn:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 
    0 4px 15px rgba(34, 211, 238, 0.2), 
    0 8px 30px rgba(34, 211, 238, 0.1), 
    0 16px 60px rgba(34, 211, 238, 0.05),
    0 32px 120px rgba(34, 211, 238, 0.02) !important;
  border-color: rgba(34, 211, 238, 0.4) !important;
}

/* Maintain high contrast rules under high-contrast data state */
html[data-high-contrast] a:hover,
html[data-high-contrast] button:hover,
html[data-high-contrast] .glass-panel:hover,
html[data-high-contrast] .hover-glow-card:hover,
html[data-high-contrast] .sheen-btn:hover,
html[data-high-contrast] .orbit-ring-btn:hover,
html[data-high-contrast] .suite-card:hover,
html[data-high-contrast] .workflow-step-btn:hover,
html[data-high-contrast] .preview-stat-tile:hover,
html[data-high-contrast] input:focus,
html[data-high-contrast] textarea:focus,
html[data-high-contrast] select:focus,
html[data-high-contrast] .logo:hover,
html[data-high-contrast] .a11y-trigger-btn:hover {
  box-shadow: none !important;
  outline: 2px solid #FFFF00 !important;
  transform: translateY(-4px);
}

/* Disable hover pop-up transform for navbar elements */
.header-wrapper a:hover,
.header-wrapper button:hover,
.header-wrapper .logo:hover,
.header-wrapper .sheen-btn:hover,
.mobile-nav-panel a:hover,
.mobile-nav-panel .sheen-btn:hover {
  transform: none !important;
}

