:root {
  --bg: #030712;
  --bg-elevated: rgba(15, 23, 42, 0.8);
  --accent: #38bdf8;
  --accent-2: #a855f7;
  --accent-3: #f97316;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.3);
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 30px 80px rgba(15, 23, 42, 0.9);
  --glass-border: 1px solid rgba(148, 163, 184, 0.35);
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

body[data-theme="light"] {
  --bg: #f8fafc;
  --bg-elevated: rgba(255, 255, 255, 0.82);
  --accent: #0ea5e9;
  --accent-2: #7c3aed;
  --accent-3: #f97316;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-subtle: rgba(148, 163, 184, 0.35);
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.12);
  --glass-border: 1px solid rgba(148, 163, 184, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 30%, #020617 60%, #000 100%);
  color: var(--text-main);
  scroll-behavior: smooth;
  min-height: 100%;
  overflow-x: hidden;
}

body[data-theme="light"] {
  background: radial-gradient(circle at 10% -10%, rgba(14, 165, 233, 0.16), transparent 32%), #f8fafc;
}

body {
  position: relative;
}

/* Background FX */
.bg-orbit {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 0%, rgba(56,189,248,0.16), transparent 55%),
    radial-gradient(circle at 90% 10%, rgba(168,85,247,0.15), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(249,115,22,0.1), transparent 60%);
  opacity: 0.85;
}

body[data-theme="light"] .bg-orbit {
  background:
    radial-gradient(circle at 10% 10%, rgba(14,165,233,0.16), transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(124,58,237,0.12), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(249,115,22,0.08), transparent 55%);
  opacity: 0.7;
}

.bg-noise {
  position: fixed;
  inset: -50px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='4' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.65'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* Layout */
.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 72px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 999px;
  padding: 12px 18px;
  margin-bottom: 32px;
  background: linear-gradient(120deg, rgba(15,23,42,0.92), rgba(15,23,42,0.7));
  border: 1px solid rgba(148,163,184,0.4);
  box-shadow: 0 18px 50px rgba(15,23,42,0.8);
}

body[data-theme="light"] .nav {
  background: linear-gradient(120deg, rgba(255,255,255,0.9), rgba(248,250,252,0.9));
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 18px 50px rgba(15,23,42,0.08);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: conic-gradient(from 180deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 3px rgba(15,23,42,1), 0 0 25px rgba(56,189,248,0.6);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.nav-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e5e7eb;
}

body[data-theme="light"] .nav-title {
  color: #0f172a;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
}

.nav-links a:hover {
  color: #e5e7eb;
  border-color: rgba(148,163,184,0.7);
  background: radial-gradient(circle at top, rgba(148,163,184,0.3), transparent 55%);
  transform: translateY(-1px);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.6);
  background: radial-gradient(circle at 0% 0%, rgba(56,189,248,0.2), rgba(15,23,42,0.9));
  color: var(--text-muted);
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.theme-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(56,189,248,0.3);
  color: #e5e7eb;
}

.theme-icon {
  font-size: 13px;
  line-height: 1;
}

.theme-toggle .moon {
  display: none;
}

body[data-theme="light"] .theme-toggle {
  background: linear-gradient(120deg, rgba(255,255,255,0.85), rgba(241,245,249,0.95));
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(15,23,42,0.08);
}

body[data-theme="light"] .theme-toggle:hover {
  box-shadow: 0 12px 30px rgba(15,23,42,0.12);
}

body[data-theme="light"] .theme-toggle .sun {
  display: none;
}

body[data-theme="light"] .theme-toggle .moon {
  display: inline;
}

.nav-pill {
  border-radius: 999px;
  padding: 4px 4px 4px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: radial-gradient(circle at top left, rgba(56,189,248,0.18), rgba(15,23,42,0.9));
  border: 1px solid rgba(56,189,248,0.6);
  font-size: 12px;
  color: #e0f2fe;
  box-shadow: 0 0 25px rgba(56,189,248,0.6);
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-pill span {
  background: rgba(15,23,42,0.9);
  border-radius: 999px;
  padding: 4px 10px;
  border: 1px solid rgba(56,189,248,0.6);
}

.nav-pill:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 0 40px rgba(56,189,248,0.9);
}

body[data-theme="light"] .nav-pill {
  background: radial-gradient(circle at top left, rgba(14,165,233,0.15), rgba(255,255,255,0.95));
  color: #0ea5e9;
  box-shadow: 0 0 20px rgba(14,165,233,0.32);
}

body[data-theme="light"] .nav-pill span {
  background: #f1f5f9;
  border-color: rgba(14,165,233,0.4);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
  gap: 26px;
  margin-bottom: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }
}

.badge-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: radial-gradient(circle at left, rgba(56,189,248,0.22), rgba(15,23,42,0.95));
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.6);
  box-shadow: 0 0 30px rgba(56,189,248,0.55);
  margin-bottom: 18px;
}

.badge-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #f9fafb, #22c55e);
  box-shadow: 0 0 16px rgba(34,197,94,0.85);
}

.badge-row span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e0f2fe;
}

body[data-theme="light"] .badge-row {
  background: radial-gradient(circle at left, rgba(14,165,233,0.18), rgba(255,255,255,0.96));
  border-color: rgba(14,165,233,0.45);
  box-shadow: 0 0 26px rgba(14,165,233,0.22);
}

body[data-theme="light"] .badge-row span {
  color: #0f172a;
}

.hero h1 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(2.4rem, 3.2vw, 3.3rem);
  line-height: 1.05;
  margin-bottom: 14px;
}

.name-highlight {
  background: linear-gradient(120deg, #e5e7eb, #38bdf8, #a855f7, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 18px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.chip {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,0.8));
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(to bottom right, var(--accent-2), var(--accent));
}

body[data-theme="light"] .chip {
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(241,245,249,0.9));
  color: #0f172a;
  border-color: rgba(148,163,184,0.5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.btn {
  position: relative;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: transform var(--transition-med), box-shadow var(--transition-med), background var(--transition-med), border-color var(--transition-med);
}

.btn-primary {
  background: radial-gradient(circle at 0% 0%, #f97316, #a855f7, #38bdf8);
  color: #0b1120;
  box-shadow: 0 14px 35px rgba(56,189,248,0.6);
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.7), transparent 40%, transparent 60%, rgba(255,255,255,0.6));
  opacity: 0;
  transform: translateX(-120%);
  transition: transform 0.5s ease-out, opacity 0.4s ease-out;
}

.btn-primary:hover::before {
  opacity: 0.7;
  transform: translateX(120%);
}

.btn-primary:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 22px 50px rgba(56,189,248,0.9);
}

.btn-ghost {
  background: rgba(15,23,42,0.9);
  border-color: rgba(148,163,184,0.7);
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: radial-gradient(circle at top, rgba(148,163,184,0.25), rgba(15,23,42,0.98));
  color: #e5e7eb;
  transform: translateY(-1px);
}

body[data-theme="light"] .btn-ghost {
  background: rgba(255,255,255,0.92);
  border-color: rgba(148,163,184,0.5);
  color: #0f172a;
}

body[data-theme="light"] .btn-ghost:hover {
  background: linear-gradient(120deg, rgba(241,245,249,0.9), rgba(255,255,255,0.98));
  color: #0f172a;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.hero-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to bottom right, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(56,189,248,0.9);
}

/* Profile card */
.profile-card {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 18px 18px 16px;
  background:
    linear-gradient(145deg, rgba(15,23,42,0.95), rgba(15,23,42,0.85)),
    radial-gradient(circle at 0 0, rgba(56,189,248,0.25), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(168,85,247,0.25), transparent 60%);
  border: var(--glass-border);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

body[data-theme="light"] .profile-card {
  background:
    linear-gradient(145deg, rgba(255,255,255,0.96), rgba(248,250,252,0.92)),
    radial-gradient(circle at 0 0, rgba(14,165,233,0.18), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(124,58,237,0.18), transparent 55%);
  box-shadow: 0 20px 50px rgba(15,23,42,0.12);
}

.profile-blobs::before,
.profile-blobs::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.16;
  pointer-events: none;
}

.profile-blobs::before {
  background: radial-gradient(circle, var(--accent), transparent 65%);
  top: -120px;
  right: -110px;
}

.profile-blobs::after {
  background: radial-gradient(circle, var(--accent-2), transparent 65%);
  bottom: -120px;
  left: -120px;
}

.profile-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.profile-tag {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  font-size: 11px;
  color: var(--text-muted);
  background: rgba(15,23,42,0.9);
}

body[data-theme="light"] .profile-tag {
  background: rgba(241,245,249,0.95);
  color: #0f172a;
  border-color: rgba(148,163,184,0.5);
}

.profile-status {
  font-size: 11px;
  color: #bbf7d0;
  background: rgba(22,101,52,0.3);
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,0.6);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body[data-theme="light"] .profile-status {
  color: #166534;
  background: rgba(220,252,231,0.9);
  border-color: rgba(34,197,94,0.35);
}

.profile-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #fefce8, #22c55e);
  box-shadow: 0 0 16px rgba(34,197,94,0.8);
}

body[data-theme="light"] .profile-status-dot {
  background: radial-gradient(circle at 30% 30%, #dcfce7, #16a34a);
  box-shadow: 0 0 12px rgba(22,163,74,0.55);
}

.profile-body {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 14px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 600px) {
  .profile-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

.profile-image-wrapper {
  position: relative;
  border-radius: 26px;
  padding: 4px;
  background: conic-gradient(from 220deg, rgba(56,189,248,0.7), rgba(168,85,247,0.65), rgba(249,115,22,0.65), rgba(56,189,248,0.7));
  box-shadow: 0 20px 40px rgba(15,23,42,0.9);
}

.profile-image-inner {
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at top, #111827, #020617);
  border: 1px solid rgba(31,41,55,0.9);
  aspect-ratio: 3/4;
  position: relative;
}

.profile-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease-out;
}

.profile-image-inner::after {
  /* placeholder diagonal light */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,23,42,0.84), transparent 40%, transparent 60%, rgba(15,23,42,0.9)),
    radial-gradient(circle at 10% 0%, rgba(56,189,248,0.18), transparent 65%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.profile-image-inner:hover img {
  transform: scale(1.05);
}

.profile-text h2 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 18px;
  margin-bottom: 6px;
}

.profile-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.profile-highlight {
  font-size: 11px;
  color: #e5e7eb;
  margin-bottom: 10px;
}

body[data-theme="light"] .profile-highlight {
  color: #1f2937;
}

.profile-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.mini-card {
  padding: 8px 10px;
  border-radius: 16px;
  border: 1px solid rgba(148,163,184,0.5);
  background: radial-gradient(circle at top, rgba(15,23,42,0.98), rgba(15,23,42,0.9));
  font-size: 11px;
  color: var(--text-muted);
}

.mini-card strong {
  display: block;
  font-size: 11px;
  color: #e5e7eb;
  margin-bottom: 2px;
}

.profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
}

.link-chip {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(37,99,235,0.7);
  background: rgba(15,23,42,0.95);
  color: #bfdbfe;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.link-chip:hover {
  background: radial-gradient(circle at top, rgba(37,99,235,0.7), rgba(15,23,42,1));
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(37,99,235,0.8);
}

.link-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #60a5fa;
}

body[data-theme="light"] .profile-image-wrapper {
  box-shadow: 0 18px 36px rgba(15,23,42,0.16);
}

body[data-theme="light"] .profile-image-inner {
  background: radial-gradient(circle at top, #e2e8f0, #f8fafc);
  border-color: rgba(226,232,240,0.9);
}

body[data-theme="light"] .mini-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.92), rgba(241,245,249,0.92));
  color: #0f172a;
  border-color: rgba(226,232,240,0.8);
}

body[data-theme="light"] .mini-card strong {
  color: #0f172a;
}

body[data-theme="light"] .profile-links .link-chip {
  background: rgba(241,245,249,0.92);
  color: #0f172a;
  border-color: rgba(59,130,246,0.5);
  box-shadow: none;
}

body[data-theme="light"] .profile-links .link-chip:hover {
  background: linear-gradient(120deg, rgba(59,130,246,0.08), rgba(241,245,249,0.95));
  box-shadow: 0 12px 26px rgba(59,130,246,0.16);
}

body[data-theme="light"] .link-dot {
  background: #3b82f6;
}

/* Sections */
section {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  border: var(--glass-border);
  background: linear-gradient(145deg, rgba(15,23,42,0.96), rgba(15,23,42,0.88));
  padding: 18px 18px 18px;
  box-shadow: 0 24px 60px rgba(15,23,42,0.9);
  position: relative;
  overflow: hidden;
}

section::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(56,189,248,0.16), transparent 60%),
    radial-gradient(circle at 100% 0, rgba(168,85,247,0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease-out;
  pointer-events: none;
}

section:hover::before {
  opacity: 1;
}

body[data-theme="light"] section {
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(248,250,252,0.94));
  box-shadow: 0 18px 50px rgba(15,23,42,0.1);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}

.section-title {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.section-kicker {
  font-size: 11px;
  color: var(--text-muted);
}

/* Experience */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 900px) {
  .experience-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.exp-card {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.65);
  padding: 10px 12px;
  background: radial-gradient(circle at top, rgba(15,23,42,0.95), rgba(15,23,42,0.9));
  position: relative;
}

.exp-chip-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 6px;
}

.exp-company {
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
}

.exp-tag {
  font-size: 10px;
  color: #a5b4fc;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(129,140,248,0.7);
  background: rgba(15,23,42,0.96);
}

body[data-theme="light"] .exp-tag {
  color: #4338ca;
  background: rgba(238,242,255,0.95);
  border-color: rgba(99,102,241,0.45);
}

.exp-role {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.exp-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 10px;
  color: #6b7280;
  margin-bottom: 6px;
}

.exp-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.exp-bullet-list {
  list-style: none;
  font-size: 11px;
  color: #d1d5db;
  padding-left: 0;
}

.exp-bullet-list li {
  margin-bottom: 4px;
  display: flex;
  gap: 6px;
}

body[data-theme="light"] .exp-bullet-list {
  color: #1f2937;
}

body[data-theme="light"] .exp-bullet-list li {
  color: #1f2937;
}

.exp-bullet-list li {
  margin-bottom: 4px;
  display: flex;
  gap: 6px;
}

.exp-bullet-dot {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(to bottom right, var(--accent), var(--accent-2));
  margin-top: 5px;
  flex-shrink: 0;
}

body[data-theme="light"] .exp-bullet-dot {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 8px rgba(14,165,233,0.28);
  border: 1px solid rgba(14,165,233,0.25);
}

body[data-theme="light"] .exp-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(241,245,249,0.94));
  border-color: rgba(148,163,184,0.45);
  box-shadow: 0 12px 30px rgba(15,23,42,0.1);
}

body[data-theme="light"] .exp-role,
body[data-theme="light"] .exp-meta {
  color: #475569;
}

body[data-theme="light"] .exp-company {
  color: #0f172a;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 950px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.project-card {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.6);
  background:
    radial-gradient(circle at 0 0, rgba(56,189,248,0.16), rgba(15,23,42,0.96)),
    radial-gradient(circle at 100% 100%, rgba(168,85,247,0.18), rgba(15,23,42,0.96));
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.project-pill {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.7);
  color: var(--text-muted);
  align-self: flex-start;
}

.project-name {
  font-size: 13px;
  font-weight: 600;
}

.project-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.project-tag {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.96);
  border: 1px solid rgba(55,65,81,0.9);
  color: #9ca3af;
}

.project-link {
  margin-top: 4px;
  font-size: 11px;
  color: #93c5fd;
  text-decoration: none;
  align-self: flex-start;
}

.project-link:hover {
  text-decoration: underline;
}

body[data-theme="light"] .project-card {
  background:
    radial-gradient(circle at 0 0, rgba(14,165,233,0.18), rgba(255,255,255,0.96)),
    radial-gradient(circle at 100% 100%, rgba(124,58,237,0.16), rgba(255,255,255,0.96));
  border-color: rgba(148,163,184,0.45);
  box-shadow: 0 14px 40px rgba(15,23,42,0.12);
}

body[data-theme="light"] .project-tag {
  background: rgba(241,245,249,0.96);
  border-color: rgba(148,163,184,0.4);
  color: #0f172a;
}

body[data-theme="light"] .project-pill {
  color: #0f172a;
  border-color: rgba(148,163,184,0.45);
}

body[data-theme="light"] .project-name {
  color: #0f172a;
}

body[data-theme="light"] .project-desc {
  color: #334155;
}

/* Skills */
.skills-layout {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 14px;
}

@media (max-width: 900px) {
  .skills-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

.skills-layout > div:first-child {
  grid-column: 1 / -1;
}

.skills-columns {
  grid-column: 1 / -1;
}

.skill-pill {
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.98);
  border: 1px solid rgba(148,163,184,0.7);
  color: #d1d5db;
  box-shadow: 0 0 0 1px rgba(15,23,42,1);
}

.skills-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  font-size: 11px;
}

.skills-columns h4 {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
}

.skills-columns ul {
  list-style: none;
  color: #e5e7eb;
}

.skills-columns li {
  margin-bottom: 3px;
}

body[data-theme="light"] .skills-cloud .skill-pill {
  background: rgba(255,255,255,0.95);
  border-color: rgba(148,163,184,0.45);
  color: #0f172a;
  box-shadow: none;
}

body[data-theme="light"] .skills-columns h4 {
  color: #0f172a;
}

body[data-theme="light"] .skills-columns ul {
  color: #1f2937;
}

/* Contact */
.contact-body {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr;
  gap: 14px;
}

@media (max-width: 850px) {
  .contact-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.contact-meta {
  font-size: 11px;
  margin-top: 10px;
  color: #6b7280;
}

.contact-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.contact-card {
  border-radius: 18px;
  border: 1px solid rgba(148,163,184,0.7);
  padding: 10px 12px;
  background: radial-gradient(circle at top, rgba(15,23,42,0.96), rgba(15,23,42,0.92));
  font-size: 12px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.contact-label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.contact-value {
  font-size: 12px;
  color: #e5e7eb;
  word-break: break-all;
}

body[data-theme="light"] .contact-value {
  color: #0f172a;
}

.contact-link {
  color: #93c5fd;
  text-decoration: none;
}

.contact-link:hover {
  text-decoration: underline;
}

.contact-footer {
  margin-top: 6px;
  font-size: 10px;
  color: #6b7280;
}

body[data-theme="light"] .contact-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(241,245,249,0.94));
  border-color: rgba(148,163,184,0.45);
  color: #0f172a;
}

body[data-theme="light"] .contact-text {
  color: #334155;
}

body[data-theme="light"] .contact-meta {
  color: #475569;
}

body[data-theme="light"] .contact-link {
  color: #2563eb;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
  transition:
    opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 520px) {
  .nav {
    padding-inline: 12px;
  }

  .nav-title {
    font-size: 15px;
  }

  .nav-links {
    display: none;
  }

  .nav-right {
    margin-left: auto;
  }

  .theme-toggle {
    padding-inline: 8px;
  }

  .theme-toggle .theme-label {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
