* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
}

.container {
  width: min(1000px, 90%);
  margin: auto;
}

.hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #111827, #172554);
}

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

.intro {
  color: #60a5fa;
  font-size: 1.2rem;
  margin-bottom: 0;
}

h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin: 0;
}

.hero h2 {
  font-weight: 400;
  color: #94a3b8;
}

.buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.btn {
  text-decoration: none;
  background: #2563eb;
  color: white;
  padding: 0.8rem 1.4rem;
  border-radius: 8px;
  font-weight: bold;
}

.btn:hover {
  background: #1d4ed8;
}

.btn.secondary {
  background: transparent;
  border: 1px solid #60a5fa;
}

section {
  padding: 4rem 0;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skills span {
  background: #1e293b;
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

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

.project-card {
  background: #1e293b;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #334155;
}

.project-card h3 {
  margin-top: 0;
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.project-links a {
  color: #60a5fa;
  text-decoration: none;
}

.project-links a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid #334155;
  color: #94a3b8;
}

@media (max-width: 600px) {
  .buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }
}