/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --bg:          #050A14;
  --bg-2:        #081020;
  --bg-card:     #0A1628;
  --bg-card2:    #0D1F3C;
  --blue:        #0D6EFD;
  --blue-glow:   #1A8FFF;
  --cyan:        #00D4FF;
  --white:       #FFFFFF;
  --muted:       #6B8AAD;
  --muted2:      #3A5278;
  --border:      rgba(13,110,253,0.18);
  --border-h:    rgba(13,110,253,0.5);
  --radius:      14px;
  --radius-sm:   8px;
  --glow:        0 0 40px rgba(13,110,253,0.25);
  --glow-sm:     0 0 20px rgba(13,110,253,0.2);
  --font-display: Poppins, 'DM Sans', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --font-mono:   'JetBrains Mono', monospace;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

/* ============================================================
   NOISE OVERLAY
============================================================ */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   DOT GRID BACKGROUND
============================================================ */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(13,110,253,0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.4;
  pointer-events: none;
}

/* ============================================================
   NAVBAR
============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 10%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
}
nav.scrolled {
  background: rgba(5, 10, 20, 0.92);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(13,110,253,0.18);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}
.nav-logo img {
  width: 36px;
  height: 36px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.3s ease;
  border-radius: 1px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active-page { color: var(--white); }
.nav-links a.active-page::after { width: 100%; }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: all 0.3s;
  box-shadow: 0 0 0 0 rgba(13,110,253,0.4);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(13,110,253,0.5), 0 8px 20px rgba(0,0,0,0.3);
}
.btn-primary:hover::before { opacity: 1; }

.btn-outline {
  border: 1.5px solid var(--border-h);
  color: var(--white);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: all 0.3s;
  background: transparent;
}
.btn-outline:hover {
  background: rgba(13,110,253,0.1);
  border-color: var(--blue);
  box-shadow: var(--glow-sm);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1100;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  padding: 0 5%;
  background: rgba(5,10,20,0.97);
  backdrop-filter: blur(24px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
  transform: translateY(20px);
  opacity: 0;
}
.mobile-menu.open a {
  color: var(--white);
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu a.active-page { color: var(--white); }
.mobile-menu .mobile-cta {
  margin-top: 1rem;
  transform: translateY(20px);
  opacity: 0;
  transition-delay: 0.3s;
}
.mobile-menu.open .mobile-cta {
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a:hover { color: var(--cyan); }

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 5% 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Background video for hero */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  filter: brightness(0.75);
}

/* keep decorative overlays above the video */
.hero-bg .dot-grid,
.hero-bg .hero-radial,
.hero-bg .hero-radial-2,
.hero-bg .particles {
  z-index: 1;
}
.hero-radial {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 65%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(13,110,253,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-radial-2 {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.06) 0%, transparent 65%);
  pointer-events: none;
}
/* Particles */
.particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--blue);
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0;
}
@keyframes float-particle {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-120px) translateX(40px); opacity: 0; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-left { max-width: 560px; }
.hero-overline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-overline::before {
  content: '';
  width: 24px; height: 1.5px;
  background: var(--cyan);
  display: inline-block;
}
.hero-overline--pulse {
  animation: overline-pulse 0.48s ease-in-out;
}
@keyframes overline-pulse {
  0% { transform: scaleX(1) translateY(0); opacity: 1; }
  40% { transform: scaleX(1.1) translateY(-1px); opacity: 0.95; }
  100% { transform: scaleX(1) translateY(0); opacity: 1; }
}

/* Carousel headline */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.07;
  margin-bottom: 1.5rem;
  min-height: 2.3em;
  perspective: 700px;
}
.headline-line {
  display: block;
  overflow: hidden;
}
.headline-word {
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), text-shadow 0.35s ease, color 0.35s ease;
  backface-visibility: hidden;
  transform: translateY(0) rotateX(0deg) skewX(0deg);
}
.headline-word.blue { color: var(--blue); }
.headline-word.exit {
  transform: translateY(-130%) rotateX(30deg) skewX(-12deg) scaleY(1.1);
  text-shadow: 0 0 24px rgba(13,110,253,0.35);
}
.headline-word.enter {
  transform: translateY(110%) rotateX(-30deg) skewX(10deg) scaleY(1.05);
  text-shadow: 0 0 20px rgba(0,212,255,0.25);
}

/* Glitch effect for headline words */
.glitch {
  position: relative;
  color: inherit;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.glitch::before {
  color: var(--cyan);
  z-index: 3;
  mix-blend-mode: screen;
  transform: translate3d(-3px, -2px, 0);
  text-shadow: -2px 0 rgba(0,212,255,0.9);
  opacity: 0.8;
  animation: glitch-anim-1 2.6s infinite linear;
}
.glitch::after {
  color: var(--blue);
  z-index: 2;
  mix-blend-mode: screen;
  transform: translate3d(3px, 2px, 0);
  text-shadow: 2px 0 rgba(13,110,253,0.9);
  opacity: 0.75;
  animation: glitch-anim-2 3.2s infinite linear;
}

@keyframes glitch-anim-1 {
  0%, 16%, 100% { clip: rect(0,9999px,0,0); transform: translate(0,0); opacity: 0.8; }
  3% { clip: rect(2px,9999px,28px,0); transform: translate(-4px,-2px); opacity: 1; }
  6% { clip: rect(24px,9999px,60px,0); transform: translate(3px,1px); opacity: 0.85; }
  9% { clip: rect(8px,9999px,14px,0); transform: translate(-2px,2px); opacity: 0.95; }
  12% { clip: rect(0px,9999px,40px,0); transform: translate(1px,-3px); opacity: 0.9; }
}

@keyframes glitch-anim-2 {
  0%, 20%, 100% { clip: rect(0,9999px,0,0); transform: translate(0,0) skewX(0deg); opacity: 0.8; }
  5% { clip: rect(4px,9999px,16px,0); transform: translate(4px,-4px) skewX(8deg); opacity: 1; }
  10% { clip: rect(18px,9999px,32px,0); transform: translate(-3px,3px) skewX(-6deg); opacity: 0.95; }
  15% { clip: rect(8px,9999px,48px,0); transform: translate(2px,-2px) skewX(4deg); opacity: 0.9; }
}

/* Subtle periodic glitch trigger on the headline words */
.hero-headline .glitch {
  animation: idle-glitch 5s infinite ease-in-out;
}
@keyframes idle-glitch {
  0%, 72%, 100% { filter: none; transform: none; text-shadow: none; }
  74% { filter: contrast(1.2) brightness(1.05); transform: skewX(2deg); }
  76% { text-shadow: 0 0 16px rgba(0,212,255,0.35); transform: translateY(-2px) skewX(-3deg); }
  78% { filter: none; transform: none; }
}

/* Different animation for products heading (scan + light glitch) */
.glitch-scan {
  position: relative;
  display: inline-block;
  color: var(--blue);
  transition: transform 0.45s cubic-bezier(0.2,1,0.22,1);
}
.glitch-scan::before {
  content: attr(data-text);
  position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  color: var(--cyan);
  mix-blend-mode: screen;
  transform: translateX(-2px);
  opacity: 0;
  transition: opacity 0.2s, transform 0.3s;
}
.reveal.visible .glitch-scan::before,
.glitch-scan:hover::before {
  opacity: 1; transform: translateX(0);
}
.glitch-scan {
  animation: scanline 3.8s infinite ease-in-out;
}
@keyframes scanline {
  0% { text-shadow: none; }
  45% { text-shadow: 0 0 0px rgba(0,0,0,0); }
  50% { text-shadow: 0 -6px 24px rgba(0,212,255,0.08); transform: translateY(-2px); }
  55% { text-shadow: 0 0 0px rgba(0,0,0,0); transform: none; }
  100% { text-shadow: none; }
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 440px;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn-hero-primary {
  background: var(--blue);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s;
  box-shadow: 0 4px 30px rgba(13,110,253,0.35);
  display: flex; align-items: center; gap: 8px;
  position: relative; overflow: hidden;
}
.btn-hero-primary::after {
  content: '→';
  transition: transform 0.3s;
}
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 40px rgba(13,110,253,0.5); }
.btn-hero-primary:hover::after { transform: translateX(4px); }

.btn-hero-outline {
  border: 1.5px solid rgba(255,255,255,0.15);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  display: flex; align-items: center; gap: 8px;
}
.btn-hero-outline:hover { border-color: var(--blue); background: rgba(13,110,253,0.08); }

/* Pillars */
.hero-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.pillar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(13,110,253,0.04);
  transition: all 0.3s;
}
.pillar:hover { border-color: var(--border-h); color: var(--white); background: rgba(13,110,253,0.08); }
.pillar-icon {
  width: 18px; height: 18px;
  color: var(--blue);
  flex-shrink: 0;
}

/* Hero right — visual panel */
.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
}
/* Animated orbital rings */
.orbital-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(13,110,253,0.2);
}
.ring-1 { width: 88%; height: 88%; animation: spin 20s linear infinite; border-color: rgba(13,110,253,0.15); border-top-color: rgba(13,110,253,0.5); }
.ring-2 { width: 72%; height: 72%; animation: spin 14s linear infinite reverse; border-color: rgba(0,212,255,0.1); border-right-color: rgba(0,212,255,0.4); }
.ring-3 { width: 56%; height: 56%; animation: spin 9s linear infinite; border-color: rgba(13,110,253,0.1); border-bottom-color: rgba(13,110,253,0.35); }
.ring-dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  top: -4px; left: calc(50% - 4px);
}
.ring-dot-2 {
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
  top: auto; bottom: -4px; left: auto; right: calc(50% - 4px);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-logo-center {
  position: relative;
  z-index: 2;
  width: 44%;
  filter: drop-shadow(0 0 40px rgba(13,110,253,0.6)) drop-shadow(0 0 80px rgba(13,110,253,0.25));
  animation: pulse-logo 4s ease-in-out infinite;
}
@keyframes pulse-logo {
  0%, 100% { filter: drop-shadow(0 0 40px rgba(13,110,253,0.6)) drop-shadow(0 0 80px rgba(13,110,253,0.25)); }
  50% { filter: drop-shadow(0 0 60px rgba(13,110,253,0.8)) drop-shadow(0 0 100px rgba(13,110,253,0.35)); }
}

/* Floating cards around logo */
.float-card {
  position: absolute;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--muted);
  white-space: nowrap;
  backdrop-filter: blur(10px);
  box-shadow: var(--glow-sm);
}
.float-card .fc-val { font-size: 1rem; font-weight: 700; color: var(--white); font-family: var(--font-display); display: block; }
.float-card .fc-lbl { color: var(--cyan); }
.fc-1 { top: 8%; right: 2%; animation: float-card-1 5s ease-in-out infinite; }
.fc-2 { bottom: 15%; left: 0; animation: float-card-2 6s ease-in-out infinite; }
.fc-3 { top: 42%; right: -2%; animation: float-card-3 4.5s ease-in-out infinite; }
@keyframes float-card-1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float-card-2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes float-card-3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* Carousel dots */
.carousel-dots {
  display: flex;
  gap: 8px;
  margin-top: 2rem;
  justify-content: flex-start;
}
.cdot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--muted2);
  cursor: pointer;
  transition: all 0.3s;
}
.cdot.active { width: 24px; border-radius: 4px; background: var(--blue); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted2);
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--blue));
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%,100% { opacity: 0.3; } 50% { opacity: 1; }
}

/* ============================================================
   SECTION COMMONS
============================================================ */
section { position: relative; z-index: 1; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 70px 0; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: '//'; color: var(--blue); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  line-height: 1.7;
}
.text-blue { color: var(--blue); }
.text-cyan { color: var(--cyan); }

/* Fade-in animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   STATS BAR
============================================================ */
.stats-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 5%;
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   SERVICES
============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: all 0.35s 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: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(13,110,253,0.4);
  box-shadow: var(--glow);
  background: var(--bg-card2);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px; height: 48px;
  background: rgba(13,110,253,0.12);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  transition: all 0.35s;
}
.service-card:hover .service-icon { background: rgba(13,110,253,0.2); box-shadow: var(--glow-sm); }
.service-icon svg { width: 22px; height: 22px; color: var(--blue); }
.service-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}
.service-desc { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.2rem; }
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(13,110,253,0.05);
  transition: all 0.2s;
}
.service-card:hover .tag { border-color: rgba(13,110,253,0.3); color: var(--white); }

/* ============================================================
   PACKAGES
============================================================ */
.packages-section { background: var(--bg-2); }
.packages-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 4rem;
}
.pkg-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.pkg-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,110,253,0.04), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
}
.pkg-card:hover { border-color: rgba(13,110,253,0.35); transform: translateX(6px); box-shadow: var(--glow); }
.pkg-card:hover::after { opacity: 1; }
.pkg-icon-wrap {
  width: 64px; height: 64px;
  background: rgba(13,110,253,0.12);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pkg-icon-wrap svg { width: 30px; height: 30px; color: var(--blue); }
.pkg-body {}
.pkg-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.pkg-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
}
.pkg-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--muted);
}
.pkg-check::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(13,110,253,0.15);
  border: 1px solid var(--blue);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D6EFD' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.pkg-visual {
  width: 180px;
  height: 120px;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}
.pkg-mockup {
  width: 100%;
  height: 100%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pm-bar { height: 6px; border-radius: 3px; background: rgba(13,110,253,0.3); }
.pm-bar.short { width: 60%; }
.pm-bar.medium { width: 80%; }
.pm-row { display: flex; gap: 5px; }
.pm-box { height: 28px; flex: 1; background: rgba(13,110,253,0.1); border-radius: 4px; border: 1px solid var(--border); }
.pm-num { font-family: var(--font-mono); font-size: 0.55rem; color: var(--cyan); padding: 4px 6px; }

/* ============================================================
   FEATURED WORK
============================================================ */
.work-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 4rem; }
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.35s;
  position: relative;
  cursor: pointer;
}
.work-card:hover { transform: translateY(-8px); border-color: rgba(13,110,253,0.4); box-shadow: var(--glow); }
.work-img {
  height: 180px;
  background: var(--bg-card2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.work-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.18));
  opacity: 0;
  transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.work-card:hover .work-card-overlay { opacity: 1; }
.view-btn {
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  transform: translateY(10px);
  transition: transform 0.3s;
}
.work-card:hover .view-btn { transform: translateY(0); }
.work-body { padding: 1.5rem; }
.work-tags { display: flex; gap: 6px; margin-bottom: 0.8rem; flex-wrap: wrap; }
.work-tag {
  font-family: var(--font-mono); font-size: 0.6rem;
  letter-spacing: 0.06em; padding: 0.25rem 0.6rem;
  background: rgba(13,110,253,0.1); border: 1px solid var(--border);
  border-radius: 4px; color: var(--cyan);
}
.work-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.work-description {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 0;
}

/* ============================================================
   WHY CLINTECH
============================================================ */
.why-section { background: var(--bg-2); overflow: hidden; }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.why-left {}
.why-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.why-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all 0.3s;
}
.why-card:hover { border-color: var(--border-h); transform: translateX(6px); }
.why-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(13,110,253,0.2);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}
.why-card:hover .why-num { color: rgba(13,110,253,0.5); }
.why-card-title { font-family: var(--font-display); font-weight: 700; margin-bottom: 0.4rem; }
.why-card-desc { color: var(--muted); font-size: 0.875rem; line-height: 1.6; }

/* Diagram right */
.why-right { position: relative; }
.why-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin: 0 auto;
}
.wd-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  background: var(--blue);
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 50px rgba(13,110,253,0.5);
  z-index: 2;
}
.wd-center img { width: 50px; }
.wd-node {
  position: absolute;
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: all 0.3s;
}
.wd-node:hover { border-color: var(--blue); color: var(--white); box-shadow: var(--glow-sm); }
.wd-node.n1 { top: 5%; left: 50%; transform: translateX(-50%); }
.wd-node.n2 { top: 28%; right: 0; }
.wd-node.n3 { bottom: 28%; right: 0; }
.wd-node.n4 { bottom: 5%; left: 50%; transform: translateX(-50%); }
.wd-node.n5 { bottom: 28%; left: 0; }
.wd-node.n6 { top: 28%; left: 0; }
/* Connecting lines SVG */
.wd-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wd-svg line { stroke: rgba(13,110,253,0.2); stroke-width: 1; stroke-dasharray: 4 4; animation: dash-anim 3s linear infinite; }
@keyframes dash-anim { to { stroke-dashoffset: -20; } }

/* ============================================================
   PRODUCTS
============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  transition: all 0.35s;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.product-card:hover { transform: translateY(-8px); border-color: rgba(13,110,253,0.4); box-shadow: var(--glow); }
.product-card:hover::before { opacity: 1; }
.prod-badge {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 1.4rem;
}
.prod-badge.live { background: rgba(0,212,100,0.1); border: 1px solid rgba(0,212,100,0.3); color: #00d464; }
.prod-badge.beta { background: rgba(13,110,253,0.1); border: 1px solid var(--border); color: var(--blue); }
.prod-badge.soon { background: rgba(255,160,0,0.1); border: 1px solid rgba(255,160,0,0.3); color: #ffa000; }
.prod-name { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; margin-bottom: 0.5rem; }
.prod-tagline { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.5rem; }
.prod-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--blue);
  display: flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.prod-link:hover { gap: 10px; }

/* ============================================================
   TECH STACK
============================================================ */
.tech-section { background: var(--bg-2); }
.tech-ticker-wrap { margin-top: 3.5rem; overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent); }
.tech-ticker {
  display: flex;
  gap: 1rem;
  animation: ticker 25s linear infinite;
  width: max-content;
}
.tech-ticker-2 {
  animation-direction: reverse;
  animation-duration: 20s;
  margin-top: 1rem;
}
.tech-ticker:hover, .tech-ticker-2:hover { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
.tech-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 0.65rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  transition: all 0.3s;
  cursor: default;
}
.tech-chip:hover { border-color: var(--blue); color: var(--white); }
.tech-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); flex-shrink: 0; }

/* ============================================================
   TESTIMONIALS
============================================================ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.35s;
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(13,110,253,0.15);
  line-height: 1;
}
.testi-card:hover { transform: translateY(-6px); border-color: rgba(13,110,253,0.35); box-shadow: var(--glow); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 1rem; }
.star { color: #FFB800; font-size: 0.85rem; }
.testi-quote { font-size: 0.9rem; line-height: 1.7; color: var(--muted); margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
  flex-shrink: 0;
}
.testi-name { font-family: var(--font-display); font-weight: 700; font-size: 0.9rem; }
.testi-role { font-size: 0.75rem; color: var(--muted2); }

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, rgba(13,110,253,0.12), transparent 65%);
  pointer-events: none;
}
.cta-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.cta-left .section-title { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.cta-desc { color: var(--muted); line-height: 1.7; margin: 1.2rem 0 2rem; }
.cta-meta { display: flex; flex-direction: column; gap: 0.6rem; }
.cta-meta-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.875rem; color: var(--muted);
}
.cta-meta-item::before { content: '→'; color: var(--blue); font-weight: 700; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(13,110,253,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s;
  -webkit-appearance: none;
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--bg-card2); color: var(--white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
  background: rgba(13,110,253,0.07);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted2); }
.btn-submit {
  width: 100%;
  background: var(--blue);
  color: var(--white);
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(13,110,253,0.3);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(13,110,253,0.45); }

/* ============================================================
   FOOTER
============================================================ */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 4rem 5% 2rem;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-desc { color: var(--muted); font-size: 0.875rem; line-height: 1.7; max-width: 280px; margin-bottom: 1rem; }
.footer-contact {
  margin-bottom: 1.25rem;
}
.footer-contact a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}
.footer-social { display: flex; gap: 0.75rem; }
.social-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-mono);
  transition: all 0.3s;
}
.social-btn:hover { border-color: var(--blue); color: var(--white); background: rgba(13,110,253,0.1); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--muted2);
  font-family: var(--font-mono);
}
.footer-url {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--blue);
  letter-spacing: 0.06em;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1300;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  width: 56px;
  height: 56px;
  text-decoration: none;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsapp-pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 22px 36px rgba(0, 0, 0, 0.28);
  animation: none;
}
@keyframes whatsapp-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}


/* ============================================================
   SECTION DIVIDERS
============================================================ */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { max-width: 100%; }
  .why-inner { grid-template-columns: 1fr; }
  .why-right { display: none; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav { padding: 0 5%; }
  .nav-links { display: none; }
  .nav-cta .btn-primary { display: none; }
  .hamburger { display: flex; }
  .work-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .pkg-card { grid-template-columns: auto 1fr; }
  .pkg-visual { display: none; }
  .stats-inner { grid-template-columns: 1fr; gap: 0; }
  .stat-item + .stat-item::before { display: none; }
  .stat-item { padding: 1.5rem; border-bottom: 1px solid var(--border); }
  .hero-pillars { grid-template-columns: 1fr; }
  .work-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .section-pad { padding: 70px 0; }
  .hero { padding: 100px 5% 60px; }
}

@media (max-width: 480px) {
  .pkg-checklist { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-hero-primary, .btn-hero-outline { width: 100%; justify-content: center; }
}