:root {
  --blue: #0757a6;
  --cyan: #12dce7;
  --orange: #f5a31c;
  --ink: #102030;
  --paper: #f8fbff;
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 18%, rgba(18, 220, 231, 0.2), transparent 28rem),
    radial-gradient(circle at 82% 76%, rgba(245, 163, 28, 0.16), transparent 24rem),
    linear-gradient(135deg, #063f88 0%, #0757a6 46%, #04366f 100%);
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

body::after {
  position: fixed;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 24% 34%, rgba(18, 220, 231, 0.18), transparent 23rem),
    radial-gradient(circle at 72% 62%, rgba(245, 163, 28, 0.13), transparent 20rem);
  filter: blur(6px);
  opacity: 0.85;
  animation: background-drift 14s ease-in-out infinite alternate;
}

.home {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 48px 0;
  display: grid;
  align-content: center;
  gap: 48px;
  text-align: center;
}

.logo {
  width: min(520px, 100%);
  height: auto;
  margin: 0 auto;
  animation: logo-in 720ms ease-out both;
}

.tagline {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 1.1rem;
  font-weight: 700;
  animation: soft-in 560ms ease-out 180ms both;
}

.tagline span {
  display: inline-block;
  color: var(--orange);
  animation: plus-pop 700ms ease-out 340ms both;
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(2.4rem, 8vw, 4.4rem);
  font-weight: 400;
  letter-spacing: 0;
}

.links {
  display: grid;
  justify-items: center;
  gap: 18px;
  animation: soft-in 560ms ease-out 320ms both;
}

a {
  color: inherit;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 6px;
  padding: 0 24px;
  background: linear-gradient(135deg, #ffb12b, var(--orange));
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(245, 163, 28, 0.32);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease;
  animation:
    soft-in 520ms ease-out 420ms both,
    button-pulse 2.8s ease-in-out 1s infinite;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(245, 163, 28, 0.42);
}

.whatsapp-icon {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  color: transparent;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.16);
}

.mail {
  color: #ffffff;
  font-size: 1.1rem;
  text-decoration: none;
  opacity: 0.88;
  transition: opacity 180ms ease, text-shadow 180ms ease;
}

.mail:hover,
.mail:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-shadow: 0 0 18px rgba(18, 220, 231, 0.35);
}

@media (max-width: 520px) {
  .home {
    width: min(100% - 28px, 420px);
    gap: 36px;
  }

  .button {
    width: 100%;
  }
}

@keyframes button-pulse {
  0%,
  100% {
    box-shadow: 0 14px 34px rgba(245, 163, 28, 0.32);
  }
  50% {
    box-shadow: 0 14px 34px rgba(245, 163, 28, 0.5), 0 0 0 7px rgba(245, 163, 28, 0.12);
  }
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes soft-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes plus-pop {
  0% {
    opacity: 0;
    transform: translateY(4px) scale(0.75);
  }
  60% {
    opacity: 1;
    transform: translateY(0) scale(1.18);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes background-drift {
  from {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
  }
  to {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
  }
}

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