/* ==========================================================================
   ORBIT AI AGENT DESIGN SYSTEM
   Inspired by: Orbit - AI Agent Platform (Sidequest Studio)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-dark: #030712;
  --bg-deep: #070c1a;
  --bg-card: rgba(13, 19, 36, 0.65);
  --bg-card-hover: rgba(20, 29, 56, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.7);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.35);
  --border-cyan-glow: rgba(6, 182, 212, 0.4);

  --text-pure: #ffffff;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Accent & Gradients */
  --indigo-core: #6366f1;
  --indigo-light: #818cf8;
  --cyan-core: #06b6d4;
  --cyan-light: #38bdf8;
  --violet-core: #8b5cf6;
  --emerald-core: #10b981;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions & Curves */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s var(--ease-smooth);
  --transition-fast: 0.2s ease;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-orbit: 0 0 60px -10px rgba(99, 102, 241, 0.3);
  --shadow-card: 0 16px 40px -15px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body.orbit-theme {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 7rem 0;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   AMBIENT BACKGROUND GLOW & STARFIELD
   ========================================================================== */
.ambient-glow-wrapper {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
}

.glow-top {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(6, 182, 212, 0.15) 50%, transparent 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  animation: pulseGlow 10s ease-in-out infinite alternate;
}

.glow-center {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  top: 45%;
  right: -100px;
}

.glow-bottom {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

@keyframes pulseGlow {
  0% { transform: translateX(-50%) scale(0.95); opacity: 0.35; }
  100% { transform: translateX(-50%) scale(1.1); opacity: 0.55; }
}

.orbit-grid-matrix {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at 50% 30%, black 30%, transparent 80%);
}

/* ==========================================================================
   FLOATING GLASS PILL NAVBAR
   ========================================================================== */
.header-nav-wrap {
  position: fixed;
  top: 1.5rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  background: rgba(13, 19, 36, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(99, 102, 241, 0.2);
  transition: all var(--transition-normal);
  max-width: 820px;
  width: 100%;
}

.nav-pill.scrolled {
  background: rgba(8, 12, 24, 0.9);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 45px -5px rgba(0, 0, 0, 0.7), 0 0 30px -5px rgba(99, 102, 241, 0.35);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-orbit-icon {
  width: 26px;
  height: 26px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.core-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan-core);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-core);
}

.mini-ring {
  position: absolute;
  inset: 0;
  border: 1.5px dashed rgba(99, 102, 241, 0.6);
  border-radius: 50%;
  animation: rotateRing 8s linear infinite;
}

@keyframes rotateRing {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.accent-text {
  color: var(--cyan-core);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-item {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition-fast);
}

.nav-item:hover, .nav-item.active {
  color: #ffffff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.25) 0%, rgba(6, 182, 212, 0.25) 100%);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, var(--indigo-core) 0%, var(--cyan-core) 100%);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION: ORBIT AI AGENT ANIMATION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3.5rem;
}

.hero-intro {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.orbit-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--cyan-light);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px -5px rgba(99, 102, 241, 0.3);
}

.pulse-indicator {
  width: 7px;
  height: 7px;
  background: var(--emerald-core);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--emerald-core);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.gradient-shimmer {
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 40%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.typewriter-line {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--cyan-core);
  font-weight: 700;
  border-right: 2.5px solid var(--cyan-core);
  padding-right: 5px;
  display: inline-block;
  min-height: 1.4em;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { border-color: transparent; }
  50% { border-color: var(--cyan-core); }
}

.hero-quote {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-quote .highlight {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(99, 102, 241, 0.5);
  text-underline-offset: 4px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Orbit Buttons */
.btn-orbit-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
  background: linear-gradient(135deg, var(--indigo-core) 0%, #4338ca 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.btn-orbit-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(99, 102, 241, 0.7);
  filter: brightness(1.1);
}

.btn-orbit-primary .btn-content {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 2;
}

.btn-orbit-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.btn-orbit-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ==========================================================================
   THE ORBIT STAGE (3D Concentric Ring Animation)
   ========================================================================== */
.orbit-stage {
  position: relative;
  width: 100%;
  max-width: 820px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.orbit-scene {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Central Core */
.orbit-core {
  position: absolute;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.core-halo {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.5) 0%, rgba(6, 182, 212, 0.2) 50%, transparent 70%);
  filter: blur(14px);
  animation: pulseCoreHalo 4s ease-in-out infinite alternate;
}

@keyframes pulseCoreHalo {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 1; }
}

.core-glass {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.core-initials {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
}

.core-light-reflection {
  position: absolute;
  top: 6px;
  left: 14px;
  width: 40px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  transform: rotate(-30deg);
}

.core-status-pill {
  position: absolute;
  bottom: -15px;
  background: rgba(13, 19, 36, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  color: #34d399;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.dot-online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
}

/* Concentric Orbital Tracks */
.orbit-track {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.track-1 {
  width: 250px;
  height: 250px;
  border: 1.5px dashed rgba(99, 102, 241, 0.35);
  animation: orbitRotate 22s linear infinite;
  z-index: 5;
}

.track-2 {
  width: 370px;
  height: 370px;
  border: 1.5px solid rgba(6, 182, 212, 0.25);
  animation: orbitCounterRotate 32s linear infinite;
  z-index: 4;
}

.track-3 {
  width: 490px;
  height: 490px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  animation: orbitRotate 45s linear infinite;
  z-index: 3;
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbitCounterRotate {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Orbit Nodes (AI Agents) */
.orbit-node {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  background: rgba(13, 19, 36, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px -3px rgba(99, 102, 241, 0.3);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.orbit-node:hover {
  transform: scale(1.15) !important;
  border-color: var(--cyan-core);
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.5);
  z-index: 20;
}

.node-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.node-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-main);
}

.node-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan-light);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-pill);
}

/* Node Positions & Counter-Rotations */
/* Track 1 nodes */
.node-python {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: counterRotate1 22s linear infinite;
}
.node-python .node-icon { background: rgba(56, 189, 248, 0.2); color: #38bdf8; }

.node-sql {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  animation: counterRotate1 22s linear infinite;
}
.node-sql .node-icon { background: rgba(99, 102, 241, 0.2); color: #818cf8; }

@keyframes counterRotate1 {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* Track 2 nodes */
.node-linux {
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  animation: counterRotate2 32s linear infinite;
}
.node-linux .node-icon { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }

.node-ai {
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
  animation: counterRotate2 32s linear infinite;
  border-color: rgba(6, 182, 212, 0.4);
}
.node-ai .node-icon { background: rgba(6, 182, 212, 0.25); color: #22d3ee; }

@keyframes counterRotate2 {
  from { transform: translate(-50%, -50%) rotate(-360deg); }
  to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* Track 3 nodes */
.node-git {
  top: 15%;
  right: 15%;
  transform: translate(0, 0);
  animation: counterRotate3 45s linear infinite;
}
.node-git .node-icon { background: rgba(244, 63, 94, 0.2); color: #f43f5e; }

.node-web {
  bottom: 15%;
  left: 15%;
  transform: translate(0, 0);
  animation: counterRotate3 45s linear infinite;
}
.node-web .node-icon { background: rgba(168, 85, 247, 0.2); color: #c084fc; }

@keyframes counterRotate3 {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

/* Live Agent Status Console Bar */
.orbit-console-bar {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(13, 19, 36, 0.75);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 90%;
  flex-wrap: wrap;
  justify-content: center;
}

.console-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.console-label {
  color: var(--text-dim);
  font-weight: 500;
}

.console-value {
  color: var(--text-main);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.console-value.accent-glow {
  color: var(--cyan-light);
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
}

.console-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   SECTION COMMON HEADERS
   ========================================================================== */
.section-badge-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.sub-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--indigo-light);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section-subtext {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   BENTO GRID (ABOUT SECTION)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-normal);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(99, 102, 241, 0.25);
}

.card-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-light);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.bento-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.card-meta {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Bento Card 1: Story */
.bento-story {
  grid-column: span 7;
}

.bento-story h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.bento-story p {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.quote-box {
  margin-top: 1.5rem;
  background: rgba(99, 102, 241, 0.08);
  border-left: 3px solid var(--indigo-core);
  padding: 0.85rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--indigo-light);
}

/* Bento Card 2: Terminal */
.bento-terminal {
  grid-column: span 5;
  background: rgba(8, 11, 20, 0.85);
  display: flex;
  flex-direction: column;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.td {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.td.red { background: #ef4444; }
.td.yellow { background: #f59e0b; }
.td.green { background: #10b981; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.terminal-body {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.t-line { color: var(--text-muted); }
.t-prompt { color: var(--emerald-core); }
.t-cmd { color: #ffffff; font-weight: 500; }
.t-out { color: var(--text-dim); padding-left: 1rem; }
.t-out.highlight-cyan { color: var(--cyan-light); }
.t-out.text-success { color: var(--emerald-core); }
.t-cursor { color: var(--cyan-core); animation: blinkCursor 1s infinite; }

/* Bento Card 3: Pillars */
.bento-pillars {
  grid-column: span 7;
}

.bento-pillars h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}

.pills-collection {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}

.tech-pill i {
  color: var(--indigo-light);
  font-size: 1.05rem;
}

.tech-pill:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
}

.tech-pill-featured {
  background: rgba(6, 182, 212, 0.1);
  border-color: rgba(6, 182, 212, 0.35);
  color: var(--cyan-light);
}

.tech-pill-featured i {
  color: var(--cyan-core);
}

/* Bento Card 4: Metrics */
.bento-metrics {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.metric-item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.metric-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.metric-sign {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan-core);
}

.metric-item p {
  width: 100%;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-top: 0.25rem;
}

.metric-divider {
  height: 1px;
  background: var(--border-subtle);
}

/* ==========================================================================
   ECOSYSTEM / SERVICES GRID
   ========================================================================== */
.agent-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}

.agent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.8rem;
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.agent-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px -5px rgba(99, 102, 241, 0.3);
}

.agent-card.featured-orbit-card {
  border-color: rgba(99, 102, 241, 0.4);
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, var(--bg-card) 100%);
}

.featured-glow-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--indigo-light), transparent);
}

.agent-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.agent-avatar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}

.bg-py { background: rgba(56, 189, 248, 0.12); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.25); }
.bg-sql { background: rgba(99, 102, 241, 0.12); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.25); }
.bg-linux { background: rgba(251, 191, 36, 0.12); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.25); }
.bg-ai { background: rgba(6, 182, 212, 0.15); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.35); }

.agent-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
}

.agent-status-badge.badge-active {
  color: var(--indigo-light);
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.agent-status-badge.badge-future {
  color: var(--cyan-light);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.agent-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.agent-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.agent-skills-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.agent-skills-list span {
  font-size: 0.83rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.agent-skills-list span i {
  color: var(--indigo-light);
  font-size: 0.85rem;
}

/* ==========================================================================
   PROJECTS SECTION
   ========================================================================== */
.orbit-projects-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.75rem;
}

.orbit-project-card {
  grid-column: span 6;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.orbit-project-card.featured-project {
  grid-column: span 12;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
}

.orbit-project-card:hover {
  border-color: var(--border-cyan-glow);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 30px -5px rgba(6, 182, 212, 0.25);
}

.project-banner {
  position: relative;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  padding: 1.25rem;
}

.orbit-project-card.featured-project .project-banner {
  min-height: 320px;
}

.project-banner-1 {
  background: linear-gradient(135deg, #090e1f 0%, #1e1b4b 50%, #064e3b 100%);
}

.project-banner-2 {
  background: linear-gradient(135deg, #180d2b 0%, #311042 50%, #0c2340 100%);
}

.project-banner-3 {
  background: linear-gradient(135deg, #042436 0%, #0c4a6e 50%, #1e1b4b 100%);
}

.orbit-project-tag {
  background: rgba(13, 19, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-light);
  backdrop-filter: blur(8px);
}

.project-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.5);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
}

.orbit-project-card:hover .project-banner-overlay {
  opacity: 1;
}

.project-external-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #030712;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform var(--transition-fast);
}

.orbit-project-card:hover .project-external-btn {
  transform: scale(1);
}

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.pt-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--indigo-light);
  background: rgba(99, 102, 241, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
}

.project-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.project-content p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.25rem;
}

.project-status-text {
  font-size: 0.8rem;
  color: var(--emerald-core);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.inline-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.inline-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* ==========================================================================
   CONTACT SECTION: TRANSMISSION PANEL
   ========================================================================== */
.contact-orbit-panel {
  background: linear-gradient(135deg, rgba(20, 29, 56, 0.6) 0%, rgba(10, 14, 28, 0.85) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.panel-glow {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.panel-inner {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.panel-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0.85rem auto 0;
}

/* Direct Email Card */
.contact-direct-card {
  background: rgba(13, 19, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
}

.email-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.email-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.email-address {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
}

.email-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  padding: 0.65rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-send-mail {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, var(--indigo-core) 0%, var(--cyan-core) 100%);
  color: #ffffff;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  transition: all var(--transition-fast);
}

.btn-send-mail:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

/* Channels Grid */
.channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.channel-card {
  background: rgba(13, 19, 36, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  transition: all var(--transition-fast);
}

.channel-card:hover {
  background: rgba(20, 29, 56, 0.8);
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.github-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.pulse-icon {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-core);
}

.channel-details {
  display: flex;
  flex-direction: column;
}

.channel-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
}

.channel-handle {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.channel-arrow {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 1.1rem;
  transition: transform var(--transition-fast);
}

.channel-card:hover .channel-arrow {
  color: var(--cyan-light);
  transform: translate(2px, -2px);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.orbit-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 0;
  background: rgba(3, 7, 18, 0.9);
  position: relative;
  z-index: 2;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.brand-orbit-icon.small {
  width: 20px;
  height: 20px;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.back-to-orbit {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.back-to-orbit:hover {
  background: var(--indigo-core);
  border-color: var(--indigo-core);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

/* ==========================================================================
   SCROLL REVEAL UTILITY
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .orbit-stage {
    transform: scale(0.85);
    height: 450px;
  }

  .bento-story, .bento-terminal, .bento-pillars, .bento-metrics {
    grid-column: span 12;
  }

  .orbit-project-card.featured-project {
    grid-column: span 12;
    grid-template-columns: 1fr;
  }

  .orbit-project-card {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .header-nav-wrap {
    top: 1rem;
  }

  .nav-pill {
    padding: 0.5rem 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(8, 12, 24, 0.98);
    backdrop-filter: blur(25px);
    border-left: 1px solid var(--border-subtle);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right var(--transition-normal);
    z-index: 1000;
  }

  .nav-menu.open {
    right: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hamburger.open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .hamburger.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .orbit-stage {
    transform: scale(0.68);
    height: 380px;
  }

  .orbit-console-bar {
    display: none;
  }

  .contact-orbit-panel {
    padding: 2.5rem 1.5rem;
  }

  .contact-direct-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .email-actions {
    width: 100%;
    flex-direction: column;
  }

  .btn-copy, .btn-send-mail {
    width: 100%;
    justify-content: center;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .orbit-stage {
    transform: scale(0.55);
    height: 320px;
  }
}
