/* ═══════════════════════════════════════════════════════════════
   BLUE PROJECTS AND SERVICES — DESIGN SYSTEM v4.0
   Bold & Dynamic Theme — Full-width, scroll-animated, premium
   ═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ────────────────────────────────────────────── */
:root {
  /* Colors — Core */
  --navy: #0A2540;
  --navy-light: #0D3260;
  --navy-dark: #061B2E;
  --blue: #185FA5;
  --blue-bright: #2177C9;
  --blue-glow: #3B9AFF;
  --ice: #F4F7FB;
  --pale: #E4EEF8;
  --ink: #0F1923;
  --white: #FFFFFF;

  /* Colors — Text */
  --text-primary: #0F1923;
  --text-body: #374151;
  --text-muted: #6B7280;
  --text-subtle: #9CA3AF;

  /* Colors — Accents */
  --accent-gold: #F59E0B;
  --accent-green: #10B981;
  --accent-red: #EF4444;
  --success: #16A34A;

  /* Colors — Borders & BG */
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --bg-elevated: rgba(255,255,255,0.8);

  /* Gradients */
  --gradient-hero: linear-gradient(135deg, #0A2540 0%, #0D3260 40%, #185FA5 100%);
  --gradient-blue: linear-gradient(135deg, #185FA5, #2177C9);
  --gradient-dark: linear-gradient(135deg, #0A2540, #0F1923);
  --gradient-glow: linear-gradient(135deg, #3B9AFF, #2177C9);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Fira Code', monospace;

  /* Spacing Scale */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10,37,64,0.06), 0 1px 2px rgba(10,37,64,0.04);
  --shadow-md: 0 4px 14px rgba(10,37,64,0.08), 0 2px 6px rgba(10,37,64,0.04);
  --shadow-lg: 0 12px 40px rgba(10,37,64,0.12), 0 4px 12px rgba(10,37,64,0.06);
  --shadow-xl: 0 20px 60px rgba(10,37,64,0.15), 0 8px 20px rgba(10,37,64,0.08);
  --shadow-glow: 0 0 40px rgba(33,119,201,0.15);
  --shadow-card-hover: 0 20px 50px rgba(10,37,64,0.18), 0 8px 24px rgba(10,37,64,0.1);

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

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 72px;
}


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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }


/* ── CONTAINER ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}


/* ═══════════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--duration-normal) ease,
              box-shadow var(--duration-normal) ease,
              backdrop-filter var(--duration-normal) ease;
}

.navbar--transparent {
  background: transparent;
}

.navbar--solid {
  background: rgba(10, 37, 64, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

.navbar__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.logo-bars span {
  display: block;
  border-radius: 2px;
  transition: height var(--duration-normal) var(--ease-out);
}

.logo-bars span:nth-child(1) { width: 5px; height: 8px; background: rgba(255,255,255,0.3); }
.logo-bars span:nth-child(2) { width: 5px; height: 13px; background: rgba(255,255,255,0.5); }
.logo-bars span:nth-child(3) { width: 5px; height: 18px; background: rgba(255,255,255,0.7); }
.logo-bars span:nth-child(4) { width: 5px; height: 24px; background: var(--white); }

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: 0.2px;
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Nav Links */
.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__link {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--duration-fast), background var(--duration-fast);
  letter-spacing: 0.2px;
  position: relative;
}

.navbar__link:hover,
.navbar__link--active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.navbar__link--active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--blue-bright);
  border-radius: 1px;
}

/* Nav CTA */
.navbar__cta {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  margin-left: 12px;
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast);
  letter-spacing: 0.3px;
}

.navbar__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255,255,255,0.2);
}

/* Mobile Menu Toggle */
.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.navbar__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--duration-normal) var(--ease-out),
              opacity var(--duration-fast);
}

.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Panel */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy);
  z-index: 999;
  padding: calc(var(--nav-height) + 32px) var(--space-xl) var(--space-xl);
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

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

.mobile-menu__link {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--duration-fast);
}

.mobile-menu__link:hover {
  color: var(--white);
}

.mobile-menu__cta {
  display: inline-block;
  margin-top: 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  text-align: center;
}

.mobile-menu__contact {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu__contact a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  padding: 6px 0;
}


/* ═══════════════════════════════════════════════════════════════
   HERO SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: var(--nav-height) 0 0;
}

.hero--short {
  min-height: auto;
  padding: calc(var(--nav-height) + 80px) 0 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 75% 40%, rgba(33,119,201,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 20% 80%, rgba(59,154,255,0.1) 0%, transparent 50%),
    radial-gradient(ellipse 300px 300px at 90% 90%, rgba(24,95,165,0.15) 0%, transparent 50%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 80px, rgba(255,255,255,0.02) 80px, rgba(255,255,255,0.02) 81px),
    repeating-linear-gradient(90deg, transparent, transparent 80px, rgba(255,255,255,0.02) 80px, rgba(255,255,255,0.02) 81px);
}

.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(59,154,255,0.3);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero__particle:nth-child(1) { left: 15%; top: 30%; animation-delay: 0s; animation-duration: 7s; }
.hero__particle:nth-child(2) { left: 70%; top: 20%; animation-delay: 1s; animation-duration: 8s; }
.hero__particle:nth-child(3) { left: 85%; top: 60%; animation-delay: 2s; animation-duration: 6s; }
.hero__particle:nth-child(4) { left: 40%; top: 75%; animation-delay: 3s; animation-duration: 9s; }
.hero__particle:nth-child(5) { left: 55%; top: 45%; animation-delay: 0.5s; animation-duration: 7.5s; }
.hero__particle:nth-child(6) { left: 25%; top: 60%; animation-delay: 1.5s; animation-duration: 8.5s; }

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  25% { transform: translate(15px, -20px) scale(1.2); opacity: 0.7; }
  50% { transform: translate(-10px, -35px) scale(0.8); opacity: 0.5; }
  75% { transform: translate(20px, -15px) scale(1.1); opacity: 0.6; }
}

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

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero__eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gradient-glow);
  border-radius: 1px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: var(--space-lg);
}

.hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.4);
}

.hero__subtitle {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  letter-spacing: 0.2px;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}


/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,255,255,0.25);
}

.btn--gradient {
  background: var(--gradient-glow);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(59,154,255,0.3);
}

.btn--gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59,154,255,0.4);
}

.btn--ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn--ghost:hover {
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}

.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
}

.btn--dark:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--sm {
  font-size: 12px;
  padding: 8px 18px;
}

.btn--lg {
  font-size: 15px;
  padding: 16px 36px;
}

.btn__arrow {
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}


/* ═══════════════════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════════════════ */
.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--ice {
  background: var(--ice);
}

.section--gradient {
  background: var(--gradient-hero);
  color: var(--white);
}

.section__header {
  margin-bottom: var(--space-2xl);
}

.section__header--center {
  text-align: center;
}

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section--dark .section__eyebrow {
  color: var(--blue-glow);
}

.section__eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

.section__header--center .section__eyebrow::before {
  display: none;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -1px;
  max-width: 600px;
}

.section--dark .section__title,
.section--gradient .section__title {
  color: var(--white);
}

.section__header--center .section__title {
  margin: 0 auto;
}

.section__description {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.7;
}

.section--dark .section__description {
  color: rgba(255,255,255,0.5);
}

.section__header--center .section__description {
  margin: 16px auto 0;
}

.section__header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}


/* ═══════════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════════ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card--flat {
  box-shadow: none;
  border: 1px solid var(--border);
}

.card--flat:hover {
  box-shadow: var(--shadow-md);
}

.card--glass {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
}

.card--glass:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.card--dark {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.06);
}

.card__number {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-subtle);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 10px;
}

.card--glass .card__title,
.card--dark .card__title {
  color: var(--white);
}

.card__text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

.card--glass .card__text,
.card--dark .card__text {
  color: rgba(255,255,255,0.5);
}

.card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.card__arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 18px;
  color: var(--border);
  transition: color var(--duration-fast), transform var(--duration-fast) var(--ease-out);
}

.card:hover .card__arrow {
  color: var(--blue-bright);
  transform: translate(3px, -3px);
}


/* ═══════════════════════════════════════════════════════════════
   TAGS & BADGES
   ═══════════════════════════════════════════════════════════════ */
.tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  display: inline-block;
}

.tag--blue {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(24,95,165,0.06);
}

.tag--new {
  background: var(--gradient-glow);
  color: var(--white);
  border: none;
  font-weight: 500;
}

.badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge--active {
  background: rgba(16,185,129,0.1);
  color: #059669;
}

.badge--upcoming {
  background: rgba(245,158,11,0.1);
  color: #D97706;
}

.badge--done {
  background: rgba(107,114,128,0.08);
  color: var(--text-muted);
}

.badge--live {
  background: rgba(16,185,129,0.1);
  color: #059669;
}


/* ═══════════════════════════════════════════════════════════════
   DASHBOARD STATS (Hero strip)
   ═══════════════════════════════════════════════════════════════ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.stat-cell {
  padding: 28px 24px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  transition: background var(--duration-fast);
}

.stat-cell:hover {
  background: rgba(255,255,255,0.06);
}

.stat-cell__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stat-cell__num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-cell__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.2px;
}

.stat-cell__badge {
  font-family: var(--font-mono);
  font-size: 9px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
  display: inline-block;
  letter-spacing: 0.06em;
}

.stat-cell__badge--live {
  background: rgba(16,185,129,0.15);
  color: #4ADE80;
}

.stat-cell__badge--sched {
  background: rgba(245,158,11,0.15);
  color: #FCD34D;
}

.stat-cell__badge--global {
  background: rgba(59,154,255,0.2);
  color: #93C5FD;
}


/* Live dot */
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  display: inline-block;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}


/* ═══════════════════════════════════════════════════════════════
   CREDENTIALS STRIP
   ═══════════════════════════════════════════════════════════════ */
.credentials {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: var(--space-2xl) 0;
}

.credential {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast);
}

.credential:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.credential__icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ice);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.credential__text {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.credential__text strong {
  color: var(--navy);
  font-size: 12px;
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
}


/* ═══════════════════════════════════════════════════════════════
   SECTOR CHIPS
   ═══════════════════════════════════════════════════════════════ */
.sectors-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.sector-chip {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border: 1px solid var(--border);
  color: var(--text-body);
  background: var(--white);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast);
  cursor: default;
}

.sector-chip:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-1px);
}

.sector-chip--hot {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(24,95,165,0.04);
}


/* ═══════════════════════════════════════════════════════════════
   GRIDS
   ═══════════════════════════════════════════════════════════════ */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.grid--auto { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }


/* ═══════════════════════════════════════════════════════════════
   WHY-US / FEATURES GRID
   ═══════════════════════════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature {
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature__number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pale), var(--border-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

.feature__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.feature__text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════
   PLATFORM PILLS
   ═══════════════════════════════════════════════════════════════ */
.platforms-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.platform-pill {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  transition: all var(--duration-fast);
}

.platform-pill:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.platform-pill--highlight {
  border-color: var(--blue-bright);
  color: var(--white);
  background: rgba(33,119,201,0.12);
}


/* ═══════════════════════════════════════════════════════════════
   COMMISSION / CTA SECTION
   ═══════════════════════════════════════════════════════════════ */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.cta-types {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-type {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  transition: background var(--duration-fast), border-color var(--duration-fast);
}

.cta-type:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

.cta-type__icon {
  width: 44px;
  height: 44px;
  background: rgba(33,119,201,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.cta-type__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.cta-type__sub {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--ink);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.footer__brand-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer__brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  max-width: 300px;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.social-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.35);
  border-radius: var(--radius-sm);
  transition: all var(--duration-fast);
}

.social-link:hover {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 18px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.04em;
}


/* ═══════════════════════════════════════════════════════════════
   WHATSAPP FLOAT BUTTON
   ═══════════════════════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
  transition: transform var(--duration-fast) var(--ease-spring),
              box-shadow var(--duration-fast);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.4);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--white);
}


/* ═══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.animate-on-scroll--left {
  transform: translateX(-30px);
}

.animate-on-scroll--right {
  transform: translateX(30px);
}

.animate-on-scroll--scale {
  transform: scale(0.95);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Stagger delays for children */
.stagger > *:nth-child(1) { transition-delay: 0.05s; }
.stagger > *:nth-child(2) { transition-delay: 0.1s; }
.stagger > *:nth-child(3) { transition-delay: 0.15s; }
.stagger > *:nth-child(4) { transition-delay: 0.2s; }
.stagger > *:nth-child(5) { transition-delay: 0.25s; }
.stagger > *:nth-child(6) { transition-delay: 0.3s; }
.stagger > *:nth-child(7) { transition-delay: 0.35s; }
.stagger > *:nth-child(8) { transition-delay: 0.4s; }
.stagger > *:nth-child(9) { transition-delay: 0.45s; }
.stagger > *:nth-child(10) { transition-delay: 0.5s; }

/* Count-up animation helper */
.count-up { display: inline-block; }


/* ═══════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-primary);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

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

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


/* ═══════════════════════════════════════════════════════════════
   TOAST / NOTIFICATIONS
   ═══════════════════════════════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--navy);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  transition: transform 0.4s var(--ease-out), opacity 0.4s;
  opacity: 0;
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}


/* ═══════════════════════════════════════════════════════════════
   BLOG / ARTICLE
   ═══════════════════════════════════════════════════════════════ */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 60px) var(--space-xl) var(--space-3xl);
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: var(--space-lg);
}

.article__category {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(24,95,165,0.06);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.article__date {
  font-size: 13px;
  color: var(--text-muted);
}

.article__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: var(--space-lg);
}

.article__body {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.85;
}

.article__body h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin: 48px 0 20px;
  line-height: 1.2;
}

.article__body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin: 36px 0 14px;
}

.article__body p {
  margin-bottom: 20px;
}

.article__body ul, .article__body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article__body li {
  margin-bottom: 8px;
  list-style: disc;
}

.article__body ol li {
  list-style: decimal;
}

.article__body strong {
  color: var(--navy);
  font-weight: 600;
}

.article__body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  background: var(--ice);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--navy);
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(3, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
    --space-xl: 24px;
    --space-2xl: 48px;
    --space-3xl: 72px;
  }

  .navbar__links { display: none; }
  .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }

  .hero { min-height: auto; padding: calc(var(--nav-height) + 48px) 0 48px; }
  .hero__title { font-size: clamp(36px, 8vw, 52px); letter-spacing: -1px; }

  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .grid--5 { grid-template-columns: repeat(2, 1fr); }
  .grid--auto { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr; }
  .credentials { gap: 10px; }
  .credential { padding: 10px 16px; }

  .section__title { font-size: clamp(28px, 6vw, 38px); }
}

/* Small phones */
@media (max-width: 480px) {
  .stats-strip { grid-template-columns: 1fr 1fr; }
  .grid--5 { grid-template-columns: 1fr 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}


/* ═══════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

/* ── SEARCH OVERLAY & MODAL ── */
.search-trigger-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  outline: none;
}
.navbar__search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 12px;
  transition: color var(--duration-fast), transform var(--duration-fast);
  outline: none;
}
.navbar__search-btn:hover {
  color: var(--white);
  transform: scale(1.05);
}
.navbar__search-btn svg {
  display: block;
}
.search-trigger-btn .sk {
  font-family: var(--font-mono);
  font-size: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1px 5px;
  border-radius: 2px;
  margin-left: 2px;
  color: rgba(255, 255, 255, 0.4);
}
.search-trigger-btn:hover .sk {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 37, 64, 0.85);
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 20px;
  backdrop-filter: blur(4px);
  animation: fadeIn var(--duration-fast) var(--ease-out);
}
.search-overlay.open {
  display: flex;
}
.search-modal {
  background: var(--white);
  width: 100%;
  max-width: 640px;
  max-height: 70vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--border);
  animation: modalSlide var(--duration-normal) var(--ease-spring);
}
.search-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-light);
  background: var(--ice);
}
.search-icon-lg {
  font-size: 18px;
  color: var(--text-muted);
}
.search-input-field {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--navy);
  background: transparent;
}
.search-input-field::placeholder {
  color: var(--text-subtle);
}
.search-close {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-fast);
}
.search-close:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--ice);
}
.search-results {
  overflow-y: auto;
  max-height: calc(70vh - 68px);
  padding: 12px 0;
}
.search-hint {
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  line-height: 1.6;
}
.search-result-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-light);
  text-decoration: none;
  cursor: pointer;
  transition: background var(--duration-fast);
}
.search-result-item:hover,
.search-result-item.active {
  background: var(--ice);
}
.search-result-item:last-child {
  border-bottom: none;
}
.sr-type {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-bright);
  background: var(--ice);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  white-space: nowrap;
}
.sr-content {
  flex: 1;
  min-width: 0;
}
.sr-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}
.sr-desc {
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sr-arrow {
  font-size: 14px;
  color: var(--text-subtle);
  transition: transform var(--duration-fast);
}
.search-result-item:hover .sr-arrow,
.search-result-item.active .sr-arrow {
  color: var(--blue-bright);
  transform: translate(3px, -3px);
}
.search-no-results {
  padding: 32px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
@media (max-width: 600px) {
  .search-overlay {
    padding: 0;
  }
  .search-modal {
    max-height: 100vh;
    height: 100vh;
    max-width: 100%;
    border-radius: 0;
    border: none;
  }
  .search-results {
    max-height: calc(100vh - 60px);
  }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes modalSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Canvas Background Animation */
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Glassmorphic Matrix HUD Trigger & Panel */
.matrix-hud {
  position: absolute;
  bottom: 25px;
  right: 25px;
  z-index: 10;
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
}

.matrix-hud__trigger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 20, 40, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(59, 154, 255, 0.3);
  color: #00f0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(59, 154, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: auto;
}

.matrix-hud__trigger:hover {
  background: rgba(10, 20, 40, 0.9);
  border-color: #00f0ff;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.4);
  transform: scale(1.05);
}

.matrix-hud__trigger svg {
  width: 20px;
  height: 20px;
  transition: transform 0.5s ease;
}

.matrix-hud__trigger:hover svg {
  transform: rotate(90deg);
}

.matrix-hud__panel {
  position: absolute;
  bottom: 55px;
  right: 0;
  width: 320px;
  background: rgba(8, 12, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(59, 154, 255, 0.25);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.08);
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.matrix-hud.active .matrix-hud__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.matrix-hud__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.matrix-hud__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
}

.matrix-hud__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  font-family: monospace;
  color: #a0aec0;
}

.matrix-hud__status-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.matrix-hud__section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.matrix-hud__section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #718096;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.matrix-hud__presets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.matrix-hud__preset-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #cbd5e0;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.matrix-hud__preset-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(59, 154, 255, 0.4);
}

.matrix-hud__preset-btn.active {
  background: rgba(59, 154, 255, 0.15);
  border-color: #3b9aff;
  color: #00f0ff;
  box-shadow: 0 0 10px rgba(59, 154, 255, 0.2);
}

.matrix-hud__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.matrix-hud__switches {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.matrix-hud__switch-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.matrix-hud__switch-label {
  display: flex;
  flex-direction: column;
}

.matrix-hud__label-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
}

.matrix-hud__label-desc {
  font-size: 0.6rem;
  color: #718096;
}

.matrix-hud__toggle-btn {
  width: 34px;
  height: 18px;
  border-radius: 9px;
  background: #2d3748;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.matrix-hud__toggle-btn.active {
  background: #3b9aff;
}

.matrix-hud__toggle-knob {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease;
}

.matrix-hud__toggle-btn.active .matrix-hud__toggle-knob {
  transform: translateX(16px);
}

.matrix-hud__sliders {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.matrix-hud__slider-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.matrix-hud__slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  color: #e2e8f0;
}

.matrix-hud__slider-val {
  font-family: monospace;
  color: #00f0ff;
}

.matrix-hud__slider-input {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: #2d3748;
  outline: none;
  cursor: pointer;
}

.matrix-hud__slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 5px #00f0ff;
  cursor: pointer;
}

.matrix-hud__modes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}

.matrix-hud__mode-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 5px 6px;
  font-size: 0.65rem;
  font-weight: 600;
  color: #a0aec0;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.matrix-hud__mode-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.matrix-hud__mode-btn.active {
  background: rgba(59, 154, 255, 0.12);
  border-color: rgba(59, 154, 255, 0.5);
  color: #00f0ff;
}

/* ── CARD DETAIL MODAL ──────────────────────────────────────────────── */
.card-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 37, 64, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: var(--space-md);
}

.card-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.card-modal-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-2xl), 0 24px 60px rgba(10, 37, 64, 0.15);
  width: 100%;
  max-width: 900px;
  height: auto;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  overflow: hidden;
  position: relative;
  transform: translateY(30px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-modal-overlay.active .card-modal-container {
  transform: translateY(0) scale(1);
}

/* Close Button */
.card-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-fast) var(--ease-out);
}

.card-modal-close:hover {
  background: var(--navy);
  color: var(--white);
  transform: rotate(90deg);
  border-color: var(--navy);
}

.card-modal-close svg {
  width: 18px;
  height: 18px;
}

/* Image side */
.card-modal__image-wrapper {
  position: relative;
  height: 100%;
  min-height: 400px;
  background: var(--gradient-dark);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl) var(--space-lg);
  overflow: hidden;
}

.card-modal__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.5s ease;
}

.card-modal-container:hover .card-modal__image {
  transform: scale(1.03);
}

.card-modal__image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 37, 64, 0.2) 0%, rgba(10, 37, 64, 0.85) 100%);
  z-index: 1;
}

.card-modal__meta {
  position: relative;
  z-index: 2;
  color: var(--white);
}

.card-modal__meta-item {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: var(--space-xs);
}

.card-modal__meta-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.card-modal__meta-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.card-modal__meta-detail {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: space-between;
}

.card-modal__meta-detail strong {
  color: var(--white);
  font-weight: 500;
}

/* Content side */
.card-modal__content-wrapper {
  padding: var(--space-2xl) var(--space-xl);
  overflow-y: auto;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  color: var(--text-body);
}

.card-modal__title-group {
  margin-bottom: var(--space-xs);
}

.card-modal__subtitle {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--blue2);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.card-modal__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

.card-modal__description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-body);
}

.card-modal__section-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.06em;
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 6px;
}

.card-modal__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.card-modal__checklist-item {
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-modal__checklist-item::before {
  content: "✓";
  color: var(--blue2);
  font-weight: bold;
  font-size: 14px;
  line-height: 1;
  margin-top: 2px;
}

.card-modal__tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-modal__tech-tag {
  font-family: var(--font-mono);
  font-size: 9.5px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--ice);
  color: var(--navy);
  border: 1px solid var(--border-light);
}

.card-modal__actions {
  margin-top: var(--space-md);
}

.card-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-md);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: all var(--duration-fast) var(--ease-out);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.card-modal__cta:hover {
  background: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

/* Make cards clickable and interactive */
.sector-card, .project-card, .service-card {
  cursor: pointer;
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out),
              border-color var(--duration-normal);
}

/* Responsive Modal styling */
@media (max-width: 768px) {
  .card-modal-container {
    grid-template-columns: 1fr;
    max-height: 85vh;
  }
  
  .card-modal__image-wrapper {
    min-height: 200px;
    height: 200px;
    padding: var(--space-lg);
  }
  
  .card-modal__meta-title {
    font-size: 22px;
    margin-bottom: var(--space-sm);
  }
  
  .card-modal__meta-details {
    display: none;
  }

  .card-modal__content-wrapper {
    padding: var(--space-lg);
    max-height: calc(85vh - 200px);
  }
  
  .card-modal__title {
    font-size: 22px;
  }
}



