/* ========================================
   NV Hub — Page Styles
   ======================================== */

/* ========================================
   HERO
   ======================================== */
.hub-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hub-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hub-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(107,44,242,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,44,242,0.04) 1px, transparent 1px);
  background-size: 70px 70px;
}
.hub-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hub-hero-orb-1 {
  width: 700px; height: 700px;
  top: -150px; right: -150px;
  background: rgba(107,44,242,0.15);
  animation: orbFloat 8s ease-in-out alternate infinite;
}
.hub-hero-orb-2 {
  width: 400px; height: 400px;
  bottom: 0; left: -100px;
  background: rgba(139,47,201,0.1);
  animation: orbFloat 8s ease-in-out alternate-reverse infinite;
}
@keyframes orbFloat {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,-20px) scale(1.08); }
}
.hub-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 3rem;
}
.hub-hero-title {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}
.hub-hero-gradient {
  background: linear-gradient(135deg, #6B2CF2, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hub-hero-subtitle {
  font-size: 1.05rem;
  color: #8888aa;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2.5rem;
}
.hub-hero-ctas {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hub-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.hub-hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: #55556a;
}

/* Hero Mockup */
.hub-hero-visual { position: relative; }
.hub-hero-mockup { position: relative; }
.hub-mockup-browser {
  background: #111122;
  border: 1px solid rgba(107,44,242,0.25);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(107,44,242,0.1);
}
.hub-mockup-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #0d0d1a;
  border-bottom: 1px solid rgba(107,44,242,0.1);
}
.hub-mockup-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(107,44,242,0.3);
}
.hub-mockup-dot:nth-child(1) { background: #ff5f57; }
.hub-mockup-dot:nth-child(2) { background: #febc2e; }
.hub-mockup-dot:nth-child(3) { background: #28c840; }
.hub-mockup-url {
  flex: 1;
  text-align: center;
  font-size: 0.7rem;
  color: #55556a;
  background: rgba(107,44,242,0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}
.hub-mockup-screen {
  background: #f0f0f8;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.75rem;
}
.hub-mockup-screen img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 4px;
}
.hub-mockup-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #55556a;
  font-size: 0.8rem;
}

/* Floating badges */
.hub-mockup-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: rgba(13,13,26,0.9);
  border: 1px solid rgba(107,44,242,0.3);
  border-radius: 40px;
  font-size: 0.75rem;
  color: #f0f0fa;
  backdrop-filter: blur(10px);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.hub-mockup-badge-1 {
  bottom: -1rem;
  left: -1.5rem;
  animation: badgeFloat 4s ease-in-out infinite;
}
.hub-mockup-badge-2 {
  top: 3rem;
  right: -1.5rem;
  animation: badgeFloat 4s ease-in-out infinite;
  animation-delay: -2s;
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ========================================
   O QUE É O NV HUB
   ======================================== */
.hub-about { background: #0d0d1a; border-top: 1px solid rgba(107,44,242,0.12); }
.hub-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.hub-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.hub-pillar {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(107,44,242,0.05);
  border: 1px solid rgba(107,44,242,0.12);
  border-radius: 12px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.hub-pillar:hover {
  border-color: rgba(107,44,242,0.3);
  background: rgba(107,44,242,0.08);
}
.hub-pillar-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: rgba(107,44,242,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-pillar h3 {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.hub-pillar p {
  font-size: 0.875rem;
  color: #8888aa;
  line-height: 1.6;
}

/* ========================================
   MÓDULOS
   ======================================== */
.hub-modulos {
  background: #08080f;
  position: relative;
  overflow: hidden;
}
.hub-modulos-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 700;
  font-size: clamp(8rem, 20vw, 18rem);
  color: rgba(107,44,242,0.03);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.hub-modulos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.hub-modulo-card {
  position: relative;
  background: #111122;
  border: 1px solid rgba(107,44,242,0.15);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94), border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
}
.hub-modulo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(107,44,242,0.35);
  box-shadow: 0 16px 48px rgba(107,44,242,0.12);
}
.hub-modulo-card--destaque {
  border-color: rgba(107,44,242,0.4);
  background: linear-gradient(135deg, rgba(107,44,242,0.08), #111122);
  box-shadow: 0 0 0 1px rgba(107,44,242,0.2), inset 0 1px 0 rgba(107,44,242,0.15);
}
.hub-modulo-card--destaque::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6B2CF2, #a855f7, transparent);
}
.hub-modulo-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hub-modulo-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: rgba(107,44,242,0.12);
  border: 1px solid rgba(107,44,242,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hub-modulo-name {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f0f0fa;
  margin-top: 0.25rem;
}
.hub-modulo-problema {
  font-size: 0.9rem;
  color: #8888aa;
  line-height: 1.6;
  font-style: italic;
}
.hub-modulo-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.hub-modulo-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #c0c0d8;
  line-height: 1.5;
}
.hub-modulo-screen {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(107,44,242,0.12);
  background: #f0f0f8;
  height: 220px;
  flex-shrink: 0;
}
.hub-modulo-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.hub-screen-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: #33334a;
  font-size: 0.75rem;
}
.hub-modulo-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: #6B2CF2;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap 0.25s ease, color 0.25s ease;
  margin-top: auto;
}
.hub-modulo-cta:hover {
  color: #a855f7;
  gap: 0.5rem;
}

/* Hub Badges */
.hub-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6B2CF2;
  background: rgba(107,44,242,0.12);
  border: 1px solid rgba(107,44,242,0.25);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.hub-badge-new {
  color: #a855f7;
  background: rgba(168,85,247,0.12);
  border-color: rgba(168,85,247,0.3);
}

/* Mid CTA */
.hub-mid-cta {
  text-align: center;
  padding: 3rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hub-mid-cta p {
  font-size: 0.8rem;
  color: #55556a;
}

/* ========================================
   PARA QUEM É
   ======================================== */
.hub-paraquem {
  background: #0d0d1a;
  border-top: 1px solid rgba(107,44,242,0.12);
}
.hub-paraquem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.hub-paraquem-card {
  background: #111122;
  border: 1px solid rgba(107,44,242,0.12);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.hub-paraquem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(107,44,242,0.3);
}
.hub-paraquem-icon {
  width: 52px; height: 52px;
  background: rgba(107,44,242,0.1);
  border: 1px solid rgba(107,44,242,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.hub-paraquem-card h3 {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #f0f0fa;
}
.hub-paraquem-card p {
  font-size: 0.85rem;
  color: #8888aa;
  line-height: 1.6;
}

/* ========================================
   COMO COMEÇAR
   ======================================== */
.hub-steps { background: #08080f; }
.hub-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 3rem;
  position: relative;
}
.hub-step {
  position: relative;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hub-step-num {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  background: linear-gradient(135deg, #6B2CF2, #8B2FC9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
}
.hub-step-content h3 {
  font-family: 'Space Grotesk', 'Space Grotesk Fallback', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #f0f0fa;
}
.hub-step-content p {
  font-size: 0.875rem;
  color: #8888aa;
  line-height: 1.65;
}
.hub-step-line {
  position: absolute;
  top: 3.5rem;
  right: 0;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(107,44,242,0.4), transparent);
}
.hub-steps-cta {
  text-align: center;
}

/* Depoimentos — author sempre no rodapé */
.depoimento-card {
  display: flex;
  flex-direction: column;
}
.depoimento-card .depoimento-author {
  margin-top: auto;
  padding-top: 1.5rem;
}

/* ========================================
   CTA FINAL — variação NV Hub
   ======================================== */
.hub-final-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.hub-final-ctas .btn-ghost {
  color: #8888aa;
  border-color: #33334a;
}
.hub-final-ctas .btn-ghost:hover {
  color: #f0f0fa;
  border-color: #f0f0fa;
}

/* ========================================
   RESPONSIVO
   ======================================== */
@media (max-width: 1024px) {
  .hub-paraquem-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hub-hero-inner {
    grid-template-columns: 1fr;
    padding-top: 7rem;
    padding-bottom: 4rem;
  }
  .hub-hero-visual { display: none; }
  .hub-hero-title { font-size: clamp(2.4rem, 9vw, 3.5rem); }
  .hub-hero-ctas { gap: 1.25rem; }

  .hub-about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hub-modulos-grid {
    grid-template-columns: 1fr;
  }

  .hub-paraquem-grid {
    grid-template-columns: 1fr;
  }

  .hub-steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .hub-step-line { display: none; }

  .menu-toggle { display: flex; }
  .navbar-links { display: none; }
  .navbar-cta { display: none; }
}

@media (max-width: 480px) {
  .hub-hero-trust { flex-direction: column; gap: 0.75rem; }
  .hub-final-ctas { flex-direction: column; align-items: center; }
}
