/* ===================================================
   VAIKRON TECHNOLOGIES — FUTURISTIC AGENCY STYLESHEET
   Version: 1.0.0
   Theme: Dark Cosmic / AI / Space
   =================================================== */

/* ─── DESIGN TOKENS ─────────────────────────────── */
:root {
  /* Brand Colors */
  --cyan:          #FF6B00;
  --purple:        #FF9933;
  --blue:          #E65100;
  --cyan-dim:      rgba(255, 107, 0, 0.15);
  --purple-dim:    rgba(255, 153, 51, 0.15);
  --blue-dim:      rgba(230, 81, 0, 0.12);

  /* Backgrounds */
  --bg-void:       #0d0805;
  --bg-deep:       #120a06;
  --bg-surface:    rgba(20, 12, 8, 0.7);
  --bg-glass:      rgba(255, 255, 255, 0.04);
  --bg-glass-hover:rgba(255, 255, 255, 0.08);

  /* Text */
  --text-primary:  #f0f4ff;
  --text-secondary:#bb9977;
  --text-muted:    #775544;
  --text-accent:   var(--cyan);

  /* Glass borders */
  --border-glass:  rgba(255, 255, 255, 0.08);
  --border-glow:   rgba(255, 107, 0, 0.3);

  /* Glow effects */
  --glow-cyan:     0 0 20px rgba(255, 107, 0, 0.4), 0 0 60px rgba(255, 107, 0, 0.1);
  --glow-purple:   0 0 20px rgba(255, 153, 51, 0.4), 0 0 60px rgba(255, 153, 51, 0.1);
  --glow-blue:     0 0 20px rgba(230, 81, 0, 0.4), 0 0 60px rgba(230, 81, 0, 0.1);

  /* Typography */
  --font-display:  'Orbitron', 'Inter', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'Fira Code', monospace;

  /* Spacing */
  --section-pad:   120px 5vw;
  --card-radius:   16px;

  /* Transitions */
  --trans-fast:    0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-smooth:  0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow:    0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET & BASE ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
img, canvas { display: block; }
::selection { background: var(--cyan-dim); color: var(--cyan); }

/* ─── SCROLLBAR ──────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--cyan), var(--purple));
  border-radius: 3px;
}

/* ─── GLOBAL BACKGROUND CANVAS ───────────────────── */
#universe-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/* ─── CUSTOM CURSOR GLOW ─────────────────────────── */
#custom-cursor-glow {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  background: rgba(255, 107, 0, 0.1);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  box-shadow: var(--glow-cyan);
}
#custom-cursor-glow.hovered {
  width: 40px;
  height: 40px;
  background: rgba(255, 107, 0, 0.2);
}

/* ─── GLASSMORPHISM PANEL ────────────────────────── */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid var(--border-glass);
  border-radius: var(--card-radius);
  position: relative;
  overflow: hidden;
}
.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Inner glow on hover */
.card-glow-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 107, 0, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--trans-smooth);
  pointer-events: none;
  z-index: 0;
}
.glass-panel:hover .card-glow-glow { opacity: 1; }

/* ─── LOADING SCREEN ─────────────────────────────── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-void);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }

.loader-bg-nebula {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 30%, rgba(230, 81, 0, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 70%, rgba(255, 153, 51, 0.1) 0%, transparent 70%);
  animation: nebulaPulse 6s ease-in-out infinite alternate;
}

#loader-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.loader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--text-primary);
  text-shadow: var(--glow-cyan);
  animation: logoEntrance 1s ease forwards;
}

.loader-divider {
  width: 300px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 1px;
  overflow: hidden;
}
.loader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--cyan), var(--purple));
  border-radius: 1px;
  transition: width 0.3s ease;
  box-shadow: 0 0 12px var(--cyan);
}

.loader-status {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
}
#status-word {
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  transition: all 0.3s ease;
}
.status-percent {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.loader-console {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: left;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 12px 20px;
  min-width: 280px;
}
.console-line { margin: 2px 0; }

/* ─── NAVBAR ─────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5vw;
  height: 72px;
  display: flex;
  align-items: center;
  transition: background var(--trans-smooth), box-shadow var(--trans-smooth);
}
#navbar.scrolled {
  background: rgba(3, 5, 13, 0.85);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(0, 240, 255, 0.1);
}

.nav-container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  text-shadow: var(--glow-cyan);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color var(--trans-fast), background var(--trans-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 1px;
  background: var(--cyan);
  border-radius: 1px;
  transition: transform var(--trans-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}
.nav-link:hover::after, .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  margin-left: 16px;
  padding: 10px 22px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.bar {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--trans-fast), opacity var(--trans-fast);
}

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(3, 5, 13, 0.97);
  backdrop-filter: blur(30px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--trans-smooth);
}
#mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.mobile-link {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  transition: color var(--trans-fast), text-shadow var(--trans-fast);
}
.mobile-link:hover { color: var(--cyan); text-shadow: var(--glow-cyan); }
.mobile-cta {
  margin-top: 12px;
  padding: 14px 36px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

/* ─── LOGO ACCENT ────────────────────────────────── */
.logo-accent {
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
}

/* ─── RADIAL GLOW BUTTON ─────────────────────────── */
.radial-glow-btn {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.06);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 12px 26px;
  transition: border-color var(--trans-fast), background var(--trans-fast);
}
.radial-glow-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%),
    rgba(0, 240, 255, 0.25) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--trans-fast);
}
.radial-glow-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent 0deg, rgba(0,240,255,0.15) 60deg, transparent 120deg);
  animation: btnRotate 3s linear infinite;
  opacity: 0;
  transition: opacity var(--trans-fast);
}
.radial-glow-btn:hover::before { opacity: 1; }
.radial-glow-btn:hover::after  { opacity: 1; }
.radial-glow-btn:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan), inset 0 0 20px rgba(0,240,255,0.05);
}
.radial-glow-btn span { position: relative; z-index: 1; }

/* Primary button (solid filled) */
.btn-primary {
  background: linear-gradient(135deg, rgba(0,85,255,0.4), rgba(0,240,255,0.2));
  border-color: rgba(0, 240, 255, 0.5);
}
.btn-primary:hover {
  background: linear-gradient(135deg, rgba(0,85,255,0.6), rgba(0,240,255,0.35));
}

/* Secondary outlined */
.btn-secondary { background: transparent; }

/* ─── SECTION SHARED ─────────────────────────────── */
.section-bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%,
    rgba(0, 85, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}
.section-bg-glow.secondary {
  background: radial-gradient(ellipse 80% 60% at 50% 80%,
    rgba(189, 0, 255, 0.06) 0%, transparent 70%);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 0%, var(--cyan) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-title.left { text-align: left; -webkit-text-fill-color: transparent; }

.section-divider {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 2px;
  margin: 20px auto 24px;
  box-shadow: 0 0 15px var(--cyan);
}
.section-divider.left { margin-left: 0; }

.section-description {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── SCROLL REVEAL ──────────────────────────────── */
.reveal-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO SECTION ───────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 5vw 80px;
  overflow: hidden;
}

.hero-cosmic-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(0, 85, 255, 0.08) 0%,
    rgba(189, 0, 255, 0.06) 30%,
    transparent 70%);
  pointer-events: none;
  animation: cosmicPulse 8s ease-in-out infinite alternate;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--cyan);
  background: rgba(0, 240, 255, 0.05);
  margin-bottom: 24px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulseDot 2s ease infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 24px;
}

/* Flip Text */
.flip-text-wrap {
  display: inline-block;
  min-width: 380px;
  height: 1.2em;
  position: relative;
  overflow: visible;
}
#flip-word-placeholder {
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}
.flip-char {
  display: inline-block;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity, filter;
}
.flip-char.exit {
  animation: charExit 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.flip-char.enter {
  animation: charEnter 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn { padding: 14px 30px; font-size: 0.82rem; }

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 520px;
}

.sphere-canvas-container {
  position: relative;
  width: 380px;
  height: 380px;
}
#core-sphere-canvas {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.sphere-glass-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(0, 240, 255, 0.15);
  box-shadow:
    0 0 40px rgba(0, 240, 255, 0.1),
    inset 0 0 40px rgba(0, 240, 255, 0.05);
  animation: ringRotate 20s linear infinite;
}

/* Floating Cards */
.floating-card {
  position: absolute;
  padding: 14px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
  z-index: 3;
}
.card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 30% 30%, rgba(0,240,255,0.08), transparent);
  pointer-events: none;
}
.card-icon {
  font-size: 1.3rem;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  flex-shrink: 0;
}
.card-info { display: flex; flex-direction: column; }
.card-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}
.card-label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.card-1 { top: 5%; left: -10%; animation: float1 6s ease-in-out infinite; }
.card-2 { bottom: 15%; left: -15%; animation: float2 7s ease-in-out infinite; }
.card-3 { top: 10%; right: -12%; animation: float3 5.5s ease-in-out infinite; }

/* Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: none;
  opacity: 0.6;
  transition: opacity var(--trans-fast);
  z-index: 3;
}
.hero-scroll-indicator:hover { opacity: 1; }
.hero-scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}
.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(0, 240, 255, 0.4);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.wheel {
  width: 3px;
  height: 6px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scrollWheel 2s ease infinite;
}

/* ─── SERVICES SECTION ───────────────────────────── */
.services-section {
  position: relative;
  padding: var(--section-pad);
  z-index: 1;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px 28px;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth);
  z-index: 1;
}
.service-card:hover {
  border-color: rgba(0, 240, 255, 0.3);
  transform: translateY(-6px);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,85,255,0.2), rgba(0,240,255,0.1));
  border: 1px solid rgba(0,240,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--cyan);
  margin-bottom: 20px;
  text-shadow: var(--glow-cyan);
  transition: box-shadow var(--trans-fast);
}
.service-card:hover .service-icon { box-shadow: var(--glow-cyan); }

.service-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color var(--trans-fast);
}
.service-features li i {
  color: var(--cyan);
  font-size: 0.65rem;
  flex-shrink: 0;
}
.service-card:hover .service-features li { color: var(--text-secondary); }

/* ─── BENTO SECTION ──────────────────────────────── */
.bento-section {
  position: relative;
  padding: var(--section-pad);
  z-index: 1;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  padding: 28px;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth);
}
.bento-card:hover {
  border-color: rgba(0, 240, 255, 0.25);
  transform: translateY(-4px);
}

.pipeline-card  { grid-column: span 8; }
.analytics-card { grid-column: span 4; }
.activity-card  { grid-column: span 4; }
.knowledge-card { grid-column: span 8; }

.bento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 10px;
}
.bento-card-header h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.icon-accent { color: var(--cyan); }

.active-badge, .analytics-status {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 240, 255, 0.25);
  white-space: nowrap;
}

.pulse-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 10px #00ff88;
  animation: pulseDot 1.5s ease infinite;
}

/* Pipeline Visual */
.pipeline-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0;
  padding: 16px 0;
}

.pipeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex-shrink: 0;
}
.node-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,240,255,0.15), transparent);
  animation: nodeGlow 3s ease infinite alternate;
}
.pipeline-node i {
  font-size: 1.3rem;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(0,240,255,0.08);
  border: 1px solid rgba(0,240,255,0.25);
  position: relative; z-index: 1;
}
.pipeline-node span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  position: relative; z-index: 1;
}

.pipeline-connector-svg {
  flex: 1;
  height: 50px;
  overflow: visible;
  min-width: 30px;
}
.svg-defs-container { position: absolute; width: 0; height: 0; }

/* Analytics Chart */
.analytics-charts { display: flex; flex-direction: column; gap: 18px; }
.chart-container { height: 120px; width: 100%; }
#live-chart { width: 100%; height: 100%; }

.stats-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.stat-box {
  flex: 1;
  min-width: 80px;
  background: rgba(0,0,0,0.2);
  border-radius: 8px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.04);
}
.stat-label {
  display: block;
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.stat-value {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
}

/* Activity Feed */
.activity-feed-wrapper {
  height: 220px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  mask-image: linear-gradient(180deg, transparent, black 10%, black 90%, transparent);
}
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.03);
  flex-shrink: 0;
}
.activity-item .status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 4px;
}
.activity-item.ok   .status-dot { background: #00ff88; box-shadow: 0 0 8px #00ff88; }
.activity-item.warn .status-dot { background: #ffa500; box-shadow: 0 0 8px #ffa500; }
.activity-item.info .status-dot { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.activity-item .log-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.activity-item .log-time {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  margin-left: auto;
  flex-shrink: 0;
}

/* Knowledge Graph */
.knowledge-canvas-container {
  width: 100%;
  height: 260px;
}
#knowledge-graph-canvas { width: 100%; height: 100%; }
.search-indicator {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--purple);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: searchPulse 2s ease infinite;
}

/* ─── 3D KEYBOARD SECTION ────────────────────────── */
.keyboard-section {
  position: relative;
  padding: var(--section-pad);
  z-index: 1;
}

.keyboard-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

/* Screen */
.keyboard-screen {
  width: 100%;
  border: 1px solid rgba(0,240,255,0.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--glow-cyan), 0 30px 60px rgba(0,0,0,0.5);
}
.screen-header {
  background: rgba(0,0,0,0.4);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.screen-dots {
  display: flex;
  gap: 6px;
}
.screen-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.screen-dots span:nth-child(1) { background: #ff5f57; }
.screen-dots span:nth-child(2) { background: #febc2e; }
.screen-dots span:nth-child(3) { background: #28c840; }

.screen-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.screen-body {
  background: rgba(0,4,16,0.8);
  min-height: 140px;
  padding: 20px 24px;
}
.screen-code-wrap {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
}
.screen-code-wrap pre { background: none; }
.typing-cursor {
  display: inline-block;
  color: var(--cyan);
  animation: cursorBlink 1s step-end infinite;
  text-shadow: var(--glow-cyan);
}

/* 3D Keyboard Wrapper */
.keyboard-wrapper-3d {
  perspective: 1200px;
  perspective-origin: 50% 0%;
}

.keyboard-deck {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 24px 20px 36px;
  background: linear-gradient(135deg,
    rgba(10, 20, 50, 0.95) 0%,
    rgba(5, 10, 30, 0.98) 100%);
  border-radius: 16px;
  border: 1px solid rgba(0,240,255,0.15);
  transform: rotateX(30deg) rotateY(-5deg);
  transform-style: preserve-3d;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.8),
    0 0 40px rgba(0,240,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.08);
  transition: transform 0.5s ease;
}

.key-row {
  display: flex;
  gap: 5px;
}

.key {
  position: relative;
  min-width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg,
    rgba(20, 30, 60, 0.9) 0%,
    rgba(8, 12, 30, 0.95) 100%);
  border: 1px solid rgba(0,240,255,0.12);
  border-bottom: 3px solid rgba(0, 240, 255, 0.06);
  cursor: default;
  user-select: none;
  transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
  transform-style: preserve-3d;
}
.key span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  position: relative; z-index: 1;
  transition: color 0.08s ease;
}

.key.active {
  transform: translateY(3px) translateZ(-4px);
  background: linear-gradient(180deg,
    rgba(0, 240, 255, 0.2) 0%,
    rgba(0, 85, 255, 0.2) 100%);
  border-color: rgba(0, 240, 255, 0.5);
  border-bottom-width: 1px;
  box-shadow: 0 0 12px rgba(0,240,255,0.3), inset 0 0 10px rgba(0,240,255,0.1);
}
.key.active span { color: var(--cyan); }

.key-wide       { min-width: 72px; }
.key-extra-wide { min-width: 88px; }
.key-double-wide{ min-width: 96px; }
.key-spacebar   { flex: 1; min-width: 200px; }

/* ─── ABOUT SECTION ──────────────────────────────── */
.about-section {
  position: relative;
  padding: var(--section-pad);
  z-index: 1;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 20px;
}
.about-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 36px;
}
.about-metrics {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.metric-item { display: flex; flex-direction: column; }
.metric-val {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Timeline Visual */
.timeline-visual-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 30px;
}
.timeline-line-glow {
  position: absolute;
  left: 8px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan), var(--purple), transparent);
  opacity: 0.4;
}

.timeline-event {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 32px;
  opacity: 0.5;
  transition: opacity var(--trans-smooth);
}
.timeline-event.active { opacity: 1; }

.timeline-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 2px solid var(--cyan);
  flex-shrink: 0;
  position: relative;
  margin-top: 4px;
  margin-left: -38px;
  transition: box-shadow var(--trans-fast);
}
.timeline-event.active .timeline-dot {
  background: var(--cyan);
  box-shadow: var(--glow-cyan);
}

.timeline-card-content {
  flex: 1;
  padding: 20px 24px;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth);
}
.timeline-event.active .timeline-card-content {
  border-color: rgba(0, 240, 255, 0.25);
}

.event-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
}
.timeline-card-content h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 6px 0 8px;
}
.timeline-card-content p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── PROCESS SECTION ────────────────────────────── */
.process-section {
  position: relative;
  padding: var(--section-pad);
  z-index: 1;
}

.process-stream {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 40px;
}

.stream-line {
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: rgba(255,255,255,0.05);
  border-radius: 1px;
  overflow: hidden;
}
.stream-line-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  border-radius: 1px;
  box-shadow: 0 0 12px var(--cyan);
  animation: streamFlow 3s ease-in-out infinite;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.step-marker {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.step-num {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--cyan);
  background: var(--bg-deep);
  border: 1px solid rgba(0,240,255,0.3);
  border-radius: 8px;
  padding: 4px 12px;
  letter-spacing: 0.1em;
  position: relative; z-index: 1;
}
.step-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  border-radius: 50%;
  border: 1px solid rgba(0,240,255,0.2);
  animation: stepPulse 3s ease infinite;
}

.step-content {
  width: 100%;
  padding: 26px 22px;
  text-align: center;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth);
}
.step-content:hover {
  transform: translateY(-6px);
  border-color: rgba(0,240,255,0.3);
}
.step-icon {
  font-size: 1.5rem;
  color: var(--cyan);
  text-shadow: var(--glow-cyan);
  margin-bottom: 14px;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.step-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ─── PORTFOLIO SECTION ──────────────────────────── */
.portfolio-section {
  position: relative;
  padding: var(--section-pad);
  z-index: 1;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.portfolio-item {
  overflow: hidden;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth);
}
.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: rgba(0,240,255,0.25);
}

.portfolio-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.project-overlay-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 80%,
    rgba(0,240,255,0.15), transparent);
  z-index: 1;
  transition: opacity var(--trans-smooth);
}
.portfolio-item:hover .project-overlay-glow { opacity: 1.5; }

.portfolio-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(0,240,255,0.3);
  color: var(--cyan);
  border-radius: 6px;
  backdrop-filter: blur(10px);
}

.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}
.placeholder-1 { background: linear-gradient(135deg, rgba(0,85,255,0.3), rgba(0,240,255,0.15)); color: var(--cyan); }
.placeholder-2 { background: linear-gradient(135deg, rgba(189,0,255,0.3), rgba(0,85,255,0.15)); color: var(--purple); }
.placeholder-3 { background: linear-gradient(135deg, rgba(0,240,255,0.2), rgba(189,0,255,0.25)); color: #ff88ff; }
.placeholder-4 { background: linear-gradient(135deg, rgba(0,85,255,0.25), rgba(0,240,255,0.2)); color: var(--blue); }
.placeholder-1 i, .placeholder-2 i, .placeholder-3 i, .placeholder-4 i {
  filter: drop-shadow(0 0 20px currentColor);
}

.portfolio-info {
  padding: 24px;
}
.portfolio-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.portfolio-info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}
.project-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--trans-fast);
}
.project-link:hover { gap: 10px; }
.project-link i { font-size: 0.7rem; transition: transform var(--trans-fast); }
.project-link:hover i { transform: translateX(4px); }

/* ─── WHY SECTION ────────────────────────────────── */
.why-section {
  position: relative;
  padding: var(--section-pad);
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.why-card {
  padding: 30px 24px;
  text-align: center;
  transition: transform var(--trans-smooth), border-color var(--trans-smooth);
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(189,0,255,0.3);
}
.why-icon { font-size: 2.5rem; margin-bottom: 16px; }
.emoji-accent {
  display: inline-block;
  filter: drop-shadow(0 0 12px rgba(0,240,255,0.5));
  transition: transform var(--trans-fast);
}
.why-card:hover .emoji-accent { transform: scale(1.15); }

.why-card h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ─── CONTACT SECTION ────────────────────────────── */
.contact-section {
  position: relative;
  padding: var(--section-pad);
  z-index: 1;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.channel-item > i {
  font-size: 1.2rem;
  margin-top: 2px;
}
.channel-item h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.channel-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form-wrap {
  padding: 40px 36px;
}

form { display: flex; flex-direction: column; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap > i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  font-size: 0.8rem;
  transition: color var(--trans-fast);
  pointer-events: none;
  z-index: 1;
}
.input-wrap:focus-within > i { color: var(--cyan); }

.input-wrap input,
.input-wrap select,
.input-wrap textarea {
  width: 100%;
  padding: 12px 16px 12px 38px;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
}
.input-wrap input::placeholder,
.input-wrap textarea::placeholder { color: var(--text-muted); }
.input-wrap input:focus,
.input-wrap select:focus,
.input-wrap textarea:focus {
  border-color: rgba(0,240,255,0.4);
  box-shadow: 0 0 0 3px rgba(0,240,255,0.06), var(--glow-cyan);
}
.input-wrap select { cursor: pointer; appearance: none; }
.input-wrap select option {
  background: var(--bg-deep);
  color: var(--text-primary);
}
.text-area-wrap { align-items: flex-start; }
.text-area-wrap > i { top: 14px; }
.input-wrap textarea { padding-top: 12px; resize: vertical; min-height: 100px; }

.submit-btn { align-self: flex-start; padding: 14px 34px; font-size: 0.8rem; }

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 200px;
  background: radial-gradient(ellipse, rgba(0,85,255,0.06), transparent);
  pointer-events: none;
}
.footer-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 70px 5vw 50px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color var(--trans-fast), border-color var(--trans-fast), box-shadow var(--trans-fast);
}
.footer-socials a:hover {
  color: var(--cyan);
  border-color: rgba(0,240,255,0.3);
  box-shadow: var(--glow-cyan);
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-link-col h4 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin-bottom: 18px;
}
.footer-link-col a {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color var(--trans-fast);
}
.footer-link-col a:hover { color: var(--cyan); }

.footer-bottom {
  padding: 20px 5vw;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ─── KEYFRAME ANIMATIONS ────────────────────────── */
@keyframes nebulaPulse {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.05); }
}
@keyframes logoEntrance {
  0%   { opacity: 0; transform: translateY(20px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes cosmicPulse {
  0%   { transform: translateX(-50%) scale(1);   opacity: 0.7; }
  100% { transform: translateX(-50%) scale(1.15); opacity: 1; }
}
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes float1 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-18px) rotate(2deg); }
}
@keyframes float2 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-12px) rotate(-2deg); }
}
@keyframes float3 {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-22px) rotate(1deg); }
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(8px); opacity: 0; }
  81%  { transform: translateY(-2px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.4); opacity: 0.5; }
}
@keyframes btnRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}
@keyframes charExit {
  0%   { transform: rotateX(0deg) translateY(0);   opacity: 1; filter: blur(0px); }
  100% { transform: rotateX(90deg) translateY(-10px); opacity: 0; filter: blur(4px); }
}
@keyframes charEnter {
  0%   { transform: rotateX(-90deg) translateY(10px); opacity: 0; filter: blur(4px); }
  100% { transform: rotateX(0deg) translateY(0);    opacity: 1; filter: blur(0px); }
}
@keyframes streamFlow {
  0%   { width: 0%;  }
  70%  { width: 100%; }
  100% { width: 100%; }
}
@keyframes stepPulse {
  0%   { transform: translate(-50%,-50%) scale(1); opacity: 0.5; }
  100% { transform: translate(-50%,-50%) scale(2); opacity: 0; }
}
@keyframes nodeGlow {
  0%   { opacity: 0.4; }
  100% { opacity: 0.9; }
}
@keyframes searchPulse {
  0%, 100% { opacity: 0.5; }
  50%       { opacity: 1; }
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .about-container { grid-template-columns: 1fr; }
  .contact-container { grid-template-columns: 1fr; }
  .process-stream { grid-template-columns: 1fr 1fr; }
  .stream-line { display: none; }
  .bento-grid { grid-template-columns: 1fr; }
  .pipeline-card, .analytics-card, .activity-card, .knowledge-card { grid-column: span 1; }
  .footer-container { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px 5vw; }
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .mobile-nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr 1fr; }
  .process-stream { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .pipeline-visual { flex-direction: column; gap: 20px; }
  .pipeline-connector-svg { width: 50px; height: 30px; transform: rotate(90deg); }
  .keyboard-wrapper-3d { overflow-x: auto; }
  .keyboard-deck { transform: rotateX(20deg) rotateY(0deg); width: max-content; }
}

@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.8rem; }
  .footer-links-grid { grid-template-columns: 1fr; }
  .flip-text-wrap { min-width: auto; }
}
