/* ==============================
   VABTEC – Core Stylesheet
   ============================== */

:root {
  /* === Deep Navy & Midnight === */
  --blue-950: #020617;
  --blue-900: #050E1D;
  --blue-800: #0B1B33;
  --blue-700: #101E3B;

  /* === Brand Blue & Accent === */
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-400: #60A5FA;
  --accent: #22D3EE;
  --accent-glow: rgba(34, 211, 238, 0.3);

  /* === Slate Palette === */
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-400: #94A3B8;
  --slate-500: #64748B;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1E293B;

  --white: #FFFFFF;
  --green: #10B981;
  --red: #EF4444;

  --font-head: 'Outfit', 'Syne', sans-serif;
  --font-body: 'Inter', 'DM Sans', sans-serif;

  --radius: 12px;
  --radius-lg: 24px;
  --shadow-premium: 0 20px 50px rgba(0, 0, 0, 0.4);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  --glass: rgba(15, 23, 42, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.03);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.center {
  text-align: center;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--accent) 100%);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: .9rem 2rem;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(26, 82, 204, .3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26, 82, 204, .4);
  filter: brightness(1.1);
}

.btn-primary.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--blue-600);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.8rem;
  border-radius: 8px;
  border: 2px solid var(--blue-200, #bfdbfe);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--blue-100);
  border-color: var(--blue-500);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--blue-600), var(--accent));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .85rem;
  padding: .55rem 1.2rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 2px 10px rgba(26, 82, 204, .25);
}

.btn-nav:hover {
  opacity: .9;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 82, 204, .35);
}

/* ---- TOP BAR ---- */
.topbar {
  background: var(--blue-900);
  color: var(--slate-400);
  font-size: .8rem;
  padding: .45rem 0;
}

.topbar a {
  color: var(--blue-400);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 40px;
}

.topbar-center {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .topbar-center {
    display: none;
  }
}

.topbar-left {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- NAVBAR ---- */
.navbar {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 0.5rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: .75rem;
  padding-bottom: .75rem;
}

.logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.logo-img {
  height: 52px; /* Professional height for navbar */
  max-width: 100%;
  width: auto;
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply; /* Removes white background on light backgrounds */
}

/* Footer logo variant */
.logo-light .logo-img {
  height: 48px; /* Slightly smaller for footer */
  background: rgba(255, 255, 255, 0.95); /* High-contrast white background */
  padding: 8px 12px;
  border-radius: 8px;
  mix-blend-mode: normal; /* Override multiply for the white container */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}





.nav-links {
  display: flex;
  gap: .25rem;
  margin: 0 auto;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--slate-700);
  padding: .45rem .85rem;
  border-radius: 6px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-600);
  background: var(--blue-100);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--slate-800);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #050E1D 0%, #0B2048 50%, #050E1D 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 3rem 0 2.5rem;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(107, 159, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 159, 255, .06) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 550px;
  height: 550px;
  background: rgba(26, 82, 204, .28);
  top: -120px;
  right: 8%;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(6, 197, 224, .18);
  bottom: -60px;
  left: 4%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(59, 130, 246, .15);
  border: 1px solid rgba(59, 130, 246, .3);
  color: var(--blue-400);
  font-size: .8rem;
  font-weight: 600;
  font-family: var(--font-head);
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: .04em;
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.text-accent {
  color: var(--accent);
  position: relative;
}

.text-accent::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--accent);
  opacity: 0.15;
  z-index: -1;
}

.hero-desc {
  color: var(--slate-400);
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: fit-content;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .15);
}

/* Hero Visual - Premium Grid Layout */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  perspective: 1000px;
}

.hv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
  gap: 1.5rem;
  width: 100%;
  max-width: 600px;
  transform: rotateY(-5deg) rotateX(5deg);
}

.hv-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.02);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.hv-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: 0.5s;
}

.hv-card:hover {
  transform: translateY(-5px) scale(1.02) translateZ(20px);
  border-color: var(--blue-400);
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 15px var(--accent-glow);
}

.hv-card:hover::after {
  left: 100%;
}

/* Staggered float animations with more natural movement */
@keyframes hv-float {
  0%, 100% { transform: translateY(0) rotate(0); }
  33% { transform: translateY(-8px) rotate(0.5deg); }
  66% { transform: translateY(4px) rotate(-0.5deg); }
}

.hvc-float-1 { animation: hv-float 7s ease-in-out infinite; }
.hvc-float-2 { animation: hv-float 8s ease-in-out infinite; animation-delay: 1.5s; }
.hvc-float-3 { animation: hv-float 9s ease-in-out infinite; animation-delay: 3s; }

/* Dashboard - Premium View */
.hv-dashboard {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--blue-500);
  border-radius: 20px;
  padding: 1.5rem;
  color: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.15);
  animation: hv-float 10s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition);
}

.hv-dashboard:hover {
  border-color: var(--accent);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.7), 0 0 40px rgba(34, 211, 238, 0.2);
  transform: translateY(-5px) scale(1.01);
}

.hv-dashboard-tall {
  grid-row: span 3;
}

/* Components Styling */
.hc-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hc-icon.icon-green {
  color: var(--green);
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.hc-icon.icon-orange {
  color: #fb923c;
  border-color: rgba(251, 146, 60, 0.3);
  background: rgba(251, 146, 60, 0.05);
  box-shadow: 0 0 15px rgba(251, 146, 60, 0.1);
}

.hc-badge-mini {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--green);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.log-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--slate-300);
}

.hc-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.15rem;
}

.hc-text small {
  color: var(--slate-400);
  font-size: 0.78rem;
  font-weight: 500;
}

/* AI Log View - Technical Terminal Polish */
.hv-log {
  display: flex;
  flex-direction: column;
  background: rgba(2, 6, 23, 0.7);
  border-color: rgba(34, 211, 238, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(34, 211, 238, 0.05);
  padding: 0 !important;
  min-width: 240px;
}

.log-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 44px; /* Fixed height for alignment */
  padding: 0 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.65rem;
  color: var(--slate-400);
}

.log-dots { display: flex; gap: 4px; }
.log-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.log-content {
  padding: 1.25rem 1rem;
}

.log-line {
  font-family: 'Fira Code', 'Courier New', monospace;
  font-size: 0.72rem;
  opacity: 0.9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
  height: 1.5rem; /* Match ds-metric height */
  margin-bottom: 0.75rem; /* Match ds-body gap */
}

.log-line:last-child {
  margin-bottom: 0;
}

.log-ok {
  color: var(--green);
  font-weight: 700;
}

.log-warn {
  color: #fbbf24;
  font-weight: 700;
}

/* Pulse View */
.hv-pulse {
  display: block;
}

.pulse-graph svg path {
  filter: drop-shadow(0 0 5px var(--accent));
}

/* Status Badge - Professional Pill */
/* Endpoints Card Polish */
.hv-endpoints {
  border-color: rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.03);
}

.hv-endpoints .hc-text strong {
  color: var(--green);
}


/* hv-dashboard device screen styles */
.hv-dashboard .ds-header {
  height: 44px; /* Match log-header height */
  background: rgba(30, 41, 59, 0.8);
  padding: 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: var(--slate-400);
  border-radius: 12px 12px 0 0;
  margin: -1.5rem -1.5rem 1.25rem -1.5rem;
}

.device-screen {
  background: rgba(15, 23, 42, .9);
  border: 1px solid rgba(59, 130, 246, .3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.ds-header {
  background: rgba(30, 41, 59, .8);
  padding: .6rem 1rem;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  color: var(--slate-400);
}

.ds-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ds-dot.red {
  background: #ef4444;
}

.ds-dot.yellow {
  background: #f59e0b;
}

.ds-dot.green {
  background: #10b981;
}

.ds-title {
  margin-left: .5rem;
}

.ds-body {
  padding: 1.25rem 0; /* Align with log-content padding */
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ds-metric {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--slate-400);
  height: 1.5rem; /* Align with log-line height */
}

.ds-bar {
  height: 6px;
  background: rgba(255, 255, 255, .1);
  border-radius: 3px;
  overflow: hidden;
}

.ds-fill {
  height: 100%;
  background: var(--blue-500);
  border-radius: 3px;
}

.ds-fill.red-fill {
  background: var(--green);
}

.ds-fill.green-fill {
  background: var(--green);
}

.ds-val {
  font-size: .7rem;
  color: var(--blue-400);
  font-weight: 600;
}

.ds-badge {
  background: rgba(16, 185, 129, .1);
  border: 1px solid rgba(16, 185, 129, .3);
  color: #34d399;
  text-align: center;
  padding: .4rem;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 600;
}

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--slate-100);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 1rem 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ---- LOGO SLIDER (TRUST STRIP) ---- */
.trust-strip {
  background: var(--white);
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--slate-100);
}

.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-track {
  display: flex;
  width: calc(250px * 34);
  /* (logo width estimate + gap) * total (including clones) */
  animation: scroll 60s linear infinite;
  gap: 4rem;
  align-items: center;
}

.logo-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-700);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  transition: var(--transition);
}

.logo-item:hover {
  transform: translateY(-2px);
  color: var(--blue-600);
}

.logo-item img {
  height: 32px;
  width: auto;
  transition: var(--transition);
}

.logo-item:hover img {
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-250px * 17));
  }
}

.logo-slider:hover .logo-track {
  animation-play-state: paused;
}

/* ---- SECTIONS ---- */
.section {
  padding: 3rem 0;
}

.section-light {
  background: var(--slate-50);
  background-image: radial-gradient(rgba(26, 82, 204, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.section-dark {
  background: var(--blue-900);
}

.section-header {
  margin-bottom: 3rem;
}

.section-header.center {
  text-align: center;
}

.section-pre {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: .75rem;
  display: block;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.1;
  color: var(--blue-900);
  margin-bottom: 1.5rem;
  position: relative;
}

.section-header.center .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: var(--blue-600);
  border-radius: 2px;
}

.section-sub {
  font-size: 1rem;
  color: var(--slate-600);
  max-width: 600px;
  margin: 0 auto;
}

/* ---- PILLARS ---- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1100px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.19, 1, .22, 1);
}

.pillar-card:hover::before {
  transform: scaleX(1);
}

.pillar-card:hover {
  box-shadow: 0 20px 40px rgba(5, 14, 29, 0.08);
  transform: translateY(-8px);
  border-color: rgba(26, 82, 204, 0.1);
}

.pillar-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-200);
  line-height: 1;
  margin-bottom: .75rem;
}

.pillar-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-900);
  margin-bottom: .6rem;
}

.pillar-card p {
  font-size: .88rem;
  color: var(--slate-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.pillar-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  color: var(--blue-600);
  transition: var(--transition);
}

.pillar-link:hover {
  color: var(--blue-700);
  gap: .5rem;
}


/* ---- TECHNOLOGY ECOSYSTEM ---- */
.ecosystem-section {
  background: var(--blue-900);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.ecosystem-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.ecosystem-text .section-title {
  color: var(--white);
}

.ecosystem-text p {
  color: var(--slate-400);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.ecosystem-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.ecosystem-list li {
  font-size: 0.95rem;
  color: var(--slate-200);
  display: grid;
  grid-template-columns: 24px 110px 1fr;
  gap: 0.75rem;
  align-items: flex-start;
  line-height: 1.5;
}

.ecosystem-list li::before {
  content: '→';
  color: var(--blue-400);
  font-weight: 800;
  font-size: 1.2rem;
  margin-top: -2px;
}

.ecosystem-list li strong {
  color: var(--white);
  white-space: nowrap;
}

.ecosystem-visual {
  position: relative;
}

.ecosystem-main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ecosystem-main-img img {
  width: 100%;
  transition: transform 0.5s ease;
}

.ecosystem-main-img:hover img {
  transform: scale(1.02);
}

.overlapping-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.05);
  animation: hv-float 6s ease-in-out infinite;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 220px;
}

.oc-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--accent) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.oc-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.oc-text span {
  font-size: 0.75rem;
  color: var(--slate-400);
}

.card-1 {
  top: -20px;
  right: -30px;
  animation-delay: 0s;
}

.card-2 {
  bottom: -20px;
  left: -30px;
  animation-delay: 2s;
}

@media (max-width: 992px) {
  .ecosystem-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .card-1, .card-2 {
    position: relative;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin-top: 1.5rem;
    width: fit-content;
  }
}

/* ---- ABOUT TEASER ---- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card-main {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem 5rem 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.acm-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.acm-icon {
  font-size: 2.5rem;
}

.acm-top strong {
  font-family: var(--font-head);
  font-size: 1.1rem;
}

.acm-top small {
  color: var(--slate-400);
  font-size: .82rem;
}

.acm-divider {
  border: none;
  border-top: 1px solid var(--slate-200);
  margin: 1rem 0;
}

.acm-quote {
  font-style: italic;
  color: var(--slate-600);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: .75rem;
}

.acm-author {
  font-size: .78rem;
  color: var(--slate-400);
  font-family: var(--font-head);
  font-weight: 600;
}

.about-card-side {
  position: absolute;
  bottom: -20px;
  right: -40px;
  background: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 100%);
  color: var(--white);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  display: flex;
  gap: 2rem;
  box-shadow: 0 20px 50px rgba(14, 165, 233, 0.3);
  z-index: 2;
}

.acs-stat {
  text-align: left;
}

.acs-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.acs-label {
  font-size: .8rem;
  font-weight: 600;
  opacity: .9;
  white-space: nowrap;
}

.about-text {
  padding-right: 1rem;
}

.about-text p {
  color: var(--slate-600);
  margin-bottom: 1rem;
  font-size: .95rem;
  line-height: 1.75;
}

.about-bullets {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.about-bullets li {
  font-size: .9rem;
  color: var(--slate-700);
  font-weight: 500;
}

/* ---- SERVICES GRID (dark) ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all var(--transition);
  position: relative;
  backdrop-filter: blur(8px);
}

.service-card:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.sc-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: .6rem;
}

.service-card p {
  font-size: .88rem;
  color: var(--slate-400);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.sc-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  color: var(--blue-400);
  transition: var(--transition);
}

.sc-link:hover {
  color: var(--accent2);
}

/* ---- WHY ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-card h4 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .6rem;
  color: var(--blue-900);
}

.why-card p {
  font-size: .85rem;
  color: var(--slate-600);
  line-height: 1.65;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(140deg, #050E1D 0%, #0F2A5C 50%, #050E1D 100%);
  padding: 2.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  width: 450px;
  height: 450px;
  background: rgba(6, 197, 224, .22);
  border-radius: 50%;
  filter: blur(90px);
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: .4rem;
}

.cta-text p {
  color: rgba(255, 255, 255, .7);
  font-size: .95rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}

.cta-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .2rem;
}

.cta-contact span {
  color: rgba(255, 255, 255, .8);
  font-size: .8rem;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--blue-900);
  color: var(--slate-400);
  padding-top: 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2rem;
}

.footer-brand p {
  font-size: .85rem;
  line-height: 1.65;
  margin-top: 1rem;
  max-width: 280px;
  color: var(--slate-400);
}

.footer-email {
  margin-top: .5rem !important;
}

.footer-email a {
  color: var(--blue-400);
}

.footer-col h5 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: .05em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-col a {
  font-size: .85rem;
  color: var(--slate-400);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--blue-400);
}

.footer-locations li {
  font-size: .82rem;
  line-height: 1.65;
  margin-bottom: .25rem;
}

.footer-locations strong {
  color: var(--slate-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 1.25rem 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--slate-400);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--blue-400);
}

/* ---- PAGE HEADER ---- */
.page-header {
  background: linear-gradient(160deg, #050E1D 0%, #0D2550 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-header::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  filter: blur(100px);
  top: -100px;
  right: -100px;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(107, 159, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 159, 255, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  color: var(--slate-400);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--blue-400);
}

.breadcrumb span {
  color: var(--slate-600);
}

.page-header h1 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: .75rem;
}

.page-header p {
  color: var(--slate-400);
  font-size: 1rem;
  max-width: 600px;
}

.page-header.solutions-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 5rem;
  background: linear-gradient(160deg, #050E1D 0%, #0B2048 50%, #050E1D 100%);
  overflow: hidden;
}


/* ---- SERVICES PAGE ---- */
.services-section {
  padding: 6rem 0;
  background: var(--slate-50);
}

/* ---- SERVICES PAGE ---- */
.services-section {
  padding: 6rem 0;
  background: var(--slate-50);
}

.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.service-compact-card {
  position: relative;
  height: auto;
  min-height: 440px;
  background: linear-gradient(165deg, #0a1931 0%, #050E1D 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
}

.service-compact-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(59, 130, 246, 0.4);
  background: linear-gradient(165deg, #0e213f 0%, #050E1D 100%);
}

.scc-header {
  position: relative;
  z-index: 2;
  margin-bottom: 1.2rem;
  padding: 2rem 2rem 0;
}

.scc-header.scc-centered {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 2rem;
}

.scc-header.scc-centered h3 {
  text-align: center;
}

.scc-header h3 {
  color: #FFFFFF !important;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 0;
}

.scc-body {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  padding: 0 2rem 2rem;
}

.scc-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.scc-list li {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.3;
}

.scc-list li::before {
  content: '→';
  color: var(--accent);
  font-weight: 800;
  margin-top: -1px;
  transition: transform 0.3s ease;
}

.service-compact-card:hover .scc-list li::before {
  transform: translateX(3px);
  color: var(--white);
}

@media (max-width: 1100px) {
  .service-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .service-cards-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-compact-card {
    height: auto;
    min-height: 380px;
  }
}

/* ---- END SERVICES PAGE ---- */

/* ---- WHAT WE DO PAGE ---- */
.wwd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.wwd-text h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--blue-900);
  margin-bottom: 1rem;
}

.wwd-text p {
  font-size: .92rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: .75rem;
}

.wwd-features {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.25rem;
}

.wwd-feature {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .88rem;
  color: var(--slate-700);
}

.wwd-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--blue-100);
  color: var(--blue-600);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.wwd-visual {
  background: linear-gradient(145deg, #0B1B33, #0F2A5C);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.wwd-visual h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--blue-400);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.ps-num {
  width: 30px;
  height: 30px;
  background: var(--blue-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 800;
  flex-shrink: 0;
}

.ps-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: .88rem;
  margin-bottom: .15rem;
}

.ps-text small {
  color: var(--slate-400);
  font-size: .78rem;
}

/* ---- ABOUT PAGE ---- */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 3rem 0;
  align-items: center;
}

.about-hero-text p {
  font-size: .95rem;
  color: var(--slate-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2.5rem 0;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-900);
  margin-bottom: .5rem;
}

.value-card p {
  font-size: .85rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.about-stats-strip {
  background: linear-gradient(140deg, #050E1D 0%, #102258 50%, #050E1D 100%);
  padding: 2rem 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats-row .stat-num {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
}

.stats-row .stat-label {
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
  margin-top: .25rem;
}

/* ---- CONTACT PAGE ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  padding: 3rem 0;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--blue-900);
  margin-bottom: 1rem;
}

.contact-info p {
  font-size: .9rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.cd-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-100);
  color: var(--blue-600);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.cd-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: .85rem;
  margin-bottom: .15rem;
}

.cd-text span,
.cd-text a {
  font-size: .85rem;
  color: var(--slate-600);
}

.cd-text a:hover {
  color: var(--blue-600);
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-card h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--blue-900);
  margin-bottom: .5rem;
}

.contact-form-card p {
  font-size: .85rem;
  color: var(--slate-400);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: .4rem;
  letter-spacing: .04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26, 82, 204, .12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: .5rem;
  justify-content: center;
  font-size: 1rem;
  padding: .9rem;
}

.form-note {
  text-align: center;
  font-size: .75rem;
  color: var(--slate-400);
  margin-top: .75rem;
}

/* ---- WHAT WE DO PAGE – ACCORDION ---- */
.wwd-section {
  padding: 3rem 0;
}

.wwd-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.wwd-tab {
  font-family: var(--font-head);
  font-size: .82rem;
  font-weight: 700;
  padding: .55rem 1.1rem;
  border-radius: 6px;
  border: 1.5px solid var(--slate-200);
  color: var(--slate-600);
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}

.wwd-tab.active,
.wwd-tab:hover {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}

/* ---- FAQ SECTION ---- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--blue-400);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--blue-900);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  outline: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--blue-600);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-item p {
  color: var(--slate-600);
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  padding-right: 1.5rem;
}

/* ---- ANIMATIONS ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE DESIGN SYSTEM
   Breakpoints: Laptop ≤1280px | Tablet ≤1024px | Mobile ≤768px | Small ≤480px
   ============================================================ */

/* ---- LAPTOP (≤1280px) ---- */
@media (max-width: 1280px) {
  .container {
    max-width: 1100px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
  }

  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .service-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
}

/* ---- TABLET (≤1024px) ---- */
@media (max-width: 1024px) {

  /* --- NAV --- */
  .nav-links,
  .btn-nav {
    display: none !important;
  }

  .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-lg);
    gap: .25rem;
    z-index: 999;
  }

  .nav-inner {
    position: relative;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .hamburger {
    display: flex !important;
  }

  /* --- CONTAINER --- */
  .container {
    padding: 0 1.5rem;
    max-width: 100%;
  }

  /* --- HERO (index.html) --- */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-visual {
    display: block;
    height: 340px;
    margin-top: 1.5rem;
  }

  .hero-device {
    width: 220px;
    left: 50%;
  }

  .hero-card-1 { left: 10px; top: 10px; scale: 0.82; }
  .hero-card-2 { right: 0;   top: 60px; scale: 0.82; }
  .hero-card-3 { left: -5px; bottom: 100px; scale: 0.82; }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
    max-width: 560px;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  /* --- SECTIONS --- */
  .section {
    padding: 4rem 0;
  }

  /* --- PILLARS (index.html) --- */
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  /* --- WHY / STATS / FOOTER --- */
  .why-grid,
  .stats-row,
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- ABOUT / WWD / CONTACT / FORM --- */
  .about-inner,
  .wwd-grid,
  .contact-grid,
  .about-hero-grid,
  .about-values,
  .form-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text {
    padding-right: 0;
  }

  .about-card-side {
    position: static;
    margin-top: 1.5rem;
  }

  /* --- SERVICE CARDS (solutions.html) --- */
  .service-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .service-compact-card {
    min-height: 380px;
  }

  /* --- PAGE HEADER (inner pages) --- */
  .page-header {
    padding: 4rem 0 3rem;
  }

  .page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
  }

  /* --- SOLUTIONS HERO --- */
  .page-header.solutions-hero {
    min-height: 60vh;
    padding: 6rem 0 4rem;
  }

  /* --- TRUST / LOGO STRIP --- */
  .trust-strip-heading {
    font-size: 0.75rem;
  }

  /* --- AI GRID --- */
  .ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- EXPERTISE AI GRID --- */
  .expertise-ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- CTA BANNER --- */
  .cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-contact {
    align-items: center;
  }
}

/* ---- MOBILE (≤768px) ---- */
@media (max-width: 768px) {

  /* --- TOPBAR --- */
  .topbar-right {
    display: none !important;
  }

  .topbar-center {
    font-size: 0.72rem;
  }

  /* --- CONTAINER --- */
  .container {
    padding: 0 1rem;
  }

  /* --- HERO --- */
  .hero {
    padding-top: 5rem;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-visual {
    height: 280px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.9rem;
  }

  /* --- PILLARS --- */
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* --- WHY / STATS / FOOTER --- */
  .why-grid,
  .stats-row,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  /* --- TRUST STRIP --- */
  .trust-inner {
    justify-content: center;
  }

  .trust-logos {
    justify-content: center;
  }

  /* --- SERVICE CARDS (solutions.html) --- */
  .service-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-compact-card {
    min-height: unset;
  }

  /* --- PAGE HEADER --- */
  .page-header {
    padding: 3.5rem 0 2.5rem;
  }

  .page-header h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .page-header p {
    font-size: 0.9rem;
  }

  /* --- SOLUTIONS HERO --- */
  .page-header.solutions-hero {
    min-height: auto;
    padding: 5rem 0 3rem;
  }

  .page-header.solutions-hero .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  /* --- HERO CTA BUTTONS --- */
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* --- SECTION HEADINGS --- */
  .section-title {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
  }

  .section-sub {
    font-size: 0.9rem;
  }

  /* --- WWD GRID (our-approach) --- */
  .wwd-grid {
    grid-template-columns: 1fr !important;
    direction: ltr !important;
  }

  .wwd-text,
  .wwd-visual {
    direction: ltr !important;
  }

  /* --- ABOUT VALUES --- */
  .about-values {
    grid-template-columns: 1fr;
  }

  /* --- STATS ROW --- */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stats-row .stat-num {
    font-size: 2rem;
  }

  /* --- AI GRID --- */
  .ai-grid {
    grid-template-columns: 1fr;
  }

  /* --- EXPERTISE AI GRID --- */
  .expertise-ai-grid {
    grid-template-columns: 1fr;
  }

  /* --- CONTACT --- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  /* --- FOOTER --- */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  /* --- CTA BANNER --- */
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-text h2 {
    font-size: 1.5rem;
  }

  /* --- LOGO SLIDER --- */
  .logo-item img {
    height: 32px;
  }
}

/* ---- SMALL MOBILE (≤480px) ---- */
@media (max-width: 480px) {

  /* --- TOPBAR --- */
  .topbar-left {
    flex-direction: column !important;
    gap: .4rem;
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .topbar-left span {
    font-size: 0.7rem;
  }

  /* --- LOGO --- */
  .logo-main {
    font-size: 1.3rem;
  }

  .logo-img {
    height: 36px !important;
  }

  /* --- HERO --- */
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-badge {
    font-size: 0.68rem;
    padding: 0.3rem 0.75rem;
  }

  .hero-visual {
    display: none;
  }

  /* --- PILLARS --- */
  .pillars-grid {
    grid-template-columns: 1fr !important;
  }

  /* --- STATS --- */
  .stats-row {
    grid-template-columns: 1fr;
  }

  /* --- SECTION TITLES --- */
  .section-title {
    font-size: 1.35rem;
  }

  /* --- PAGE HEADER --- */
  .page-header {
    padding: 3rem 0 2rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  /* --- SOLUTIONS HERO --- */
  .page-header.solutions-hero .hero-title {
    font-size: 1.9rem;
  }

  /* --- SERVICE CARDS --- */
  .scc-header,
  .scc-body {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* --- CONTACT FORM --- */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* --- FAQ GRID --- */
  .contact-faq-grid {
    grid-template-columns: 1fr !important;
  }

  /* --- FOOTER --- */
  .footer-brand p {
    font-size: 0.85rem;
  }

  /* --- CTA --- */
  .cta-text h2 {
    font-size: 1.3rem;
  }

  .cta-text p {
    font-size: 0.85rem;
  }
}


/* ---- AI & AUTOMATION SECTION (DARK TECH) ---- */
.section-ai {
  background: #020617;
  position: relative;
  overflow: hidden;
}

.section-ai::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 2px 2px, rgba(6, 182, 212, 0.05) 1px, transparent 0);
  background-size: 32px 32px;
}

.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.ai-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(6, 182, 212, 0.15);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.ai-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.4), transparent, rgba(6, 182, 212, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.ai-card:hover {
  transform: translateY(-8px);
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.1);
}

.ai-icon {
  width: 56px;
  height: 56px;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.ai-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.ai-card p {
  font-size: 0.95rem;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.terminal-box {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 1rem;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #06b6d4;
  border: 1px solid rgba(6, 182, 212, 0.1);
}

.t-line {
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .ai-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- PROFESSIONAL UI ELEMENTS ---- */
.tab-icon-large {
  width: 80px;
  height: 80px;
  background: var(--blue-50);
  color: var(--blue-600);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.tabs-container {
  max-width: 900px;
  margin: 0 auto;
}

.tab-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  font-family: var(--font-head);
  font-weight: 700;
  border: none;
  background: var(--slate-200);
  color: var(--slate-700);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--blue-600);
  color: var(--white);
}

.tab-content {
  display: none;
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
  text-align: center;
  animation: tabFadeIn 0.5s ease-out;
}

.tab-content.active {
  display: block;
}

.scc-header.scc-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 3rem;
}

/* ---- EXPERTISE AI GRID ---- */
.expertise-ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 3.5rem;
}

.e-ai-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.25rem;
  transition: var(--transition);
}

.e-ai-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.e-ai-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
}

.e-ai-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.e-ai-card li {
  font-size: 0.9rem;
  color: var(--slate-400);
  line-height: 1.6;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.25rem;
}

.e-ai-card li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.e-ai-card li strong {
  color: var(--slate-200);
  display: block;
  margin-bottom: 2px;
}

@media (max-width: 768px) {
  .expertise-ai-grid {
    grid-template-columns: 1fr;
  }
}