:root {
  --bg: #0f172a;
  --panel: #111827;
  --panel-border: #1f2937;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent-hover: #0ea5e9;
  --button-text: #082f49;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.12), transparent 30%),
    linear-gradient(180deg, #020617 0%, #0f172a 100%);
  color: var(--text);
}

.container {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4rem 0;
}

.hero {
  margin-bottom: 3rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
}

.subtitle {
  max-width: 680px;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

.projects h2 {
  margin: 0 0 1rem;
  font-size: 1.4rem;
}

.project-card {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.project-card h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.6rem;
}

.project-card p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

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

.button {
  display: inline-block;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: var(--button-text);
}

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

.button.secondary {
  border: 1px solid #334155;
  color: var(--text);
  background: transparent;
}

.button.secondary:hover {
  border-color: #475569;
  background: rgba(255, 255, 255, 0.04);
}

.footer {
  margin-top: 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .container {
    padding: 3rem 0;
  }

  .project-card {
    padding: 1.5rem;
  }
}
