@charset "UTF-8";
/* ==========================================================================
   DOMAINTHEME - PREMIUM DIGITAL AGENCY CSS ARCHITECTURE
   Version: 2.0
   Author: System
   Description: Zero Frameworks. Pure CSS Mastery. AWWARDS-level styling.
   ========================================================================== */

/* ==========================================================================
   01. DESIGN TOKENS & VARIABLES
   ========================================================================== */
:root {
  /* --- Core Color Palette --- */
  --color-bg-base: #030305;
  --color-bg-surface: #0a0a0f;
  --color-bg-surface-elevated: #12121a;
  --color-bg-glass: rgba(10, 10, 15, 0.4);
  --color-bg-glass-heavy: rgba(20, 20, 25, 0.7);
  --color-bg-glass-hover: rgba(30, 30, 40, 0.6);

  /* --- Typography Colors --- */
  --color-text-primary: #ffffff;
  --color-text-secondary: #8a8a9d;
  --color-text-tertiary: #555566;
  --color-text-inverse: #000000;

  /* --- Accents & Brand --- */
  --color-accent-primary: #00e5ff; /* Cyan/Neon Blue */
  --color-accent-primary-dim: rgba(0, 229, 255, 0.2);
  --color-accent-secondary: #7000ff; /* Deep Purple */
  --color-accent-tertiary: #ff0055; /* Neon Pink */

  /* --- State Colors --- */
  --color-success: #00ff66;
  --color-warning: #ffbd2e;
  --color-error: #ff5f56;
  --color-info: #00e5ff;

  /* --- Borders & Shadows --- */
  --color-border-subtle: rgba(255, 255, 255, 0.05);
  --color-border-default: rgba(255, 255, 255, 0.1);
  --color-border-highlight: rgba(0, 229, 255, 0.4);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.3);
  --shadow-glow-strong: 0 0 40px rgba(0, 229, 255, 0.5);

  /* --- Typography Setup --- */
  --font-heading: "Syncopate", sans-serif; /* Wide, techy */
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Fira Code", "Courier New", monospace;

  /* Fluid Typography Scale */
  --text-xs: clamp(0.7rem, 0.8vw, 0.8rem);
  --text-sm: clamp(0.8rem, 1vw, 0.9rem);
  --text-base: clamp(1rem, 1.1vw, 1.1rem);
  --text-lg: clamp(1.2rem, 1.5vw, 1.4rem);
  --text-xl: clamp(1.5rem, 2vw, 1.8rem);
  --text-2xl: clamp(2rem, 3vw, 2.5rem);
  --text-3xl: clamp(2.5rem, 4vw, 3.5rem);
  --text-4xl: clamp(3rem, 6vw, 5rem);
  --text-5xl: clamp(4rem, 8vw, 7rem);

  /* --- Layout & Spacing --- */
  --container-max-width: 1400px;
  --container-padding: clamp(20px, 5vw, 40px);
  --header-height: 100px;
  --header-height-scrolled: 80px;

  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 96px;
  --spacing-section: clamp(80px, 15vw, 160px);

  /* --- Animation & Easings --- */
  --ease-linear: linear;
  --ease-in-quad: cubic-bezier(0.55, 0.085, 0.68, 0.53);
  --ease-out-quad: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-in-out-quad: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-in-out-expo: cubic-bezier(1, 0, 0, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --transition-fast: 0.2s var(--ease-out-quad);
  --transition-normal: 0.4s var(--ease-out-expo);
  --transition-slow: 0.8s var(--ease-out-expo);

  /* --- Z-Index Scale --- */
  --z-negative: -1;
  --z-base: 1;
  --z-above: 10;
  --z-dropdown: 100;
  --z-header: 1000;
  --z-overlay: 9000;
  --z-cursor: 9999;
}

/* ==========================================================================
   02. RESET & NORMALIZATION
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto; /* Disabled for JS smooth scroll */
  -webkit-text-size-adjust: 100%;
  background-color: var(--color-bg-base);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-primary);
  background-color: var(--color-bg-base);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Hide native cursor for desktop */
@media (pointer: fine) {
  body,
  a,
  button,
  input,
  select,
  textarea,
  label {
    cursor: none !important;
  }
}

/* Custom Selection */
::selection {
  background-color: var(--color-accent-primary);
  color: var(--color-text-inverse);
  text-shadow: none;
}
::-moz-selection {
  background-color: var(--color-accent-primary);
  color: var(--color-text-inverse);
  text-shadow: none;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  background: var(--color-bg-base);
}
::-webkit-scrollbar-track {
  background: var(--color-bg-surface);
}
::-webkit-scrollbar-thumb {
  background: var(--color-text-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-primary);
}

/* HTML5 Elements */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

/* Lists */
ul,
ol {
  list-style: none;
}

/* Media */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  fill: currentColor;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
  transition: color var(--transition-fast);
}

/* Typography Base */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--color-text-secondary);
}

strong,
b {
  font-weight: 600;
  color: var(--color-text-primary);
}

em,
i {
  font-style: italic;
}

blockquote {
  border-left: 4px solid var(--color-accent-primary);
  padding-left: var(--spacing-lg);
  font-style: italic;
  color: var(--color-text-secondary);
  margin: var(--spacing-xl) 0;
}

hr {
  box-sizing: content-box;
  height: 1px;
  overflow: visible;
  background: var(--color-border-default);
  border: none;
  margin: var(--spacing-2xl) 0;
}

/* ==========================================================================
   03. UTILITY CLASSES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section-padding {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

/* Text Alignments */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

/* Display & Flex */
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}
.flex-column {
  flex-direction: column;
}
.align-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-sm {
  gap: var(--spacing-sm);
}
.gap-md {
  gap: var(--spacing-md);
}
.gap-lg {
  gap: var(--spacing-lg);
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(
    135deg,
    var(--color-accent-primary) 0%,
    var(--color-accent-secondary) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.text-outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--color-text-secondary);
  transition: var(--transition-normal);
}

.text-outline:hover {
  -webkit-text-stroke: 1px var(--color-accent-primary);
  text-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.accent {
  color: var(--color-accent-primary);
  text-shadow: var(--shadow-glow);
}

.subtitle {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-accent-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--spacing-sm);
}
.subtitle::before {
  content: "// ";
  color: var(--color-text-tertiary);
}

/* ==========================================================================
   04. CUSTOM CURSOR & EFFECTS
   ========================================================================== */
.cursor-dot,
.cursor-outline {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: var(--z-cursor);
  pointer-events: none;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent-primary);
  box-shadow: 0 0 10px var(--color-accent-primary);
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 229, 255, 0.5);
  transition:
    width 0.2s,
    height 0.2s,
    background-color 0.2s,
    border-color 0.2s;
  /* Will be moved via JS */
}

.cursor-outline.hover {
  width: 70px;
  height: 70px;
  background-color: rgba(0, 229, 255, 0.05);
  border-color: rgba(0, 229, 255, 0.8);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

/* Noise & CRT Effects */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: var(--z-overlay);
  opacity: 0.04;
  background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  mix-blend-mode: overlay;
}

.scanlines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: calc(var(--z-overlay) - 1);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0) 50%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.1)
  );
  background-size: 100% 4px;
  opacity: 0.15;
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--color-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-default);
  border-radius: 24px;
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at top right,
    rgba(0, 229, 255, 0.1),
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

.glass-panel > * {
  position: relative;
  z-index: 1;
}

.glass-panel:hover {
  border-color: var(--color-border-highlight);
  background: var(--color-bg-glass-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-5px);
}

/* 3D Tilt Wrapper */
.tilt-wrapper {
  perspective: 1000px;
  transform-style: preserve-3d;
}

/* ==========================================================================
   05. BUTTONS & CONTROLS
   ========================================================================== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  outline: none;
  cursor: pointer;
  text-transform: uppercase;
}

/* Primary Button (Gradient/Solid) */
.btn-primary {
  background: transparent;
  color: var(--color-bg-base);
}

.btn-primary .btn-bg {
  position: absolute;
  top: 0;
  left: -10%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--color-accent-primary),
    var(--color-accent-secondary),
    var(--color-accent-primary)
  );
  background-size: 200% 100%;
  z-index: -1;
  transition: transform var(--transition-normal);
  animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.btn-primary:hover .btn-bg {
  transform: scale(1.05);
}

.btn-primary:hover {
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
}

/* Secondary Button (Outline/Ghost) */
.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-default);
  transition: all var(--transition-fast);
}

.btn-secondary::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--color-accent-primary);
  z-index: -1;
  transition: height var(--transition-normal);
}

.btn-secondary:hover {
  border-color: var(--color-accent-primary);
  color: var(--color-bg-base);
}

.btn-secondary:hover::after {
  height: 100%;
}

.btn-large {
  padding: 20px 48px;
  font-size: var(--text-sm);
}

/* Navigation Buttons (Arrows) */
.nav-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border-default);
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.nav-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 100%;
  height: 100%;
  background: var(--color-accent-primary);
  border-radius: 50%;
  z-index: -1;
  transition: transform var(--transition-normal);
}

.nav-btn:hover {
  color: var(--color-bg-base);
  border-color: var(--color-accent-primary);
}

.nav-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   06. HEADER & NAVIGATION (STRICT LOGIC)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition:
    height var(--transition-normal),
    background var(--transition-normal),
    border-color var(--transition-normal),
    backdrop-filter var(--transition-normal);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  background: rgba(3, 3, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-default);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  height: 60px;
  position: relative;
  z-index: calc(var(--z-header) + 2);
}

.brand-logo .logo-img {
  height: 100%;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  transition:
    filter var(--transition-fast),
    transform var(--transition-fast);
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: var(--spacing-xl);
}

.nav-links li {
  position: relative;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-primary);
  position: relative;
  padding: 10px 0;
  display: inline-block;
  transition: color var(--transition-fast);
}

.nav-link::before {
  content: none;
}

.nav-link:hover {
  color: var(--color-accent-primary);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  z-index: calc(var(--z-header) + 2);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  width: 34px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.menu-toggle .line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: var(--color-text-primary);
  left: 0;
  transition:
    transform var(--transition-fast),
    top var(--transition-fast),
    background var(--transition-fast);
  border-radius: 2px;
}

.menu-toggle .line-1 {
  top: 4px;
}
.menu-toggle .line-2 {
  top: 16px;
}

.menu-toggle:hover .line {
  background: var(--color-accent-primary);
}

/* ==========================================================================
   07. HERO SECTION (INDEX)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  padding-bottom: var(--header-height);
  overflow: hidden;
}

/* Background Canvas & Effects */
.hero-canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.6;
  background: radial-gradient(
    circle at 50% 50%,
    #1a1a2e 0%,
    var(--color-bg-base) 100%
  );
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, 0.15) 0%,
    transparent 70%
  );
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1000px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid var(--color-border-highlight);
  border-radius: 30px;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-accent-primary);
  margin-bottom: var(--spacing-xl);
  letter-spacing: 0.15em;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.hero-badge span {
  color: var(--color-text-primary);
  margin-right: 5px;
}

.hero-title {
  font-size: var(--text-5xl);
  line-height: 1;
  margin-bottom: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
}

.text-filled {
  background: linear-gradient(to right, #fff, #a0a0b0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto var(--spacing-2xl) auto;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
}

/* Scroll Indicator Down */
.scroll-indicator {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0.6;
  transition: opacity var(--transition-fast);
  z-index: 2;
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--color-text-secondary);
  border-radius: 13px;
  position: relative;
}

.mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--color-accent-primary);
  border-radius: 2px;
  animation: mouseWheel 2s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite;
}

@keyframes mouseWheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 20px);
    opacity: 0;
  }
}

.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-text-secondary);
  text-transform: uppercase;
}

/* ==========================================================================
   08. MARQUEE SECTION
   ========================================================================== */
.marquee-section {
  padding: var(--spacing-lg) 0;
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border-subtle);
  border-bottom: 1px solid var(--color-border-subtle);
  overflow: hidden;
  position: relative;
}

.marquee-section::before,
.marquee-section::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-section::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-surface), transparent);
}
.marquee-section::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-surface), transparent);
}

.marquee-container {
  display: flex;
  width: max-content; /* Ensure it expands */
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: var(--spacing-4xl);
  animation: scrollMarquee 30s linear infinite;
  padding-right: var(--spacing-4xl); /* Match gap for seamless loop */
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-text-tertiary);
  font-weight: 700;
  white-space: nowrap;
  transition: color var(--transition-fast);
  cursor: default;
}

.marquee-item:hover {
  color: var(--color-text-primary);
}

.marquee-item .star {
  color: var(--color-accent-primary);
  font-size: var(--text-xl);
  margin: 0 10px;
  display: inline-block;
  animation: spinStar 4s linear infinite;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  } /* Assuming the track is duplicated within itself */
}

@keyframes spinStar {
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   09. ABOUT & APPROACH SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--spacing-4xl);
  align-items: center;
}

.section-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--spacing-lg);
}

.about-text p {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xl);
  max-width: 90%;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  letter-spacing: 1px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.feature-list li:hover {
  transform: translateX(10px);
  border-color: var(--color-border-highlight);
  background: rgba(0, 229, 255, 0.05);
}

.feature-list svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent-primary);
  flex-shrink: 0;
}

/* Visual Stat Circle */
.about-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-circle {
  position: relative;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.stat-circle svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.stat-circle circle {
  fill: none;
  stroke-width: 8;
  stroke-linecap: round;
}

.bg-circle {
  stroke: var(--color-border-default);
}

.progress-circle {
  stroke: url(#gradient); /* Requires SVG defs in HTML, fallback to color below */
  stroke: var(--color-accent-primary);
  stroke-dasharray: 880; /* approx 2 * pi * 140 */
  stroke-dashoffset: 880;
  transition: stroke-dashoffset 2.5s var(--ease-out-expo);
}

.stat-circle.animate .progress-circle {
  stroke-dashoffset: 176; /* ~80% completion */
}

.stat-content {
  text-align: center;
  z-index: 2;
}

.counter-wrap {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-text-primary);
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.counter-wrap .plus {
  color: var(--color-accent-primary);
  font-size: var(--text-2xl);
}

.stat-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 5px;
}

/* ==========================================================================
   10. SERVICES BENTO GRID
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(300px, auto);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-3xl);
}

.bento-item {
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-border-subtle);
  border-radius: 24px;
  padding: var(--spacing-2xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  grid-column: span 4; /* Default to 1/3 width */
}

/* Specific Grid Placements */
.bento-item:nth-child(1) {
  grid-column: span 8;
} /* Large left */
.bento-item:nth-child(2) {
  grid-column: span 4;
} /* Small right */
.bento-item:nth-child(3) {
  grid-column: span 4;
} /* Small left */
.bento-item:nth-child(4) {
  grid-column: span 8;
} /* Large right */

.bento-item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle at top right,
    rgba(0, 229, 255, 0.08),
    transparent 70%
  );
  pointer-events: none;
  transition: opacity var(--transition-fast);
  opacity: 0.5;
}

.bento-item:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--color-border-highlight);
  box-shadow:
    var(--shadow-lg),
    0 20px 40px rgba(0, 229, 255, 0.1);
}

.bento-item:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-default);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-primary);
  margin-bottom: var(--spacing-lg);
  transition:
    transform var(--transition-fast),
    background var(--transition-fast);
}

.bento-item:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--color-accent-primary);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.bento-item h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--spacing-sm);
}
.bento-item p {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  max-width: 90%;
  margin-bottom: var(--spacing-xl);
}

.service-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.service-tags span {
  padding: 6px 16px;
  background: var(--color-bg-base);
  border: 1px solid var(--color-border-subtle);
  border-radius: 20px;
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--color-text-secondary);
  transition:
    color var(--transition-fast),
    border-color var(--transition-fast);
}

.bento-item:hover .service-tags span {
  border-color: rgba(0, 229, 255, 0.3);
  color: var(--color-text-primary);
}

/* ==========================================================================
   11. INDUSTRIES TABS SECTION
   ========================================================================== */
.industries-section {
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+CjxyZWN0IHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgZmlsbD0iI2EwYTBmIi8+CjxjaXJjbGUgY3g9IjIwIiBjeT0iMjAiIHI9IjEiIGZpbGw9IiNmZmZmZmYiIGZpbGwtb3BhY2l0eT0iMC4wNSIvPgo8L3N2Zz4=")
    repeat;
  /* subtle dot grid background */
}

.tabs-container {
  margin-top: var(--spacing-3xl);
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-2xl);
  flex-wrap: wrap;
  position: relative;
  padding-bottom: 20px;
}

/* Decorative line under tabs */
.tab-buttons::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-border-default),
    transparent
  );
}

.tab-btn {
  background: transparent;
  border: 1px solid var(--color-border-default);
  color: var(--color-text-secondary);
  padding: 14px 32px;
  border-radius: 40px;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.tab-btn::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-text-primary);
  z-index: -1;
  transition: top var(--transition-fast);
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--color-bg-base);
  border-color: var(--color-text-primary);
}

.tab-btn.active::before,
.tab-btn:hover::before {
  top: 0;
}

.tab-content-wrapper {
  min-height: 300px;
}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

.tab-pane.active {
  display: block;
  animation: tabFadeIn 0.5s var(--ease-out-expo) forwards;
}

@keyframes tabFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pane-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.pane-grid h3 {
  font-size: var(--text-2xl);
  color: var(--color-accent-primary);
  margin-bottom: var(--spacing-md);
}

.pane-grid p {
  font-size: var(--text-lg);
}

.check-list {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  padding: var(--spacing-lg);
  border: 1px solid var(--color-border-subtle);
}

.check-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-subtle);
  position: relative;
  padding-left: 36px;
  font-size: var(--text-base);
  color: var(--color-text-primary);
}

.check-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.check-list li:first-child {
  padding-top: 0;
}

.check-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-accent-primary);
  font-family: var(--font-mono);
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}

.check-list li:hover::before {
  transform: translateX(5px);
}

/* ==========================================================================
   12. INTERACTIVE ROI CALCULATOR & LIVE REPORT
   ========================================================================== */
.interactive-section {
  position: relative;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: stretch;
}

/* Windows/Terminal Header */
.panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border-default);
  padding-bottom: var(--spacing-md);
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot.red {
  background: var(--color-error);
}
.dot.yellow {
  background: var(--color-warning);
}
.dot.green {
  background: var(--color-success);
}
.panel-header span {
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-left: auto; /* Push to right */
}

/* Calculator Inputs */
.calc-wrapper h3 {
  margin-bottom: var(--spacing-xl);
}

.range-group {
  margin-bottom: var(--spacing-xl);
}

.range-group label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  margin-bottom: var(--spacing-md);
  color: var(--color-text-primary);
}

.range-group span {
  color: var(--color-accent-primary);
  font-family: var(--font-mono);
  font-size: var(--text-base);
}

/* Custom Range Slider */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
}
input[type="range"]:focus {
  outline: none;
}
input[type="range"]::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
input[type="range"]::-webkit-slider-thumb {
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--color-text-primary);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -10px;
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
  border: 4px solid var(--color-accent-primary);
  transition: transform var(--transition-fast);
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Results Box */
.calc-results {
  margin-top: var(--spacing-2xl);
  background: rgba(0, 0, 0, 0.4);
  padding: var(--spacing-lg);
  border-radius: 16px;
  border: 1px solid rgba(0, 229, 255, 0.2);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.calc-results::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    transparent,
    rgba(0, 229, 255, 0.3),
    transparent 30%
  );
  animation: rotate 4s linear infinite;
  z-index: 0;
  pointer-events: none;
}
.calc-results::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: var(--color-bg-surface-elevated);
  border-radius: 14px;
  z-index: 1;
}

.result-box {
  position: relative;
  z-index: 2;
}

.result-box h4 {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-sm);
}
.result-number {
  font-size: var(--text-3xl);
  font-family: var(--font-heading);
  font-weight: 700;
}

@keyframes rotate {
  100% {
    transform: rotate(1turn);
  }
}

/* Live Report Dashboard Mockup */
.report-dashboard {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-2xl);
}
.dashboard-header h3 {
  margin: 0;
  font-size: var(--text-lg);
}

.live-pulse {
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  color: var(--color-accent-tertiary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  background: rgba(255, 0, 85, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(255, 0, 85, 0.3);
}
.live-pulse::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--color-accent-tertiary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 85, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 0, 85, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 85, 0);
  }
}

/* Chart */
.chart-container {
  height: 250px;
  border-bottom: 1px solid var(--color-border-default);
  border-left: 1px solid var(--color-border-default);
  margin-bottom: var(--spacing-2xl);
  position: relative;
  padding-top: 20px;
  flex-grow: 1;
}

/* Chart Grid lines */
.chart-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent 24.5%,
    var(--color-border-subtle) 25%
  );
  background-size: 100% 25%;
  pointer-events: none;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  height: 100%;
  padding-bottom: 0;
}

.bar {
  width: 15%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.2)
  );
  border-radius: 6px 6px 0 0;
  transition:
    height 1.5s var(--ease-out-expo),
    background var(--transition-fast),
    transform var(--transition-fast);
  position: relative;
  cursor: crosshair;
}
.bar.highlight {
  background: linear-gradient(
    to top,
    rgba(0, 229, 255, 0.2),
    var(--color-accent-primary)
  );
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
}
.bar:hover {
  transform: scaleY(1.05);
  transform-origin: bottom;
  background: linear-gradient(to top, rgba(0, 229, 255, 0.4), #fff);
}

.bar:hover .tooltip {
  opacity: 1;
  transform: translateY(0) translateX(-50%);
}

.tooltip {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--color-text-primary);
  color: var(--color-bg-base);
  padding: 6px 12px;
  font-size: var(--text-xs);
  font-family: var(--font-mono);
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-weight: bold;
  box-shadow: var(--shadow-md);
  z-index: 10;
}
.tooltip::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--color-text-primary);
}

/* Metrics Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.metric {
  background: rgba(255, 255, 255, 0.02);
  padding: var(--spacing-lg);
  border-radius: 12px;
  border: 1px solid var(--color-border-subtle);
  display: flex;
  flex-direction: column;
}

.metric .label {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.metric .value {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
}

.metric .value.green {
  color: var(--color-success);
}
.metric .value.red {
  color: var(--color-error);
}

/* ==========================================================================
   13. TESTIMONIALS SLIDER
   ========================================================================== */
.testimonials-section {
  background: linear-gradient(
    to bottom,
    var(--color-bg-base),
    var(--color-bg-surface)
  );
  overflow: hidden;
}

.testimonial-slider {
  position: relative;
  padding: var(--spacing-xl) 0;
  cursor: grab;
}
.testimonial-slider:active {
  cursor: grabbing;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(var(--spacing-lg), 3vw, var(--spacing-2xl));
  width: 100%;
  padding: 0;
}

.testimonial-card {
  width: 100%;
  min-width: 0;
  padding: var(--spacing-2xl);
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-border-subtle);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--color-accent-primary);
  line-height: 0.5;
  margin-bottom: var(--spacing-xl);
  opacity: 0.2;
}

.review-text {
  font-size: var(--text-lg);
  margin-bottom: var(--spacing-2xl);
  font-style: italic;
  line-height: 1.8;
}

.client-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--spacing-lg);
}

.client-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-bg-surface), #222);
  border: 1px solid var(--color-border-default);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: bold;
  color: var(--color-accent-primary);
}

.client-info h4 {
  font-size: var(--text-base);
  margin-bottom: 2px;
  text-transform: none;
  letter-spacing: 0;
}

.client-info span {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
}

.slider-controls {
  display: none;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-3xl);
}

/* ==========================================================================
   14. CTA & CONTACT PAGES / FORMS
   ========================================================================== */
.cta-box {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-4xl) var(--spacing-2xl);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--spacing-lg);
}

.cta-box p {
  font-size: var(--text-xl);
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-3xl);
}

/* Contact Page Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--spacing-4xl);
  padding-top: 150px; /* Offset for header */
  align-items: start;
}

.contact-info-panel h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--spacing-lg);
}

.contact-info-panel > p {
  font-size: var(--text-lg);
  margin-bottom: var(--spacing-3xl);
  max-width: 90%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid var(--color-border-subtle);
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast);
}

.info-item:hover {
  transform: translateX(10px);
  border-color: rgba(0, 229, 255, 0.3);
}

.info-icon {
  color: var(--color-accent-primary);
  background: rgba(0, 229, 255, 0.1);
  padding: 16px;
  border-radius: 50%;
}

.info-icon svg {
  width: 28px;
  height: 28px;
}

.info-text h4 {
  font-size: var(--text-base);
  margin-bottom: var(--spacing-xs);
  color: var(--color-text-secondary);
  letter-spacing: 1px;
}

.info-text p {
  font-size: var(--text-xl);
  margin-bottom: 0;
  font-family: var(--font-body);
  color: var(--color-text-primary);
}

/* Form Architecture */
.contact-form-panel {
  padding: var(--spacing-3xl);
}

.form-group {
  margin-bottom: var(--spacing-2xl);
  position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border-default);
  padding: 16px 0;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  transition:
    border-color var(--transition-fast),
    padding-left var(--transition-fast);
  border-radius: 0; /* Reset iOS */
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
}
.form-group select option {
  background: var(--color-bg-surface-elevated);
  color: var(--color-text-primary);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent-primary);
  padding-left: 10px; /* Slight indent on focus */
}

/* Floating Labels */
.form-group label {
  position: absolute;
  top: 16px;
  left: 0;
  color: var(--color-text-secondary);
  pointer-events: none;
  transition: 0.3s var(--ease-out-expo);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  letter-spacing: 1px;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label {
  top: -16px;
  font-size: var(--text-xs);
  color: var(--color-accent-primary);
  left: 0;
}

/* Reset invalid states pushing label back down (requires JS logic or placeholder hacks, using :valid requires required attr) */

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   15. LEGAL PAGES (Privacy, Terms, Disclaimer)
   ========================================================================== */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding-top: 180px;
  padding-bottom: var(--spacing-4xl);
}

.legal-content h1 {
  font-size: var(--text-5xl);
  margin-bottom: var(--spacing-2xl);
  color: var(--color-accent-primary);
}

.legal-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--spacing-4xl);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-sm);
  border-bottom: 1px solid var(--color-border-subtle);
  color: var(--color-text-primary);
}

.legal-content p {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
}

.legal-content strong {
  color: var(--color-text-primary);
}

.legal-content ul {
  list-style: none;
  margin-bottom: var(--spacing-lg);
  padding-left: var(--spacing-lg);
}

.legal-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
}

.legal-content ul li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-accent-primary);
  font-size: 0.8rem;
}

/* ==========================================================================
   16. FOOTER (STRICT LOGIC - SAME ACROSS ALL PAGES)
   ========================================================================== */
.site-footer {
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border-default);
  padding: var(--spacing-4xl) 0 var(--spacing-xl) 0;
  margin-top: var(--spacing-4xl);
  position: relative;
  overflow: hidden;
}

/* Footer Top Gradient Bar */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--color-accent-primary),
    var(--color-accent-secondary),
    transparent
  );
  opacity: 0.5;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-4xl);
}

.footer-brand {
  padding-right: var(--spacing-2xl);
}

.footer-logo {
  display: block;
  height: 60px;
  margin-bottom: var(--spacing-lg);
}
.footer-logo img {
  height: 100%;
  filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.1));
}

.footer-desc {
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  margin-bottom: var(--spacing-xl);
  max-width: 400px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--spacing-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-subtle);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--color-accent-primary);
  color: var(--color-accent-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* Footer Lists */
.footer-links h4,
.footer-contact h4 {
  font-size: var(--text-sm);
  margin-bottom: var(--spacing-lg);
  color: var(--color-text-primary);
  letter-spacing: 1px;
}

.footer-links ul li {
  margin-bottom: var(--spacing-md);
}

.footer-links ul li a {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  position: relative;
  transition:
    color var(--transition-fast),
    padding-left var(--transition-fast);
}

.footer-links ul li a::before {
  content: "→";
  position: absolute;
  left: -15px;
  opacity: 0;
  color: var(--color-accent-primary);
  transition:
    opacity var(--transition-fast),
    left var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--color-text-primary);
  padding-left: 15px;
}

.footer-links ul li a:hover::before {
  opacity: 1;
  left: 0;
}

/* Footer Contact Info */
.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  margin-bottom: var(--spacing-lg);
  line-height: 1.4;
}

.footer-contact ul li svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent-primary);
  flex-shrink: 0;
}

/* Footer Bottom Strip */
.footer-bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--color-text-tertiary);
  flex-wrap: wrap;
  gap: var(--spacing-lg);
}

.legal-links {
  display: flex;
  gap: var(--spacing-lg);
}

.legal-links a {
  color: var(--color-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-links a:hover {
  color: var(--color-accent-primary);
}

/* ==========================================================================
   17. SCROLL REVEAL ANIMATIONS (Triggered by JS Intersection Observer)
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 1s var(--ease-out-expo),
    transform 1s var(--ease-out-expo);
}

.reveal-active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Delays for staggered animations */
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}

/* ==========================================================================
   18. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Large Desktops / 4K */
@media (min-width: 1600px) {
  .container {
    max-width: 1500px;
  }
  .hero-title {
    font-size: 6rem;
  }
  .bento-grid {
    gap: var(--spacing-xl);
  }
}

/* Laptops / Smaller Desktops */
@media (max-width: 1200px) {
  .bento-item:nth-child(1),
  .bento-item:nth-child(4) {
    grid-column: span 12;
  }
  .bento-item:nth-child(2),
  .bento-item:nth-child(3) {
    grid-column: span 6;
  }
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
  .footer-contact {
    grid-column: span 3;
    margin-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border-subtle);
    padding-top: var(--spacing-lg);
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  .contact-info-panel > p {
    max-width: 100%;
  }
}

/* Tablets Landscape */
@media (max-width: 1024px) {
  .testimonial-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-xl);
  }

  .testimonial-card {
    padding: var(--spacing-xl);
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .about-visual {
    order: -1;
    margin-bottom: var(--spacing-2xl);
  }
  .feature-list {
    align-items: center;
  }
  .feature-list li {
    width: 100%;
    max-width: 400px;
    justify-content: flex-start;
  }

  .split-grid {
    grid-template-columns: 1fr;
  }

  .pane-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .check-list {
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: span 2;
    padding-right: 0;
    text-align: center;
  }
  .footer-desc {
    margin: 0 auto var(--spacing-xl) auto;
  }
  .social-links {
    justify-content: center;
  }
  .footer-contact {
    grid-column: span 2;
  }

  /* Reveal direction resets for mobile flow */
  .reveal-left,
  .reveal-right {
    transform: translateY(40px);
  }
}

/* Tablets Portrait & Large Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 80px;
    --header-height-scrolled: 70px;
  }

  .result-number {
    font-size: var(--text-xl);
  }

  /* Mobile Menu Implementation */
  .menu-toggle {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: var(--header-height-scrolled);
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: height 0.5s var(--ease-in-out-expo);
    border-bottom: 1px solid var(--color-border-subtle);
    z-index: calc(var(--z-header) - 1);
  }
  .nav-links.active {
    height: calc(100vh - var(--header-height-scrolled));
  }
  .nav-links li {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.3s,
      transform 0.3s;
  }
  .nav-links.active li {
    opacity: 1;
    transform: translateY(0);
  }
  /* Staggered fade in for menu items */
  .nav-links.active li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-links.active li:nth-child(2) {
    transition-delay: 0.2s;
  }
  .nav-links.active li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .nav-links.active li:nth-child(4) {
    transition-delay: 0.4s;
  }
  .nav-links.active li:nth-child(5) {
    transition-delay: 0.5s;
  }
  .nav-links.active li:nth-child(6) {
    transition-delay: 0.6s;
  }

  .nav-link {
    font-size: var(--text-xl);
    padding: 15px 0;
  }
  .header-actions .btn-primary {
    display: none;
  } /* Hide quote button on mobile header */

  /* Typography Adjustments */
  .hero-title {
    font-size: 3.5rem;
  }
  .section-title {
    font-size: 2.5rem;
    text-align: center;
  }

  .cta-box h2 {
    font-size: var(--text-xl);
  }

  .testimonials-section .section-title {
    font-size: var(--text-xl);
    line-height: 1.2;
  }

  /* Layout Adjustments */
  .bento-item:nth-child(2),
  .bento-item:nth-child(3) {
    grid-column: span 12;
  }

  .testimonial-track {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand,
  .footer-links,
  .footer-contact {
    grid-column: span 1;
  }
  .footer-links ul li a::before {
    display: none;
  }
  .footer-contact ul li {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .legal-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.5rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    width: 100%;
  }

  .stat-circle {
    width: 250px;
    height: 250px;
  }
  .counter-wrap {
    font-size: 3rem;
  }

  .tab-buttons {
    flex-direction: column;
    width: 100%;
  }
  .tab-btn {
    width: 100%;
    text-align: center;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: var(--spacing-lg);
  }

  .contact-form-panel {
    padding: var(--spacing-lg);
  }
}

/* ==========================================================================
   19. PRINT STYLES
   ========================================================================== */
@media print {
  .noise-overlay,
  .scanlines,
  .cursor-dot,
  .cursor-outline,
  .hero-canvas-container {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
  .glass-panel,
  .bento-item,
  .metric {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: none;
    color: #000;
  }
  h1,
  h2,
  h3,
  h4,
  p,
  span {
    color: #000 !important;
    -webkit-text-stroke: 0 !important;
    text-shadow: none !important;
  }
  .text-filled {
    -webkit-text-fill-color: #000;
  }
}
