:root {
  --bg: #0b0e14;
  --bg-soft: #11151f;
  --card: #161b28;
  --border: #232a3d;
  --text: #e8eaf0;
  --muted: #9aa3b5;
  --accent: #5ec8f2;
  --accent-dim: #2b7a9e;
  --gold: #d9a441;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(94, 200, 242, 0.12), transparent),
    var(--bg);
}

.logo {
  width: 72px;
  height: 72px;
  margin-bottom: 1.75rem;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

h1 .accent { color: var(--accent); }

.tagline {
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.cta {
  display: inline-block;
  color: var(--bg);
  background: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 0.9rem 2.5rem;
  border-radius: 999px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.cta:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.portfolio {
  width: 100%;
  max-width: 56rem;
  padding: 0 1.5rem 4rem;
  margin: 0 auto;
}

.portfolio h2 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 1.25rem;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

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

.card .name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.card .desc {
  font-size: 0.8rem;
  color: var(--muted);
}

.contact {
  text-align: center;
  padding: 0 1.5rem 4rem;
}

.contact a {
  display: inline-block;
  color: var(--bg);
  background: var(--accent);
  font-weight: 600;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border-radius: 999px;
  transition: opacity 0.2s ease;
}

.contact a:hover { opacity: 0.85; }

footer {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 480px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
