:root {
  --bg: #060a12;
  --card: #0b1120;
  --card-2: #0e1626;
  --stroke: #1b2740;
  --text: #d6e2f0;
  --muted: #8a9bbb;
  --accent: #5eead4;        /* teal — AI/LLM signal */
  --accent-2: #a78bfa;      /* violet — secondary */
  --bar: #2dd4bf;
  --bar-ink: #03110d;
  --shadow: 0 12px 44px rgba(2, 8, 20, 0.7);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 18% 12%, rgba(94, 234, 212, 0.07), transparent 26%),
    radial-gradient(circle at 84% 8%, rgba(167, 139, 250, 0.06), transparent 24%),
    radial-gradient(circle at 60% 78%, rgba(94, 234, 212, 0.04), transparent 30%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.014) 0, rgba(255, 255, 255, 0.014) 1px, transparent 1px, transparent 34px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.01) 0, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 34px);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px 0 36px;
  animation: rise 0.7s ease both;
}

.eyebrow {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--accent);
  margin: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(94, 234, 212, 0.08);
  border: 1px solid rgba(94, 234, 212, 0.3);
  padding: 6px 12px;
  border-radius: 999px;
}
.status .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.6);
  animation: pulse 2s infinite;
}

h1 {
  margin: 0;
  font-size: clamp(34px, 6.5vw, 52px);
  line-height: 1.05;
  font-family: 'Barlow Condensed', 'Inter', sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
h1 .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  margin: 0;
  max-width: 740px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

.meta {
  display: flex;
  gap: 10px 22px;
  color: var(--muted);
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.meta b { color: var(--text); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  border: 1px solid var(--accent);
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 13px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  border-color: transparent;
  color: #03110d;
  box-shadow: 0 8px 28px rgba(94, 234, 212, 0.3);
}
.btn-primary:hover { box-shadow: 0 12px 36px rgba(94, 234, 212, 0.42); color: #03110d; }
.btn-ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--stroke); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* ---------- Panels ---------- */
.panel {
  margin-top: 40px;
  padding: 30px 26px 26px;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-top: 2px solid var(--bar);
  box-shadow: var(--shadow);
  position: relative;
  border-radius: 2px;
}
.panel.highlight {
  background: linear-gradient(180deg, rgba(94, 234, 212, 0.06), rgba(167, 139, 250, 0.03));
  border-color: rgba(94, 234, 212, 0.4);
}

.panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: -30px -26px 20px -26px;
  padding: 12px 20px;
  background: var(--bar);
  color: var(--bar-ink);
  border-radius: 2px 2px 0 0;
}
.panel-title {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.panel-title::before { content: '// '; opacity: 0.55; }
.panel-meta {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  color: var(--bar-ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}
.panel > p { margin: 0 0 4px; color: var(--text); }
.panel > p.muted { color: var(--muted); }

/* ---------- Experience ---------- */
.experience-list { display: flex; flex-direction: column; gap: 14px; }

.experience-item {
  padding: 18px 20px;
  border-radius: 2px;
  border: 1px solid var(--stroke);
  border-left: 3px solid transparent;
  background: var(--card-2);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease, border-left-color 0.2s ease;
}
.experience-item:hover {
  transform: translateX(3px);
  border-left-color: var(--accent);
  border-color: rgba(94, 234, 212, 0.35);
}

.experience-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}
.experience-head h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: 0.01em; }
.experience-head h3 .at { color: var(--accent); }
.experience-meta {
  display: flex; gap: 10px; flex-wrap: wrap;
  color: var(--muted);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  white-space: nowrap;
}
.experience-item > p { margin: 0; color: var(--muted); font-size: 15px; }
.experience-item ul.points {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 7px;
}
.experience-item ul.points li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 15px;
}
.experience-item ul.points li::before {
  content: '▸';
  position: absolute; left: 0; top: 0;
  color: var(--accent);
}
.experience-item ul.points strong { color: var(--text); font-weight: 600; }

/* ---------- Tags / Chips ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 2px 0 0; list-style: none; }
.tags li {
  background: rgba(94, 234, 212, 0.06);
  border: 1px solid rgba(94, 234, 212, 0.28);
  color: var(--text);
  padding: 4px 9px;
  border-radius: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.03em;
}

.skill-group { margin-bottom: 18px; }
.skill-group:last-child { margin-bottom: 0; }
.skill-group h4 {
  margin: 0 0 10px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  padding: 7px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  color: var(--text);
  font-weight: 500;
  font-size: 13.5px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.chip:hover { border-color: var(--accent); background: rgba(94, 234, 212, 0.06); }

/* ---------- Contact ---------- */
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--stroke);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  transition: border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
}
.pill:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); }
.pill svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- Lang switch ---------- */
.hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.lang-btn:hover { color: var(--accent); }
.lang-btn.lang-active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
  cursor: default;
}
.lang-sep {
  color: var(--stroke);
  font-size: 11px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  user-select: none;
}

/* ---------- Footer ---------- */
.footer {
  max-width: 880px;
  margin: 40px auto 0;
  padding: 26px 24px 0;
  border-top: 1px solid var(--stroke);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
}
.footer .logo { font-weight: 700; letter-spacing: 0.06em; color: var(--text); }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(94, 234, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}

.panel { animation: rise 0.6s ease both; }
.panel:nth-of-type(1) { animation-delay: 0.05s; }
.panel:nth-of-type(2) { animation-delay: 0.1s; }
.panel:nth-of-type(3) { animation-delay: 0.15s; }
.panel:nth-of-type(4) { animation-delay: 0.2s; }
.panel:nth-of-type(5) { animation-delay: 0.25s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}

@media (max-width: 720px) {
  .page { padding: 40px 16px 72px; }
  .panel { padding: 26px 18px 22px; }
  .panel-header { margin: -26px -18px 18px -18px; }
  .experience-head { flex-direction: column; gap: 4px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 6px; }
}
