/* ═══════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════ */
:root {
  --bg-base:       #07070d;
  --bg-surface:    #0f0f1a;
  --bg-elevated:   #161625;
  --bg-card:       #0d0d1a;
  --border:        #1e1e35;
  --border-bright: #2e2e55;
  --accent-green:  #00e87a;
  --accent-blue:   #4a9eff;
  --accent-purple: #a855f7;
  --accent-amber:  #f59e0b;
  --accent-cyan:   #22d3ee;
  --text-primary:  #e2e2f0;
  --text-secondary:#9494b0;
  --text-muted:    #55556a;
  --text-code:     #00e87a;
  --glow-green:    rgba(0, 232, 122, 0.15);
  --glow-purple:   rgba(168, 85, 247, 0.2);
  --glow-blue:     rgba(74, 158, 255, 0.15);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-sans: 'Space Grotesk', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Grid lines background */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 30, 53, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 30, 53, 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

::selection { background: rgba(0, 232, 122, 0.2); color: var(--accent-green); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

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

/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 7, 13, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-green);
  letter-spacing: 0.05em;
}

.nav-logo span { color: var(--text-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.05em;
}

.nav-links a:hover { color: var(--text-primary); background: var(--bg-elevated); }

.nav-cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 1rem;
  border: 1px solid var(--accent-green);
  border-radius: 4px;
  color: var(--accent-green) !important;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.05em;
}

.nav-cta:hover {
  background: var(--glow-green);
  box-shadow: 0 0 12px rgba(0, 232, 122, 0.2);
}

/* ═══════════════════════════════════════════════
   LAYOUT UTILITIES
═══════════════════════════════════════════════ */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

section { padding: 7.5rem 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--text-muted);
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 3.5rem;
}

/* ═══════════════════════════════════════════════
   BADGES & TAGS
═══════════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.badge-green  { background: rgba(0,232,122,0.1);  color: var(--accent-green);  border: 1px solid rgba(0,232,122,0.25);  }
.badge-blue   { background: rgba(74,158,255,0.1); color: var(--accent-blue);   border: 1px solid rgba(74,158,255,0.25); }
.badge-purple { background: rgba(168,85,247,0.1); color: var(--accent-purple); border: 1px solid rgba(168,85,247,0.25); }
.badge-amber  { background: rgba(245,158,11,0.1); color: var(--accent-amber);  border: 1px solid rgba(245,158,11,0.25); }
.badge-cyan   { background: rgba(34,211,238,0.1); color: var(--accent-cyan);   border: 1px solid rgba(34,211,238,0.25); }
.badge-muted  { background: rgba(255,255,255,0.05); color: var(--text-secondary); border: 1px solid var(--border); }

.tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: var(--bg-elevated);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.tag:hover { color: var(--text-primary); border-color: var(--border-bright); }

/* ═══════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.625rem 1.25rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.04em;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent-green);
  color: #07070d;
}

.btn-primary:hover {
  background: #00ff88;
  box-shadow: 0 0 20px rgba(0, 232, 122, 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-bright);
}

.btn-outline:hover {
  border-color: var(--text-secondary);
  background: var(--bg-elevated);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  color: var(--text-primary);
  border-color: var(--border-bright);
  background: var(--bg-elevated);
}

/* ═══════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  position: relative;
  overflow: hidden;
}

/* Radial glow behind hero */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(0, 232, 122, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 500px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(74, 158, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content { position: relative; z-index: 1; }

.terminal-prompt {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-prompt .prompt-symbol { color: var(--accent-green); }

.typewriter {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--accent-green);
  animation: typing 2s steps(20, end) forwards, blink 0.8s step-end infinite;
  width: 0;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  0%, 100% { border-color: var(--accent-green); }
  50% { border-color: transparent; }
}

.hero-name {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.hero-name .cursor {
  display: inline-block;
  width: 3px;
  height: 0.9em;
  background: var(--accent-green);
  margin-left: 4px;
  vertical-align: middle;
  animation: cursor-blink 1.2s step-end infinite;
}

@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-role {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  margin-top: 0.75rem;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 0.5rem;
}

.hero-tagline:last-of-type {
  margin-bottom: 2.25rem;
}

.hero-tagline strong { color: var(--text-primary); font-weight: 500; }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero right panel — terminal card */
.hero-terminal {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red    { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green  { background: #28c840; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.9;
}

.t-comment { color: var(--text-muted); }
.t-key     { color: var(--accent-blue); }
.t-string  { color: var(--accent-amber); }
.t-value   { color: var(--accent-green); }
.t-bracket { color: var(--text-secondary); }
.t-number  { color: #f97316; }
.t-indent  { padding-left: 1.25rem; }
.t-line    { display: block; }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  animation: float 2s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

.scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 1px solid var(--text-muted);
  border-bottom: 1px solid var(--text-muted);
  transform: rotate(45deg);
}

/* ═══════════════════════════════════════════════
   SKILLS SECTION — BENTO GRID
═══════════════════════════════════════════════ */
#skills { background: linear-gradient(180deg, var(--bg-base) 0%, var(--bg-surface) 100%); }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.bento-cell {
  background: var(--bg-card);
  padding: 1.75rem;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}

.bento-cell:hover { background: var(--bg-surface); }

/* Glow on hover per category */
.bento-cell.agentic::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0,232,122,0.08), transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.bento-cell.agentic:hover::after { opacity: 1; }

.bento-cell.vision::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(74,158,255,0.08), transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s;
  opacity: 0;
}
.bento-cell.vision:hover::after { opacity: 1; }

/* Grid placements */
.bento-agentic  { grid-column: span 12; grid-row: span 1; }
.bento-vision   { grid-column: span 6; grid-row: span 1; }
.bento-backend  { grid-column: span 6; grid-row: span 1; }

.cell-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.875rem;
}

.icon-green  { background: rgba(0,232,122,0.12); }
.icon-blue   { background: rgba(74,158,255,0.12); }
.icon-purple { background: rgba(168,85,247,0.12); }
.icon-amber  { background: rgba(245,158,11,0.12); }
.icon-cyan   { background: rgba(34,211,238,0.12); }

.cell-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.cell-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-featured {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  white-space: nowrap;
}

.tag-green  { background: rgba(0,232,122,0.1);  color: var(--accent-green);  border: 1px solid rgba(0,232,122,0.2);  }
.tag-blue   { background: rgba(74,158,255,0.1); color: var(--accent-blue);   border: 1px solid rgba(74,158,255,0.2); }
.tag-purple { background: rgba(168,85,247,0.1); color: var(--accent-purple); border: 1px solid rgba(168,85,247,0.2); }
.tag-cyan   { background: rgba(34,211,238,0.1); color: var(--accent-cyan);   border: 1px solid rgba(34,211,238,0.2); }
.tag-amber  { background: rgba(245,158,11,0.1); color: var(--accent-amber);  border: 1px solid rgba(245,158,11,0.2); }
.tag-plain  { background: var(--bg-elevated); color: var(--text-secondary); border: 1px solid var(--border); }

/* ═══════════════════════════════════════════════
   JOURNEY TIMELINE
═══════════════════════════════════════════════ */
#journey {
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 50%, var(--bg-surface) 100%);
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

/* Vertical line */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--border-bright) 5%,
    var(--border-bright) 95%,
    transparent 100%
  );
}

.timeline-item {
  position: relative;
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

/* Marker column */
.timeline-marker {
  position: absolute;
  left: -2rem;
  top: 0.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 15px;
  z-index: 2;
}

/* Dots */
.timeline-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--border-bright);
  transition: border-color 0.3s, box-shadow 0.3s;
  flex-shrink: 0;
}

.timeline-dot.dot-blue   { border-color: var(--accent-blue); }
.timeline-dot.dot-green  { border-color: var(--accent-green); }
.timeline-dot.dot-purple { border-color: var(--accent-purple); }
.timeline-dot.dot-cyan   { border-color: var(--accent-cyan); }
.timeline-dot.dot-amber  { border-color: var(--accent-amber); }

/* Highlight pulse for key milestones */
.timeline-dot.highlight.dot-purple {
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.4);
  animation: dot-pulse-purple 3s ease-in-out infinite;
}

.timeline-dot.highlight.dot-cyan {
  box-shadow: 0 0 6px rgba(34, 211, 238, 0.4);
  animation: dot-pulse-cyan 3s ease-in-out infinite;
}

.timeline-dot.highlight.dot-green {
  box-shadow: 0 0 6px rgba(0, 232, 122, 0.4);
  animation: dot-pulse-green 3s ease-in-out infinite;
}

@keyframes dot-pulse-purple {
  0%, 100% { box-shadow: 0 0 4px rgba(168, 85, 247, 0.3); }
  50%      { box-shadow: 0 0 12px rgba(168, 85, 247, 0.6); }
}

@keyframes dot-pulse-cyan {
  0%, 100% { box-shadow: 0 0 4px rgba(34, 211, 238, 0.3); }
  50%      { box-shadow: 0 0 12px rgba(34, 211, 238, 0.6); }
}

@keyframes dot-pulse-green {
  0%, 100% { box-shadow: 0 0 4px rgba(0, 232, 122, 0.3); }
  50%      { box-shadow: 0 0 12px rgba(0, 232, 122, 0.6); }
}

/* Cards */
.timeline-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  transition: background 0.2s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.timeline-card:hover {
  background: var(--bg-surface);
  border-color: var(--border-bright);
}

/* Highlighted cards — brighter border */
.timeline-card-highlight {
  border-color: var(--border-bright);
}

/* Current role card — green accent line */
.timeline-card-current {
  border-color: rgba(0, 232, 122, 0.25);
}

.timeline-card-current::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-green), transparent);
}

/* Meta row */
.timeline-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  flex-wrap: wrap;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

/* Title */
.timeline-title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

/* Organization */
.timeline-org {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

/* Description */
.timeline-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Publication link */
.timeline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-purple);
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 4px;
  background: rgba(168, 85, 247, 0.06);
  margin-bottom: 1rem;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.04em;
}

.timeline-link:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.15);
}

/* Tag cloud inside timeline cards */
.timeline-card .tag-cloud {
  margin-top: 0.25rem;
}

/* Nested publication sub-cards */
.timeline-nested {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.timeline-nested-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent-purple);
  border-radius: 6px;
  padding: 1.125rem 1.25rem;
  position: relative;
  transition: background 0.2s, border-color 0.3s;
}

.timeline-nested-card:hover {
  background: rgba(168, 85, 247, 0.04);
  border-color: var(--border-bright);
  border-left-color: var(--accent-purple);
}

.timeline-nested-card .timeline-meta {
  margin-bottom: 0.625rem;
}

.timeline-nested-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
  margin-bottom: 0.2rem;
}

.timeline-nested-org {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.625rem;
}

.timeline-nested-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 0.875rem;
}

.timeline-nested-card .timeline-link {
  margin-bottom: 0.75rem;
}

.timeline-nested-card .tag-cloud {
  margin-top: 0.125rem;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 0.5rem;
}

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.footer-links a:hover { color: var(--text-primary); border-color: var(--border-bright); }

/* ═══════════════════════════════════════════════
   DIVIDER
═══════════════════════════════════════════════ */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0;
}

/* ═══════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-terminal { display: none; }
  .bento-agentic  { grid-column: span 12; }
  .bento-vision   { grid-column: span 12; }
  .bento-backend  { grid-column: span 12; }
}

@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }
  .nav-links { display: none; }
  .container { padding: 0 1rem; }
  section { padding: 4rem 0; }
  .bento-agentic  { grid-column: span 12; }
  .bento-vision   { grid-column: span 12; }
  .bento-backend  { grid-column: span 12; }
  .hero-name { font-size: 2.5rem; }

  /* Timeline mobile */
  .timeline { padding-left: 1.5rem; }
  .timeline-card { padding: 1.125rem; }
  .timeline-title { font-size: 0.85rem; }
  .timeline-desc { font-size: 0.82rem; }
  .timeline-item { padding-bottom: 2rem; }
}

/* ═══════════════════════════════════════════════
   HIGHLIGHT ANIMATION for active section
═══════════════════════════════════════════════ */
.nav-links a.active { color: var(--accent-green); }

/* Status dot */
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 232, 122, 0.4); }
  50% { box-shadow: 0 0 0 5px rgba(0, 232, 122, 0); }
}

/* Code block */
.code-inline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-code);
  background: rgba(0, 232, 122, 0.08);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
}
