:root {
  color-scheme: dark;
  --bg: #030303;
  --surface: rgba(20, 20, 20, 0.85);
  --text: #f8f6f2;
  --muted: #a3a3a3;
  --accent: #7bf9ff;
  --accent-strong: #9bffec;
  --border: rgba(255, 255, 255, 0.15);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  font-family: "Inter", "Space Grotesk", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  position: relative;
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0 5vw;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(123, 249, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(3, 3, 3, 0.25), rgba(3, 3, 3, 0.95));
  z-index: -1;
  transition: opacity 0.6s ease;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1), transparent 60%);
  mix-blend-mode: screen;
}

.hero::after {
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 80px, 80px 100%;
  opacity: 0.4;
  filter: blur(0.2px);
}

.hero__content {
  max-width: 720px;
  margin-top: 7rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(40px);
  backdrop-filter: blur(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero__title {
  font-size: clamp(3rem, 4.5vw, 4.5rem);
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0.02em;
  animation: heroTextGlow 14s ease-in-out infinite alternate;
  transition: opacity 0.45s ease;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: rgba(248, 246, 242, 0.85);
  max-width: 640px;
  line-height: 1.7;
  animation: heroTextGlow 17s ease-in-out infinite alternate;
  transition: opacity 0.45s ease;
}

.hero-text-fade {
  opacity: 0;
}

.hero__content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, calc(100% - 40px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: transparent;
  z-index: 10;
  transition: background 0.5s ease, border 0.5s ease, backdrop-filter 0.5s ease, box-shadow 0.5s ease;
}

.nav--scrolled {
  background: rgba(3, 3, 3, 0.85);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.nav__brand {
  font-size: 0.95rem;
  letter-spacing: 0.4rem;
}

.nav__links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.lang-switcher {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
  letter-spacing: 0.4rem;
}

.lang-switcher a {
  color: var(--text);
  font-style: italic;
  text-decoration: none;
  padding: 0.2rem 0.3rem;
}

.lang-switcher a:hover,
.lang-switcher a:focus-visible {
  color: var(--accent);
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .nav__links {
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
  }

  .lang-switcher {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    letter-spacing: 0.15rem;
    font-size: 0.85rem;
  }

  .hero__content {
    margin-top: 5rem;
  }
}

.nav__links a {
  position: relative;
  padding-bottom: 0.35rem;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav__links a:hover::after,
.nav__links a:focus-visible::after {
  transform: scaleX(1);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  border: 1px solid transparent;
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease, background 0.3s ease;
}

.btn--ghost {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(123, 249, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(123, 249, 255, 0.25);
}

.btn--primary {
  background: var(--accent);
  color: #050505;
  border-color: var(--accent);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  box-shadow: 0 20px 60px rgba(123, 249, 255, 0.4);
  transform: translateY(-2px);
}

main {
  padding: 5rem 5vw 4rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.section {
  position: relative;
  padding: 2rem;
  background: var(--surface);
  border-radius: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.section h2 {
  font-size: 2rem;
  margin-top: 0;
}

.section__content {
  color: var(--text);
  font-size: 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}


.o-que ul,
.para-quem ul,
.tecnologia ul,
.waitlist ul {
  padding-left: 1.25rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.pilares__grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pillars-card {
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pillars-card:hover,
.pillars-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(123, 249, 255, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(123, 249, 255, 0.2);
}

.waitlist__content {
  gap: 1.5rem;
}

.waitlist__form {
  display: grid;
  gap: 0.8rem;
}

.waitlist__form input {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.85rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1rem;
}

.waitlist__feedback {
  min-height: 1.5rem;
  font-size: 0.95rem;
}

.waitlist__feedback.success {
  color: #7bffcd;
}

.waitlist__feedback.error {
  color: #ff8ba7;
}

.waitlist-panel {
  margin: 4rem auto 5rem;
  width: min(1120px, calc(100% - 4vw));
  padding: 3rem;
  border-radius: 32px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 20% -10%, rgba(123, 249, 255, 0.08), transparent 50%),
    rgba(5, 5, 5, 0.82);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.waitlist-panel__body {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 2rem;
  align-items: center;
}

.waitlist-panel__copy {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.waitlist-panel__eyebrow {
  letter-spacing: 0.5rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0;
}

.waitlist-panel__copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.3;
}

.waitlist-panel__copy p {
  margin: 0;
  color: rgba(248, 246, 242, 0.75);
  line-height: 1.7;
}

.microcopy {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: rgba(248, 246, 242, 0.8);
}

.footer__contacts a {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.hidden {
  opacity: 0;
}

.story-stage {
  padding: 4rem 5vw 3rem;
  background: rgba(3, 3, 3, 0.9);
  position: relative;
}

.story-wrapper {
  width: 100%;
  position: relative;
}

.stage {
  position: sticky;
  top: 6rem;
  width: min(1120px, calc(100% - 4vw));
  margin: 0 auto;
  background: rgba(0, 0, 0, 0);
  border-radius: 0;
  min-height: 480px;
  padding: 3rem 3.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.85), 0 30px 60px rgba(0, 0, 0, 0.65);
}

.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 30%, rgba(123, 249, 255, 0.15), transparent 40%);
  mix-blend-mode: screen;
  opacity: 0.18;
  pointer-events: none;
  animation: pulseLight 8s ease-in-out infinite;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 5px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.015) 0,
      rgba(255, 255, 255, 0.015) 1px,
      transparent 1px,
      transparent 7px
    );
  opacity: 0.25;
  pointer-events: none;
}
.hero-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-icon-card {
  position: absolute;
  width: clamp(80px, 11vw, 140px);
  height: clamp(80px, 11vw, 140px);
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: translateY(25px) scale(0.96);
  filter: blur(12px);
  transition: opacity 0.9s ease, transform 1s ease, filter 1s ease;
}

.hero-icon-card::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(123, 249, 255, 0.35), transparent 50%);
  filter: blur(34px);
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  mix-blend-mode: screen;
}

.hero-icon-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.hero-icon-card.is-visible::after {
  opacity: 1;
}

@keyframes heroTextGlow {
  0% {
    text-shadow: 0 6px 30px rgba(123, 249, 255, 0.25);
  }
  50% {
    text-shadow: 0 12px 45px rgba(123, 249, 255, 0.5);
    filter: drop-shadow(0 10px 30px rgba(123, 249, 255, 0.25));
  }
  100% {
    text-shadow: 0 6px 30px rgba(123, 249, 255, 0.25);
  }
}


@keyframes pulseLight {
  0%,
  100% {
    opacity: 0.05;
    transform: translate3d(-8%, -6%, 0) scale(1);
  }
  50% {
    opacity: 0.22;
    transform: translate3d(8%, 6%, 0) scale(1.05);
  }
}


.slide {
  position: absolute;
  inset: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  z-index: 2;
  opacity: 0;
  transform: translateY(32px);
  filter: blur(10px);
  transition: opacity 0.7s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.8s ease;
}

.slide h2 {
  font-size: clamp(2.4rem, 3vw, 3.2rem);
  margin: 0;
  line-height: 1.25;
}

.slide p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(248, 246, 242, 0.85);
  margin: 0;
  max-width: 640px;
}

.slide.is-prev,
.slide.is-next {
  filter: blur(12px);
  transform: translateY(40px) scale(0.97);
  opacity: 0;
}

.slide.is-active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.slide h2,
.slide p {
  letter-spacing: 0.05em;
  mix-blend-mode: screen;
}

.slide.is-active h2,
.slide.is-active p {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.pillars-card {
  background: rgba(255, 255, 255, 0.02);
}

.stage__counter {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  letter-spacing: 0.2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.pillars-card h3 {
  margin: 0;
  font-size: 1rem;
}

.pillars-card p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

.pillars__grid {
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .stage {
    top: 5rem;
    padding: 2.5rem;
    min-height: 520px;
  }

  .story-stage {
    padding: 3rem 4vw 4rem;
  }

  .stage__counter {
    right: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slide {
    transition: none;
    filter: none;
  }

  .stage {
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  .hero__content {
    margin-top: 4rem;
  }

  .nav {
    width: calc(100% - 20px);
    padding: 0.75rem 1rem;
  }

  .nav__links {
    gap: 1rem;
    font-size: 0.85rem;
  }

  main {
    padding: 4rem 4vw 3rem;
  }

  .section {
    padding: 1.5rem;
    border-radius: 24px;
  }

  .waitlist-panel {
    padding: 2rem;
  }

  .waitlist-panel__body {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }

  .btn,
  .reveal {
    transition: none;
  }

  .hero__content {
    opacity: 1;
    transform: none;
  }
}
