
:root {
  --bg-color: #0a0a0f;
  --accent-color: #a855f7;
  --text-white: #ffffff;
  --text-gray: #888888;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'JetBrains Mono', monospace;
  background-color: var(--bg-color);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, .section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.section-title {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-color);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Hero */
#hero {
  height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 5%;
  position: relative;
}

.hero-content {
  max-width: 800px;
}

.label {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--accent-color);
  animation: underline 0.8s ease-out forwards;
}

@keyframes underline {
  to { width: 100%; }
}

.bio {
  font-size: 1.2rem;
  color: var(--text-gray);
  margin-bottom: 2rem;
}

.buttons {
  display: flex;
  gap: 1rem;
}

.button {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--accent-color);
  border-radius: 50px;
  color: var(--text-white);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  transition: all 0.3s;
}

.button:hover {
  background-color: var(--accent-color);
  color: var(--bg-color);
}

.signal-indicator {
  position: absolute;
  top: 2rem;
  right: 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.signal-indicator .line {
  background-color: var(--accent-color);
  border-radius: 2px;
}

.line1 { width: 40px; height: 2px; }
.line2 { width: 30px; height: 2px; }
.line3 { width: 20px; height: 2px; }

/* About */
#about {
  padding: 4rem 5%;
}

.about-content {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
}

.bio-column {
  flex: 1;
  min-width: 300px;
}

.bio-column p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.skills-column {
  flex: 1;
  min-width: 300px;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-chip {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--accent-color);
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  transition: box-shadow 0.3s;
}

.skill-chip:hover {
  box-shadow: 0 0 10px var(--accent-color);
}

/* Projects */
#projects {
  padding: 4rem 5%;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.project-card {
  border-radius: 12px;
  padding: 2rem;
  color: var(--text-white);
  background: var(--gradient);
  background-size: 200% 200%;
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
  transition: transform 0.3s, box-shadow 0.3s, background-position 0.5s;
}

.project-card:nth-child(1) { animation-delay: 0s; }
.project-card:nth-child(2) { animation-delay: 0.1s; }
.project-card:nth-child(3) { animation-delay: 0.2s; }
.project-card:nth-child(4) { animation-delay: 0.3s; }

.project-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px var(--accent-color);
  background-position: 100% 100%;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.project-card p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

.category {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Experience */
#experience {
  padding: 4rem 5%;
}

.timeline {
  border-left: 2px solid var(--accent-color);
  padding-left: 2rem;
  margin-left: 1rem;
  position: relative;
}

.timeline-entry {
  position: relative;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-entry.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-entry::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.timeline-entry .year {
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-color);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-entry h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.timeline-entry .role {
  color: var(--text-gray);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.timeline-entry .description {
  color: var(--text-gray);
}

.timeline-entry:nth-child(1) { transition-delay: 0s; }
.timeline-entry:nth-child(2) { transition-delay: 0.1s; }
.timeline-entry:nth-child(3) { transition-delay: 0.2s; }

/* Contact */
#contact {
  padding: 4rem 5%;
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.email-link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 2rem;
  color: var(--text-white);
  text-decoration: none;
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.email-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s;
}

.email-link:hover::after {
  width: 100%;
}

.social-links {
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 2rem;
}

.social-links a {
  color: var(--text-white);
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--accent-color);
}

.availability {
  font-style: italic;
  color: var(--text-gray);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--text-gray);
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .about-content { flex-direction: column; }
  .signal-indicator { display: none; }
}
