/* =========================
   VARIÁVEIS GLOBAIS
========================== */
:root {
  --bg-base: #000000;
  --bg-deep: #05020c;
  --footer-bg: #050505;
  --text-main: #f8f5ff;
  --text-muted: rgba(255, 255, 255, 0.5);
}

/* =========================
   RESET / BASE
========================== */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  background-color: var(--bg-base);
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: "Montserrat", sans-serif;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: hidden;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(circle at left top, rgba(88, 42, 180, 0.18) 0%, transparent 40%),
    radial-gradient(circle at right top, rgba(88, 42, 180, 0.18) 0%, transparent 40%),
    linear-gradient(180deg, var(--bg-base) 0%, var(--bg-deep) 100%);
  background-repeat: no-repeat;
  background-attachment: scroll;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.site-shell {
  min-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  min-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: 1fr auto;
  background: transparent;
}

/* =========================
   CONTEÚDO PRINCIPAL
========================== */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: 32px 20px 56px;
}

.logo {
  width: 130px;
  margin-bottom: 34px;
  display: block;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.64);
  margin-bottom: 18px;
}

.hero-title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.02;
}

.title-line {
  display: block;
  white-space: nowrap;
}

.highlight {
  font-family: "Cinzel", serif;
  background: linear-gradient(
    90deg,
    #7b3ff5 0%,
    #a874ff 40%,
    #d6c2ff 75%,
    #f4edff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.divider {
  width: 150px;
  height: 1px;
  margin: 28px auto 24px;
  background: linear-gradient(90deg, transparent, #9b5cff, transparent);
  animation: breath 5.5s ease-in-out infinite;
}

.subtitle {
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.btn-beta {
  padding: 12px 30px;
  min-width: 170px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 2px;
  transition: 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-beta:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: scale(1.03) translateY(-1px);
}


/* =========================
   RODAPÉ
========================== */
.site-footer {
  width: 100%;
  background: var(--footer-bg);
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-text {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.2px;
}

.footer-separator {
  opacity: 0.55;
  margin: 0 6px;
}

@media (min-width: 1024px) {
  .site-footer {
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
  }

  .footer-text {
    font-size: 0.74rem;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-top: 16px;
  }

  .footer-text {
    font-size: 0.7rem;
    line-height: 1.5;
  }
}

/* =========================
   ANIMAÇÕES
========================== */
@keyframes breath {
  0%,
  100% {
    transform: scaleX(0.3);
    opacity: 0.3;
  }
  50% {
    transform: scaleX(1);
    opacity: 0.9;
  }
}

/* =========================
   DESKTOP GRANDE
========================== */
@media (min-width: 1024px) {
  .container {
    padding: 30px 24px 44px;
  }

  .logo {
    width: 132px;
    margin-bottom: 34px;
  }

  .eyebrow {
    margin-bottom: 20px;
  }

  .hero-title {
    font-size: clamp(4.1rem, 6vw, 5.2rem);
    line-height: 1;
  }

  .divider {
    margin: 28px auto 24px;
  }

  .subtitle {
    margin-bottom: 24px;
  }
}

/* =========================
   TABLET / MOBILE
========================== */
@media (max-width: 768px) {
  body {
    overflow-y: auto;
    background-color: var(--bg-base);
    background-image:
      radial-gradient(circle at left top, rgba(88, 42, 180, 0.14) 0%, rgba(88, 42, 180, 0.06) 20%, transparent 44%),
      radial-gradient(circle at right top, rgba(88, 42, 180, 0.14) 0%, rgba(88, 42, 180, 0.06) 20%, transparent 44%),
      radial-gradient(circle at 50% 34%, rgba(88, 42, 180, 0.035) 0%, transparent 34%),
      linear-gradient(180deg, var(--bg-base) 0%, var(--bg-deep) 100%);
  }

  .container {
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 42px 18px 52px;
  }

  .logo {
    width: 108px;
    margin-bottom: 30px;
  }

  .eyebrow {
    letter-spacing: 3px;
    font-size: 0.74rem;
    margin-bottom: 16px;
  }

  .hero-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.9rem, 8.7vw, 2.8rem);
    line-height: 1.04;
    text-align: center;
  }

  .title-line {
    display: block;
    width: auto;
    max-width: none;
    margin-inline: auto;
    white-space: nowrap;
    text-align: center;
  }

  .hero-title .title-line:first-child {
    display: inline-flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.12em;
    font-size: 0.9em;
  }

  .hero-title .title-line:last-child {
    font-size: 0.88em;
  }

  .divider {
    width: 126px;
    margin: 24px auto 22px;
  }

  .subtitle {
    letter-spacing: 3px;
    font-size: 0.74rem;
    margin-bottom: 24px;
  }

  .btn-beta {
    padding: 11px 26px;
    min-width: 168px;
    font-size: 0.72rem;
  }

  footer {
    background: var(--footer-bg);
    padding-top: 16px;
  }
}

/* =========================
   MOBILE PEQUENO
========================== */
@media (max-width: 420px) {
  .container {
    padding: 38px 16px 48px;
  }

  .eyebrow,
  .subtitle {
    letter-spacing: 2.4px;
    font-size: 0.7rem;
  }

  .hero-title {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.66rem, 8.35vw, 2.2rem);
    line-height: 1.05;
    text-align: center;
  }

  .title-line {
    display: block;
    width: auto;
    max-width: none;
    margin-inline: auto;
    white-space: nowrap;
    text-align: center;
  }

  .hero-title .title-line:first-child {
    display: inline-flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.1em;
    font-size: 0.92em;
  }

  .hero-title .title-line:last-child {
    font-size: 0.9em;
  }

  .divider {
    width: 118px;
    margin: 22px auto 20px;
  }

  .btn-beta {
    min-width: 160px;
  }
}

@media (min-width: 1800px) {
  .container {
    padding: 20px 24px 72px;
  }

  .logo {
    width: 145px;
    margin-bottom: 38px;
  }

  .hero-title {
    font-size: clamp(4.6rem, 4.8vw, 6rem);
  }

  .subtitle {
    font-size: 0.84rem;
  }

  .btn-beta {
    transform: scale(1.03);
  }

  .footer-text {
    font-size: 0.74rem;
  }
}