:root {
  --bg-primary: #0a0a0a;
  --bg-card: #141414;
  --border-subtle: #2a2a2a;
  --text-primary: #f5f5f5;
  --text-muted: #888;
  --accent: #00d4aa;
  --accent-secondary: #ff6b35;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

main {
  animation: fadeIn 0.8s ease-out;
}

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

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  min-height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem;
  background: radial-gradient(ellipse at center bottom, rgba(0, 212, 170, 0.08) 0%, transparent 60%);
}

.hero-content {
  animation: slideUp 0.8s ease-out 0.2s both;
}

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

.name-container {
  margin-bottom: 1.5rem;
}

.name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.accent-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-secondary));
  margin: 1.5rem auto 0;
  border-radius: 2px;
  box-shadow: 0 0 20px var(--accent);
}

.title {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Sections */
section {
  padding: 2rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

/* About */
.about {
  background: var(--bg-card);
  animation: slideUp 0.8s ease-out 0.4s both;
}

.about .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.bio {
  max-width: 700px;
  font-size: 1rem;
  color: #bbb;
  line-height: 1.6;
}

.experience-badge {
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.experience-badge .years {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-secondary);
  line-height: 1;
}

.experience-badge .label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1rem;
  transition: all 0.3s ease;
  animation: slideUp 0.8s ease-out both;
}

.skill-card:nth-child(1) { animation-delay: 0.5s; }
.skill-card:nth-child(2) { animation-delay: 0.6s; }
.skill-card:nth-child(3) { animation-delay: 0.7s; }
.skill-card:nth-child(4) { animation-delay: 0.8s; }

.skill-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 212, 170, 0.15);
}

.skill-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.skill-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Contact */
.contact {
  text-align: center;
  padding: 1.5rem 0;
  background: linear-gradient(180deg, transparent, rgba(0, 212, 170, 0.03));
}

.contact .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-subtle);
}

.contact-btn:hover {
  transform: translateY(-2px);
}

.contact-btn.email:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 212, 170, 0.2);
}

.contact-btn.linkedin:hover {
  border-color: #0077b5;
  box-shadow: 0 4px 20px rgba(0, 119, 181, 0.3);
}

.contact-btn.cv {
  background: var(--bg-card);
}

.contact-btn.cv:hover {
  border-color: var(--accent-secondary);
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

.location {
  margin-top: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.location::before {
  content: '📍 ';
}

/* Footer */
footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 600px) {
  section {
    padding: 2.5rem 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

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

  .contact-links {
    flex-direction: column;
    width: 100%;
  }

  .contact-btn {
    width: 100%;
    justify-content: center;
  }
}