/* AeroHub Connector — página "Coming soon" (mesmo visual do app) */
:root {
  --from: #0d1e2c;
  --to: #27311d;
  --green: #599d12;
  --green-light: #8fd14f;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  background: linear-gradient(180deg, var(--from) 0%, var(--to) 100%) fixed;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0 16px;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 64px 0 32px;
  text-align: center;
}

/* Logo a desenhar-se: traço → cor */
.logo {
  width: 140px;
  overflow: visible;
  animation: settle 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.9s both;
}

.logo__fill {
  opacity: 0;
  animation: fade-in 0.7s ease 1.9s forwards;
}

.logo__link {
  fill: none;
  stroke-width: 3;
  stroke-dasharray: 1530;
  stroke-dashoffset: 1530;
  animation:
    draw 1.5s cubic-bezier(0.45, 0, 0.25, 1) var(--delay) forwards,
    stroke-out 0.7s ease 1.9s forwards;
}

.logo__link--blue {
  --delay: 0.3s;
}

.logo__link--green {
  --delay: 0.5s;
}

.wordmark {
  width: min(300px, 80vw);
  margin-top: 28px;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 2.3s backwards;
}

.badge {
  margin-top: 36px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(89, 157, 18, 0.2);
  box-shadow: inset 0 0 0 1px rgba(143, 209, 79, 0.45);
  color: var(--green-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 2.6s backwards;
}

.title {
  margin-top: 18px;
  font-size: clamp(26px, 5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.02em;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 2.75s backwards;
}

.text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 2.9s backwards;
}

.button {
  margin-top: 28px;
  padding: 12px 24px;
  border-radius: 50px;
  background: var(--green);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.15s ease;
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 3.05s backwards;
}

.button:hover {
  filter: brightness(1.1);
}

.button:active {
  transform: scale(0.97);
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 0 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__links,
.footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--green-light);
}

.footer__copy {
  color: rgba(255, 255, 255, 0.35);
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes stroke-out {
  to {
    stroke-opacity: 0;
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@keyframes settle {
  40% {
    transform: scale(1.05);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
  }
}
