:root {
  --bg: #08111f;
  --bg-soft: #101b2f;
  --card: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --muted: #aeb9cd;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #74d4ff;
  --accent-2: #a78bfa;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(116, 212, 255, 0.22), transparent 30rem),
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.24), transparent 34rem),
    var(--bg);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 31, 0.76);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.logo {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #07101f;
}
.nav-links { display: flex; align-items: center; gap: 24px; color: var(--muted); font-weight: 600; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--text) !important; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.7rem; }

.hero { display: grid; grid-template-columns: 1.35fr 0.8fr; gap: 48px; align-items: center; min-height: calc(100vh - 74px); padding: 84px 0; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 800; margin: 0 0 12px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.65rem, 7vw, 5.6rem); line-height: 0.96; letter-spacing: -0.07em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 16px; }
h3 { font-size: 1.12rem; margin-bottom: 10px; }
.hero-text { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 13px 18px; border-radius: 999px; font-weight: 800; transition: transform 0.2s ease, border-color 0.2s ease; }
.button:hover { transform: translateY(-2px); }
.primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #08111f; }
.secondary { border: 1px solid var(--line); color: var(--text); }
.hero-card, .card, .skill-groups > div, .timeline-item, .contact {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.hero-card { padding: 34px; text-align: center; }
.avatar { width: 120px; height: 120px; display: grid; place-items: center; margin: 0 auto 22px; border-radius: 36px; font-size: 2.4rem; font-weight: 900; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #07101f; }
.hero-card p { color: var(--muted); }
.stats { display: grid; gap: 12px; margin-top: 24px; text-align: left; }
.stats span { display: flex; justify-content: space-between; gap: 16px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); color: var(--muted); }
.stats strong { color: var(--text); }
.section { padding: 88px 0; }
.section-heading { max-width: 760px; margin-bottom: 34px; }
.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; color: var(--muted); font-size: 1.08rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 26px; }
.card p, .muted, .timeline-item p, .contact p { color: var(--muted); }
.tag { display: inline-flex; margin-bottom: 18px; padding: 7px 11px; border-radius: 999px; background: rgba(116, 212, 255, 0.12); color: var(--accent); font-weight: 800; font-size: 0.8rem; }
.split-section { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; align-items: start; }
.skill-groups { display: grid; gap: 18px; }
.skill-groups > div { padding: 22px; }
.timeline { display: grid; gap: 18px; }
.timeline-item { padding: 24px; position: relative; overflow: hidden; }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(var(--accent), var(--accent-2)); }
.contact { text-align: center; padding: 56px 28px; }
.contact-actions { justify-content: center; }
.footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 88px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer a { color: var(--text); font-weight: 700; }

@media (max-width: 850px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 20px; right: 20px; top: 74px; flex-direction: column; align-items: stretch; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: #101b2f; }
  .nav-links.open { display: flex; }
  .hero, .about-grid, .cards, .split-section { grid-template-columns: 1fr; }
  .hero { padding-top: 52px; min-height: auto; }
  .section { padding: 64px 0; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1120px); }
  .footer-inner { flex-direction: column; justify-content: center; }
  h1 { font-size: 2.65rem; }
}
