/* =========================================================
   NextRobic Technologies — Modern Dark Theme v5
   Fonts: Montserrat (headings) + Poppins (body)
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500;600&display=swap');

:root {
  --font-head:  'Montserrat', system-ui, sans-serif;
  --font-body:  'Poppins', system-ui, sans-serif;
  --font-mono:  'Fira Code', monospace;

  /* ── Dark Modern Palette ── */
  --bg-main:      #07090f;
  --bg-surface:   #0d1117;
  --bg-card:      #111827;
  --bg-card2:     #0f172a;
  --bg-section:   #0d1117;
  --bg-input:     #111827;
  --border:       rgba(255,255,255,0.08);
  --border-md:    rgba(255,255,255,0.14);
  --border-glow:  rgba(99,102,241,0.35);

  --text-white:   #f9fafb;
  --text-body:    #c9d1e0;
  --text-muted:   #8b95a9;
  --text-light:   #556070;

  /* ── Accent palette ── */
  --accent-blue:   #6366f1;
  --accent-violet: #8b5cf6;
  --accent-cyan:   #22d3ee;
  --accent-teal:   #14b8a6;
  --accent-green:  #10b981;
  --accent-orange: #f97316;
  --accent-amber:  #f59e0b;
  --accent-pink:   #ec4899;

  /* ── Gradients ── */
  --grad-primary:  linear-gradient(135deg, #6366f1, #8b5cf6);
  --grad-hero:     linear-gradient(135deg, #07090f 0%, #0f1629 50%, #120a2e 100%);
  --grad-accent:   linear-gradient(135deg, #6366f1, #8b5cf6, #22d3ee);
  --grad-green:    linear-gradient(135deg, #10b981, #14b8a6);
  --grad-cyan:     linear-gradient(135deg, #22d3ee, #6366f1);
  --grad-warm:     linear-gradient(135deg, #f97316, #f59e0b);
  --grad-glow:     radial-gradient(ellipse at top, rgba(99,102,241,0.22) 0%, transparent 60%);

  /* ── Shadows ── */
  --shadow-sm:     0 1px 4px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg:     0 12px 36px rgba(0,0,0,0.55);
  --shadow-xl:     0 24px 60px rgba(0,0,0,0.6);
  --shadow-indigo: 0 8px 32px rgba(99,102,241,0.32);
  --shadow-cyan:   0 8px 32px rgba(34,211,238,0.2);
  --shadow-glow:   0 0 40px rgba(99,102,241,0.18);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-main);
  color: var(--text-body);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-main); }
::-webkit-scrollbar-thumb { background: #2d3748; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-blue); }

/* ── Typography ── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  color: var(--text-white) !important;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
p { color: var(--text-body); }
.small, small { color: var(--text-muted) !important; }
li { color: var(--text-body); }

/* ── Gradient Text Utilities ── */
.text-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-blue {
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-purple {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-green {
  background: linear-gradient(135deg, #10b981, #22d3ee);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar-light-custom {
  background: rgba(7,9,15,0.92) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(99,102,241,0.12);
  transition: all 0.3s ease;
}
.navbar-scrolled {
  background: rgba(7,9,15,0.98) !important;
  box-shadow: 0 2px 30px rgba(0,0,0,0.5), 0 1px 0 rgba(99,102,241,0.18) !important;
}
.brand-logo-img {
  height: 40px; width: auto; object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(1.1);
}
.navbar-brand:hover .brand-logo-img { transform: scale(1.05); filter: brightness(1.2); }

.text-animated-brand {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.95rem;
  background: linear-gradient(90deg, #e2e8f0, #6366f1, #22d3ee, #8b5cf6, #e2e8f0);
  background-size: 300% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: brandShift 7s ease infinite;
  letter-spacing: 2px;
}
@keyframes brandShift {
  0%,100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-body) !important;
  transition: color 0.25s ease;
  position: relative;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem !important;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
  transition: left 0.3s ease, right 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--accent-cyan) !important; }
.nav-link:hover::after, .nav-link.active::after { left: 8px; right: 8px; }

/* ══════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════ */
.btn-primary-custom {
  background: var(--grad-primary);
  color: #fff !important;
  border: none;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 0.7rem 2rem;
  border-radius: 12px;
  font-size: 0.85rem;
  transition: all 0.35s ease;
  box-shadow: var(--shadow-indigo);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative; overflow: hidden;
}
.btn-primary-custom::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(99,102,241,0.45);
}
.btn-primary-custom:hover::before { left: 100%; }

.btn-outline-custom {
  background: transparent;
  border: 1.5px solid rgba(99,102,241,0.5);
  color: var(--accent-blue) !important;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 0.68rem 2rem;
  border-radius: 12px;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.btn-outline-custom:hover {
  background: rgba(99,102,241,0.12);
  border-color: var(--accent-blue);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-indigo);
}

.btn-white-custom {
  background: #fff;
  color: #1e1b4b !important;
  border: none;
  font-family: var(--font-head);
  font-weight: 800;
  padding: 0.7rem 2.2rem;
  border-radius: 12px;
  font-size: 0.88rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(255,255,255,0.15);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.btn-white-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,255,255,0.25);
}

.btn-cyan-custom {
  background: linear-gradient(135deg, #22d3ee, #6366f1);
  color: #fff !important;
  border: none;
  font-family: var(--font-head);
  font-weight: 700;
  padding: 0.7rem 2rem;
  border-radius: 12px;
  font-size: 0.85rem;
  transition: all 0.35s ease;
  box-shadow: var(--shadow-cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.btn-cyan-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(34,211,238,0.4);
}

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero-section {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 5rem;
  isolation: isolate;
}
/* Grid lines background */
.hero-section::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background-image:
    linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
  0% { transform: translate(0,0); }
  100% { transform: translate(60px, 60px); }
}
/* Glow orbs */
.hero-section::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 10% 30%, rgba(99,102,241,0.25) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 65%, rgba(34,211,238,0.15) 0%, transparent 40%),
    radial-gradient(ellipse at 50% 10%, rgba(139,92,246,0.2) 0%, transparent 40%);
}

.video-bg-wrap {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%) scale(1.05);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
  opacity: 0.12;
  filter: saturate(1.3) brightness(0.6);
  animation: videoBgZoom 20s ease-in-out infinite alternate;
}
@keyframes videoBgZoom {
  0%   { transform: translate(-50%,-50%) scale(1.05); }
  100% { transform: translate(-50%,-50%) scale(1.15); }
}
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,
    rgba(7,9,15,0.75) 0%,
    rgba(15,22,41,0.6) 50%,
    rgba(18,10,46,0.65) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { animation: none; }
  .hero-section::before { animation: none; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.3);
  color: #a5b4fc;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-dot 2s infinite;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); box-shadow:0 0 8px rgba(16,185,129,0.6); }
  50% { opacity:0.7; transform:scale(1.4); box-shadow:0 0 14px rgba(16,185,129,0.9); }
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: #ffffff !important;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.hero-subtitle {
  color: #94a3c8;
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 520px;
  font-weight: 400;
}

.hero-image-panel {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(99,102,241,0.2), var(--shadow-glow);
}
.hero-image-panel img {
  width: 100%; height: 440px; object-fit: cover; display: block;
}
.hero-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(34,211,238,0.08));
}
.hero-image-badge {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(7,9,15,0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(99,102,241,0.25);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}

/* ── Hero stat items ── */
.stat-item {
  text-align: center;
  padding: 1.1rem 0.8rem;
  border-radius: 14px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s, background 0.3s;
}
.stat-item:hover {
  background: rgba(99,102,241,0.14);
  border-color: rgba(99,102,241,0.4);
}
.stat-num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}

/* ══════════════════════════════════════════════
   TECH TICKER
══════════════════════════════════════════════ */
.ticker-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
}
.ticker-strip::before,
.ticker-strip::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 80px; z-index: 2;
}
.ticker-strip::before { left: 0; background: linear-gradient(90deg, var(--bg-surface), transparent); }
.ticker-strip::after  { right: 0; background: linear-gradient(-90deg, var(--bg-surface), transparent); }

.tech-ticker-wrap { overflow: hidden; white-space: nowrap; }
.tech-ticker {
  display: inline-flex; gap: 10px;
  animation: ticker 50s linear infinite;
}
.tech-ticker:hover { animation-play-state: paused; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tech-badge {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-body);
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-head);
  border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all 0.25s ease;
  cursor: default;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.tech-badge:hover {
  border-color: rgba(99,102,241,0.45);
  background: rgba(99,102,241,0.1);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   SECTION LABELS & DIVIDERS
══════════════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 20px;
}
.section-label::before {
  content: '';
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 12px; height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.section-divider {
  width: 56px; height: 3px;
  background: var(--grad-accent);
  border-radius: 3px;
  margin: 0.75rem auto 0;
  position: relative;
}
.section-divider::after {
  content: '';
  position: absolute; right: -8px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* ══════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════ */
.card-custom {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.165,0.84,0.44,1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}
/* Top accent line */
.card-custom::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: 18px 18px 0 0;
}
/* Subtle inner glow on hover */
.card-custom::after {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse at top left, rgba(99,102,241,0.06), transparent 60%);
  opacity: 0; transition: opacity 0.4s ease;
  pointer-events: none;
}
.card-custom > * { position: relative; z-index: 1; }
.card-custom:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(99,102,241,0.2);
  border-color: rgba(99,102,241,0.3);
}
.card-custom:hover::before { transform: scaleX(1); }
.card-custom:hover::after { opacity: 1; }

/* ── Icon Wraps ── */
.icon-wrap {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.icon-wrap-blue   { background: rgba(99,102,241,0.12);  color: #818cf8; border: 1px solid rgba(99,102,241,0.2); }
.icon-wrap-purple { background: rgba(139,92,246,0.12);  color: #a78bfa; border: 1px solid rgba(139,92,246,0.2); }
.icon-wrap-cyan   { background: rgba(34,211,238,0.1);   color: #22d3ee; border: 1px solid rgba(34,211,238,0.2); }
.icon-wrap-teal   { background: rgba(20,184,166,0.1);   color: #2dd4bf; border: 1px solid rgba(20,184,166,0.2); }
.icon-wrap-green  { background: rgba(16,185,129,0.1);   color: #34d399; border: 1px solid rgba(16,185,129,0.2); }
.icon-wrap-orange { background: rgba(249,115,22,0.1);   color: #fb923c; border: 1px solid rgba(249,115,22,0.2); }
.icon-wrap-amber  { background: rgba(245,158,11,0.1);   color: #fbbf24; border: 1px solid rgba(245,158,11,0.2); }
.card-custom:hover .icon-wrap { transform: scale(1.12) rotate(-4deg); }

/* ══════════════════════════════════════════════
   FEATURE IMAGE CARDS
══════════════════════════════════════════════ */
.feature-image-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl), 0 0 0 1px var(--border);
}
.feature-image-card img {
  width: 100%; height: 390px; object-fit: cover; display: block;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.85) saturate(1.1);
}
.feature-image-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.9) saturate(1.2);
}
/* Gradient overlay on images */
.feature-image-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,9,15,0.7) 100%);
  pointer-events: none;
}

/* Image colour tones */
.img-tone-purple { filter: brightness(0.82) saturate(1.2) hue-rotate(28deg); }
.img-tone-teal   { filter: brightness(0.85) saturate(1.15) hue-rotate(-20deg); }
.img-tone-amber  { filter: brightness(0.88) saturate(1.25) hue-rotate(45deg); }

.img-badge-overlay {
  position: absolute; top: 16px; left: 16px; z-index: 5;
  background: rgba(7,9,15,0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(99,102,241,0.3);
  color: #a5b4fc;
  padding: 0.4rem 0.9rem;
  border-radius: 9px;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   HIGHLIGHT LABEL
══════════════════════════════════════════════ */
.highlight-label {
  display: inline-block;
  background: rgba(99,102,241,0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(34,211,238,0.25);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 2px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

/* ══════════════════════════════════════════════
   STEP NUMBERS
══════════════════════════════════════════════ */
.step-number {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--grad-primary);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-indigo);
}

/* ══════════════════════════════════════════════
   STATS COUNTER SECTION
══════════════════════════════════════════════ */
.stats-dark-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-dark-section::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-glow);
  pointer-events: none;
}
.stat-counter-card {
  padding: 2rem 1.5rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  text-align: center;
  transition: border-color 0.3s, background 0.3s, transform 0.35s;
}
.stat-counter-card:hover {
  border-color: rgba(99,102,241,0.4);
  background: rgba(99,102,241,0.06);
  transform: translateY(-4px);
}
.stat-counter-num {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-counter-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-head);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   CTA SECTION
══════════════════════════════════════════════ */
.cta-section {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.28) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(34,211,238,0.15) 0%, transparent 45%);
  pointer-events: none;
}

/* ══════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════ */
.page-hero {
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
}
.page-hero::before {
  content: '';
  position: absolute; inset: -50%;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(99,102,241,0.3), transparent 45%),
    radial-gradient(ellipse at 20% 80%, rgba(34,211,238,0.15), transparent 45%);
  pointer-events: none;
  animation: heroDrift 16s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(2%,-2%) scale(1.06); }
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.page-hero-title { color: #ffffff !important; }
.page-hero-sub { color: #8b95c4; }

/* ══════════════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════════════ */
.contact-info-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #818cf8;
  flex-shrink: 0;
}
.form-control-custom {
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-white);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  width: 100%;
}
.form-control-custom:focus {
  outline: none;
  border-color: rgba(99,102,241,0.6);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
  background: var(--bg-card);
  color: var(--text-white);
}
.form-control-custom::placeholder { color: var(--text-light); }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer-dark {
  background: #050709;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}
.footer-heading {
  color: #ffffff !important;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-link {
  color: var(--text-muted) !important;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: block;
  font-weight: 400;
}
.footer-link:hover {
  color: var(--accent-cyan) !important;
  padding-left: 4px;
}
.social-icon-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: all 0.25s ease;
  text-decoration: none;
}
.social-icon-btn:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-indigo);
}
.footer-copyright { color: #3d4a5c; font-size: 0.83rem; }

/* ══════════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.12s; }
.stagger-3 { transition-delay: 0.19s; }
.stagger-4 { transition-delay: 0.27s; }
.stagger-5 { transition-delay: 0.35s; }
.stagger-6 { transition-delay: 0.43s; }

@keyframes fadeInUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}
.animate-fade-in { animation: fadeInUp 0.75s ease both; }

/* ── Floating particles ── */
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float-anim { animation: floatY 6s ease-in-out infinite; }
.float-anim-delay { animation: floatY 8s ease-in-out 1.5s infinite; }

/* ── Glow pulse ── */
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 20px rgba(99,102,241,0.2); }
  50% { box-shadow: 0 0 40px rgba(99,102,241,0.5); }
}
.glow-pulse { animation: glowPulse 3s ease-in-out infinite; }

/* ══════════════════════════════════════════════
   UTILITY
══════════════════════════════════════════════ */
.tracking-wide { letter-spacing: 2px; }
.pulse-dot {
  width:8px; height:8px; border-radius:50%;
  background: #10b981;
  animation: pulse-dot 2s infinite;
  display:inline-block;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
}
.font-monospace { font-family: var(--font-mono); }
.glass-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}
.border-glow { border-color: rgba(99,102,241,0.4) !important; }
.text-cyan { color: var(--accent-cyan) !important; }
.text-violet { color: var(--accent-violet) !important; }
.text-green { color: var(--accent-green) !important; }

/* ══════════════════════════════════════════════
   CICD PIPELINE ANIMATION
══════════════════════════════════════════════ */
.pipeline-flow {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
}
.pipeline-node {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  flex: 1; min-width: 70px;
}
.pipeline-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  position: relative;
}
.pipeline-icon.active {
  animation: pipelinePulse 2.2s ease-in-out infinite;
}
@keyframes pipelinePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(99,102,241,0.5); }
  50% { box-shadow: 0 0 0 10px rgba(99,102,241,0); }
}
.pipeline-connector {
  flex: 0 0 28px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative; height: 3px;
}
.pipeline-connector-line {
  width: 100%; height: 2px;
  background: linear-gradient(90deg, rgba(99,102,241,0.4), rgba(34,211,238,0.4));
  position: relative;
  overflow: hidden;
}
.pipeline-connector-line::after {
  content: '';
  position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34,211,238,0.9), transparent);
  animation: pipelineFlow 2s linear infinite;
}
@keyframes pipelineFlow {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ══════════════════════════════════════════════
   AI NEURAL NETWORK ANIMATION CANVAS AREA
══════════════════════════════════════════════ */
.ai-animation-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.ai-canvas-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(135deg, rgba(99,102,241,0.04), rgba(34,211,238,0.04));
  pointer-events: none;
}

/* Section backgrounds */
.section-dark { background: var(--bg-main); }
.section-alt  { background: var(--bg-surface); }

/* Divider line */
.divider-line {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .hero-title { font-size: clamp(1.9rem, 8vw, 2.8rem); }
  .hero-image-panel img { height: 280px; }
  .feature-image-card img { height: 250px; }
  .stat-counter-num { font-size: 2rem; }
  .pipeline-flow { padding: 1rem; }
}
