/* ===== SELF-HOSTED FONTS ===== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/inter-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/inter-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/inter-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/inter-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/inter-800.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jetbrains-mono-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0b0f19;
  --color-bg-alt: #111827;
  --color-bg-card: #1a2235;
  --color-primary: #3b82f6;
  --color-primary-dim: #2563eb;
  --color-accent: #60a5fa;
  --color-text: #e2e8f0;
  --color-text-dim: #94a3b8;
  --color-text-heading: #f1f5f9;
  --color-border: #1e293b;
  --color-white: #ffffff;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --max-width: 1200px;
  --section-padding: 100px 0;
  --transition: 0.3s ease;
}

/* Vanta.js background layer */
#vanta-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.25;
  pointer-events: none;
}
#vanta-bg canvas {
  pointer-events: auto;
}

/* Active nav link */
.nav__link--active {
  color: var(--color-white) !important;
}
.nav__link--active::after {
  width: 100% !important;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav--scrolled {
  background: rgba(11, 15, 25, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--color-white);
}

.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav__links a {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav__links a:hover {
  color: var(--color-white);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  padding: 10px 24px;
  background: var(--color-primary);
  color: var(--color-white) !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition);
}

.nav__cta:hover {
  background: var(--color-primary-dim);
  transform: translateY(-1px);
}

.nav__cta::after {
  display: none !important;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(59, 130, 246, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(96, 165, 250, 0.06), transparent);
  pointer-events: none;
}



.hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  will-change: transform, opacity;
}

.hero__bg {
  will-change: transform;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 28px;
  animation: glowPulse 3s ease-in-out infinite;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.15); }
  50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.3); }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll reveal base */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal--scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active,
.reveal--left.active,
.reveal--right.active,
.reveal--scale.active {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays for card grids */
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-heading);
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero__title span {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), #a78bfa, var(--color-primary));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--color-text-dim);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 620px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-dim);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn__arrow {
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ===== STATS BAR ===== */
.stats {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stats__item {
  padding: 40px 24px;
  text-align: center;
  position: relative;
}

.stats__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--color-border);
}

.stats__number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.stats__number span {
  color: var(--color-primary);
}

.stats__label {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  font-weight: 500;
}

/* ===== SECTIONS SHARED ===== */
.section,
.cta-section,
.stats,
.footer {
  position: relative;
}

.section::before,
.cta-section::before,
.stats::before,
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), transparent);
  animation: pulse 3s ease-in-out infinite;
  z-index: 2;
}

.section {
  padding: var(--section-padding);
}

.section--alt {
  background: var(--color-bg-alt);
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 16px;
  font-family: var(--font-mono);
  position: relative;
}

.section__label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  vertical-align: middle;
  margin-right: 10px;
  animation: pulse 2s ease-in-out infinite;
}

.section__title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text-heading);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--color-text-dim);
  max-width: 640px;
  margin: 0 auto;
}

/* ===== SERVICES ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: linear-gradient(135deg, rgba(26, 34, 53, 0.7), rgba(17, 24, 39, 0.5));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), #a78bfa);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--transition);
  animation: gradientShift 4s ease infinite;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(59, 130, 246, 0.06), transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, rgba(30, 41, 66, 0.85), rgba(17, 24, 39, 0.65));
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.service-card__icon--arch {
  background: rgba(59, 130, 246, 0.12);
  color: var(--color-primary);
}

.service-card__icon--sec {
  background: rgba(236, 72, 153, 0.12);
  color: #ec4899;
}

.service-card__icon--consult {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}

.service-card__icon--cloud {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
}

.service-card__icon--perf {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}

.service-card__icon--modern {
  background: rgba(6, 182, 212, 0.12);
  color: #06b6d4;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  line-height: 1.7;
}

.service-card__list {
  list-style: none;
  margin-top: 16px;
}

.service-card__list li {
  padding: 4px 0;
  font-size: 0.88rem;
  color: var(--color-text-dim);
  position: relative;
  padding-left: 18px;
}

.service-card__list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* ===== ABOUT / WHY ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__content {
  max-width: 540px;
}

.about__text {
  font-size: 1.05rem;
  color: var(--color-text-dim);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.about__feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.about__feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1rem;
}

.about__feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 2px;
}

.about__feature-text p {
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

.about__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about__visual-card {
  background: linear-gradient(135deg, rgba(26, 34, 53, 0.7), rgba(17, 24, 39, 0.5));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about__visual-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, rgba(30, 41, 66, 0.85), rgba(17, 24, 39, 0.65));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(59, 130, 246, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateY(-4px) !important;
}

.about__visual-card:nth-child(2) {
  transform: translateY(24px);
}

.about__visual-card:nth-child(3) {
  transform: translateY(-24px);
}

.about__visual-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.about__visual-label {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  font-weight: 500;
}

/* ===== TECHNOLOGIES ===== */
.tech__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tech-card {
  background: linear-gradient(135deg, rgba(26, 34, 53, 0.7), rgba(17, 24, 39, 0.5));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.tech-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), #a78bfa);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--transition);
  animation: gradientShift 4s ease infinite;
}

.tech-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-4px);
  background: linear-gradient(135deg, rgba(30, 41, 66, 0.85), rgba(17, 24, 39, 0.65));
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(59, 130, 246, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.tech-card:hover::before {
  opacity: 1;
}

.tech-card__category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.tech-card__items {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  line-height: 1.8;
}

/* ===== TRACK RECORD ===== */
.track__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.track-card {
  background: linear-gradient(135deg, rgba(26, 34, 53, 0.7), rgba(17, 24, 39, 0.5));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  padding: 36px 32px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.track-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), #a78bfa);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--transition);
  animation: gradientShift 4s ease infinite;
}

.track-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(30, 41, 66, 0.85), rgba(17, 24, 39, 0.65));
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.track-card:hover::before {
  opacity: 1;
}

.track-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.track-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.track-card__meta {
  flex: 1;
}

.track-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.track-card__period {
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

.track-card__text {
  font-size: 0.92rem;
  color: var(--color-text-dim);
  line-height: 1.7;
}

.track-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.track-card__tag {
  padding: 4px 12px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--color-accent);
  font-weight: 500;
}

/* ===== ENGAGEMENT MODELS ===== */
.engagement__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.engagement-card {
  background: linear-gradient(135deg, rgba(26, 34, 53, 0.7), rgba(17, 24, 39, 0.5));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.engagement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), #a78bfa);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--transition);
  animation: gradientShift 4s ease infinite;
}

.engagement-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-8px);
  background: linear-gradient(135deg, rgba(30, 41, 66, 0.85), rgba(17, 24, 39, 0.65));
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.engagement-card:hover::before {
  opacity: 1;
}

.engagement-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.engagement-card__icon--arch {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(96, 165, 250, 0.08));
  color: var(--color-accent);
}

.engagement-card__icon--recovery {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.08));
  color: #fbbf24;
}

.engagement-card__icon--security {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(52, 211, 153, 0.08));
  color: #34d399;
}

.engagement-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 12px;
}

.engagement-card__text {
  font-size: 0.92rem;
  color: var(--color-text-dim);
  line-height: 1.7;
}

/* ===== INDUSTRIES ===== */
.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.industry-card {
  background: linear-gradient(135deg, rgba(26, 34, 53, 0.7), rgba(17, 24, 39, 0.5));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent), #a78bfa);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity var(--transition);
  animation: gradientShift 4s ease infinite;
}

.industry-card:hover {
  border-color: rgba(59, 130, 246, 0.25);
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(30, 41, 66, 0.85), rgba(17, 24, 39, 0.65));
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(59, 130, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.industry-card__icon--auto {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(96, 165, 250, 0.08));
  color: var(--color-accent);
}

.industry-card__icon--health {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(52, 211, 153, 0.08));
  color: #34d399;
}

.industry-card__icon--finance {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.08));
  color: #fbbf24;
}

.industry-card__icon--logistics {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(167, 139, 250, 0.08));
  color: #a78bfa;
}

.industry-card__icon--security {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(244, 114, 182, 0.08));
  color: #f472b6;
}

.industry-card__icon--compliance {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(34, 211, 238, 0.08));
  color: #22d3ee;
}

.industry-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 8px;
}

.industry-card__text {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  line-height: 1.7;
}

/* ===== PROCESS / METHODOLOGY ===== */
#process {
  padding: 56px 0;
}

.process__timeline {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.process__timeline::before {
  content: '';
  position: absolute;
  left: 2%;
  right: 2%;
  top: 16px;
  height: 2px;
  width: auto;
  bottom: auto;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.05), var(--color-primary) 10%, var(--color-accent) 90%, rgba(59, 130, 246, 0.05));
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  padding: 0 6px;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step__number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0b0f19;
  border: 2px solid rgba(59, 130, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  padding-top: 1px;
  color: var(--color-accent);
  position: relative;
  z-index: 3;
  transition: all 0.4s ease;
  box-shadow: 0 0 0 6px #0b0f19;
  margin-bottom: 12px;
}

.process-step:hover .process-step__number {
  background: var(--color-bg-alt);
  border-color: var(--color-primary);
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.25), 0 0 0 6px #0b0f19;
  transform: scale(1.15);
}

.process-step__content {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0 4px;
  flex: 1;
  transition: none;
}

.process-step:hover .process-step__content {
  border-color: transparent;
  background: none;
  box-shadow: none;
  transform: none;
}

.process-step__icon {
  display: none;
}

.process-step__icon svg {
  display: none;
}

.process-step__title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-bottom: 4px;
}

.process-step__text {
  font-size: 0.72rem;
  color: var(--color-text-dim);
  line-height: 1.5;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* CTA ::before is handled by the shared .cta-section::before rule above */

.cta-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, rgba(59, 130, 246, 0.1), transparent);
  pointer-events: none;
  animation: glowPulse 4s ease-in-out infinite;
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text-heading);
  margin-bottom: 16px;
}

.cta-section__text {
  font-size: 1.1rem;
  color: var(--color-text-dim);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  padding: 60px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer__logo-img {
  height: 32px;
  width: auto;
}

.footer__logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-white);
}

.footer__desc {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  line-height: 1.7;
}

.footer__heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-heading);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: var(--color-text-dim);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-white);
}

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-dim);
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .track__grid {
    grid-template-columns: 1fr;
  }

  .tech__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .industries__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px 0;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-bg-alt);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
  }

  .nav__links.active {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .hero {
    align-items: flex-start;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .btn {
    justify-content: center;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats__item:nth-child(2)::after {
    display: none;
  }

  .stats__item {
    padding: 28px 16px;
  }

  .services__grid,
  .engagement__grid {
    grid-template-columns: 1fr;
  }

  .industries__grid {
    grid-template-columns: 1fr;
  }

  .process__timeline {
    flex-direction: column;
    gap: 0;
    max-width: 400px;
  }

  .process__timeline::before {
    left: 15px;
    top: 0;
    bottom: 0;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05), var(--color-primary) 15%, var(--color-accent) 85%, rgba(59, 130, 246, 0.05));
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
  }

  .process-step__number {
    width: 30px;
    height: 30px;
    font-size: 0.6rem;
    margin-bottom: 0;
    box-shadow: 0 0 0 5px #0b0f19;
  }

  .process-step__content {
    padding: 0;
  }

  .process-step__text {
    font-size: 0.7rem;
  }

  .about__features {
    grid-template-columns: 1fr;
  }

  .about__visual {
    grid-template-columns: 1fr 1fr;
  }

  .about__visual-card:nth-child(2),
  .about__visual-card:nth-child(3) {
    transform: none;
  }

  .tech__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }

  .stats__item::after {
    display: none;
  }

  .about__visual {
    grid-template-columns: 1fr;
  }
}

/* ===== LEGAL PAGES (Privacy Policy, Terms & Conditions) ===== */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 80vh;
}

.legal-page__header {
  margin-bottom: 48px;
}

.legal-page__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-text-heading);
  margin-top: 12px;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.legal-page__meta {
  font-size: 0.9rem;
  color: var(--color-text-dim);
}

.legal-page__content {
  max-width: 820px;
}

.legal-page__content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-heading);
  margin-top: 40px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}

.legal-page__content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-page__content p {
  margin-bottom: 16px;
  color: var(--color-text);
  line-height: 1.8;
}

.legal-page__content ul {
  margin-bottom: 16px;
  padding-left: 24px;
}

.legal-page__content ul li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--color-text);
}

.legal-page__content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-page__content a:hover {
  color: var(--color-primary);
}

.legal-page__content strong {
  color: var(--color-text-heading);
  font-weight: 600;
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .legal-page__content h2 {
    font-size: 1.2rem;
    margin-top: 32px;
  }
}
