:root {
  --bg: #0a131c;
  --surface: rgba(9, 20, 31, 0.8);
  --surface-border: rgba(166, 205, 255, 0.16);
  --text: #eef5ff;
  --muted: #a4bbd4;
  --accent: #28d39f;
  --accent-2: #4ea4ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 20% -20%, rgba(78, 164, 255, 0.32), transparent 65%),
    radial-gradient(900px 600px at 100% 0%, rgba(40, 211, 159, 0.22), transparent 70%),
    linear-gradient(150deg, #050a10, #0a131c 45%, #071018);
  overflow-x: hidden;
}

.orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
  opacity: 0.38;
}

.orb-one {
  background: #2ea3ff;
  top: -150px;
  left: -120px;
}

.orb-two {
  background: #1bcf9e;
  bottom: -180px;
  right: -120px;
}

.site-header,
main,
footer {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 0;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.hero {
  padding: 5.5rem 0 3.5rem;
  animation: riseIn 0.7s ease;
}

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

h1 {
  margin: 0;
  max-width: 850px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.05;
}

.subtitle {
  max-width: 670px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
}

.cta-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.72rem 1.2rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.btn-primary {
  background: linear-gradient(140deg, #25d79f, #2f9fff);
  color: #04101a;
  box-shadow: 0 10px 28px rgba(24, 148, 250, 0.28);
}

.btn-secondary,
.btn-ghost {
  border: 1px solid var(--surface-border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 4.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 1.1rem;
  padding: 1.1rem;
  backdrop-filter: blur(8px);
  animation: riseIn 0.7s ease;
}

.card h2 {
  margin: 0 0 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.52;
}

.card ul {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: #cfe3f8;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #86a5c7;
  border-top: 1px solid rgba(166, 205, 255, 0.12);
  padding: 1rem 0 1.8rem;
  font-size: 0.92rem;
}

footer a {
  color: #9cc6ff;
  text-decoration: none;
}

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

@media (max-width: 980px) {
  .portfolio {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  footer {
    flex-direction: column;
    gap: 0.35rem;
    align-items: flex-start;
  }
}
