/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050a18;
  color: #cbd5e1;
  line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: #0ea5e9; color: #fff; }

/* ===== CSS VARIABLES ===== */
:root {
  --primary: #0ea5e9;
  --primary-glow: rgba(14, 165, 233, 0.15);
  --accent: #8b5cf6;
  --bg-dark: #050a18;
  --bg-card: rgba(15, 23, 42, 0.6);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --border: rgba(56, 189, 248, 0.08);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --max-width: 1140px;
  --radius: 16px;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-gradient {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  overflow: hidden;
}
.bg-gradient::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: float 20s ease-in-out infinite;
}
.bg-gradient::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  bottom: -150px; left: -100px;
  animation: float 25s ease-in-out infinite reverse;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -40px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}

/* ===== NOISE OVERLAY ===== */
.noise {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
nav.scrolled {
  background: rgba(5, 10, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--primary); }
.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text-primary); background: rgba(255,255,255,0.05); }

/* Nav actions (lang toggle + mobile menu) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}
.lang-toggle:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(56, 189, 248, 0.2);
}
.lang-globe {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none; border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
}
.menu-toggle svg { width: 24px; height: 24px; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  position: relative;
}
.hero-content { max-width: 720px; text-align: center; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 8px;
  background: var(--primary-glow);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease both;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.1s both;
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero .subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0284c7);
  color: #fff;
  box-shadow: 0 4px 20px rgba(14,165,233,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14,165,233,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn svg { width: 18px; height: 18px; }

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
}
.scroll-indicator .mouse {
  width: 26px; height: 40px;
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: 13px;
  position: relative;
}
.scroll-indicator .mouse::after {
  content: '';
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 8px;
  background: var(--primary);
  border-radius: 2px;
  animation: scroll-down 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes scroll-down {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/* ===== SECTIONS ===== */
section { padding: 100px 24px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--primary);
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text p {
  margin-bottom: 20px;
  font-size: 16px;
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.stat-card .number {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
}
.stat-card .label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.terminal {
  width: 100%;
  max-width: 460px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(30, 41, 59, 0.5);
  border-bottom: 1px solid var(--border);
}
.terminal-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.terminal-dot:nth-child(1) { background: #ef4444; }
.terminal-dot:nth-child(2) { background: #eab308; }
.terminal-dot:nth-child(3) { background: #22c55e; }
.terminal-title {
  flex: 1;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
}
.terminal-body {
  padding: 20px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13px;
  line-height: 1.8;
}
.terminal-body .prompt { color: #22c55e; }
.terminal-body .command { color: var(--text-primary); }
.terminal-body .output { color: var(--text-secondary); }
.terminal-body .highlight { color: var(--primary); }
.cursor {
  display: inline-block;
  width: 8px; height: 16px;
  background: var(--primary);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 4px;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ===== TECH STACK ===== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-category:hover {
  border-color: rgba(14,165,233,0.2);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.skill-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}
.skill-category h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.skill-tag {
  padding: 6px 14px;
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.12);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  transition: all 0.3s;
}
.skill-tag:hover {
  background: rgba(14,165,233,0.15);
  border-color: rgba(14,165,233,0.3);
}

/* ===== EXPERIENCE ===== */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent), transparent);
}
.timeline-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 48px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 8px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px var(--bg-dark), 0 0 0 6px var(--primary);
}
.timeline-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
.timeline-item h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.timeline-item .company {
  font-size: 15px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
}
.timeline-item p {
  font-size: 15px;
  color: var(--text-secondary);
}
.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.timeline-tag {
  padding: 4px 10px;
  background: rgba(139,92,246,0.08);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: 6px;
  font-size: 12px;
  color: var(--accent);
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.project-card:hover {
  border-color: rgba(14,165,233,0.2);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.project-card:hover::before { opacity: 1; }
.project-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.project-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.project-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.project-tag {
  padding: 4px 12px;
  background: rgba(14,165,233,0.06);
  border: 1px solid rgba(14,165,233,0.1);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* ===== CERTIFICATIONS ===== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cert-card:hover {
  border-color: rgba(14,165,233,0.2);
  transform: translateY(-3px);
}
.cert-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(139,92,246,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.cert-info h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.cert-info p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== CONTACT ===== */
.contact-section {
  background: linear-gradient(to bottom, transparent, rgba(14,165,233,0.03));
}
.contact-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact-content .section-desc { margin: 0 auto 36px; }
.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.contact-link:hover {
  border-color: rgba(14,165,233,0.3);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.contact-link svg { width: 20px; height: 20px; }

/* ===== FOOTER ===== */
footer {
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
footer p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== ANIMATIONS (SCROLL REVEAL) ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== BLOG PAGE ===== */
.blog-header {
  padding: 140px 24px 60px;
  text-align: center;
}
.blog-header .section-title {
  margin-bottom: 12px;
}

.blog-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.blog-card:hover {
  border-color: rgba(14,165,233,0.2);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.blog-card:hover::before { opacity: 1; }
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}
.blog-card-meta .date { color: var(--primary); font-weight: 600; }
.blog-card-meta .reading-time { opacity: 0.7; }
.blog-card-meta .separator { opacity: 0.3; }
.blog-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}
.blog-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.blog-card-tag {
  padding: 4px 12px;
  background: rgba(14,165,233,0.06);
  border: 1px solid rgba(14,165,233,0.1);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
}
.blog-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-secondary);
  font-size: 17px;
}

/* ===== POST PAGE ===== */
.post-header {
  padding: 140px 24px 40px;
  max-width: 780px;
  margin: 0 auto;
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 32px;
  transition: all 0.3s;
}
.post-back:hover { opacity: 0.8; }
.post-back svg { width: 16px; height: 16px; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-secondary);
}
.post-meta .date { color: var(--primary); font-weight: 600; }
.post-meta .separator { opacity: 0.3; }
.post-header h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.post-header .post-excerpt {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.post-tag {
  padding: 4px 14px;
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.12);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
}

/* Post content */
.post-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 40px 24px 100px;
}
.post-content h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 48px 0 16px;
  letter-spacing: -0.5px;
}
.post-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 36px 0 12px;
}
.post-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #cbd5e1;
}
.post-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-content a:hover { opacity: 0.8; }
.post-content ul, .post-content ol {
  margin: 16px 0 20px 24px;
  font-size: 17px;
  line-height: 1.8;
}
.post-content li { margin-bottom: 8px; }
.post-content blockquote {
  border-left: 3px solid var(--primary);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--bg-card);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text-secondary);
}
.post-content img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 24px 0;
}
.post-content pre {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  overflow-x: auto;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.6;
}
.post-content code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.9em;
}
.post-content p code, .post-content li code {
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.12);
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--primary);
}
.post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.post-content th, .post-content td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.post-content th {
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
}

/* Post nav */
.post-nav {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  position: relative;
  z-index: 1;
}
.post-nav-top {
  border-top: none;
  border-bottom: 1px solid var(--border);
  padding: 0 24px 24px;
  margin-bottom: 24px;
}
.post-nav-bottom {
  margin-top: 20px;
}
.post-nav a {
  display: block;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all 0.3s;
  max-width: 48%;
}
.post-nav a:hover {
  border-color: rgba(14,165,233,0.2);
  transform: translateY(-2px);
}
.post-nav .nav-label {
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
}
.post-nav .nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}
.post-nav .next { text-align: right; margin-left: auto; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(5, 10, 24, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px;
    border-bottom: 1px solid var(--border);
  }
  .menu-toggle { display: block; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .projects-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero { padding: 100px 20px 60px; }
  section { padding: 70px 20px; }
  .post-nav { flex-direction: column; }
  .post-nav a { max-width: 100%; }
  .post-nav .next { text-align: left; }
  .post-nav-top { padding: 0 20px 20px; margin-bottom: 24px; }
}
@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
