:root {
  --bg: #030712;
  --panel: rgba(17, 24, 39, 0.7);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f3f4f6;
  --muted: #9ca3af;
  --brand1: #3b82f6;
  /* Blue */
  --brand2: #8b5cf6;
  /* Violet */
  --accent: #10b981;
  /* Emerald */
  --glow: rgba(59, 130, 246, 0.5);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  line-height: 1.6;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.15), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.15), transparent 25%);
  color: var(--text);
  overflow-x: hidden;
}

a {
  color: var(--brand1);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--brand2);
}

.section {
  padding: 100px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}

h2 {
  font-size: 3rem;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand1), var(--brand2));
  border-radius: 2px;
}

p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--panel-border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.25rem;
}

.logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: white;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

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

.nav a {
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.btn-theme {
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  margin-left: 12px;
  transition: all 0.3s;
}

.btn-theme:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(15deg);
}

/* Hero */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero h1 .muted {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--brand1);
  margin-bottom: 8px;
  font-family: var(--font-body);
}

.tagline {
  min-height: 32px;
  color: var(--muted);
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 40px;
}

.cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn.primary {
  border: none;
  background: linear-gradient(135deg, var(--brand1), var(--brand2));
  color: white;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn.ghost {
  background: transparent;
  border: 1px solid var(--panel-border);
  color: var(--text);
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--brand1);
}

.btn.small {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
}

.hero-art {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hero-art img {
  width: 100%;
  max-width: 400px;
  border-radius: 24px;
  display: block;
  margin-left: auto;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--panel-border);
}

/* Timeline */
.timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 20px;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 31px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--brand1), var(--brand2), transparent);
  opacity: 0.3;
}

.tl-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  margin-bottom: 40px;
  position: relative;
}

.tl-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  border: 4px solid var(--brand1);
  margin: 6px auto 0;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.tl-content {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 24px;
  border-radius: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tl-content:hover {
  transform: translateY(-5px);
  border-color: var(--brand1);
}

.tl-content h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.dates {
  display: block;
  color: var(--brand1);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tl-content ul {
  margin: 0;
  padding-left: 20px;
}

.tl-content li {
  margin-bottom: 8px;
  color: var(--muted);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  padding: 32px;
  border-radius: 20px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--brand1);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.card .links {
  margin-top: auto;
  padding-top: 20px;
  display: flex;
  gap: 12px;
}

/* Education */
.edu {
  line-height: 1.8;
  padding-left: 20px;
  margin: 0;
}

.edu-group {
  margin-bottom: 32px;
}

.edu-group h3 {
  font-size: 1.5rem;
  color: var(--brand1);
  margin-bottom: 12px;
}

/* Skills */
.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.skill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s;
  cursor: default;
}

.skill:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: var(--brand1);
  color: white;
  transform: scale(1.05);
}

/* Footer */
.site-footer {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--panel-border);
  margin-top: 80px;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Responsive */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-art {
    order: -1;
    margin-bottom: 40px;
  }

  .hero-art img {
    margin: 0 auto;
    max-width: 280px;
  }

  .cta {
    justify-content: center;
  }

  .nav {
    display: none;
    /* Mobile menu could be added here */
  }
}