/* =====================================================
   Bhavya Sharma — Portfolio v2
   Clean, modern, dark dev aesthetic
   ===================================================== */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0a0a0a;
  color: #ededed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: #5eead4; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #99f6e4; }

code, .mono {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.9em;
  background: rgba(94, 234, 212, 0.08);
  padding: 0.1em 0.4em;
  border-radius: 4px;
  color: #5eead4;
}

img { max-width: 100%; display: block; }
::selection { background: #5eead4; color: #0a0a0a; }

.accent { color: #5eead4; }

/* ---------- Top banner space ---------- */
.top-banner {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #0a0a0a 0%, #111827 50%, #0a0a0a 100%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(94, 234, 212, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
}
.top-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.top-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.top-banner-hint {
  color: #6b7280;
  font-size: 0.85rem;
  font-family: 'JetBrains Mono', monospace;
}
.top-banner-hint code {
  background: rgba(255,255,255,0.05);
  color: #9ca3af;
  font-size: 0.85em;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ededed;
  font-weight: 600;
  font-size: 1rem;
}
.logo:hover { color: #5eead4; }
.logo-dot {
  width: 10px; height: 10px;
  background: #5eead4;
  border-radius: 50%;
  box-shadow: 0 0 12px #5eead4;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}
.nav-links a {
  color: #a0a0a0;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
}
.nav-links a:hover { color: #ededed; }
.nav-links a.active { color: #5eead4; }
.nav-cta {
  background: #ededed !important;
  color: #0a0a0a !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  margin-left: 4px;
}
.nav-cta:hover { background: #5eead4 !important; color: #0a0a0a !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #ededed;
  transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 0 100px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.hero-greet {
  font-family: 'JetBrains Mono', monospace;
  color: #5eead4;
  font-size: 0.95rem;
  margin: 0 0 24px;
}
.prompt-arrow { margin-right: 8px; opacity: 0.7; }
.cursor {
  display: inline-block;
  color: #5eead4;
  animation: blink 1s step-start infinite;
  font-weight: 400;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-role {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: #ededed;
  margin: 0 0 20px;
  line-height: 1.3;
}
.hero-bio {
  font-size: 1.05rem;
  color: #a0a0a0;
  max-width: 540px;
  margin: 0 0 32px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.meta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
}
.meta-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ededed;
}
.meta-sub {
  font-size: 0.8rem;
  color: #6b7280;
}
.status-open {
  color: #5eead4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.status-dot {
  width: 8px; height: 8px;
  background: #5eead4;
  border-radius: 50%;
  box-shadow: 0 0 8px #5eead4;
  animation: pulse 2s ease-in-out infinite;
}

/* Hero right — ID card */
.hero-right { display: flex; justify-content: flex-end; }
.hero-id-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.hero-id-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5eead4, transparent);
}
.hero-id-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.hero-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(94, 234, 212, 0.3);
  flex-shrink: 0;
}
.hero-id-info { min-width: 0; }
.hero-name {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.hero-handle {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: #5eead4;
  margin: 0 0 6px;
}
.hero-tagline {
  font-size: 0.85rem;
  color: #a0a0a0;
  margin: 0;
}

.hero-id-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.id-stat { text-align: center; }
.id-stat-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  font-weight: 700;
  color: #ededed;
  margin-bottom: 4px;
}
.id-stat-label {
  font-size: 0.72rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: #ededed;
  color: #0a0a0a;
}
.btn-primary:hover { background: #5eead4; color: #0a0a0a; transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: #ededed;
  border-color: rgba(255,255,255,0.15);
}
.btn-ghost:hover { border-color: #5eead4; color: #5eead4; }
.btn-outline {
  background: transparent;
  color: #5eead4;
  border-color: #5eead4;
}
.btn-outline:hover { background: rgba(94, 234, 212, 0.1); }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn.full { width: 100%; justify-content: center; }

/* ---------- Section ---------- */
.section {
  padding: 80px 0;
  position: relative;
}
.section-alt {
  background: rgba(255,255,255,0.015);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.section-head { margin-bottom: 48px; }
.section-head.left { text-align: left; }
.section-tag {
  font-family: 'JetBrains Mono', monospace;
  color: #5eead4;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-sub {
  color: #a0a0a0;
  font-size: 1rem;
  margin: 0;
  max-width: 640px;
}

/* ---------- Socials section ---------- */
.socials-section { position: relative; }
.socials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: #ededed;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}
.social-pill:hover {
  border-color: #5eead4;
  background: rgba(94, 234, 212, 0.05);
  color: #5eead4;
  transform: translateY(-2px);
}

/* ---------- Hover cards (pop-up on social pill hover) ---------- */
.hover-cards {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.hover-card {
  position: absolute;
  width: 340px;
  background: #111111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}
.hover-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.hc-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.hc-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.hc-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #ffffff;
}
.hc-handle {
  font-size: 0.82rem;
  color: #6b7280;
  font-family: 'JetBrains Mono', monospace;
}
.hc-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #a0a0a0;
  margin-bottom: 12px;
}
.hc-loc {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hc-time {
  font-family: 'JetBrains Mono', monospace;
  color: #5eead4;
}
.hc-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 0 0 14px;
}
.hc-stats {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #a0a0a0;
}
.hc-stats b { color: #ededed; font-weight: 600; }

/* ---------- Story (short, on home) ---------- */
.story-short {
  max-width: 760px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 3px solid #5eead4;
  border-radius: 0 14px 14px 0;
  padding: 32px 36px;
}
.story-short p {
  color: #a0a0a0;
  font-size: 1.02rem;
  line-height: 1.75;
  margin: 0 0 16px;
}
.story-short p:last-of-type { margin-bottom: 24px; }
.story-short strong { color: #ededed; font-weight: 600; }
.story-short em { color: #c9c9c9; font-style: italic; }
.story-short .btn { display: inline-flex; }

/* ---------- Story flow (legacy cards, kept for fallback) ---------- */
.story-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.story-step {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.25s ease;
}
.story-step:hover {
  border-color: rgba(94, 234, 212, 0.3);
  background: rgba(94, 234, 212, 0.02);
  transform: translateY(-3px);
}
.story-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #5eead4;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.story-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: #ededed;
}
.story-step p {
  font-size: 0.92rem;
  color: #a0a0a0;
  margin: 0;
}
.story-step strong { color: #ededed; font-weight: 600; }
.story-step em { color: #c9c9c9; font-style: italic; }

/* ---------- Skills ---------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.skill-group h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin: 0 0 14px;
  font-weight: 600;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #c9c9c9;
  transition: all 0.2s ease;
}
.chip:hover { border-color: #5eead4; color: #5eead4; }
.chip-accent {
  border-color: #5eead4;
  color: #5eead4;
  background: rgba(94, 234, 212, 0.08);
}

/* ---------- Projects (big cards) ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.project-card.big {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;
  color: inherit;
  transition: all 0.3s ease;
  text-decoration: none;
}
.project-card.big:hover {
  border-color: rgba(94, 234, 212, 0.4);
  background: rgba(94, 234, 212, 0.02);
  transform: translateY(-4px);
  color: inherit;
}
.project-preview {
  position: relative;
  background: #0d1117;
  min-height: 280px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  font-family: 'JetBrains Mono', monospace;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.preview-chrome {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.chrome-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.chrome-dot:nth-child(1) { background: rgba(255, 95, 87, 0.6); }
.chrome-dot:nth-child(2) { background: rgba(254, 188, 46, 0.6); }
.chrome-dot:nth-child(3) { background: rgba(40, 200, 64, 0.6); }
.preview-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
}
.preview-line { color: #c9d1d9; }
.preview-line.dim { color: #6b7280; }
.preview-line.ok { color: #5eead4; }
.preview-prompt { color: #5eead4; margin-top: auto; }
.live-badge {
  position: absolute;
  top: 16px; right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(94, 234, 212, 0.3);
  border-radius: 999px;
  font-size: 0.7rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #5eead4;
  backdrop-filter: blur(8px);
}
.live-dot {
  width: 6px; height: 6px;
  background: #5eead4;
  border-radius: 50%;
  box-shadow: 0 0 6px #5eead4;
  animation: pulse 1.5s ease-in-out infinite;
}

.project-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.project-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
  color: #ffffff;
}
.project-info p {
  color: #a0a0a0;
  font-size: 0.98rem;
  margin: 0;
  line-height: 1.6;
}
.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.tech-stack { display: flex; flex-wrap: wrap; gap: 6px; }
.tech {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 4px 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  color: #c9c9c9;
}
.view-project {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #5eead4;
}

/* ---------- Open Source Contributions graph ---------- */
.contrib-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 28px;
  overflow: hidden;
}
.contrib-head {
  margin-bottom: 12px;
  overflow: hidden;
}
.contrib-months {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #6b7280;
  padding-left: 28px;
  min-width: 720px;
}
.contrib-months span { white-space: nowrap; }

.contrib-body {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
  padding-bottom: 4px;
}
.contrib-body::-webkit-scrollbar { height: 6px; }
.contrib-body::-webkit-scrollbar-track { background: transparent; }
.contrib-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
.contrib-days {
  display: grid;
  grid-template-rows: repeat(7, 1fr);
  grid-auto-flow: column;
  gap: 4px;
  min-width: 720px;
  flex-shrink: 0;
}
.day-sq {
  width: 12px; height: 12px;
  border-radius: 2px;
  background: rgba(255,255,255,0.05);
  transition: transform 0.15s ease;
  cursor: pointer;
}
.day-sq:hover { transform: scale(1.4); outline: 1px solid #5eead4; }
.day-sq.l1 { background: #0e3b35; }
.day-sq.l2 { background: #196550; }
.day-sq.l3 { background: #2a9d8f; }
.day-sq.l4 { background: #5eead4; }

.contrib-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #a0a0a0;
}
.contrib-foot b { color: #ededed; font-weight: 600; }
.contrib-legend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: #6b7280;
}
.legend-sq {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 2px;
  background: rgba(255,255,255,0.05);
}
.legend-sq[data-level="1"] { background: #0e3b35; }
.legend-sq[data-level="2"] { background: #196550; }
.legend-sq[data-level="3"] { background: #2a9d8f; }
.legend-sq[data-level="4"] { background: #5eead4; }

/* ---------- Goals ---------- */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.goal-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 28px;
  transition: all 0.25s ease;
}
.goal-card:hover {
  border-color: rgba(94, 234, 212, 0.3);
  background: rgba(94, 234, 212, 0.02);
  transform: translateY(-3px);
}
.goal-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: #ededed;
}
.goal-card p {
  font-size: 0.92rem;
  color: #a0a0a0;
  margin: 0;
  line-height: 1.6;
}
.goal-card strong { color: #ededed; font-weight: 600; }

/* ---------- CVE card ---------- */
.cve-card {
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.06), rgba(168, 85, 247, 0.04));
  border: 1px solid rgba(94, 234, 212, 0.2);
  border-radius: 18px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cve-text { flex: 1; min-width: 280px; }
.cve-text h2 {
  font-size: 1.8rem;
  margin: 8px 0 12px;
  font-weight: 700;
}
.cve-text p {
  color: #a0a0a0;
  margin: 0;
  font-size: 1rem;
  max-width: 540px;
}

/* ---------- Page hero ---------- */
.page-hero {
  padding: 80px 0 40px;
  text-align: left;
}
.breadcrumb {
  font-family: 'JetBrains Mono', monospace;
  color: #5eead4;
  font-size: 0.85rem;
  margin: 0 0 12px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.page-sub {
  font-size: 1.1rem;
  color: #a0a0a0;
  max-width: 640px;
  margin: 0;
}

/* ---------- About page ---------- */
.about-page {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-content h2 {
  font-size: 1.6rem;
  margin: 40px 0 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}
.about-content h2:first-child { margin-top: 0; }
.about-content h3 {
  font-size: 1.15rem;
  margin: 28px 0 12px;
  font-weight: 600;
  color: #ededed;
}
.about-content p {
  color: #a0a0a0;
  font-size: 1rem;
  margin: 0 0 14px;
  line-height: 1.7;
}
.about-content strong { color: #ededed; font-weight: 600; }
.about-content em { color: #c9c9c9; font-style: italic; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}
.check-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: #a0a0a0;
  font-size: 1rem;
  line-height: 1.7;
}
.check-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #5eead4;
  font-family: 'JetBrains Mono', monospace;
}
.check-list strong { color: #ededed; }

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 32px;
}
.value {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 20px;
}
.value h3 {
  font-size: 1rem;
  margin: 0 0 8px;
  color: #5eead4;
  font-weight: 600;
}
.value p { font-size: 0.9rem; margin: 0; }

.muted { color: #6b7280; }
.small { font-size: 0.85rem; }
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

.about-side {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 24px;
}
.info-card h3 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  margin: 0 0 16px;
  font-weight: 600;
}
.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.92rem;
  gap: 12px;
}
.info-list li:last-child { border-bottom: none; }
.info-list span { color: #6b7280; }
.info-list b { color: #ededed; font-weight: 500; text-align: right; }
.info-card p { font-size: 0.9rem; margin: 0 0 16px; }

.time-big {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  font-weight: 700;
  color: #5eead4;
  margin: 8px 0;
  letter-spacing: -0.02em;
}

/* ---------- Blogs ---------- */
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  color: #a0a0a0;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  transition: all 0.2s ease;
}
.filter:hover { border-color: #5eead4; color: #5eead4; }
.filter.active { background: #ededed; color: #0a0a0a; border-color: #ededed; font-weight: 600; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.blog-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.25s ease;
}
.blog-card:hover {
  border-color: rgba(94, 234, 212, 0.3);
  transform: translateY(-3px);
}
.blog-card.hidden { display: none; }
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.8rem;
}
.blog-tag {
  font-family: 'JetBrains Mono', monospace;
  color: #5eead4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.blog-date { color: #6b7280; }
.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 12px;
  line-height: 1.3;
  color: #ededed;
}
.blog-card p {
  color: #a0a0a0;
  font-size: 0.92rem;
  margin: 0 0 16px;
}
.blog-link { color: #5eead4; font-weight: 500; font-size: 0.9rem; }
.blog-empty {
  text-align: center;
  padding: 32px;
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 12px;
}
.blog-empty p { margin: 0; color: #a0a0a0; }

/* ---------- Links ---------- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 32px;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 22px;
  color: inherit;
  transition: all 0.25s ease;
}
.link-card:hover {
  border-color: rgba(94, 234, 212, 0.4);
  background: rgba(94, 234, 212, 0.04);
  transform: translateY(-2px);
  color: inherit;
}
.link-card.placeholder { opacity: 0.75; }
.link-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.04);
  color: #ededed;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-card:hover .link-icon {
  background: rgba(94, 234, 212, 0.1);
  color: #5eead4;
}
.link-body { flex: 1; min-width: 0; }
.link-body h3 {
  font-size: 1.05rem;
  margin: 0 0 4px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ededed;
}
.link-body p {
  margin: 0 0 6px;
  color: #a0a0a0;
  font-size: 0.88rem;
}
.link-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #5eead4;
}
.badge-soon {
  font-size: 0.62rem;
  background: rgba(254, 188, 46, 0.12);
  color: #fbbf24;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.links-note {
  text-align: center;
  color: #6b7280;
  font-size: 0.88rem;
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-left p {
  margin: 8px 0 0;
  color: #6b7280;
  font-size: 0.85rem;
}
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  color: #a0a0a0;
  transition: all 0.2s ease;
}
.footer-socials a:hover {
  border-color: #5eead4;
  color: #5eead4;
  transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { justify-content: flex-start; }
  .hero-id-card { max-width: 100%; }
  .story-flow, .skills-grid, .goals-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-page { grid-template-columns: 1fr; }
  .about-side { position: static; }
  .values { grid-template-columns: 1fr; }
  .cve-card { flex-direction: column; text-align: center; }
  .links-grid { grid-template-columns: 1fr; }
  .project-card.big { grid-template-columns: 1fr; }
  .project-preview { min-height: 220px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; }
  .nav-cta { margin-top: 8px; }

  .top-banner { height: 140px; }
  .hero { padding: 50px 0 70px; }
  .section { padding: 60px 0; }
  .story-flow, .skills-grid, .goals-grid, .blog-grid { grid-template-columns: 1fr; }
  .hero-meta { grid-template-columns: 1fr; gap: 16px; }
  .project-info { padding: 24px; }
  .project-info h3 { font-size: 1.3rem; }
  .contrib-foot { flex-direction: column; align-items: flex-start; }
  .story-short { padding: 24px; }
  .story-short p { font-size: 0.98rem; }
  .container { padding: 0 16px; }
  .hero-id-stats { grid-template-columns: 1fr; gap: 12px; }
  .id-stat { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .id-stat:last-child { border-bottom: none; }
  .id-stat-num { margin-bottom: 0; }
  .contrib-card { padding: 16px; }
  .contrib-body { margin: 0 -16px; padding: 0 16px 4px; }
}
