/* ============================================================
   VISTARA TECH GLOBAL — ULTRA-PREMIUM FUTURISTIC CSS
   ============================================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
  --cyan: #00e5ff;
  --cyan-dim: #00b8d4;
  --cyan-glow: rgba(0, 229, 255, 0.35);
  --blue: #1565c0;
  --blue-elec: #2979ff;
  --teal: #00bfa5;
  --dark-bg: #050810;
  --dark-card: #080d18;
  --dark-panel: #0b1120;
  --dark-border: rgba(0, 229, 255, 0.15);
  --dark-border-hover: rgba(0, 229, 255, 0.5);
  --text-primary: #e8f4f8;
  --text-secondary: #7fa3b5;
  --text-muted: #3d5a6b;
  --font-display: 'Orbitron', monospace;
  --font-body: 'Rajdhani', sans-serif;
  --font-ui: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

body {
  background: var(--dark-bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

/* ---------- PARTICLE CANVAS ---------- */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
}

/* ---------- LAVA LAMP BUBBLES ---------- */
.lava-lamp {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.7;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  animation: floatBubble 25s ease-in-out infinite;
  opacity: 0.25;
}

.bubble:nth-child(1) { width: 40vw; height: 40vw; background: var(--cyan); left: -10%; top: 10%; animation-duration: 40s; }
.bubble:nth-child(2) { width: 35vw; height: 35vw; background: var(--blue-elec); right: -5%; top: 20%; animation-duration: 45s; animation-delay: -5s; }
.bubble:nth-child(3) { width: 45vw; height: 45vw; background: var(--teal); left: 10%; bottom: -10%; animation-duration: 38s; animation-delay: -10s; }
.bubble:nth-child(4) { width: 38vw; height: 38vw; background: var(--cyan-dim); right: 5%; bottom: 15%; animation-duration: 55s; animation-delay: -15s; }
.bubble:nth-child(5) { width: 30vw; height: 30vw; background: var(--blue); left: 30%; top: 40%; animation-duration: 42s; animation-delay: -8s; }
.bubble:nth-child(6) { width: 35vw; height: 35vw; background: var(--cyan-glow); right: 20%; top: 50%; animation-duration: 50s; animation-delay: -12s; }
.bubble:nth-child(7) { width: 40vw; height: 40vw; background: var(--blue-elec); left: 50%; bottom: 10%; animation-duration: 48s; animation-delay: -7s; }
.bubble:nth-child(8) { width: 35vw; height: 35vw; background: var(--cyan); right: 10%; top: -5%; animation-duration: 40s; animation-delay: -3s; }

@keyframes floatBubble {
  0% { transform: translateY(0) translateX(0) scale(1); }
  33% { transform: translateY(-100px) translateX(50px) scale(1.1); }
  66% { transform: translateY(50px) translateX(-50px) scale(0.9); }
  100% { transform: translateY(0) translateX(0) scale(1); }
}

/* ---------- GRID OVERLAY ---------- */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  pointer-events: none;
  z-index: 0; /* Behind sections (1) */
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 24s linear infinite;
}

@keyframes gridDrift {
  0% {
    transform: translate(0, 0);
  }

  25% {
    transform: translate(-10px, 8px);
  }

  50% {
    transform: translate(-20px, 0);
  }

  75% {
    transform: translate(-10px, -8px);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--cyan-dim);
  border-radius: 3px;
}

/* ---------- SELECTION ---------- */
::selection {
  background: var(--cyan-glow);
  color: var(--cyan);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 8, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--dark-border);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.55)) drop-shadow(0 0 24px rgba(0, 229, 255, 0.2));
  transition: all var(--transition);
}

.nav-logo:hover .logo-img {
  filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.85)) drop-shadow(0 0 40px rgba(0, 229, 255, 0.4));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin-left: auto;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  right: 50%;
  height: 1px;
  background: var(--cyan);
  transition: left var(--transition), right var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--cyan);
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.nav-link:hover::after,
.nav-link.active::after {
  left: 1rem;
  right: 1rem;
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-bg);
  background: var(--cyan);
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  text-decoration: none;
  transition: all var(--transition);
  flex-shrink: 0;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.nav-cta:hover {
  background: white;
  box-shadow: 0 0 20px var(--cyan-glow);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cyan);
  transition: all var(--transition);
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-icon {
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--blue-elec) 100%);
  color: #030608;
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 229, 255, 0.55), 0 0 0 1px rgba(0, 229, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.4);
  filter: brightness(1.12);
}

.btn-primary:active {
  transform: scale(0.97) translateY(0);
  animation: btnVibrate 0.2s ease;
}

@keyframes btnVibrate {

  0%,
  100% {
    transform: scale(0.97) translateX(0);
  }

  25% {
    transform: scale(0.97) translateX(-2px);
  }

  75% {
    transform: scale(0.97) translateX(2px);
  }
}

/* Icon slides right on hover */
.btn:hover .btn-icon {
  transform: translateX(3px);
  transition: transform 0.2s ease;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover .btn-glow {
  left: 100%;
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.3), inset 0 0 12px rgba(0, 229, 255, 0.05);
  transform: translateY(-2px);
}

.btn-secondary:active {
  animation: btnVibrate 0.2s ease;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
section {
  position: relative;
  z-index: 1;
  padding: 7rem 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin-bottom: 1rem;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 2px;
  background: rgba(0, 229, 255, 0.04);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}

.text-accent {
  color: var(--cyan);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-bg-elements {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.hex-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 70% 40%, rgba(0, 229, 255, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(41, 121, 255, 0.06) 0%, transparent 50%);
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.4), transparent);
  animation: scanDown 8s linear infinite;
}

@keyframes scanDown {
  0% {
    top: 0;
    opacity: 1;
  }

  95% {
    opacity: 0.3;
  }

  100% {
    top: 100vh;
    opacity: 0;
  }
}

.data-stream {
  position: absolute;
  width: 1px;
  height: 120px;
  background: linear-gradient(180deg, transparent, var(--cyan), transparent);
  animation: streamFall linear infinite;
  opacity: 0.3;
}

.stream-1 {
  left: 8%;
  animation-duration: 4s;
  animation-delay: 0s;
}

.stream-2 {
  left: 28%;
  animation-duration: 5.5s;
  animation-delay: 1.5s;
}

.stream-3 {
  left: 48%;
  animation-duration: 3.5s;
  animation-delay: 0.8s;
}

.stream-4 {
  left: 65%;
  animation-duration: 6s;
  animation-delay: 2.2s;
}

.stream-5 {
  left: 80%;
  animation-duration: 4.5s;
  animation-delay: 0.4s;
}

.stream-6 {
  left: 92%;
  animation-duration: 3s;
  animation-delay: 1.9s;
}

/* Second scan line offset */
.scan-line-2 {
  opacity: 0.4;
  animation-duration: 12s;
  animation-delay: 4s;
}

.hero-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Floating Data Dots */
.floating-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(0, 229, 255, 0.35) 1px, transparent 1px),
    radial-gradient(circle, rgba(41, 121, 255, 0.25) 1px, transparent 1px);
  background-size: 120px 120px, 80px 80px;
  background-position: 0 0, 40px 40px;
  animation: dotsDrift 30s linear infinite;
  opacity: 0.6;
}

@keyframes dotsDrift {
  0% {
    background-position: 0 0, 40px 40px;
  }

  100% {
    background-position: 120px 120px, 160px 160px;
  }
}

@keyframes streamFall {
  0% {
    top: -120px;
    opacity: 0;
  }

  10% {
    opacity: 0.4;
  }

  90% {
    opacity: 0.3;
  }

  100% {
    top: 110vh;
    opacity: 0;
  }
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbPulse 6s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 150, 200, 0.12), transparent 70%);
  top: -100px;
  right: -100px;
}

.orb-2 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(41, 121, 255, 0.1), transparent 70%);
  bottom: 10%;
  left: 5%;
  animation-delay: 3s;
}

@keyframes orbPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

/* Hero Content */
.hero-content {
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin-bottom: 2rem;
  padding: 0.4rem 1.2rem;
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 2px;
  background: rgba(0, 229, 255, 0.04);
  animation: fadeInUp 0.8s ease both;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.3;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  letter-spacing: 0.3em;
  animation: heroLineReveal 0.8s ease forwards;
}

@keyframes heroLineReveal {
  0% {
    opacity: 0;
    transform: translateY(30px);
    letter-spacing: 0.3em;
  }

  60% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: -0.01em;
  }
}

.line-1 {
  animation-delay: 0.2s;
  color: var(--text-primary);
}

.line-2 {
  animation-delay: 0.4s;
  color: var(--cyan);
}

.line-3 {
  animation-delay: 0.6s;
  color: var(--cyan);
}

/* Glow-pulse wrapper for FUTURE */
.glow-pulse-wrap {
  display: inline-block;
  animation: textGlowPulse 2.5s ease-in-out infinite;
}

@keyframes textGlowPulse {

  0%,
  100% {
    text-shadow:
      0 0 10px rgba(0, 229, 255, 0.4),
      0 0 30px rgba(0, 229, 255, 0.2);
  }

  50% {
    text-shadow:
      0 0 20px rgba(0, 229, 255, 0.9),
      0 0 60px rgba(0, 229, 255, 0.5),
      0 0 100px rgba(41, 121, 255, 0.3);
  }
}

/* Glitch Effect — base */
.glitch-text {
  position: relative;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
}

.glitch-text::before {
  color: #ff0040;
  clip: rect(0, auto, 0, 0);
  animation: glitch-1 4s infinite;
}

.glitch-text::after {
  color: var(--blue-elec);
  clip: rect(0, auto, 0, 0);
  animation: glitch-2 4s infinite;
}

/* Staggered delays so glitches fire at different times */
.glitch-delay-1::before {
  animation-delay: 1.3s;
}

.glitch-delay-1::after {
  animation-delay: 1.3s;
}

.glitch-delay-2::before {
  animation-delay: 2.7s;
}

.glitch-delay-2::after {
  animation-delay: 2.7s;
}

.glitch-delay-3::before {
  animation-delay: 0.6s;
}

.glitch-delay-3::after {
  animation-delay: 0.6s;
}

/* Subtle glitch for section title keywords */
.glitch-sm::before {
  animation: glitch-sm-1 5s infinite;
}

.glitch-sm::after {
  animation: glitch-sm-2 5s infinite;
}

@keyframes glitch-sm-1 {

  0%,
  85%,
  100% {
    clip: rect(0, 0, 0, 0);
    transform: none;
  }

  87% {
    clip: rect(4px, auto, 10px, 0);
    transform: translate(-1px, 0);
  }

  90% {
    clip: rect(18px, auto, 24px, 0);
    transform: translate(1px, 0);
  }
}

@keyframes glitch-sm-2 {

  0%,
  83%,
  100% {
    clip: rect(0, 0, 0, 0);
    transform: none;
  }

  85% {
    clip: rect(8px, auto, 16px, 0);
    transform: translate(1px, 0);
  }

  88% {
    clip: rect(2px, auto, 8px, 0);
    transform: translate(-1px, 0);
  }
}

@keyframes glitch-1 {

  0%,
  90%,
  100% {
    clip: rect(0, 0, 0, 0);
    transform: none;
  }

  92% {
    clip: rect(10px, auto, 20px, 0);
    transform: translate(-2px, 0);
  }

  94% {
    clip: rect(50px, auto, 60px, 0);
    transform: translate(2px, 0);
  }

  96% {
    clip: rect(30px, auto, 40px, 0);
    transform: translate(-1px, 0);
  }
}

@keyframes glitch-2 {

  0%,
  88%,
  100% {
    clip: rect(0, 0, 0, 0);
    transform: none;
  }

  90% {
    clip: rect(20px, auto, 35px, 0);
    transform: translate(2px, 0);
  }

  93% {
    clip: rect(5px, auto, 15px, 0);
    transform: translate(-2px, 0);
  }
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  animation: fadeInUp 0.7s 0.7s ease both;
}

.tagline-highlight {
  color: var(--text-primary);
  font-weight: 700;
  border-bottom: 1px solid var(--cyan);
}

.hero-sub {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: 2rem;
  font-weight: 300;
  animation: fadeInUp 0.7s 0.85s ease both;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s 1s ease both;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 0.7s 1.15s ease both;
  padding-top: 1.5rem;
  border-top: 1px solid var(--dark-border);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan);
  display: block;
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--cyan);
  font-weight: 700;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  display: block;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--dark-border);
}

/* Pulse rings — concentric circles that expand outward */
.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.4);
  animation: pulseExpand 3s ease-out infinite;
  pointer-events: none;
}

.pulse-ring-1 {
  width: 60%;
  height: 60%;
  animation-delay: 0s;
}

.pulse-ring-2 {
  width: 80%;
  height: 80%;
  animation-delay: 1s;
}

.pulse-ring-3 {
  width: 100%;
  height: 100%;
  animation-delay: 2s;
}

@keyframes pulseExpand {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
    border-color: rgba(0, 229, 255, 0.5);
  }

  50% {
    opacity: 0.4;
  }

  100% {
    transform: scale(1.2);
    opacity: 0;
    border-color: rgba(0, 229, 255, 0);
  }
}

/* Hologram corner brackets */
.holo-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--cyan);
  border-style: solid;
  opacity: 0.7;
  animation: cornerPulse 2s ease-in-out infinite;
}

.hc-tl {
  top: 6%;
  left: 6%;
  border-width: 2px 0 0 2px;
}

.hc-tr {
  top: 6%;
  right: 6%;
  border-width: 2px 2px 0 0;
}

.hc-bl {
  bottom: 6%;
  left: 6%;
  border-width: 0 0 2px 2px;
}

.hc-br {
  bottom: 6%;
  right: 6%;
  border-width: 0 2px 2px 0;
}

@keyframes cornerPulse {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
  }
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  animation: fadeIn 1.2s 0.5s ease both;
}

@media (min-width: 1101px) {
  .hero-visual {
    margin-top: -8rem;
  }
}

/* Logo hologram — bigger */
.logo-hologram {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.holo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 229, 255, 0.2);
  animation: rotateSlow linear infinite;
}

.ring-outer {
  width: 100%;
  height: 100%;
  border-color: rgba(0, 229, 255, 0.1);
  border-top-color: rgba(0, 229, 255, 0.6);
  border-right-color: rgba(0, 229, 255, 0.3);
  animation-duration: 12s;
}

.ring-mid {
  width: 78%;
  height: 78%;
  border-color: rgba(41, 121, 255, 0.1);
  border-bottom-color: rgba(41, 121, 255, 0.5);
  border-left-color: rgba(41, 121, 255, 0.25);
  animation-duration: 8s;
  animation-direction: reverse;
}

.ring-inner {
  width: 56%;
  height: 56%;
  border-color: rgba(0, 229, 255, 0.08);
  border-top-color: rgba(0, 229, 255, 0.4);
  animation-duration: 5s;
}

/* Pulsing Rings */
.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  opacity: 0;
  pointer-events: none;
  animation: ringPulse 4s cubic-bezier(0.2, 0.5, 0.2, 1) infinite;
}

.pulse-ring-1 { animation-delay: 0s; }
.pulse-ring-2 { animation-delay: 1.2s; }
.pulse-ring-3 { animation-delay: 2.4s; }

@keyframes ringPulse {
  0% {
    width: 20%;
    height: 20%;
    opacity: 0.8;
  }
  100% {
    width: 120%;
    height: 120%;
    opacity: 0;
  }
}

@keyframes rotateSlow {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes holoSpinY {
  from {
    transform: perspective(1000px) rotateY(0deg);
  }
  to {
    transform: perspective(1000px) rotateY(360deg);
  }
}

.holo-logo {
  width: 260px;
  height: auto;
  filter:
    drop-shadow(0 0 18px rgba(0, 229, 255, 0.7)) drop-shadow(0 0 50px rgba(0, 229, 255, 0.3)) drop-shadow(0 0 90px rgba(41, 121, 255, 0.2));
  animation: holoPulse 3s ease-in-out infinite, holoSpinY 10s linear infinite;
  position: relative;
  z-index: 2;
}

@keyframes holoPulse {

  0%,
  100% {
    filter:
      drop-shadow(0 0 18px rgba(0, 229, 255, 0.7)) drop-shadow(0 0 50px rgba(0, 229, 255, 0.3)) drop-shadow(0 0 90px rgba(41, 121, 255, 0.2));
  }

  50% {
    filter:
      drop-shadow(0 0 30px rgba(0, 229, 255, 1)) drop-shadow(0 0 80px rgba(0, 229, 255, 0.55)) drop-shadow(0 0 120px rgba(41, 121, 255, 0.3));
  }
}

.holo-scanline {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.5), transparent);
  animation: holoScan 3s ease-in-out infinite;
  z-index: 3;
}

@keyframes holoScan {
  0% {
    top: 10%;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    top: 90%;
    opacity: 0;
  }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: fadeIn 1.5s 1.5s ease both;
  z-index: 2;
}

.scroll-text {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--text-muted);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scrollBlink 2s ease-in-out infinite;
}

@keyframes scrollBlink {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
  }

  50% {
    opacity: 0.4;
    transform: scaleY(0.6);
  }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  max-width: 1400px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Bento Grid layout for Services on Desktop */
@media (min-width: 1025px) {
  .services-grid .service-card:nth-child(1) { grid-column: span 2; }
  .services-grid .service-card:nth-child(2) { grid-column: span 1; }
  .services-grid .service-card:nth-child(3) { grid-column: span 1; }
  .services-grid .service-card:nth-child(4) { grid-column: span 2; }
  .services-grid .service-card:nth-child(5) { grid-column: span 2; }
  .services-grid .service-card:nth-child(6) { grid-column: span 1; }
}

.service-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition);
  background: var(--dark-card);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  transition: border-color var(--transition-slow);
  z-index: 1;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card:hover::before {
  border-color: rgba(0, 229, 255, 0.4);
}

.card-border-glow {
  position: absolute;
  inset: -1px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), transparent 50%, rgba(41, 121, 255, 0.1));
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.service-card:hover .card-border-glow {
  opacity: 1;
}

.card-inner {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.service-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--cyan);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.service-card:hover .service-icon svg {
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.6));
}

.icon-glow {
  position: absolute;
  inset: -4px;
  border-radius: 6px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover .icon-glow {
  opacity: 1;
}

.service-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-desc {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.service-tags span {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--cyan-dim);
  border: 1px solid rgba(0, 229, 255, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
  background: rgba(0, 229, 255, 0.04);
}

.service-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: all var(--transition);
  display: inline-block;
}

.service-card:hover .service-arrow {
  color: var(--cyan);
  transform: translateX(6px);
}

/* ---------- SERVICE CLICK MICRO-EFFECTS ---------- */

/* Base click pulse for all services */
.service-card.service-click {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 32px rgba(0, 229, 255, 0.18);
}

.service-card.service-click::after {
  content: '';
  position: absolute;
  inset: -40%;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* 01 — Custom Websites: sweeping wireframe grid */
#service-websites.service-click::after {
  background:
    radial-gradient(circle at 0% 50%, rgba(0, 229, 255, 0.35), transparent 60%),
    linear-gradient(120deg, rgba(0, 229, 255, 0.3) 0%, transparent 40%, transparent 60%, rgba(0, 229, 255, 0.35) 100%);
  animation: svcWebsitesSweep 0.55s ease-out forwards;
}

@keyframes svcWebsitesSweep {
  0% {
    transform: translateX(-40%) skewX(-10deg);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: translateX(40%) skewX(-10deg);
    opacity: 0;
  }
}

/* 02 — Web Apps: node network burst */
#service-webapps.service-click::after {
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.32), transparent 55%),
    radial-gradient(circle at 70% 65%, rgba(41, 121, 255, 0.3), transparent 60%);
  animation: svcWebappsNodes 0.6s ease-out forwards;
}

@keyframes svcWebappsNodes {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  45% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* 03 — E‑Commerce: currency / cart flash */
#service-ecommerce.service-click::after {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.25), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(0, 229, 255, 0.25), transparent 60%);
  animation: svcEcomRing 0.55s ease-out forwards;
}

@keyframes svcEcomRing {
  0% {
    transform: scale(0.85) rotate(0deg);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2) rotate(8deg);
    opacity: 0;
  }
}

/* 04 — Mobile Apps: concentric wave from bottom */
#service-apps.service-click::after {
  background:
    radial-gradient(circle at 50% 110%, rgba(0, 229, 255, 0.45), transparent 65%);
  animation: svcAppsWave 0.6s ease-out forwards;
}

@keyframes svcAppsWave {
  0% {
    transform: translateY(18%) scale(0.9);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1.1);
    opacity: 0;
  }
}

/* 05 — SEO: rising chart beam */
#service-seo.service-click::after {
  background:
    linear-gradient(135deg, rgba(0, 229, 255, 0.38), transparent 65%);
  transform-origin: 0% 100%;
  animation: svcSeoRise 0.55s ease-out forwards;
}

@keyframes svcSeoRise {
  0% {
    transform: scaleY(0.2) translateY(20%);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1.1) translateY(0);
    opacity: 0;
  }
}

/* 06 — Graphic Design: spectrum sweep */
#service-design.service-click::after {
  background:
    conic-gradient(
      from 200deg,
      rgba(255, 64, 129, 0.4),
      rgba(255, 214, 0, 0.4),
      rgba(0, 229, 255, 0.4),
      rgba(103, 58, 183, 0.4),
      rgba(255, 64, 129, 0.4)
    );
  animation: svcDesignSpectrum 0.75s ease-out forwards;
}

@keyframes svcDesignSpectrum {
  0% {
    transform: scale(0.6) rotate(-10deg);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: scale(1.15) rotate(8deg);
    opacity: 0;
  }
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-us {
  background: var(--dark-panel);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(0, 229, 255, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 50%, rgba(41, 121, 255, 0.04) 0%, transparent 50%);
}

.why-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.circuit-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(0, 229, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.02) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Bento Grid layout for Why Us on Desktop */
@media (min-width: 1025px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid .why-card:nth-child(1) { grid-column: span 2; }
  .why-grid .why-card:nth-child(2) { grid-column: span 1; }
  .why-grid .why-card:nth-child(3) { grid-column: span 1; }
  .why-grid .why-card:nth-child(4) { grid-column: span 2; }
}

.why-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 229, 255, 0.1);
}

.why-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(0, 229, 255, 0.06);
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  transition: color var(--transition-slow);
}

.why-card:hover .why-number {
  color: rgba(0, 229, 255, 0.12);
}

.why-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: all var(--transition);
}

.why-icon svg {
  width: 22px;
  height: 22px;
  color: var(--cyan);
}

.why-card:hover .why-icon {
  background: rgba(0, 229, 255, 0.12);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}

.why-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.why-card p {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
}

.why-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--blue-elec));
  transition: width var(--transition-slow);
}

.why-card:hover .why-line {
  width: 100%;
}

/* ============================================================
   TECH STACK SECTION
   ============================================================ */
.tech-stack {
  max-width: 1400px;
  margin: 0 auto;
}

.tech-dashboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Bento Grid layout for Tech Dashboard on Desktop */
@media (min-width: 1025px) {
  .tech-dashboard .tech-category:nth-child(1) { grid-column: span 2; }
  .tech-dashboard .tech-category:nth-child(2) { grid-column: span 1; }
  .tech-dashboard .tech-category:nth-child(3) { grid-column: span 1; }
  .tech-dashboard .tech-category:nth-child(4) { grid-column: span 2; }
  .tech-dashboard .tech-category:nth-child(5) { grid-column: span 2; }
  .tech-dashboard .tech-category:nth-child(6) { grid-column: span 1; }
}

.tech-category {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  padding: 1.5rem;
  transition: border-color var(--transition), transform var(--transition);
}

.tech-category:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-3px);
}

.tech-cat-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--dark-border);
}

.tech-cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  flex-shrink: 0;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  background: rgba(0, 229, 255, 0.04);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  cursor: default;
}

.tech-pill:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--cyan);
}

.pill-icon {
  font-size: 0.9rem;
}

/* Metrics Strip */
.metrics-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 3rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.metrics-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.metric {
  text-align: center;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--cyan);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.metric-label {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-sep {
  width: 1px;
  height: 48px;
  background: var(--dark-border);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  background: var(--dark-panel);
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contact-grid-lines {
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(ellipse at 30% 50%, rgba(0, 229, 255, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(41, 121, 255, 0.04) 0%, transparent 50%);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-left .section-badge {
  margin-bottom: 1rem;
}

.contact-left .section-title {
  text-align: left;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.contact-desc {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 3px;
  transition: all var(--transition);
}

.contact-item:hover {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.03);
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 229, 255, 0.06);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 18px;
  height: 18px;
  color: var(--cyan);
}

.contact-item-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.contact-item-value {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-item-value:hover {
  color: var(--cyan);
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dark-border);
  border-radius: 3px;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all var(--transition);
  background: var(--dark-card);
}

.social-link:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.06);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

/* Contact Form */
.contact-form {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue-elec), var(--teal));
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.12);
  border-radius: 3px;
  padding: 0.9rem 1rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all var(--transition);
  outline: none;
  appearance: none;
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-input:focus {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, 0.05);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}

.form-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2300e5ff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select option {
  background: var(--dark-panel);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.input-glow-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0;
  background: var(--cyan);
  transition: width 0.4s ease;
}

.form-group:focus-within .input-glow-line {
  width: 100%;
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 191, 165, 0.08);
  border: 1px solid rgba(0, 191, 165, 0.3);
  border-radius: 3px;
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--teal);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #03060e;
  border-top: 1px solid var(--dark-border);
  padding: 3rem 2rem 2rem;
  position: relative;
  z-index: 1;
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-brand-col {
  max-width: 400px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.4));
  transition: all var(--transition);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.footer-tagline {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-about {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 5px;
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 0.75rem;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--cyan);
  color: #030608;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

.footer-links-group {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.footer-loc {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  display: block;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.footer-col a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: blink 2s ease-in-out infinite;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    padding: 5rem 2rem 1rem;
    gap: 1.5rem;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }

  .hero-content {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-visual {
    order: 0;
    max-height: 35vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .logo-hologram {
    width: min(240px, 45vw);
    height: min(240px, 45vw);
  }

  .hero-sub {
    margin: 0 auto 1.5rem;
  }

  .hero-cta-group {
    justify-content: center;
    margin-bottom: 2rem;
  }

  .hero-stats {
    justify-content: center;
    padding-top: 1.5rem;
    gap: 1.5rem;
  }

  .scroll-indicator {
    display: none;
  }

  .logo-hologram {
    width: 260px;
    height: 260px;
  }

  .holo-logo {
    width: 130px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-dashboard {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-left .section-title {
    text-align: center;
  }

  .contact-left .section-badge {
    display: block;
    text-align: center;
  }

  .contact-desc {
    text-align: center;
  }

  .contact-info {
    max-width: 400px;
    margin: 0 auto 2.5rem;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 1.25rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(5, 8, 16, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1.5rem 2rem 2rem;
    border-bottom: 1px solid var(--dark-border);
    gap: 0.25rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-container {
    gap: 0;
    padding: 0 1rem;
    justify-content: space-between;
  }

  .nav-logo {
    gap: 0.5rem;
    flex-shrink: 1;
    min-width: 0;
  }

  .logo-img {
    height: 32px;
  }

  .logo-text {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .tech-dashboard {
    grid-template-columns: 1fr;
  }

  .metrics-strip {
    flex-direction: column;
    gap: 1.5rem;
  }

  .metric-sep {
    width: 80px;
    height: 1px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3.2rem);
    margin-bottom: 0.75rem;
  }

  .hero-tagline {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
  }

  .hero-sub {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
  }

  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1.25rem;
  }

  .stat-num {
    font-size: 1.5rem;
  }

  .stat-divider {
    display: none;
  }

  .logo-hologram {
    width: min(180px, 40vw);
    height: min(180px, 40vw);
  }

  .footer-top {
    flex-direction: column;
  }

  .footer-links-group {
    gap: 2rem;
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .logo-hologram {
    width: 200px;
    height: 200px;
  }

  .holo-logo {
    width: 100px;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* ============================================================
   LIVE TECH SECTION
   ============================================================ */
.live-tech {
  background: var(--dark-bg);
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 6rem 2rem;
}

.live-tech::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 229, 255, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 100%, rgba(41, 121, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.live-tech-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.live-tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Individual LT card */
.lt-card {
  position: relative;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  padding: 2rem 1.75rem 1.75rem;
  overflow: hidden;
  cursor: default;
  transition: transform var(--transition), border-color var(--transition-slow), box-shadow var(--transition-slow);
  /* Slide in from bottom staggered */
  opacity: 0;
  transform: translateY(40px);
}

/* When revealed */
.lt-card.visible {
  animation: ltSlideIn 0.65s ease forwards;
}

.lt-card:nth-child(1) {
  animation-delay: 0s;
}

.lt-card:nth-child(2) {
  animation-delay: 0.12s;
}

.lt-card:nth-child(3) {
  animation-delay: 0.24s;
}

.lt-card:nth-child(4) {
  animation-delay: 0.36s;
}

@keyframes ltSlideIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lt-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 229, 255, 0.08);
}

/* Glowing top accent line */
.lt-line-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.lt-card:hover .lt-line-top {
  transform: scaleX(1);
}

/* Ambient card glow */
.lt-card-glow {
  position: absolute;
  inset: -2px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.07), transparent 50%, rgba(41, 121, 255, 0.05));
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.lt-card:hover .lt-card-glow {
  opacity: 1;
}

/* Icon */
.lt-icon {
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  display: block;
  animation: iconFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.3));
}

.lt-card:nth-child(2) .lt-icon {
  animation-delay: 1s;
}

.lt-card:nth-child(3) .lt-icon {
  animation-delay: 2s;
}

.lt-card:nth-child(4) .lt-icon {
  animation-delay: 3s;
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

/* Title */
.lt-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  transition: color var(--transition);
}

.lt-card:hover .lt-title {
  color: var(--cyan);
}

/* Description */
.lt-desc {
  font-family: var(--font-ui);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.5rem;
}

/* Stat counter at bottom */
.lt-stat {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-top: 1rem;
  border-top: 1px solid var(--dark-border);
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  transition: border-color var(--transition);
}

.lt-card:hover .lt-stat {
  border-color: rgba(0, 229, 255, 0.2);
  color: var(--cyan-dim);
}

.lt-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
}

/* Responsive */
@media (max-width: 1100px) {
  .live-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .live-tech-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {

  /* Keep all grid, streams, and scan lines fully visible - they use cheap transform animations! */
  .grid-overlay {
    opacity: 0.8 !important; /* Richer background */
  }

  /* Keep particle visibility relatively normal */
  #particleCanvas {
    opacity: 0.6 !important;
  }

  /* GPU/RAM Savior: Drop the expensive background blur filter, keep the gradient graphic! */
  .glow-orb {
    filter: none !important;
    opacity: 0.3 !important;
    animation: none !important;
    transform: translateZ(0); /* Force HW acceleration without RAM inflation */
  }

  /* Reduce the physical size bounds to avoid Safari RAM spikes */
  .orb-1 { width: 300px; height: 300px; right: -50px; top: -50px; }
  .orb-2 { width: 250px; height: 250px; left: -20px; bottom: 5%; }

  /* CRITICAL RAM OPTIMISATION:
     Animating multiple drop-shadows during a 3D rotate absolutely murders mobile RAM & GPU.
     We lock the glow filter to a static value and animate ONLY the GPU-cheap 3D rotation! */
  .holo-logo {
    animation: holoSpinY 10s linear infinite !important;
    filter: drop-shadow(0 0 24px rgba(0, 229, 255, 0.7)) drop-shadow(0 0 60px rgba(41, 121, 255, 0.2)) !important;
    will-change: transform;
  }
}

/* ============================================================
   SECTION DIVIDERS
   ============================================================ */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.25;
  margin: 0;
  position: relative;
  z-index: 1;
}

.section-divider::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 5px;
  background: var(--cyan);
  filter: blur(8px);
  border-radius: 50%;
}

/* ============================================================
   CLIENTS / TRUST LOGOS  (Marquee Strip)
   ============================================================ */
.clients-strip {
  padding: 3rem 0;
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.clients-strip::before,
.clients-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.clients-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark-card), transparent);
}

.clients-strip::after {
  right: 0;
  background: linear-gradient(270deg, var(--dark-card), transparent);
}

.clients-label {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.marquee-track {
  display: flex;
  gap: 4rem;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.client-logo-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  transition: color var(--transition);
  cursor: default;
  opacity: 0.5;
  transition: opacity var(--transition);
}

.client-logo-item:hover {
  opacity: 0.85;
}

.client-logo-icon {
  font-size: 1.2rem;
}

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials {
  background: var(--dark-panel);
  position: relative;
  overflow: hidden;
  display: none; /* Temporarily hidden */
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 229, 255, 0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(41, 121, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 6px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-card:hover {
  border-color: rgba(0, 229, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 229, 255, 0.08);
}

.testimonial-quote-mark {
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 0.7;
  color: rgba(0, 229, 255, 0.2);
  display: block;
  margin-bottom: 1rem;
  transition: color var(--transition);
}

.testimonial-card:hover .testimonial-quote-mark {
  color: rgba(0, 229, 255, 0.4);
}

.testimonial-text {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 300;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--dark-border);
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--blue-elec));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: #030608;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 229, 255, 0.3);
}

.author-info .author-name {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  display: block;
}

.author-info .author-title {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.15rem;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
}

.testimonial-stars span {
  color: #ffd700;
  font-size: 0.85rem;
  filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.4));
}

/* ============================================================
   PROCESS / TIMELINE  (index page addition)
   ============================================================ */
.process-section {
  max-width: 1400px;
  margin: 0 auto;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0.3;
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1.5rem 2rem;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 2px solid rgba(0, 229, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--cyan);
  margin-bottom: 1.5rem;
  transition: all var(--transition);
  position: relative;
}

.process-step:hover .step-number {
  border-color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.08);
}

.step-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.step-desc {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================================
   FLOATING CTA STRIP  (bottom sticky bar)
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.floating-cta.visible {
  bottom: 1.5rem;
  pointer-events: all;
}

.floating-cta-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(8, 13, 24, 0.95);
  border: 1px solid rgba(0, 229, 255, 0.25);
  border-radius: 50px;
  padding: 0.7rem 1.2rem 0.7rem 1.4rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 229, 255, 0.05);
}

.floating-cta-text {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

.floating-cta-text strong {
  color: var(--text-primary);
}

.floating-cta-btn {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #030608;
  background: var(--cyan);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.floating-cta-btn:hover {
  background: white;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.5);
}

/* ============================================================
   IMPROVED SERVICES CARDS
   ============================================================ */
.services-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Service card number badge */
.service-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(0, 229, 255, 0.05);
  line-height: 1;
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  transition: color var(--transition-slow);
  pointer-events: none;
}

.service-card:hover .service-num {
  color: rgba(0, 229, 255, 0.1);
}

/* ============================================================
   MOBILE IMPROVEMENTS — Extra breakpoints
   ============================================================ */
@media (max-width: 768px) {

  /* Better section padding on mobile */
  section {
    padding: 4rem 1.1rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  /* Testimonials: single column on mobile */
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Process steps: vertical on mobile */
  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .process-steps::before {
    display: none;
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    gap: 1.25rem;
    padding: 0 0 0 0;
  }

  .step-number {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  /* Hide floating CTA on mobile since screen too small */
  .floating-cta {
    display: none;
  }

  /* Better touch targets for nav */
  .nav-link {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }

  .hero {
    min-height: 100dvh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 130px 1.5rem 3rem;
    gap: 2rem;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  /* Hero title feels huge on small screens, tone down */
  .hero-title {
    font-size: clamp(2rem, 8vw, 3.5rem);
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 1.5rem;
  }
  
  .hero-tagline {
    font-size: 1.25rem;
  }
  
  .hero-sub {
    max-width: 100%;
    margin-bottom: 2.5rem;
  }

  .title-line {
    letter-spacing: 0.15em;
    transform: none !important;
  }
  
  @keyframes heroLineReveal {
    0% {
      opacity: 0;
      transform: translateY(20px);
      letter-spacing: 0.1em;
    }
    60% {
      opacity: 1;
      transform: translateY(0);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
      letter-spacing: -0.01em;
    }
  }

  /* Service cards: slightly less padding */
  .card-inner {
    padding: 1.5rem;
  }

  /* Hero stats: horizontal scroll friendly */
  .hero-stats {
    gap: 1.5rem;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    justify-content: flex-start;
  }

  .hero-badge {
    font-size: 0.5rem;
    letter-spacing: 0.2em;
    padding: 0.35rem 0.85rem;
  }

  /* Contact form: full padding */
  .contact-form {
    padding: 1.5rem 1.25rem;
  }

  /* Clients strip: reduce height */
  .clients-strip {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3.5rem 0.5rem;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .hero {
    min-height: 100dvh !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 140px 1.25rem 2rem !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    overflow: hidden !important;
    position: relative;
  }

  .hero-content {
    width: 100%;
    margin-top: 0 !important;
    padding: 0 !important;
  }

  .hero-badge { margin-bottom: 1.25rem; font-size: 0.55rem; padding: 0.3rem 0.6rem; letter-spacing: 0.1em; }
  .hero-title { font-size: clamp(1.8rem, 9vw, 2.4rem); line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.01em !important; }
  .title-line { transform: none !important; letter-spacing: 0.05em !important; } /* Stop vertical drift + reduce spacing */
  .hero-tagline { font-size: 1.15rem; margin-bottom: 0.75rem; }
  .hero-sub { font-size: 0.88rem; line-height: 1.6; margin-bottom: 2rem; padding: 0 0.5rem; width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }

  .hero-cta-group {
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 1rem;
    font-size: 0.95rem;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Live tech: 1 col on very small screens */
  .live-tech-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet two-col for testimonials */
@media (max-width: 1024px) and (min-width: 769px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps::before {
    display: none;
  }
}

/* ============================================================
   QUICK-WIN MICRO-IMPROVEMENTS
   ============================================================ */

/* Better service tags hover */
.service-tags span:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: rgba(0, 229, 255, 0.35);
  color: var(--cyan);
  cursor: default;
}

/* Section header animated underline on accent */
.section-title .text-accent {
  position: relative;
  display: inline-block;
}

.section-title .text-accent::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.section-title .text-accent.underline-reveal::after {
  transform: scaleX(1);
}

/* Improved metrics strip mobile */
@media (max-width: 600px) {
  .metrics-strip {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.75rem 1.25rem;
  }

  .metric-sep {
    display: none;
  }
}

/* ============================================================
   BACK-TO-TOP BUTTON
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 42px;
  height: 42px;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  transform: translateY(12px);
  transition: all var(--transition);
  color: var(--cyan);
  font-size: 1rem;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
}
