/* === RESET & BASE === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --bg-card: #111111;
  --bg-card-hover: #1a1a1a;
  --text: #f5f5f5;
  --text-muted: #888888;
  --accent: #4f9cf7;
  --accent-glow: rgba(79, 156, 247, 0.15);
  --border: #222222;
  --live: #22c55e;
  --progress: #f59e0b;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.name {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.headline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  color: var(--text);
  max-width: 560px;
  margin: 0 auto 16px;
  line-height: 1.5;
}

.tagline {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.05em;
}

/* === ABOUT === */
.about {
  padding: 80px 24px 60px;
  border-top: 1px solid var(--border);
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  text-align: center;
  line-height: 1.7;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.pillar {
  text-align: center;
  padding: 32px 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.3s, background 0.3s;
}

.pillar:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.pillar-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.pillar-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === PROJECTS === */
.projects {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.project-card {
  display: block;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.project-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.project-status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--progress);
  margin-bottom: 12px;
}

.project-status.live {
  background: rgba(34, 197, 94, 0.15);
  color: var(--live);
}

.project-name {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* === CONTACT === */
.contact {
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.contact-line {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.link {
  font-size: 0.95rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.link:hover {
  border-bottom-color: var(--accent);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 640px) {
  .hero {
    min-height: 80vh;
    padding: 60px 20px;
  }

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

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

  .links {
    gap: 16px;
  }
}
