/* ============================================================
   TID Labs - landing.css
   Estilos exclusivos da página inicial
============================================================ */

/* =========================
   Página / fundo
========================= */

.page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(circle at 82% 35%, rgba(40, 238, 163, 0.38), transparent 30%),
    radial-gradient(circle at 18% 58%, rgba(125, 44, 255, 0.38), transparent 36%),
    linear-gradient(125deg, #270064 0%, #08091d 46%, #043b33 100%);
}

.page::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at 58% 115%, rgba(40, 238, 163, 0.16), transparent 44%),
    linear-gradient(105deg, rgba(255,255,255,0.055), transparent 26%, rgba(40,238,163,0.075) 68%, transparent);

  pointer-events: none;
}

.grid-noise {
  position: absolute;
  inset: 0;

  opacity: 0.15;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);

  background-size: 86px 86px;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

canvas#network {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0.7;
  pointer-events: none;
}

/* =========================
   Navegação
========================= */

.nav {
  position: relative;
  z-index: 5;

  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
  padding: 34px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;

  width: 220px;
  min-height: 56px;

  text-decoration: none;
}

.nav-logo img {
  width: 100%;
  height: auto;

  display: block;
  object-fit: contain;

  filter: drop-shadow(0 0 24px rgba(40, 238, 163, 0.26));
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* =========================
   Hero
========================= */

.hero {
  position: relative;
  z-index: 2;

  width: min(1480px, calc(100% - 64px));
  min-height: calc(100vh - 122px);

  margin: 0 auto;

  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 64px;

  padding: 38px 0 90px;
}

.hero-copy {
  max-width: 680px;
  padding-left: 48px;
}

.hero h1 {
  font-size: clamp(2.65rem, 5.2vw, 5.1rem);
  line-height: 1.04;
  font-weight: 540;
  letter-spacing: -0.06em;

  margin-bottom: 20px;
}

.hero h1 strong {
  display: block;
  font-weight: 700;

  background: linear-gradient(120deg, #a75cff 0%, #5ebcff 42%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.accent-line {
  width: min(430px, 100%);
  height: 1px;

  margin: 30px 0 28px;

  background: linear-gradient(90deg, rgba(255,255,255,0.02), var(--purple-2), var(--green));
  position: relative;
}

.accent-line::after {
  content: "";
  position: absolute;

  right: 0;
  top: 50%;

  width: 12px;
  height: 12px;

  border-radius: 50%;
  background: var(--green);

  transform: translate(50%, -50%);
  box-shadow: 0 0 22px var(--green);
}

.subtitle {
  max-width: 570px;

  font-size: clamp(1.15rem, 1.7vw, 1.48rem);
  line-height: 1.56;

  color: var(--muted);

  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* =========================
   Visual / símbolo
========================= */

.hero-visual {
  min-height: 560px;

  display: grid;
  place-items: center;

  position: relative;
}

.symbol-stage {
  width: clamp(320px, 38vw, 560px);
  aspect-ratio: 1;

  display: grid;
  place-items: center;

  position: relative;

  transform-style: preserve-3d;

  animation: symbolFloat 7s ease-in-out infinite;

  filter:
    drop-shadow(0 0 34px rgba(40, 238, 163, 0.32))
    drop-shadow(0 0 62px rgba(125, 44, 255, 0.28));
}

.symbol-stage::before,
.symbol-stage::after {
  content: "";
  position: absolute;
  inset: 8%;

  border-radius: 50%;
  border: 1px solid rgba(40, 238, 163, 0.24);

  transform: rotateX(72deg) rotateZ(0deg);
  animation: orbit 10s linear infinite;

  pointer-events: none;
}

.symbol-stage::after {
  inset: 18%;
  border-color: rgba(125, 44, 255, 0.34);

  animation-duration: 14s;
  animation-direction: reverse;
}

.symbol-logo {
  width: 82%;
  height: auto;

  display: block;
  object-fit: contain;

  animation: logoPulse 4.8s ease-in-out infinite;
}

.light-sweep {
  position: absolute;
  inset: 0;

  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.22), transparent 62%);

  transform: translateX(-130%) rotate(8deg);

  mix-blend-mode: screen;

  animation: sweep 5.8s ease-in-out infinite;

  pointer-events: none;
}

/* =========================
   Tags flutuantes
========================= */

.tag {
  position: absolute;
  z-index: 2;

  padding: 13px 16px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255,255,255,0.15);

  backdrop-filter: blur(16px);

  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;

  box-shadow: 0 20px 50px rgba(0,0,0,0.22);

  animation: tagFloat 6s ease-in-out infinite;
}

.tag-one {
  left: 4%;
  top: 18%;
}

.tag-two {
  right: 8%;
  bottom: 17%;
  animation-delay: 1.2s;
}

/* =========================
   Animações
========================= */

@keyframes symbolFloat {
  0%, 100% {
    transform: perspective(1000px) rotateX(0deg) rotateY(-5deg) translateY(0);
  }

  50% {
    transform: perspective(1000px) rotateX(5deg) rotateY(8deg) translateY(-18px);
  }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.035);
    filter: brightness(1.14);
  }
}

@keyframes orbit {
  from {
    transform: rotateX(72deg) rotateZ(0deg);
  }

  to {
    transform: rotateX(72deg) rotateZ(360deg);
  }
}

@keyframes sweep {
  0%, 42% {
    transform: translateX(-130%) rotate(8deg);
    opacity: 0;
  }

  55% {
    opacity: 0.8;
  }

  78%, 100% {
    transform: translateX(130%) rotate(8deg);
    opacity: 0;
  }
}

@keyframes tagFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.78;
  }

  50% {
    transform: translateY(-13px);
    opacity: 1;
  }
}

/* =========================
   Responsividade
========================= */

@media (max-width: 980px) {
  .nav {
    width: min(100% - 36px, 1480px);
    padding: 24px 0;
  }

  .nav-logo {
    width: 170px;
  }

  .nav-actions .btn-main {
    display: none;
  }

  .hero {
    width: min(100% - 36px, 1480px);
    min-height: auto;

    grid-template-columns: 1fr;
    gap: 8px;

    padding: 18px 0 60px;
  }

  .hero-copy {
    padding-left: 0;
    max-width: 760px;
  }

  .hero-visual {
    min-height: 300px;
    order: -1;
  }

  .tag {
    display: none;
  }
}

@media (max-width: 560px) {
  .nav-actions .btn-ghost {
    min-width: auto;
    min-height: 46px;
    padding: 0 18px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .subtitle {
    font-size: 1.08rem;
  }

  
}