:root {
  color-scheme: light;
  --blue: #0827b9;
  --cyan: #00aeef;
  --magenta: #ec008c;
  --purple: #4f24d8;
  --ink: #071a52;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

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

body {
  overflow-x: hidden;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.94)),
    radial-gradient(circle at 50% 45%, #eaf9ff 0, var(--white) 62%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(8, 39, 185, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 39, 185, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, transparent, black 40%, transparent);
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  padding: clamp(2rem, 7vw, 5rem) 1.5rem;
  text-align: center;
}

.logo {
  position: relative;
  display: block;
  width: min(72rem, 92vw);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  filter: drop-shadow(0 22px 36px rgba(8, 39, 185, 0.1));
  animation: arrive 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.logo .logo-details {
  position: absolute;
  inset: 0;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  animation: arrive 900ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  margin: 0;
  color: var(--blue);
  font-size: clamp(1.15rem, 2.5vw, 1.75rem);
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::after {
  display: block;
  width: 4.5rem;
  height: 3px;
  margin: 1rem auto 0;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--cyan), var(--purple), var(--magenta));
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
  padding: 0.9rem 1.35rem;
  border: 1px solid rgba(8, 39, 185, 0.12);
  border-radius: 999px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 14px 36px rgba(8, 39, 185, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75);
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition:
    color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.contact svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.contact:hover {
  color: var(--magenta);
  border-color: rgba(236, 0, 140, 0.25);
  box-shadow: 0 18px 42px rgba(79, 36, 216, 0.14);
  transform: translateY(-2px);
}

.contact:hover svg {
  transform: translateX(3px);
}

.contact:focus-visible {
  outline: 3px solid rgba(0, 174, 239, 0.35);
  outline-offset: 4px;
}

.ambient {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
  opacity: 0.28;
  animation: float 9s ease-in-out infinite alternate;
}

.ambient-cyan {
  top: -12rem;
  left: -10rem;
  width: 30rem;
  height: 30rem;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.32), transparent 68%);
}

.ambient-magenta {
  right: -10rem;
  bottom: -14rem;
  width: 32rem;
  height: 32rem;
  background: radial-gradient(circle, rgba(236, 0, 140, 0.2), transparent 68%);
  animation-delay: -4s;
}

@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes float {
  to {
    transform: translate3d(2.5rem, 1.5rem, 0) scale(1.08);
  }
}

@media (max-width: 640px) {
  .hero {
    padding-inline: 1.1rem;
  }

  .logo {
    width: min(42rem, 100vw);
    max-width: 100%;
    margin-block: 0 2.5rem;
  }

  .content {
    gap: 1.5rem;
  }

  .eyebrow {
    letter-spacing: 0.12em;
  }
}

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