/* ══════════════════════════════════════
   TOKENS
══════════════════════════════════════ */
:root {
  --space: #050f1c;
  --space-mid: #0a1628;
  --card-bg: #0e1e35;
  --card-border: rgba(0, 102, 255, 0.18);
  --blue: #0066ff;
  --cyan: #00d4ff;
  --blue-glow: rgba(0, 102, 255, 0.35);
  --cyan-glow: rgba(0, 212, 255, 0.25);
  --white: #ffffff;
  --off-white: #f0f6ff;
  --muted: rgba(255, 255, 255, 0.45);
  --muted-dark: #5a7a9e;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --line: rgba(255, 255, 255, 0.07);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background: var(--space);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family: "Outfit", sans-serif;
}
a {
  text-decoration: none;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--space-mid);
}
::-webkit-scrollbar-thumb {
  background: #05347b;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue);
}

/* ══════════════════════════════════════
   NOISE TEXTURE OVERLAY
══════════════════════════════════════ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: all 0.4s var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 22px 32px;
  transition: all 0.4s var(--ease);
}
#nav.scrolled .nav-inner {
  padding: 14px 32px;
  background: rgba(5, 15, 28, 0.85);
  backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(0, 102, 255, 0.12);
  /* border-radius: 0 0 20px 20px;
        box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4); */

  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  margin-top: 10px;
  border: 1px solid rgba(0, 102, 255, 0.35);
}
.nav-logo img {
  height: 44px;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  border-radius: 8px;
  transition:
    color 0.25s,
    background 0.25s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: var(--white) !important;
  padding: 9px 22px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.03em;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s !important;
  background: none !important;
  border: 1.5px solid rgba(0, 102, 255, 0.6) !important;
  color: var(--cyan) !important;
}
.nav-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 20px var(--blue-glow),
    0 0 0 1px var(--blue) !important;
  color: var(--white) !important;
  background: rgba(0, 102, 255, 0.15) !important;
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}
.nav-mobile {
  display: none;
}

/* ══════════════════════════════════════
   HERO  — asymmetric bento
══════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 130px 0 80px;
}

/* BG image wrapper — set via HTML, not CSS */
.hero-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Light overlay on top of image */
.hero-bg-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    46deg,
    rgb(0 0 0 / 80%) 0%,
    rgb(0 0 0 / 80%) 55%,
    rgb(0 0 0 / 95%) 100%
  );
}

/* Animated aurora background */
.hero-aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0;
  animation: blobIn 1.2s var(--ease) forwards;
}
.aurora-blob-1 {
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(0, 102, 255, 0.28) 0%,
    transparent 65%
  );
  top: -200px;
  right: -100px;
  animation-delay: 0.1s;
}
.aurora-blob-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.18) 0%,
    transparent 65%
  );
  bottom: -150px;
  left: 10%;
  animation-delay: 0.3s;
}
.aurora-blob-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(0, 102, 255, 0.2) 0%,
    transparent 65%
  );
  top: 40%;
  left: 40%;
  animation-delay: 0.5s;
}
@keyframes blobIn {
  to {
    opacity: 1;
  }
}

/* Dot-grid canvas */
#heroCanvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
}

.hero-container {
  position: relative;
  z-index: 2;
  /* max-width: 1200px; */
  margin: 0 auto;
  /* padding: 0 32px; */
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}

@media (max-width: 991.9px) {
  .hero-left {
    text-align: center;
  }
  .hero-p {
    margin: auto;
  }
  .hero-actions {
    justify-content: center;
  }
}

/* Left column */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s var(--ease) forwards;
}
.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.6);
  }
}

.hero-h1 {
  font-size: clamp(3rem, 5.5vw, 5.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s 0.35s var(--ease) forwards;
}
.hero-h1 .grad {
  background: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-h1 .outline-text {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.25);
  color: transparent;
  display: block;
}

.hero-p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 44px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.7s 0.5s var(--ease) forwards;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.65s var(--ease) forwards;
}

.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 14px 30px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
.btn-primary-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--blue));
  background-size: 200%;
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 40px var(--blue-glow),
    0 8px 24px rgba(0, 0, 0, 0.3);
  color: var(--white);
}
.btn-primary-glow:hover::before {
  opacity: 1;
  animation: shimmer 1.5s linear infinite;
}
.btn-primary-glow span {
  position: relative;
  z-index: 1;
}
.btn-primary-glow i {
  position: relative;
  z-index: 1;
}
@keyframes shimmer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.btn-ghost-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition:
    border-color 0.25s,
    background 0.25s,
    transform 0.25s var(--ease);
}
.btn-ghost-line:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  color: var(--white);
}

/* Right column — bento grid */
.hero-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.8s 0.5s var(--ease) forwards;
}
.bento-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    border-color 0.3s,
    box-shadow 0.3s;
}
.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.4),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 102, 255, 0.4);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(0, 102, 255, 0.1);
}
.bento-card:hover::before {
  opacity: 1;
}
.bento-wide {
  grid-column: 1 / -1;
}
.bento-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 14px;
  background: rgba(0, 102, 255, 0.15);
  color: var(--cyan);
}
.bento-num {
  font-family: "Outfit", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.bento-num sup {
  font-size: 1rem;
  color: var(--cyan);
}
.bento-label {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}
.bento-wide-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.bento-wide-inner i {
  font-size: 1.8rem;
  color: var(--cyan);
  opacity: 0.7;
}
.bento-wide h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.bento-wide p {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.bento-tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.bento-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 100px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--cyan);
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   MARQUEE STRIP
══════════════════════════════════════ */
.marquee-strip {
  background: rgba(0, 102, 255, 0.08);
  border-top: 1px solid rgba(0, 102, 255, 0.12);
  border-bottom: 1px solid rgba(0, 102, 255, 0.12);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cyan);
  opacity: 0.5;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ══════════════════════════════════════
   SECTION BASE
══════════════════════════════════════ */
.sec {
  padding: 110px 0;
  position: relative;
}
.sec-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}
.sec-label::before {
  content: "◆";
  font-size: 0.5rem;
}
.sec-h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--white);
}
.sec-h2 em {
  font-style: normal;
  color: var(--cyan);
}
.sec-muted {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
  margin-top: 16px;
  max-width: 540px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════
   OVERVIEW — glass cards
══════════════════════════════════════ */
#overview {
  background: var(--space);
}
.glass-card {
  background: linear-gradient(
    135deg,
    rgba(14, 30, 53, 0.9),
    rgba(10, 22, 40, 0.95)
  );
  border: 1px solid rgba(0, 102, 255, 0.14);
  border-radius: 24px;
  padding: 36px 30px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    border-color 0.35s;
}
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(0, 102, 255, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s;
}
.glass-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(0, 102, 255, 0.08);
  border-color: rgba(0, 102, 255, 0.35);
}
.glass-card:hover::after {
  opacity: 1;
}
.gc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.gc-icon.blue {
  background: rgba(0, 102, 255, 0.15);
  color: var(--blue);
}
.gc-icon.cyan {
  background: rgba(0, 212, 255, 0.12);
  color: var(--cyan);
}
.gc-icon.mixed {
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.2),
    rgba(0, 212, 255, 0.15)
  );
  color: var(--cyan);
}
.glass-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.glass-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  position: relative;
  z-index: 1;
  font-weight: 300;
}
.overview-text-col {
  padding-right: 20px;
}

/* ══════════════════════════════════════
   PRODUCTS — swiper dark cards
══════════════════════════════════════ */
#products {
  background: var(--space-mid);
  overflow: hidden;
}
#products::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 102, 255, 0.1) 0%,
    transparent 65%
  );
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.swiper-products {
  padding-bottom: 56px !important;
}
.prod-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 22px;
  overflow: hidden;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s,
    border-color 0.35s;
}
.prod-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 102, 255, 0.3);
}
.prod-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0a1628;
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
  filter: brightness(0.85) saturate(0.9);
}
.prod-card:hover .prod-img img {
  transform: scale(1.08);
  filter: brightness(0.95) saturate(1);
}
.prod-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(14, 30, 53, 0.95) 0%,
    transparent 55%
  );
}
.prod-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  color: var(--white);
}
.prod-badge.featured {
  background: var(--blue);
}
.prod-badge.new {
  background: rgba(0, 212, 255, 0.9);
  color: var(--space);
}
.prod-badge.hot {
  background: rgba(255, 100, 60, 0.9);
}
.prod-body {
  padding: 22px 24px 26px;
}
.prod-cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
}
.prod-body h5 {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}
.prod-body p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 300;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}
.prod-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.prod-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  transition: gap 0.2s;
}
.prod-link:hover {
  gap: 10px;
  color: var(--cyan);
}
.prod-link i {
  font-size: 0.7rem;
}
.prod-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 0.75rem;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.prod-card:hover .prod-arrow {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.25) !important;
  width: 8px;
  height: 8px;
}
.swiper-pagination-bullet-active {
  background: var(--cyan) !important;
  width: 24px !important;
  border-radius: 4px !important;
}

/* ══════════════════════════════════════
   WHY — feature list + big visual
══════════════════════════════════════ */
#why {
  background: var(--space);
}
#why::before {
  content: "";
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.05) 0%,
    transparent 65%
  );
  bottom: -200px;
  left: -200px;
  pointer-events: none;
}
.why-item {
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s;
  cursor: default;
}
.why-item:last-child {
  border-bottom: none;
}
.why-item:hover .wi-icon {
  background: rgba(0, 102, 255, 0.25);
  color: var(--white);
}
.wi-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(0, 102, 255, 0.1);
  color: var(--blue);
  transition:
    background 0.3s,
    color 0.3s;
}
.wi-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
  font-family: "Outfit", sans-serif;
}
.wi-text p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
  font-weight: 300;
}

.why-visual {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 40px;
  /* height: 100%; */
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.why-visual::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 102, 255, 0.2) 0%,
    transparent 65%
  );
  top: -80px;
  right: -80px;
}
.why-big-num {
  font-family: "Outfit", sans-serif;
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  color: var(--cyan);
  /* color: transparent; */
  /* -webkit-text-stroke: 1px rgba(0, 102, 255, 0.3); */
  margin-bottom: 12px;
}
.why-visual h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.why-visual p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}
.why-trust-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--cyan);
}
.trust-badge i {
  font-size: 0.65rem;
}

/* ══════════════════════════════════════
   STATS — horizontal split
══════════════════════════════════════ */
#stats {
  background: var(--space-mid);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(0, 102, 255, 0.12);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 102, 255, 0.12);
}
.stat-cell {
  background: var(--card-bg);
  padding: 44px 32px;
  text-align: center;
  transition: background 0.3s;
}
.stat-cell:hover {
  background: rgba(0, 102, 255, 0.08);
}
.stat-big {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.stat-big .plus {
  color: var(--cyan);
}
.stat-desc {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.stat-line {
  width: 32px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  margin: 10px auto;
  border-radius: 2px;
}

/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
#cta {
  background: var(--space);
  padding: 100px 0;
}
.cta-band {
  position: relative;
  border-radius: 32px;
  padding: 80px 64px;
  overflow: hidden;
  background: linear-gradient(135deg, #050f1c 0%, #0a1e40 50%, #050f1c 100%);
  border: 1px solid rgba(0, 102, 255, 0.2);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 102, 255, 0.12) 0%,
    rgba(0, 212, 255, 0.06) 50%,
    rgba(0, 102, 255, 0.12) 100%
  );
}
.cta-glow-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 102, 255, 0.22) 0%,
    transparent 65%
  );
  top: -200px;
  right: -100px;
}
.cta-glow-2 {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 212, 255, 0.12) 0%,
    transparent 65%
  );
  bottom: -150px;
  left: 10%;
}
.cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #fff;
}
.cta-inner p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 500px;
  margin: 0 auto 44px;
  line-height: 1.7;
  font-weight: 300;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#footer {
  background: #030b18;
  border-top: 1px solid rgba(0, 102, 255, 0.1);
  padding: 70px 0 32px;
}

.footer-logo img {
  height: 40px;
  display: block;
  margin-bottom: 18px;
}
.footer-bio {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 270px;
  font-weight: 300;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.fsoc {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.82rem;
  transition: all 0.25s;
}
.fsoc:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.footer-title {
  font-family: "Outfit", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.flinks {
  list-style: none;
  padding: 0;
}
.flinks li {
  margin-bottom: 11px;
}
.flinks a {
  font-size: 0.85rem;
  color: var(--muted);
  transition:
    color 0.2s,
    padding-left 0.2s;
  font-weight: 300;
}
.flinks a:hover {
  color: var(--cyan);
  padding-left: 4px;
}
.fcontact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 13px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
}
.fcontact-item i {
  color: var(--cyan);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.82rem;
}
.footer-hr {
  border-color: rgba(255, 255, 255, 0.06);
  margin: 44px 0 24px;
}
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
}

.footer-copy a {
  color: var(--cyan);
}

/* ══════════════════════════════════════
   FLOATING — modern pill
══════════════════════════════════════ */
.float-wrap {
  position: fixed;
  right: 22px;
  bottom: 95px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.float-pill-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* overflow: hidden; */
  max-height: 0;
  opacity: 0;
  transition:
    max-height 0.45s var(--ease),
    opacity 0.35s;
  pointer-events: none;
}
.float-pill-items.open {
  max-height: 260px;
  opacity: 1;
  pointer-events: all;
}
.fpill {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 1rem;
  color: var(--white);
  text-decoration: none;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
.fpill:hover {
  transform: scale(1.08);
  color: var(--white);
}
.fp-wa {
  background: #25d366;
}
.fp-mail {
  background: var(--blue);
}
.fp-fb {
  background: #1877f2;
}
.fp-phone {
  background: var(--card-bg);
  border: 1px solid rgba(0, 102, 255, 0.3);
  color: var(--cyan);
}
.float-main-btn {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.5);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
  animation: ring-pulse 3s 2s ease-out 3;
}
.float-main-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.5);
}
@keyframes ring-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(0, 102, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 102, 255, 0);
  }
}

/* ══════════════════════════════════════
   CHATBOT — modern card
══════════════════════════════════════ */
.chat-wrap {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 200;
}
.chat-btn {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--card-bg);
  border: 1px solid rgba(0, 102, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.25rem;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
.chat-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 24px rgba(0, 102, 255, 0.3);
}
.chat-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cyan);
  border: 2px solid var(--space);
  animation: pulse-dot 2s infinite;
}
.chat-panel {
  position: absolute;
  bottom: 66px;
  right: 0;
  width: 296px;
  background: #0a1628;
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: none;
}
.chat-panel.open {
  display: block;
  animation: popIn 0.3s var(--ease);
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.chat-head {
  background: linear-gradient(90deg, var(--space-mid), #0e2040);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 102, 255, 0.15);
}
.chat-head-l {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-av {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--white);
}
.chat-av-name {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}
.chat-av-status {
  font-size: 0.68rem;
  color: #2ecc71;
  margin-top: 1px;
}
.chat-close-btn {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  transition: color 0.2s;
}
.chat-close-btn:hover {
  color: var(--white);
}
.chat-body {
  padding: 20px;
}
.chat-msg-bubble {
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.82);
}
.chat-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition:
    background 0.25s,
    border-color 0.25s,
    color 0.25s;
}
.chat-nav-btn:hover {
  background: rgba(0, 102, 255, 0.15);
  border-color: rgba(0, 102, 255, 0.3);
  color: var(--white);
}
.chat-nav-btn i {
  color: var(--cyan);
  font-size: 0.82rem;
  width: 16px;
  text-align: center;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  .hero-bento {
    grid-template-columns: repeat(4, 1fr);
  }
  .bento-wide {
    grid-column: 1 / -1;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links,
  .nav-cta-wrap {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-mobile.open {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 3%;
    right: 3%;
    width: 94%;
    background: rgba(5, 15, 28, 0.96);
    backdrop-filter: blur(20px);
    padding: 16px 24px 24px;
    border: 2px solid rgba(0, 102, 255, 0.12);
    margin-top: 10px;
    border-radius: 16px;
  }
  .nav-mobile a {
    display: block;
    color: var(--muted);
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    transition:
      color 0.2s,
      background 0.2s;
  }
  .nav-mobile a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
  }
  .cta-band {
    padding: 52px 32px;
  }
  #why .row .col-lg-5 {
    margin-top: 40px;
  }
}
@media (max-width: 576px) {
  .hero-bento {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sec {
    padding: 72px 0;
  }
  .hero-h1 {
    font-size: 2.6rem;
  }
  .cta-band {
    padding: 40px 22px;
  }
}

/* ══════════════════════════════════════
   UTILITY
══════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -16px;
}
.col-lg-5,
.col-lg-6,
.col-lg-7 {
  padding: 0 16px;
}
.col-lg-5 {
  flex: 0 0 41.666%;
  max-width: 41.666%;
}
.col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
}
.col-lg-7 {
  flex: 0 0 58.333%;
  max-width: 58.333%;
}
@media (max-width: 992px) {
  .col-lg-5,
  .col-lg-6,
  .col-lg-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }
} */

#scrollTop {
  position: fixed;
  bottom: 30px;
  left: 24px;
  z-index: 999;
  width: 42px;
  height: 42px;
  background: var(--card-bg);
  border: 1px solid rgba(0, 102, 255, 0.35);
  color: var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  box-shadow: var(--shadow);
  font-size: 1rem;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s;
}
#scrollTop.show {
  opacity: 1;
  visibility: visible;
}

#scrollTop:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-3px);
}
@media (max-width: 767px) {
  #scrollTop {
    right: 16px;
    bottom: 20px;
  }
}

.form-control:focus {
  color: var(--white);
}

option {
  background-color: var(--card-bg);
}

/* ══════════════════════════════════════
         PRODUCTS PAGE — SCOPED STYLES
      ══════════════════════════════════════ */

/* ── PAGE HERO ── */
#products-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 55px;
  overflow: hidden;
  padding-top: calc(var(--top-bar-height, 38px) + 84px + 40px);
  background: var(--space);
}

.prod-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero1.jpg");
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.05);
  transition: transform 8s ease;
  z-index: 0;
}
#products-hero.loaded .prod-hero-bg {
  transform: scale(1);
}

.prod-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5, 15, 28, 0.85) 0%,
    rgba(10, 22, 40, 0.9) 55%,
    rgba(0, 102, 255, 0.18) 100%
  );
  z-index: 1;
}

.prod-hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 70% 50%,
      rgba(0, 102, 255, 0.18) 0%,
      transparent 55%
    ),
    radial-gradient(
      circle at 20% 80%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 50%
    );
  background-image:
    linear-gradient(rgba(0, 102, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 102, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: 1;
}

.prod-hero-content {
  position: relative;
  z-index: 10;
}

.prod-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  font-family: "Plus Jakarta Sans", sans-serif;
}
.prod-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.prod-hero-breadcrumb a:hover {
  color: var(--cyan);
}
.prod-hero-breadcrumb .sep {
  color: var(--cyan);
  opacity: 0.6;
}
.prod-hero-breadcrumb .current {
  color: var(--cyan);
}

.prod-hero-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.prod-hero-title .accent {
  background: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.prod-hero-sub {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 0;
}

.prod-hero-scroll-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  opacity: 0.45;
  z-index: 2;
}

/* ── CATALOG SECTION ── */
#products-catalog {
  background: var(--space);
  padding: 80px 0 120px;
  min-height: 70vh;
}

/* ── TOOLBAR ── */
.prod-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.prod-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}
.prod-search-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 0.85rem;
  pointer-events: none;
  z-index: 1;
}
.prod-search {
  width: 100%;
  padding: 12px 18px 12px 44px;
  border: 1.5px solid rgba(0, 102, 255, 0.2);
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  background: var(--space-mid);
  color: var(--white);
  outline: none;
  transition: all 0.25s;
  height: 48px;
}
.prod-search::placeholder {
  color: var(--muted);
}
.prod-search:focus {
  border-color: var(--cyan);
  background: var(--card-bg);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.prod-sort-wrap {
  position: relative;
  flex-shrink: 0;
}
.prod-sort-wrap i {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
  font-size: 0.72rem;
  pointer-events: none;
  z-index: 1;
}
.prod-sort {
  padding: 12px 40px 12px 16px;
  border: 1.5px solid rgba(0, 102, 255, 0.2);
  border-radius: 12px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.88rem;
  background: var(--space-mid);
  color: var(--white);
  outline: none;
  cursor: pointer;
  transition: all 0.25s;
  min-width: 180px;
  height: 48px;
  appearance: none;
  -webkit-appearance: none;
}
.prod-sort:focus {
  border-color: var(--cyan);
  background: var(--card-bg);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.prod-count-label {
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-left: auto;
  white-space: nowrap;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.prod-count-label strong {
  color: var(--cyan);
}

/* ── CATEGORY TABS ── */
.cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}
.cat-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 20px;
  border: 1.5px solid rgba(0, 102, 255, 0.18);
  border-radius: 100px;
  background: var(--space-mid);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.03em;
}
.cat-tab:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 212, 255, 0.06);
}
.cat-tab.active {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-color: transparent;
  color: var(--white);
  box-shadow: 0 4px 18px rgba(0, 102, 255, 0.35);
}
.cat-tab .cat-count {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  padding: 1px 7px;
  font-size: 0.7rem;
  font-weight: 700;
}
.cat-tab:not(.active) .cat-count {
  background: rgba(0, 102, 255, 0.12);
  color: var(--cyan);
}

/* ── PRODUCT CARDS (dark theme) ── */
.prod-card-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: 18px !important;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.3s,
    box-shadow 0.3s !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(0, 212, 255, 0.35) !important;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(0, 212, 255, 0.12) !important;
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.4),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}
.product-card:hover::before {
  opacity: 1;
}

.product-img-wrap {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--space-mid);
  flex-shrink: 0;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.product-card:hover .product-img-wrap img {
  transform: scale(1.07);
}
.product-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(0, 102, 255, 0.18) 100%
  );
  opacity: 0;
  transition: opacity 0.4s;
}
.product-card:hover .product-img-wrap::after {
  opacity: 1;
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 0;
  padding: 5px 18px 5px 12px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 2px 2px 12px rgba(0, 102, 255, 0.4);
  display: flex;
  align-items: center;
  gap: 5px;
  clip-path: polygon(
    0 0,
    calc(100% - 6px) 0,
    100% 50%,
    calc(100% - 6px) 100%,
    0 100%
  );
  z-index: 3;
}
.product-tag::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  flex-shrink: 0;
}

.product-card-body {
  padding: 22px 22px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.product-category-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  display: inline-block;
}

.product-name {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
  flex-shrink: 0;
}

.product-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px 20px;
  border-top: 1px solid rgba(0, 102, 255, 0.1);
  margin-top: auto;
}

.product-standard {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}
.product-standard .dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  flex-shrink: 0;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.06);
  transition: all 0.25s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.product-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 0;
}
.product-link span,
.product-link i {
  position: relative;
  z-index: 1;
}
.product-link:hover {
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.35);
  gap: 10px;
}
.product-link:hover::before {
  opacity: 1;
}

/* ── NO RESULTS ── */
.no-results {
  text-align: center;
  padding: 80px 20px;
  display: none;
}
.no-results.visible {
  display: block;
}
.no-results-icon {
  font-size: 3rem;
  color: var(--cyan);
  opacity: 0.3;
  margin-bottom: 20px;
}
.no-results h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 10px;
}
.no-results p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── PRODUCT DETAIL MODAL ── */
.prod-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 15, 28, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.prod-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.prod-modal {
  background: var(--card-bg);
  border: 1px solid rgba(0, 102, 255, 0.22);
  border-radius: 24px 0 0 24px;
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}
.prod-modal-overlay.open .prod-modal {
  transform: translateY(0) scale(1);
}
.prod-modal::-webkit-scrollbar {
  width: 6px;
}
.prod-modal::-webkit-scrollbar-track {
  background: var(--space-mid);
}
.prod-modal::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 255, 0.35);
}

.prod-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 5;
}
.prod-modal-close:hover {
  background: rgba(0, 102, 255, 0.15);
  color: var(--white);
  border-color: rgba(0, 102, 255, 0.4);
}

.prod-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 380px;
}
@media (max-width: 640px) {
  .prod-modal-grid {
    grid-template-columns: 1fr;
  }
}

.prod-modal-gallery {
  position: relative;
  border-radius: 24px 0 0 24px;
  overflow: hidden;
  background: var(--space-mid);
  min-height: 340px;
}
@media (max-width: 640px) {
  .prod-modal-gallery {
    border-radius: 24px 24px 0 0;
    min-height: 240px;
  }
}
.prod-modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s;
}
.prod-modal-gallery-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 100px;
}
/* Thumbnail strip */
.prod-modal-thumbs {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.prod-modal-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}
.prod-modal-thumb.active {
  border-color: var(--cyan);
}
.prod-modal-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-modal-body {
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
@media (max-width: 640px) {
  .prod-modal-body {
    padding: 24px;
  }
}

.prod-modal-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  /* color: var(--white); */
  margin-bottom: 20px;
}
.prod-modal-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  /* color: var(--white); */
  color: var(--cyan);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.prod-modal-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 22px;
}

.prod-modal-specs {
  border: 1px solid rgba(0, 102, 255, 0.15);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 24px;
}
.prod-modal-spec-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 16px;
  background: rgba(0, 102, 255, 0.06);
  border-bottom: 1px solid rgba(0, 102, 255, 0.12);
}
.prod-modal-spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid rgba(0, 102, 255, 0.08);
}
.prod-modal-spec-row:last-child {
  border-bottom: none;
}
.prod-modal-spec-key {
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  background: rgba(0, 102, 255, 0.04);
  border-right: 1px solid rgba(0, 102, 255, 0.08);
}
.prod-modal-spec-val {
  padding: 10px 16px;
  font-size: 0.78rem;
  color: var(--white);
}

.prod-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.btn-modal-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: var(--white);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.35);
}
.btn-modal-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.5);
  color: var(--white);
}

.btn-modal-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--cyan);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 12px 24px;
  border-radius: 100px;
  border: 1.5px solid rgba(0, 212, 255, 0.3);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-modal-ghost:hover {
  background: rgba(0, 212, 255, 0.08);
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ── RELATED PRODUCTS SLIDER ── */
#related-products {
  background: var(--space-mid);
  padding: 80px 0;
  border-top: 1px solid rgba(0, 102, 255, 0.12);
}
.related-header {
  text-align: center;
  margin-bottom: 48px;
}
.related-header .section-label {
  display: block;
  margin-bottom: 12px;
}
.related-swiper-wrap {
  position: relative;
  overflow: hidden;
}
.related-swiper {
  overflow: visible !important;
  clip-path: inset(0 0 -60px 0);
  padding: 20px 0;
}
.related-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.related-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid rgba(0, 102, 255, 0.25);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.related-nav-btn:hover {
  background: rgba(0, 102, 255, 0.15);
  border-color: var(--cyan);
}
.related-prev {
  left: -20px;
}
.related-next {
  right: -20px;
}

/* ── HIDDEN/FILTER ── */
[data-cat].hidden {
  display: none !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  .prod-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .prod-search-wrap {
    min-width: unset;
    width: 100%;
  }
  .prod-sort-wrap {
    width: 100%;
  }
  .prod-sort {
    width: 100%;
    min-width: unset;
  }
  .prod-count-label {
    margin-left: 0;
  }
  .cat-tabs {
    justify-content: flex-start;
  }
  #products-hero {
    min-height: 300px;
    padding-top: calc(122px + 28px);
    padding-bottom: 40px;
  }
  .prod-hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .related-prev {
    left: -10px;
  }
  .related-next {
    right: -10px;
  }
}

/* ══ CATALOG ══ */
#catalog-section {
  background: var(--space);
  padding: 0 0 100px;
}

/* ══ STICKY SIDEBAR ══ */
.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  align-items: start;
}
.cat-sidebar {
  position: sticky;
  top: 90px;
  padding: 48px 0 48px 0;
}
.cat-sidebar-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  padding-left: 0;
}
.cat-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px 11px 0;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s;
  border-left: 2px solid transparent;
  margin-left: 0;
  border-radius: 0;
  gap: 8px;
  text-decoration: none;
  background: none;
  border-top: none;
  border-right: none;
  border-bottom: none;
  width: 100%;
}
.cat-nav-item:hover {
  color: var(--white);
  padding-left: 12px;
  border-left-color: rgba(0, 60, 201, 0.5);
}
.cat-nav-item.active {
  color: var(--cyan);
  border-left-color: var(--cyan);
  padding-left: 12px;
  font-weight: 600;
}
.cat-nav-count {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--card-bg);
  color: var(--cyan);
  padding: 2px 9px;
  border-radius: 100px;
  margin-left: auto;
  flex-shrink: 0;
}
.cat-nav-item.active .cat-nav-count {
  background: rgba(0, 100, 201, 0.18);
}
.sidebar-divider {
  height: 1px;
  background: var(--line);
  margin: 20px 24px 20px 0;
}

/* ══ SEARCH BAR ══ */
.catalog-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.search-field {
  position: relative;
  flex: 1;
}
.search-field i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.82rem;
  pointer-events: none;
}
.search-field input {
  width: 100%;
  height: 44px;
  padding: 0 18px 0 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.85rem;
  color: var(--white);
  outline: none;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.search-field input::placeholder {
  color: var(--muted);
}
.search-field input:focus {
  border-color: var(--cyan);
  background: rgba(0, 201, 167, 0.04);
}
.sort-select {
  height: 44px;
  padding: 0 36px 0 14px;
  background: rgba(255, 255, 255, 0.04)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.3)'/%3E%3C/svg%3E")
    no-repeat right 14px center;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.83rem;
  color: var(--white);
  outline: none;
  cursor: pointer;
  appearance: none;
  transition: border-color 0.2s;
  min-width: 170px;
}
.sort-select:focus {
  border-color: var(--cyan);
}
.results-pill {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.results-pill strong {
  color: var(--cyan);
}

/* ══ PRODUCT GRID — NEW DESIGN ══ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1px;
  background: var(--space-mid);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.pcard {
  display: flex;
  flex-direction: column;
  background: var(--space);
  position: relative;
  cursor: pointer;
  transition: background 0.28s;
}
.pcard:hover {
  background: var(--space-mid);
}
.pcard-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  background: var(--space-mid);
}
.pcard-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.pcard:hover .pcard-img img {
  transform: scale(1.06);
}
.pcard-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 45%,
    rgba(3, 13, 26, 0.8) 100%
  );
}
.pcard-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 11px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  z-index: 2;
}
.pcard-badge.feat {
  background: rgba(0, 102, 255, 0.9);
  color: #fff;
}
.pcard-badge.new {
  background: rgba(0, 201, 167, 0.9);
  color: #030d1a;
}
.pcard-badge.hot {
  background: rgba(255, 185, 0, 0.9);
  color: #030d1a;
}
.pcard-badge.cert {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pcard-cat {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  z-index: 2;
}
.pcard-body {
  padding: 20px 22px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pcard-name {
  font-family: "Outfit", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.pcard-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}
.pcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px 18px;
  gap: 10px;
  border-top: 1px solid var(--line);
}
.pcard-cert-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.66rem;
  color: rgba(255, 255, 255, 0.35);
}
.pcard-cert-tag span {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
}
.pcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  padding: 6px 14px;
  border: 1px solid rgba(0, 114, 201, 0.25);
  border-radius: 100px;
  transition: all 0.22s;
  text-decoration: none;
  white-space: nowrap;
}
.pcard:hover .pcard-cta {
  background: var(--cyan);
  color: var(--card-bg);
  border-color: var(--cyan);
}
.pcard-cta i {
  font-size: 0.65rem;
}

[data-pcat].hidden {
  display: none !important;
}

/* ══ NO RESULTS ══ */
.no-results {
  display: none;
  text-align: center;
  padding: 80px 20px;
}
.no-results.visible {
  display: block;
}
.no-results-icon {
  font-size: 2.5rem;
  color: var(--cyan);
  opacity: 0.25;
  margin-bottom: 16px;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 900px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .cat-sidebar {
    position: static;
    padding: 32px 0 0;
  }
  .cat-sidebar {
    display: flex;
    flex-direction: column;
  }
  .sidebar-cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .cat-nav-item {
    border-left: none;
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 7px 16px;
  }
  .cat-nav-item:hover {
    padding-left: 16px;
    border-color: rgba(0, 201, 167, 0.4);
  }
  .cat-nav-item.active {
    border-color: var(--teal);
    padding-left: 16px;
    background: var(--pill-bg);
  }
  .sidebar-divider {
    display: none;
  }
  .cat-sidebar-title {
    margin-bottom: 12px;
  }
}
@media (max-width: 640px) {
  .ph-stats {
    gap: 24px;
  }
  .catalog-topbar {
    flex-wrap: wrap;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .ph-cert-stack {
    display: none;
  }
  .ph-h1 {
    font-size: 2.4rem;
  }
}

/* ============================================================
   HORIZONTAL TIMELINE — FIXED
   ============================================================ */

#about-timeline {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

/* ── Scroll wrapper ── */
.timeline-wrap {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.3) transparent;
  padding-bottom: 12px;
}

.timeline-wrap::-webkit-scrollbar {
  height: 4px;
}
.timeline-wrap::-webkit-scrollbar-track {
  background: transparent;
}
.timeline-wrap::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.3);
  border-radius: 4px;
}

/* ── Items row ── */
.timeline-items {
  display: grid;
  grid-template-columns: repeat(7, 380px);
  align-items: stretch;
  min-width: calc(7 * 380px);
  position: relative;
  /* Fixed height: card area top + gap + dot + gap + card area bottom */
  height: 540px;
}

/* ── Horizontal track line:
   Runs from the left edge of col-1 center to right edge of col-7 center.
   Each col = 380px. Center of col-1 = 190px from left.
   Center of col-7 = (6 * 380) + 190 = 2470px from left.
── */
.timeline-items::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 190px; /* center of first column */
  right: 190px; /* center of last column  */
  transform: translateY(-50%);
  height: 2px;
  background: rgba(0, 212, 255, 0.6);
  z-index: 1;
  pointer-events: none;
}

/* remove the old separate track element */
.timeline-track {
  display: none;
}

/* ── Single item: full height, relative container for absolute dot ── */
.timeline-item {
  position: relative;
  padding: 0 10px;
  height: 100%;
}

/* reset old flex/grid overrides */
.timeline-item--left,
.timeline-item--right {
  flex-direction: unset !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  justify-content: unset !important;
  display: block !important;
}

/* ── Dot — pinned exactly on the horizontal line (top: 50%) ── */
.timeline-dot {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 3;
}

.timeline-dot span {
  display: block;
  width: 16px;
  height: 16px;
  background: #0e1e35;
  border: 3px solid var(--cyan);
  border-radius: 50%;
  transition: var(--transition);
}

.timeline-item:hover .timeline-dot span {
  background: rgba(0, 212, 255, 0.15);
  box-shadow: 0 0 0 5px rgba(0, 212, 255, 0.12);
}

.timeline-dot--active span {
  background: var(--cyan) !important;
  box-shadow:
    0 0 0 5px rgba(0, 212, 255, 0.2),
    0 0 14px rgba(0, 212, 255, 0.45) !important;
}

/* ── Card placement ── */

/* --left  → card in TOP half, bottom edge touches the dot gap */
.timeline-item--left .timeline-card {
  position: absolute;
  bottom: calc(50% + 20px); /* 20px gap above the dot */
  left: 10px;
  right: 10px;
  width: auto;
}

/* --right → card in BOTTOM half, top edge starts after the dot */
.timeline-item--right .timeline-card {
  position: absolute;
  top: calc(50% + 20px); /* 20px gap below the dot */
  left: 10px;
  right: 10px;
  width: auto;
}

/* ── Connector stub: vertical line between dot and card ── */
.timeline-item::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  pointer-events: none;
  z-index: 2;
}

.timeline-item--left::before {
  bottom: calc(50% + 8px); /* starts just above dot */
  height: 12px;
  background: linear-gradient(
    180deg,
    rgba(0, 212, 255, 0.1) 0%,
    rgba(0, 212, 255, 0.6) 100%
  );
}

.timeline-item--right::before {
  top: calc(50% + 8px); /* starts just below dot */
  height: 12px;
  background: linear-gradient(
    0deg,
    rgba(0, 212, 255, 0.1) 0%,
    rgba(0, 212, 255, 0.6) 100%
  );
}

/* ── Card styles ── */
.timeline-card {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: var(--radius-md);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.timeline-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 212, 255, 0.7),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.timeline-card:hover::after {
  opacity: 1;
}

.timeline-card:hover {
  box-shadow:
    0 8px 28px rgba(0, 212, 255, 0.14),
    var(--shadow-md) !important;
  border-color: rgba(0, 212, 255, 0.35) !important;
  transform: translateY(-3px);
}

.timeline-card--active {
  border-color: rgba(0, 102, 255, 0.4) !important;
  background: linear-gradient(
    135deg,
    rgba(0, 102, 255, 0.05) 0%,
    var(--card-bg) 100%
  ) !important;
}

/* ── Year badge ── */
.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #05111f;
  background: var(--cyan);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 700;
}

.timeline-year--active {
  background: var(--blue);
  color: #fff;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.35;
}

.timeline-body {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── Mobile: vertical layout ── */
@media (max-width: 767px) {
  .timeline-wrap {
    overflow-x: visible;
    padding-bottom: 0;
  }

  .timeline-items {
    display: flex;
    flex-direction: column;
    min-width: unset;
    height: auto;
    /* 28px left padding = room for dot (16px) + gap */
    padding: 0 0 0 44px;
    position: relative;
  }

  /* vertical line — full height of the container, left-aligned */
  .timeline-items::before {
    top: 0;
    bottom: 0;
    left: 15px; /* center of the 16px dot (44 - 16/2 - padding offset ≈ 15) */
    right: auto;
    width: 2px;
    height: 100%;
    transform: none;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 212, 255, 0.6) 3%,
      rgba(0, 212, 255, 0.6) 97%,
      transparent 100%
    );
  }

  .timeline-item,
  .timeline-item--left,
  .timeline-item--right {
    position: relative;
    display: block !important;
    height: auto !important;
    min-height: unset;
    padding: 0 0 32px 0 !important;
  }

  /* hide connector stubs on mobile */
  .timeline-item::before {
    display: none !important;
  }

  /* dot: absolute, centered on the vertical line, vertically at top of card */
  .timeline-dot {
    position: absolute !important;
    left: -36px !important; /* pulls it onto the vertical line */
    top: 10px !important; /* aligns with top of card content */
    transform: none !important;
  }

  /* cards: full width, no absolute positioning */
  .timeline-item--left .timeline-card,
  .timeline-item--right .timeline-card {
    position: static !important;
    width: 100% !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
  }
}
