/* =============================================
   ACUITYWARE DESIGN SYSTEM
   Art Direction: Bold / Modern / Tech-Forward
   Palette: Deep navy + electric teal accent
   Fonts: Cabinet Grotesk (display) + Satoshi (body)
   ============================================= */

/* --- Design Tokens --- */
:root, [data-theme="light"] {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Surfaces — cool off-white */
  --color-bg:              #f5f6f8;
  --color-surface:         #ffffff;
  --color-surface-2:       #f0f2f5;
  --color-surface-offset:  #e8eaee;
  --color-divider:         #dde0e6;
  --color-border:          #cdd1d8;

  /* Text */
  --color-text:            #0f1623;
  --color-text-muted:      #52596b;
  --color-text-faint:      #a0a8b8;
  --color-text-inverse:    #f5f6f8;

  /* Primary — electric teal */
  --color-primary:         #007a82;
  --color-primary-hover:   #005e65;
  --color-primary-active:  #004147;
  --color-primary-highlight: #d0eced;

  /* Accent — vivid teal for CTAs */
  --color-accent:          #00b4be;
  --color-accent-hover:    #009aa3;
  --color-accent-active:   #007f87;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 360ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px oklch(0.15 0.02 220 / 0.08);
  --shadow-md: 0 4px 16px oklch(0.15 0.02 220 / 0.1);
  --shadow-lg: 0 12px 40px oklch(0.15 0.02 220 / 0.14);
  --shadow-xl: 0 24px 64px oklch(0.15 0.02 220 / 0.18);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

[data-theme="dark"] {
  --color-bg:              #0c0f16;
  --color-surface:         #121620;
  --color-surface-2:       #181c27;
  --color-surface-offset:  #1e2330;
  --color-divider:         #262c3a;
  --color-border:          #2e3547;
  --color-text:            #d8dce6;
  --color-text-muted:      #7a8199;
  --color-text-faint:      #454d63;
  --color-text-inverse:    #0c0f16;
  --color-primary:         #4fb8c0;
  --color-primary-hover:   #35a3ac;
  --color-primary-active:  #1f8e97;
  --color-primary-highlight: #1a3035;
  --color-accent:          #3fc9d2;
  --color-accent-hover:    #25b5bf;
  --color-accent-active:   #1a9da6;
  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.25);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.45);
  --shadow-xl: 0 24px 64px oklch(0 0 0 / 0.55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:              #0c0f16;
    --color-surface:         #121620;
    --color-surface-2:       #181c27;
    --color-surface-offset:  #1e2330;
    --color-divider:         #262c3a;
    --color-border:          #2e3547;
    --color-text:            #d8dce6;
    --color-text-muted:      #7a8199;
    --color-text-faint:      #454d63;
    --color-text-inverse:    #0c0f16;
    --color-primary:         #4fb8c0;
    --color-primary-hover:   #35a3ac;
    --color-primary-active:  #1f8e97;
    --color-primary-highlight: #1a3035;
    --color-accent:          #3fc9d2;
    --color-accent-hover:    #25b5bf;
    --color-accent-active:   #1a9da6;
    --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.25);
    --shadow-md: 0 4px 16px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.45);
    --shadow-xl: 0 24px 64px oklch(0 0 0 / 0.55);
  }
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-6), 5vw, var(--space-16));
}

.container--narrow {
  max-width: var(--content-default);
}

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

/* =============================================
   NAVIGATION
   ============================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in oklab, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: box-shadow var(--transition-slow);
}

/* Hero page: nav on top of dark hero */
.nav--hero-overlay {
  position: fixed;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.nav--hero-overlay.nav--scrolled {
  background: color-mix(in oklab, var(--color-bg) 90%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--color-divider);
}

.nav--scrolled {
  box-shadow: var(--shadow-md);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  height: 68px;
}

.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__logo-img {
  height: 38px;
  width: auto;
  display: block;
  transition: opacity 0.2s ease;
}

/* Footer is always dark — always show white logo */
.footer__logo-img {
  height: 34px;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}

.nav__links a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.nav__links a:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.nav__links a.active {
  color: var(--color-primary);
}

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

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}

.nav__toggle:hover {
  background: var(--color-surface-2);
  color: var(--color-text);
}

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

.nav__dropdown-btn {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: none;
  border: none;
  transition: color var(--transition-interactive), background var(--transition-interactive);
}

.nav__dropdown-btn:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.nav__dropdown-menu {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  min-width: 180px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--transition-interactive), transform var(--transition-interactive);
}

.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown-btn:focus + .nav__dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav__dropdown-menu a {
  display: block;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
}

.nav__dropdown-menu a:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

/* Mobile nav */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4);
  border-top: 1px solid var(--color-divider);
  background: var(--color-bg);
}

.mobile-menu a {
  display: block;
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  border-radius: var(--radius-md);
}

.mobile-menu a:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

.mobile-menu.open { display: flex; }

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-surface-2);
}

@media (max-width: 768px) {
  .nav__links, .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }
  .nav__actions { gap: var(--space-2); }
}

/* =============================================
   BUTTONS
   ============================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all var(--transition-interactive);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-accent) 30%, transparent);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--outline:hover {
  background: var(--color-surface-2);
  border-color: var(--color-text-muted);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: transparent;
  padding-inline: var(--space-2);
}

.btn--ghost:hover {
  color: var(--color-primary-hover);
}

.btn--lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* =============================================
   HERO — SPECTACULAR SPLIT LAYOUT
   ============================================= */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #050b14 0%, #071420 40%, #081a2a 70%, #0a1e30 100%);
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
  padding-block-start: clamp(6rem, 12vw, 10rem);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(0, 180, 190, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 30% 70%, rgba(0, 122, 130, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 30% 30% at 80% 80%, rgba(0, 180, 190, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero__grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero__split {
    grid-template-columns: 1fr;
  }
  .hero__illustration {
    display: none;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: rgba(0, 180, 190, 0.15);
  color: #4fb8c0;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
  border: 1px solid rgba(0, 180, 190, 0.2);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #e8f4f5;
  margin-bottom: var(--space-6);
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #00b4be, #4fb8c0, #7dd3d8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(232, 244, 245, 0.65);
  line-height: 1.6;
  max-width: 54ch;
  margin-bottom: var(--space-10);
}

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

.hero__actions .btn--outline {
  border-color: rgba(232, 244, 245, 0.25);
  color: #e8f4f5;
}

.hero__actions .btn--outline:hover {
  background: rgba(232, 244, 245, 0.08);
  border-color: rgba(232, 244, 245, 0.5);
}

.hero__partners {
  margin-top: clamp(var(--space-12), 6vw, var(--space-20));
  padding-top: var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__partners-label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(232, 244, 245, 0.35);
  margin-bottom: var(--space-6);
}

.hero__partners-logos {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-6), 4vw, var(--space-12));
  flex-wrap: wrap;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(232, 244, 245, 0.35);
  letter-spacing: -0.01em;
  transition: color var(--transition-interactive);
}

.partner-logo:hover {
  color: rgba(232, 244, 245, 0.65);
}

.partner-logo svg {
  flex-shrink: 0;
}

/* Hero Illustration — Isometric Server/Data Network */
.hero__illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}

.hero-visual__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbPulse 4s ease-in-out infinite alternate;
}

.hero-visual__orb--1 {
  width: 200px;
  height: 200px;
  background: rgba(0, 180, 190, 0.25);
  top: 15%;
  left: 20%;
}

.hero-visual__orb--2 {
  width: 160px;
  height: 160px;
  background: rgba(0, 122, 130, 0.2);
  bottom: 20%;
  right: 15%;
  animation-delay: -2s;
}

.hero-visual__orb--3 {
  width: 120px;
  height: 120px;
  background: rgba(63, 201, 210, 0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -1s;
}

@keyframes orbPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.15); }
}

.hero-visual__svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
}

/* Animated connection dots */
.hero-visual__dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #00b4be;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 180, 190, 0.6);
  animation: dotPulse 2s ease-in-out infinite;
}

.hero-visual__dot:nth-child(1) { top: 20%; left: 25%; animation-delay: 0s; }
.hero-visual__dot:nth-child(2) { top: 35%; right: 20%; animation-delay: 0.5s; }
.hero-visual__dot:nth-child(3) { bottom: 30%; left: 35%; animation-delay: 1s; }
.hero-visual__dot:nth-child(4) { top: 55%; right: 35%; animation-delay: 1.5s; }
.hero-visual__dot:nth-child(5) { bottom: 20%; right: 25%; animation-delay: 0.3s; }
.hero-visual__dot:nth-child(6) { top: 45%; left: 15%; animation-delay: 0.8s; }

@keyframes dotPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.8); }
}

/* Floating shapes in hero illustration */
.hero-visual__shape {
  position: absolute;
  border: 1px solid rgba(0, 180, 190, 0.2);
  animation: shapeFloat 6s ease-in-out infinite;
}

.hero-visual__shape--1 {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  top: 10%;
  right: 15%;
  background: rgba(0, 180, 190, 0.05);
  animation-delay: 0s;
}

.hero-visual__shape--2 {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  bottom: 15%;
  left: 10%;
  background: rgba(0, 122, 130, 0.05);
  animation-delay: -2s;
}

.hero-visual__shape--3 {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-2xl);
  top: 45%;
  left: 5%;
  background: rgba(0, 180, 190, 0.03);
  transform: rotate(45deg);
  animation-delay: -4s;
}

@keyframes shapeFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(2deg); }
  66% { transform: translateY(8px) rotate(-1deg); }
}

/* =============================================
   SECTION LABELS
   ============================================= */

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 56ch;
}

.section-header {
  margin-bottom: clamp(var(--space-10), 4vw, var(--space-16));
}

/* =============================================
   SCROLLING MARQUEE / TICKER
   ============================================= */

.marquee {
  background: linear-gradient(135deg, #050b14 0%, #0a1525 100%);
  overflow: hidden;
  padding-block: var(--space-5);
  border-top: 1px solid rgba(0, 180, 190, 0.1);
  border-bottom: 1px solid rgba(0, 180, 190, 0.1);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee__content {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding-right: var(--space-8);
  flex-shrink: 0;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(232, 244, 245, 0.4);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.marquee__item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00b4be;
  flex-shrink: 0;
  opacity: 0.5;
}

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

/* =============================================
   SERVICES GRID
   ============================================= */

.services {
  background: var(--color-surface);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.service-card {
  position: relative;
  padding: var(--space-8);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-slow), transform var(--transition-slow);
  overflow: hidden;
}

/* Gradient top border via pseudo */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00b4be, #007a82, #00b4be);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(0, 180, 190, 0.12), var(--shadow-lg);
  transform: translateY(-4px);
}

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

.service-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-highlight), rgba(0, 180, 190, 0.12));
  color: var(--color-primary);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-5);
  border: 1px solid rgba(0, 180, 190, 0.15);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.service-card__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Alternating card tints */
.service-card:nth-child(even) {
  background: var(--color-surface);
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */

.products {
  background: var(--color-bg);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
}

.product-card {
  position: relative;
  padding: var(--space-8) var(--space-10);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}

.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}

.product-card--featured {
  background: linear-gradient(135deg, #0c1829 0%, #0d2535 50%, #0f2e42 100%);
  border-color: rgba(0, 180, 190, 0.25);
  color: #e8f4f5;
  position: relative;
}

/* Teal glow effect on featured card */
.product-card--featured::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 180, 190, 0.15), transparent 70%);
  pointer-events: none;
}

.product-card--featured .product-card__badge {
  background: linear-gradient(135deg, #00b4be, #007a82);
  color: #fff;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.product-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: var(--space-4);
}

.product-card--featured .product-card__title {
  color: #e8f4f5;
}

.product-card__desc {
  font-size: var(--text-base);
  line-height: 1.65;
  margin-bottom: var(--space-8);
  color: var(--color-text-muted);
}

.product-card--featured .product-card__desc {
  color: rgba(232, 244, 245, 0.7);
}

.product-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
}

.product-card__features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}

.product-card--featured .product-card__features li {
  color: rgba(232, 244, 245, 0.75);
}

.product-card__features li::before {
  content: '✓';
  font-size: var(--text-sm);
  font-weight: 700;
  color: #00b4be;
  flex-shrink: 0;
}

.product-card--featured .btn--outline {
  border-color: rgba(232, 244, 245, 0.3);
  color: #e8f4f5;
}

.product-card--featured .btn--outline:hover {
  background: rgba(232, 244, 245, 0.08);
  border-color: rgba(232, 244, 245, 0.5);
}

/* =============================================
   STATS SECTION — Full-Width Dark Band
   ============================================= */

.stats-band {
  background: linear-gradient(135deg, #050b14 0%, #071420 40%, #0a1e30 100%);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 50%, rgba(0, 180, 190, 0.08), transparent 70%);
  pointer-events: none;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .stats-band__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

.stats-band__item {
  text-align: center;
}

.stats-band__number {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #00b4be;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stats-band__label {
  font-size: var(--text-sm);
  color: rgba(232, 244, 245, 0.5);
  line-height: 1.4;
}

/* Keep old why-us stats for inner pages */
.why-us {
  background: var(--color-surface);
}

.why-us__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: center;
}

@media (max-width: 900px) {
  .why-us__inner { grid-template-columns: 1fr; }
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.stat-card {
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.stat-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0, 180, 190, 0.08);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.why-us__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.why-us__point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.why-us__point-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  border-radius: var(--radius-lg);
}

.why-us__point-text strong {
  display: block;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.why-us__point-text span {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* =============================================
   TESTIMONIALS — Dark Background
   ============================================= */

.testimonials {
  background: linear-gradient(135deg, #050b14 0%, #081420 50%, #0a1e30 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 20% 50%, rgba(0, 180, 190, 0.06), transparent 70%);
  pointer-events: none;
}

.testimonials .section-eyebrow {
  color: #4fb8c0;
}

.testimonials .section-title {
  color: #e8f4f5;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
  position: relative;
  z-index: 1;
}

.testimonial-card {
  padding: var(--space-8);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  transition: box-shadow var(--transition-interactive), background var(--transition-interactive);
  backdrop-filter: blur(8px);
}

.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0, 180, 190, 0.1);
  background: rgba(255, 255, 255, 0.06);
}

/* Decorative quote mark */
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: rgba(0, 180, 190, 0.2);
  font-weight: 800;
  height: 2rem;
  display: block;
}

.testimonial-stars {
  display: flex;
  gap: var(--space-1);
  color: #f59e0b;
}

.testimonial-card__quote {
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(232, 244, 245, 0.85);
  font-style: italic;
  flex: 1;
  max-width: none;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(0, 180, 190, 0.3), rgba(0, 122, 130, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: #4fb8c0;
  flex-shrink: 0;
  border: 1px solid rgba(0, 180, 190, 0.2);
}

.testimonial-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: #e8f4f5;
}

.testimonial-card__role {
  font-size: var(--text-xs);
  color: rgba(232, 244, 245, 0.5);
}

/* =============================================
   DOWNLOADS TABLE
   ============================================= */

.downloads-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-xl);
  overflow: hidden;
  font-size: var(--text-sm);
  border: 1px solid var(--color-border);
}

.downloads-table thead {
  background: linear-gradient(135deg, #007a82, #005e65);
}

.downloads-table th {
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
}

.downloads-table td {
  padding: var(--space-4) var(--space-6);
  color: var(--color-text);
  border-bottom: 1px solid var(--color-divider);
}

.downloads-table tbody tr:nth-child(even) {
  background: var(--color-surface);
}

.downloads-table tbody tr:nth-child(odd) {
  background: var(--color-bg);
}

.downloads-table tbody tr:last-child td {
  border-bottom: none;
}

.downloads-table tbody tr:hover {
  background: var(--color-primary-highlight);
}

@media (max-width: 600px) {
  .downloads-table th,
  .downloads-table td {
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-xs);
  }
}

/* =============================================
   CTA BANNER — Bold Gradient
   ============================================= */

.cta-banner {
  background: linear-gradient(135deg, #051220 0%, #0a1e30 40%, #0d3040 70%, #0f3d4d 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0, 180, 190, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 50%, rgba(0, 122, 130, 0.1), transparent 60%);
  pointer-events: none;
}

.cta-banner__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #e8f4f5;
  margin-bottom: var(--space-4);
}

.cta-banner__subtitle {
  font-size: var(--text-base);
  color: rgba(232, 244, 245, 0.65);
  line-height: 1.7;
  margin-bottom: var(--space-10);
  max-width: 52ch;
  margin-inline: auto;
}

.cta-banner .btn--primary {
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.cta-banner .btn--outline {
  border-color: rgba(232, 244, 245, 0.3);
  color: #e8f4f5;
}

.cta-banner .btn--outline:hover {
  background: rgba(232, 244, 245, 0.08);
  border-color: rgba(232, 244, 245, 0.5);
}

.cta-contact-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  margin-top: var(--space-12);
  flex-wrap: wrap;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(232, 244, 245, 0.6);
  text-decoration: none;
}

.cta-contact-item:hover {
  color: rgba(232, 244, 245, 0.9);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
  background: #050c14;
  color: rgba(200, 210, 220, 0.6);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
}

@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(200, 210, 220, 0.5);
  max-width: 34ch;
}

.footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.footer__social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  border: 1px solid rgba(200, 210, 220, 0.12);
  color: rgba(200, 210, 220, 0.45);
  text-decoration: none;
  transition: all var(--transition-interactive);
}

.footer__social-link:hover {
  color: rgba(200, 210, 220, 0.9);
  border-color: rgba(200, 210, 220, 0.3);
  background: rgba(200, 210, 220, 0.05);
}

.footer__col-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: rgba(200, 210, 220, 0.8);
  letter-spacing: 0.03em;
  margin-bottom: var(--space-4);
}

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

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(200, 210, 220, 0.5);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__links a:hover {
  color: rgba(200, 210, 220, 0.85);
}

.footer__bottom {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid rgba(200, 210, 220, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(200, 210, 220, 0.35);
}

.footer__attribution a {
  font-size: var(--text-xs);
  color: rgba(200, 210, 220, 0.35);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__attribution a:hover {
  color: rgba(200, 210, 220, 0.6);
}

/* =============================================
   ANIMATIONS — VISIBLE BY DEFAULT
   ============================================= */

/* Elements are VISIBLE by default */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Only hide if JS is loaded — progressive enhancement */
.js-loaded .reveal:not(.visible) {
  opacity: 0;
  transform: translateY(20px);
}

.js-loaded .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   INNER PAGE HERO (about, contact, metaltrack)
   ============================================= */

.page-hero {
  background: linear-gradient(135deg, #050b14 0%, #081420 50%, #0a1e30 100%);
  padding-block: clamp(var(--space-16), 8vw, var(--space-24));
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 180, 190, 0.06), transparent 70%);
  pointer-events: none;
}

.page-hero .hero__eyebrow {
  position: relative;
  z-index: 1;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #e8f4f5;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.page-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(232, 244, 245, 0.6);
  max-width: 56ch;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* =============================================
   ABOUT PAGE
   ============================================= */

.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: start;
}

@media (max-width: 768px) {
  .about-intro { grid-template-columns: 1fr; }
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-6);
}

.value-card {
  padding: var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-interactive);
  overflow: hidden;
  position: relative;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00b4be, #007a82);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 180, 190, 0.1);
  border-color: var(--color-primary);
}

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

.value-card__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary-highlight), rgba(0, 180, 190, 0.12));
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  border: 1px solid rgba(0, 180, 190, 0.1);
}

.value-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.value-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(var(--space-12), 6vw, var(--space-20));
  align-items: start;
}

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  background: var(--color-surface);
  margin-bottom: var(--space-4);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.contact-info-item:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 16px rgba(0, 180, 190, 0.06);
}

.contact-info-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--color-primary-highlight), rgba(0, 180, 190, 0.12));
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-1);
}

.contact-info-item__value {
  font-size: var(--text-base);
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
}

.contact-info-item__value:hover {
  color: var(--color-primary);
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  color: var(--color-text);
  outline: none;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 15%, transparent);
}

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

/* =============================================
   METALTRACK PAGE
   ============================================= */

.metaltrack-hero {
  background: linear-gradient(135deg, #050b14 0%, #081420 40%, #0b2030 70%, #0e2840 100%);
  padding-block: clamp(var(--space-20), 12vw, var(--space-32));
  position: relative;
  overflow: hidden;
}

.metaltrack-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 30%, rgba(0,180,190,0.12), transparent 70%);
}

.metaltrack-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.metaltrack-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #e8f4f5;
  line-height: 1.05;
  margin-bottom: var(--space-6);
}

.metaltrack-hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(232,244,245,0.65);
  line-height: 1.65;
  margin-bottom: var(--space-10);
  max-width: 54ch;
}

.metaltrack-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

.mt-feature-card {
  padding: var(--space-6) var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-slow), transform var(--transition-slow);
  overflow: hidden;
  position: relative;
}

.mt-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #00b4be, #007a82);
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.mt-feature-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 32px rgba(0, 180, 190, 0.12), var(--shadow-md);
  transform: translateY(-3px);
}

.mt-feature-card:hover::before {
  opacity: 1;
}

.mt-feature-card__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--color-primary-highlight), rgba(0, 180, 190, 0.12));
  color: var(--color-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  border: 1px solid rgba(0, 180, 190, 0.1);
}

.mt-feature-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.mt-feature-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Industry badges */
.industry-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.industry-badge {
  padding: var(--space-2) var(--space-4);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  transition: border-color var(--transition-interactive), color var(--transition-interactive);
}

.industry-badge:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* =============================================
   BLOG PAGE
   ============================================= */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-6);
}

.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: box-shadow var(--transition-slow), transform var(--transition-slow), border-color var(--transition-interactive);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  box-shadow: 0 8px 32px rgba(0, 180, 190, 0.1), var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.blog-card__img {
  height: 200px;
  background: var(--color-surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.blog-card__tag {
  padding: var(--space-1) var(--space-2);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-sm);
}

.blog-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  line-height: 1.25;
  margin-bottom: var(--space-3);
}

.blog-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  flex: 1;
}

.blog-card__footer {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* =============================================
   RESPONSIVE HELPERS
   ============================================= */

@media (max-width: 768px) {
  .hero__title { letter-spacing: -0.02em; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: auto; padding-block-start: 5rem; }
}

/* =============================================
   GRADIENT MESH HERO BACKGROUND
   ============================================= */
@keyframes heroShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero,
.page-hero,
.metaltrack-hero {
  background-size: 200% 200%;
  animation: heroShift 12s ease infinite;
}

/* =============================================
   GLASSMORPHISM CARDS
   ============================================= */
.service-card,
.mt-feature-card,
.value-card,
.blog-card {
  background: var(--glass-bg, rgba(255,255,255,0.06));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border, rgba(255,255,255,0.08));
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

[data-theme="light"] .service-card,
[data-theme="light"] .mt-feature-card,
[data-theme="light"] .value-card,
[data-theme="light"] .blog-card {
  --glass-bg: rgba(255,255,255,0.65);
  --glass-border: rgba(0,122,130,0.10);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .mt-feature-card,
[data-theme="dark"] .value-card,
[data-theme="dark"] .blog-card {
  --glass-bg: rgba(18,22,32,0.55);
  --glass-border: rgba(79,184,192,0.12);
}

.service-card:hover,
.mt-feature-card:hover,
.value-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,180,190,0.12);
  border-color: rgba(79,184,192,0.25);
}

/* =============================================
   PAGE TRANSITIONS
   ============================================= */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

body {
  animation: pageFadeIn 0.4s ease-out;
}

body.page-exit {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* =============================================
   "HOW IT WORKS" PROCESS SECTION
   ============================================= */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  counter-reset: process-step;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.25;
}

.process-step {
  text-align: center;
  position: relative;
  counter-increment: process-step;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.process-step__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.process-step__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .process-steps::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* =============================================
   FAQ ACCORDIONS
   ============================================= */
.faq {
  max-width: 760px;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-divider);
}

.faq-item:first-child {
  border-top: 1px solid var(--color-divider);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-5) 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text);
  text-align: left;
  gap: var(--space-4);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: var(--space-5);
}

.faq-answer p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* =============================================
   BACK TO TOP BUTTON
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent);
}

/* =============================================
   READING PROGRESS BAR
   ============================================= */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  z-index: 10000;
  transition: width 0.1s linear;
  pointer-events: none;
}

/* =============================================
   CURSOR GLOW EFFECT
   ============================================= */
.cursor-glow {
  position: fixed;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,180,190,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.cursor-glow.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .cursor-glow {
    display: none;
  }
}

/* ─── HOW IT WORKS ─────────────────────────────────────── */
.how-it-works {
  padding: 100px 0;
  background: var(--color-bg);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.process-step {
  text-align: center;
  padding: 40px 32px;
  border-radius: 16px;
  background: var(--color-surface);
  border: 1px solid rgba(0, 180, 190, 0.12);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover {
  border-color: rgba(0, 180, 190, 0.4);
  box-shadow: 0 0 30px rgba(0, 180, 190, 0.08);
}
.process-step__number {
  font-size: 4rem;
  font-weight: 800;
  color: rgba(0, 180, 190, 0.18);
  line-height: 1;
  margin-bottom: 16px;
  font-family: var(--font-display);
}
.process-step__icon {
  margin-bottom: 20px;
}
.process-step h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--color-text-primary);
}
.process-step p {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}
@media (max-width: 768px) {
  .process-steps { grid-template-columns: 1fr; }
}
