@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── DESIGN SYSTEM TOKENS ── */
:root {
  --bg-deep: #050705;
  --bg-surface: #0a0e0a;
  --bg-card: rgba(16, 22, 16, 0.55);
  --bg-card-hover: rgba(24, 34, 24, 0.7);
  --border: rgba(16, 185, 129, 0.08);
  --border-hover: rgba(16, 185, 129, 0.22);
  
  /* Cyber Accents */
  --cyan: #00ff9d;
  --cyan-glow: rgba(0, 255, 157, 0.15);
  --cyan-glow-intense: rgba(0, 255, 157, 0.4);
  
  --purple: #a1a1aa;
  --purple-glow: rgba(161, 161, 170, 0.15);
  
  --emerald: #059669;
  --emerald-glow: rgba(5, 150, 105, 0.15);
  
  --amber: #10b981;
  --amber-glow: rgba(16, 185, 129, 0.15);
  
  /* Text colors */
  --text-primary: #f0f7f4;
  --text-secondary: #94a89e;
  --text-muted: #4a5750;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--cyan), var(--purple));
  --grad-cyber: linear-gradient(90deg, var(--cyan), var(--emerald), var(--purple));
  --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(255, 255, 255, 0.0) 100%);
  
  /* Transitions & Animation details */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 150ms;
  --dur-normal: 300ms;
  --dur-slow: 600ms;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--border-hover);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* ── BACKGROUND CANVAS & DYNAMIC GLOWS ── */
#cvs {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.8;
}

.bg-radial-glows {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.radial-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  mix-blend-mode: screen;
}
.glow-1 {
  width: 50vw;
  height: 50vw;
  background: var(--cyan);
  top: -10%;
  left: -10%;
  animation: float-glow 25s infinite ease-in-out;
}
.glow-2 {
  width: 45vw;
  height: 45vw;
  background: var(--purple);
  bottom: 10%;
  right: -10%;
  animation: float-glow 30s infinite ease-in-out reverse;
}
.glow-3 {
  width: 35vw;
  height: 35vw;
  background: var(--emerald);
  top: 40%;
  left: 30%;
  animation: float-glow 20s infinite ease-in-out 3s;
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(4%, -6%) scale(1.1); }
}

.cursor-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 255, 157, 0.06) 0%, rgba(161, 161, 170, 0.02) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%);
  will-change: left, top;
  transition: opacity 0.5s ease;
}

/* ── GLASS NAVIGATION ── */
#nav-container {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: min(1120px, calc(100% - 2rem));
}

#nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  background: rgba(10, 10, 18, 0.65);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transition: all var(--dur-normal) var(--ease-smooth);
}

#nav.scrolled {
  background: rgba(5, 5, 10, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
  padding: 0.6rem 1.25rem;
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 12px;
  height: 2px;
  background: var(--cyan);
  border-radius: 2px;
  transition: transform var(--dur-normal) var(--ease-smooth);
}

.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.btn-nav-cta {
  background: var(--text-primary);
  color: var(--bg-deep);
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  border-radius: 100px;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-nav-cta:hover {
  background: var(--cyan);
  color: var(--bg-deep);
  box-shadow: 0 0 20px var(--cyan-glow-intense);
  transform: translateY(-1px);
}

/* Burger menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  z-index: 1010;
  transition: background var(--dur-fast);
}
.burger:hover {
  background: rgba(255, 255, 255, 0.05);
}
.burger span {
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all var(--dur-normal) var(--ease-smooth);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--text-primary); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--text-primary); }

/* Mobile Menu Panel */
.mob-nav {
  position: fixed;
  inset: 0;
  background: rgba(3, 3, 7, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease-smooth);
}

.mob-nav.open {
  opacity: 1;
  pointer-events: auto;
}

.mob-nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
}

.mob-nav a:hover, .mob-nav a.active {
  color: var(--cyan);
  text-shadow: 0 0 15px var(--cyan-glow);
}

/* Floating Hire CTA button */
.float-hire {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
  background: rgba(14, 14, 26, 0.7);
  border: 1px solid var(--border-hover);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  transition: all var(--dur-normal) var(--ease-smooth);
  cursor: pointer;
}

.float-hire:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--cyan);
  box-shadow: 0 10px 30px var(--cyan-glow);
  color: var(--cyan);
}

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

/* ── LAYOUT WRAPPER ── */
.wrap {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  position: relative;
  padding: 6.5rem 0;
}

/* Standard Section Header */
.sh {
  margin-bottom: 4rem;
  text-align: left;
}

.s-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.5rem;
}

.s-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
}

.s-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-top: 0.75rem;
}

/* Glass Card Definition */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--dur-normal) var(--ease-smooth),
              background-color var(--dur-normal) var(--ease-smooth),
              transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

/* Interactive Border Glow Card */
.card.glow-card:hover {
  background: linear-gradient(var(--bg-card-hover), var(--bg-card-hover)) padding-box,
              linear-gradient(135deg, var(--cyan), var(--purple)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 15px 45px rgba(0, 240, 255, 0.08);
  transform: translateY(-3px);
}

/* ── HERO SECTION ── */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
}

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

.h-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  color: var(--emerald);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.05);
}

.h-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-emerald 2s infinite;
}

.h-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.h-name span.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.h-typed {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(0.9rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  min-height: 1.8em;
  display: flex;
  align-items: center;
}

.h-cur {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--cyan);
  margin-left: 2px;
  animation: blink 1s step-end infinite;
}

.h-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 540px;
}

.h-gh-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.gh-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  transition: all var(--dur-fast);
}

.gh-chip i {
  color: var(--cyan);
}

.gh-chip:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.h-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  background: var(--text-primary);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.1);
  transition: all var(--dur-normal) var(--ease-smooth);
}

.btn-primary:hover {
  background: var(--cyan);
  color: var(--bg-deep);
  box-shadow: 0 8px 30px var(--cyan-glow-intense);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  border: 1px solid var(--border-hover);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--dur-normal) var(--ease-smooth);
}

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

/* Hero Terminal Console Widget */
.hero-console {
  width: 100%;
  max-width: 480px;
  justify-self: end;
}

.terminal-shell {
  background: rgba(3, 3, 8, 0.85);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  line-height: 1.8;
  height: 380px;
  display: flex;
  flex-direction: column;
}

.t-bar {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.t-dots {
  display: flex;
  gap: 0.4rem;
  margin-right: 1.5rem;
}

.t-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.td-r { background: #ff5f56; }
.td-y { background: #ffbd2e; }
.td-g { background: #27c93f; }

.t-title {
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.t-body {
  padding: 1.25rem;
  flex-grow: 1;
  overflow-y: auto;
  color: var(--text-primary);
}

.t-body::-webkit-scrollbar {
  width: 4px;
}

.t-line {
  margin-bottom: 0.4rem;
  word-break: break-all;
}

.t-prompt {
  color: var(--emerald);
  font-weight: bold;
  margin-right: 0.5rem;
}

.t-cmd {
  color: var(--cyan);
}

.t-output {
  color: var(--text-secondary);
}

.t-output.success {
  color: var(--emerald);
}

.t-output.info {
  color: var(--purple);
}

.t-interactive-line {
  display: flex;
  align-items: center;
}

.t-input-shell {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  flex-grow: 1;
  caret-color: var(--cyan);
}

/* Scroll indicator hint */
.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.s-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--text-muted);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.s-wheel {
  width: 2px;
  height: 6px;
  background: var(--cyan);
  border-radius: 2px;
  animation: scroll-wheel 1.6s ease infinite;
}

@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(8px); opacity: 0; }
}

/* ── MARQUEE TECH STACK ── */
.marquee-wrap {
  overflow: hidden;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 18, 0.3);
  position: relative;
  width: 100%;
}

.marquee-wrap::before, .marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-deep), transparent);
}

.marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-deep), transparent);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: scroll-marquee 40s linear infinite;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.marquee-item i {
  font-size: 1.25rem;
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 1.5rem)); }
}

/* ── STATS SECTION ── */
#stats {
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-n {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-l {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── ABOUT & DYNAMIC K8S DIAGRAM ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 4rem;
  align-items: start;
}

.ab-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.ab-stats-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.ab-stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.ab-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 0.95rem;
}

/* Interactive Kubernetes Diagram Styling */
.k8s-visualizer-card {
  padding: 1.5rem;
  width: 100%;
}

.k8s-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

.k8s-title-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}
.k8s-title-box i {
  color: var(--cyan);
}

.k8s-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--emerald);
  padding: 0.2rem 0.6rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
}

/* SVG interactive paths and shapes */
.k8s-diagram-svg {
  width: 100%;
  height: auto;
  display: block;
}

.k8s-node-rect {
  fill: #090e09;
  stroke: var(--border);
  stroke-width: 1.5;
  transition: all var(--dur-normal);
}

.k8s-node-rect.clickable {
  cursor: pointer;
}

.k8s-node-rect.clickable:hover, .k8s-node-rect.active {
  fill: #131c13;
  stroke: var(--cyan);
  filter: drop-shadow(0 0 8px var(--cyan-glow));
}

.k8s-text-node {
  fill: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  pointer-events: none;
  font-weight: 500;
}
.k8s-text-node.header {
  fill: var(--text-primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: bold;
}

.k8s-node-rect.clickable:hover + .k8s-text-node,
.k8s-node-rect.active + .k8s-text-node {
  fill: var(--cyan);
}

.k8s-link-path {
  fill: none;
  stroke: var(--border);
  stroke-dasharray: 4 4;
  stroke-width: 1;
  animation: dash 10s linear infinite;
}

.k8s-link-path.active {
  stroke: var(--cyan);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px var(--cyan-glow));
}

@keyframes dash {
  to {
    stroke-dashoffset: -100;
  }
}

.k8s-pulse-dot {
  fill: var(--cyan);
  filter: drop-shadow(0 0 3px var(--cyan));
}

/* Detail overlay within the visualization card */
.k8s-details-panel {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(3, 3, 7, 0.6);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.k8s-detail-header {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.k8s-detail-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── EXPERIENCE TIMELINE ── */
.timeline-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 2.5rem;
}

.timeline-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--purple) 50%, var(--border) 100%);
}

.tl-item {
  position: relative;
  margin-bottom: 3.5rem;
}

.tl-item:last-child {
  margin-bottom: 0;
}

.tl-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 3.5px solid var(--text-muted);
  box-shadow: 0 0 0 4px var(--bg-deep);
  z-index: 10;
  transition: all var(--dur-normal) var(--ease-spring);
}

.tl-item.active .tl-dot, .tl-item:hover .tl-dot {
  border-color: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
  transform: translateX(-50%) scale(1.25);
}

.tl-card {
  padding: 2rem;
}

.tl-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.tl-company {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.tl-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--cyan);
  padding: 0.3rem 0.8rem;
  background: rgba(0, 240, 255, 0.06);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 100px;
}

.tl-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.tl-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.tl-bullet-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tl-bullet-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-weight: bold;
}

.tl-bullet-list li strong {
  color: var(--text-primary);
}

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

.tag-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--text-secondary);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: all var(--dur-fast);
}

.tag-chip:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

/* ── BENTO SKILLS GRID ── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.bento-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.bento-card.wide {
  grid-column: span 2;
}

.bento-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.bento-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.bento-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-family: 'JetBrains Mono', monospace;
}

.bento-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.bento-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: all var(--dur-fast);
}

.bento-pill:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.bento-pill i {
  font-size: 0.8rem;
}

/* Custom coloring based on technology categories */
.c-cyan { background: rgba(0, 240, 255, 0.08); border: 1px solid rgba(0, 240, 255, 0.18); color: var(--cyan); }
.c-purple { background: rgba(139, 92, 246, 0.08); border: 1px solid rgba(139, 92, 246, 0.18); color: var(--purple); }
.c-emerald { background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.18); color: var(--emerald); }
.c-amber { background: rgba(245, 158, 11, 0.08); border: 1px solid rgba(245, 158, 11, 0.18); color: var(--amber); }

/* ── OPEN SOURCE SECTION ── */
.oss-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
}

.oss-left {
  padding: 3rem;
}

.oss-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.oss-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--emerald);
  padding: 0.25rem 0.75rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 6px;
}

.oss-duration {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.oss-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.oss-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 1.5rem;
}

.oss-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.oss-stats-row {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.oss-stat-box {
  display: flex;
  flex-direction: column;
}

.oss-stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.oss-stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
}

.oss-right {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.01);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  justify-content: center;
}

.oss-feat {
  display: flex;
  gap: 1.25rem;
}

.oss-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--cyan);
  flex-shrink: 0;
}

.oss-feat-content h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.oss-feat-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── INFRASTRUCTURE PROJECTS GRID ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.project-card.span-2 {
  grid-column: span 2;
}

.proj-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem 1.75rem 1rem;
}

.proj-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.proj-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--emerald);
}

.proj-live-badge i {
  font-size: 0.4rem;
  animation: pulse-emerald 2s infinite;
}

.proj-inner-terminal {
  margin: 0 1.75rem 1.25rem;
  background: rgba(3, 3, 8, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  line-height: 1.6;
}

.proj-inner-terminal .pt-bar {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
  padding: 0.4rem 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}
.proj-inner-terminal .pt-dots {
  display: flex;
  gap: 3px;
}
.proj-inner-terminal .pt-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
}

.proj-inner-terminal .pt-body {
  padding: 0.75rem 1rem;
  color: var(--text-secondary);
}

.proj-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  padding: 0 1.75rem 0.5rem;
}

.proj-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  padding: 0 1.75rem 1.5rem;
  flex-grow: 1;
}

.proj-tags {
  padding: 0 1.75rem 1.5rem;
}

.proj-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
}

.proj-stat-box {
  padding: 1rem;
  text-align: center;
}

.proj-stat-box:not(:last-child) {
  border-right: 1px solid var(--border);
}

.proj-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.proj-stat-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
}

/* Wide project style modifications */
.project-card.span-2 .wide-flex {
  display: flex;
  width: 100%;
}

.project-card.span-2 .wide-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
}

.project-card.span-2 .wide-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
}

/* ── MEDIUM ARTICLES GRID ── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.art-card {
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.art-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.art-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.art-tags {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.art-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  color: var(--cyan);
  padding: 0.15rem 0.5rem;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.12);
  border-radius: 4px;
}

.art-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.art-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.art-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

.art-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Skeleton Loading for Articles */
.skel {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── FIVERR FREELANCE SECTION ── */
.fv-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: start;
}

.fv-profile-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.fv-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--border-hover);
  margin: 0 auto 1rem;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.fv-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}

.fv-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.fv-stars {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  color: #fbbf24;
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.fv-level-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--emerald);
  padding: 0.2rem 0.6rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.btn-fiverr {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  background: #1dbf73;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 4px 15px rgba(29, 191, 115, 0.2);
}

.btn-fiverr:hover {
  background: #19a362;
  box-shadow: 0 4px 20px rgba(29, 191, 115, 0.45);
  transform: translateY(-1px);
}

.fv-services-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fv-service-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  align-items: flex-start;
}

.fv-svc-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.fv-svc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.fv-svc-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Fiverr Review Carousel */
.fv-reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.fv-reviews-header h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fv-carousel-nav {
  display: flex;
  gap: 0.5rem;
}

.fv-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all var(--dur-fast);
}

.fv-nav-btn:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.fv-carousel-view {
  overflow: hidden;
  width: 100%;
}

.fv-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fv-review-card {
  min-width: calc(50% - 0.75rem);
  padding: 1.5rem;
  flex-shrink: 0;
}

.fv-rev-stars {
  display: flex;
  gap: 0.2rem;
  color: #fbbf24;
  font-size: 0.75rem;
  margin-bottom: 0.75rem;
}

.fv-rev-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.fv-rev-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fv-rev-avatar-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
}

.fv-rev-author-name {
  font-size: 0.82rem;
  font-weight: 600;
}

.fv-rev-author-meta {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.fv-dots-row {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.fv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur-fast);
}

.fv-dot.active {
  background: var(--cyan);
  width: 18px;
  border-radius: 3px;
  box-shadow: 0 0 8px var(--cyan);
}

/* ── CERTIFICATIONS ── */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.cert-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cert-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.cert-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.cert-issuer {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: auto;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  width: fit-content;
}

.cert-badge.earned {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--emerald);
}

.cert-badge.wip {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--amber);
}

/* ── EDUCATION ── */
.edu-card {
  display: flex;
  gap: 2rem;
  padding: 2.25rem;
  align-items: center;
}

.edu-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.edu-degree {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.edu-uni {
  font-size: 0.95rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.edu-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ── CONTACT SECTION ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-link-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.01);
  color: var(--text-secondary);
  transition: all var(--dur-normal) var(--ease-spring);
}

.contact-link-item:hover {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.02);
  color: var(--text-primary);
  transform: translateX(4px);
}

.contact-link-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-primary);
  flex-shrink: 0;
  transition: all var(--dur-normal);
}

.contact-link-item:hover .contact-link-icon {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.2);
  color: var(--cyan);
}

.contact-link-text h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.1rem;
}

.contact-link-text span {
  font-size: 0.78rem;
}

.contact-console-container {
  width: 100%;
}

.contact-terminal {
  height: 420px;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  background: rgba(3, 3, 7, 0.8);
  padding: 2rem 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

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

.footer-links a:hover {
  color: var(--cyan);
}

/* ── ANIMATIONS AND KEYFRAMES ── */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px var(--cyan); }
  50% { transform: scale(1.15); opacity: 0.8; box-shadow: 0 0 15px var(--cyan); }
}

@keyframes pulse-emerald {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px var(--emerald); }
  50% { transform: scale(1.2); opacity: 0.6; box-shadow: 0 0 12px var(--emerald); }
}

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

/* Entrance Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE MEDIA QUERIES ── */

/* Tablets & Small Screens */
@media (max-width: 992px) {
  section {
    padding: 5rem 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .h-badge {
    margin-bottom: 1.25rem;
  }
  
  .h-typed {
    justify-content: center;
  }
  
  .h-desc {
    margin: 0 auto 2rem;
  }
  
  .h-gh-strip {
    justify-content: center;
  }
  
  .h-btns {
    justify-content: center;
  }
  
  .hero-console {
    justify-self: center;
    max-width: 500px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .oss-panel {
    grid-template-columns: 1fr;
  }
  
  .oss-right {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 2.5rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .project-card.span-2 {
    grid-column: span 1;
  }
  
  .project-card.span-2 .wide-flex {
    flex-direction: column;
  }
  
  .project-card.span-2 .wide-right {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .fv-container {
    grid-template-columns: 1fr;
  }
  
  .fv-profile-card {
    display: flex;
    text-align: left;
    align-items: center;
    gap: 2rem;
  }
  
  .fv-avatar {
    margin: 0;
  }
  
  .fv-level-badge {
    margin-bottom: 0;
  }
  
  .fv-right-col {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  
  .fv-review-card {
    min-width: 100%;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

/* Mobile Screens */
@media (max-width: 768px) {
  #nav .nav-links, #nav .btn-nav-cta {
    display: none;
  }
  
  .burger {
    display: flex;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .edu-card {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
  }
  
  .edu-icon-box {
    margin-bottom: 1rem;
  }
  
  .fv-profile-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .fv-avatar {
    margin: 0 auto;
  }
  
  .fv-stars {
    justify-content: center;
  }
  
  .footer-content {
    flex-direction: column-reverse;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-card.wide {
    grid-column: span 1;
  }
  
  .articles-grid {
    grid-template-columns: 1fr;
  }
  
  .certs-grid {
    grid-template-columns: 1fr;
  }
  
  .float-hire {
    bottom: 1rem;
    right: 1rem;
    padding: 0.65rem 1.25rem;
    font-size: 0.8rem;
  }
}

/* Neofetch Card Visual Widget */
.neofetch-card {
  padding: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  line-height: 1.7;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.5rem;
  background: rgba(3, 3, 8, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}

.neofetch-logo {
  color: var(--cyan);
  white-space: pre;
  font-size: 0.58rem;
  line-height: 1.3;
  font-weight: bold;
}

.neofetch-info {
  display: flex;
  flex-direction: column;
}

.neofetch-header {
  font-weight: bold;
  color: var(--text-primary);
  border-bottom: 1px dashed var(--border);
  padding-bottom: 0.4rem;
  margin-bottom: 0.4rem;
}

.neofetch-row {
  display: flex;
  margin-bottom: 0.2rem;
}

.neofetch-key {
  color: var(--cyan);
  min-width: 90px;
  font-weight: 500;
}

.neofetch-val {
  color: var(--text-secondary);
}
