:root {
  --background: #0b1020;
  --background-secondary: #141b31;
  --panel: rgba(20, 27, 49, 0.82);
  --panel-border: rgba(255, 255, 255, 0.11);
  --text: #f4f6fb;
  --muted: #b5bfd4;
  --accent: #7aa2ff;
  --accent-secondary: #9d7cff;
  --status: #64d98b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(122, 162, 255, 0.22),
      transparent 32rem
    ),
    radial-gradient(
      circle at 85% 75%,
      rgba(157, 124, 255, 0.18),
      transparent 30rem
    ),
    linear-gradient(
      135deg,
      var(--background),
      var(--background-secondary)
    );
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  width: 22rem;
  height: 22rem;
  content: "";
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.3;
  animation: drift 15s ease-in-out infinite alternate;
}

body::before {
  top: -7rem;
  right: -5rem;
  background: var(--accent);
}

body::after {
  bottom: -8rem;
  left: -6rem;
  background: var(--accent-secondary);
  animation-delay: -7s;
}

.page {
  display: grid;
  min-height: 100vh;
  grid-template-rows: 1fr auto;
}

main {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 4rem 1.25rem 2rem;
}

.card {
  width: min(760px, 100%);
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--panel-border);
  border-radius: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transform: translateY(10px);
  opacity: 0;
  animation: reveal 700ms ease forwards;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--status);
  box-shadow: 0 0 0 0 rgba(100, 217, 139, 0.4);
  animation: pulse 2.2s infinite;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 5.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.domain-accent {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-secondary)
  );
  background-clip: text;
  color: transparent;
}

.lead {
  max-width: 630px;
  margin: 1.6rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.service {
  padding: 1rem;
  border: 1px solid var(--panel-border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.service:hover {
  border-color: rgba(122, 162, 255, 0.45);
  background: rgba(122, 162, 255, 0.075);
  transform: translateY(-3px);
}

.service strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--text);
}

.service span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 2rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.contact:hover,
.contact:focus-visible {
  border-color: rgba(122, 162, 255, 0.6);
  background: rgba(122, 162, 255, 0.09);
  transform: translateY(-2px);
}

.contact::before {
  content: "✉";
  color: var(--accent);
}

footer {
  padding: 1.4rem 1rem 2rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.88rem;
}

noscript {
  display: block;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(100, 217, 139, 0.38);
  }

  70% {
    box-shadow: 0 0 0 0.65rem rgba(100, 217, 139, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(100, 217, 139, 0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }

  to {
    transform: translate3d(2rem, 1.5rem, 0) scale(1.1);
  }
}

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

  .card {
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    --background: #eef3ff;
    --background-secondary: #e7eaf8;
    --panel: rgba(255, 255, 255, 0.8);
    --panel-border: rgba(20, 30, 60, 0.12);
    --text: #11172a;
    --muted: #59627a;
    --shadow: 0 24px 70px rgba(48, 58, 95, 0.16);
  }
}
