:root {
  --bg: #04070f;
  --panel: rgba(11, 16, 31, 0.62);
  --panel-border: rgba(255, 255, 255, 0.13);
  --text: #ecf1ff;
  --muted: #a8b6db;
  --accent: #52f4c6;
  --accent-2: #4fa8ff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 700px at 10% -10%, #14264a 0%, transparent 55%),
    radial-gradient(900px 500px at 90% 100%, #072f44 0%, transparent 60%), var(--bg);
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, black 25%, transparent 85%);
  pointer-events: none;
}

.blob {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite;
}

.blob-a {
  width: 320px;
  height: 320px;
  background: linear-gradient(135deg, #4fa8ff, #5f7dff);
  top: -90px;
  right: 7vw;
}

.blob-b {
  width: 360px;
  height: 360px;
  background: linear-gradient(140deg, #35d3ff, #52f4c6);
  bottom: -130px;
  left: -40px;
  animation-delay: -6s;
}

.shell {
  max-width: 1020px;
  margin: 0 auto;
  padding: 72px 24px;
  display: grid;
  gap: 20px;
}

.card {
  background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.01) 36%
    ),
    var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.5);
  animation: rise 0.8s ease both;
}

.card:nth-child(2) {
  animation-delay: 0.15s;
}

.card:nth-child(3) {
  animation-delay: 0.3s;
}

.hero h1,
h2,
h3 {
  font-family: "Unbounded", sans-serif;
  margin: 0;
  letter-spacing: 0.01em;
}

.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.05;
  max-width: 14ch;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.17em;
  font-size: 0.76rem;
}

.lead {
  margin: 16px 0 0;
  max-width: 62ch;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--muted);
  line-height: 1.55;
}

h2 {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  margin-bottom: 18px;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.service {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(170deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service:hover {
  transform: translateY(-3px);
  border-color: rgba(82, 244, 198, 0.6);
}

h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

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

.contact ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(2, 4, 11, 0.38);
}

.contact span {
  color: var(--muted);
  font-size: 0.94rem;
}

.contact a,
.contact strong {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact a:hover {
  color: var(--accent);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 18px, 0) scale(1.08);
  }
}

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

@media (max-width: 640px) {
  .shell {
    padding: 34px 14px 20px;
    gap: 14px;
  }

  .card {
    border-radius: 18px;
    padding: 18px;
  }

  .contact li {
    flex-direction: column;
    align-items: flex-start;
  }
}
