@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

html,
body {
  height: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0a0a0a;
  color: #e4e4e7;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

main {
  max-width: 1000px;
  margin: auto;
  padding: 3rem 2rem;
  position: relative;
  z-index: 2;
}

header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 1.25rem;
  color: #0066cc;
  font-weight: 600;
  margin-bottom: 1rem;
}

.intro {
  font-size: 1.05rem;
  color: #a1a1aa;
  max-width: 850px;
  line-height: 1.7;
}

.location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: #71717a;
  font-size: 0.95rem;
}

section {
  margin-bottom: 3rem;
}

h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

h2::before {
  content: "";
  width: 4px;
  height: 24px;
  background: #0066cc;
  border-radius: 2px;
}

h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.experience-item,
.project-item {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.experience-item:hover,
.project-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 102, 204, 0.3);
  transform: translateY(-2px);
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.company {
  color: #0066cc;
  font-weight: 600;
  font-size: 1rem;
}

.company a {
  color: #0066cc;
  font-weight: 600;
  font-size: 1rem;
}

.period {
  color: #71717a;
  font-size: 0.9rem;
  white-space: nowrap;
}

.description {
  color: #a1a1aa;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.description a {
  color: #0066cc;
  margin-bottom: 1rem;
  line-height: 1.7;
}

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  color: #d4d4d8;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

ul li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: #0066cc;
  font-weight: bold;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-tag {
  padding: 0.4rem 0.85rem;
  background: rgba(0, 102, 204, 0.1);
  border: 1px solid rgba(0, 102, 204, 0.2);
  border-radius: 6px;
  font-size: 0.85rem;
  color: #60a5fa;
  font-weight: 500;
  transition: all 0.2s ease;
}

.tech-tag:hover {
  background: rgba(0, 102, 204, 0.2);
  border-color: rgba(0, 102, 204, 0.4);
  transform: translateY(-1px);
}

.tech-tag.primary {
  background: rgba(0, 102, 204, 0.15);
  border-color: rgba(0, 102, 204, 0.3);
  color: #93c5fd;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.skill-category {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem;
}

.skill-category h4 {
  color: #0066cc;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 102, 204, 0.1);
  border: 1px solid rgba(0, 102, 204, 0.2);
  border-radius: 8px;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-links a:hover {
  background: rgba(0, 102, 204, 0.2);
  border-color: rgba(0, 102, 204, 0.4);
  transform: translateY(-2px);
  color: #93c5fd;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #a1a1aa;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-right: 0.75rem;
  margin-top: 0.5rem;
}

.btn:hover {
  background: rgba(0, 102, 204, 0.1);
  border-color: rgba(0, 102, 204, 0.3);
  color: #60a5fa;
  transform: translateY(-1px);
}

.certifications {
  display: grid;
  gap: 0.75rem;
}

.cert-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.cert-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 102, 204, 0.2);
}

.cert-name {
  font-weight: 500;
  color: #e4e4e7;
}

.cert-provider {
  color: #71717a;
  font-size: 0.9rem;
}

.cert-hours {
  color: #0066cc;
  font-size: 0.85rem;
  font-weight: 600;
}

canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .experience-header {
    flex-direction: column;
    gap: 0.25rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  main {
    padding: 2rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
