:root {
  --bg: #000000;
  --text: rgba(255, 255, 255, 0.94);
  --muted: rgba(255, 255, 255, 0.75);
  --accent: #ff0055;
  --accent-soft: rgba(255, 0, 85, 0.3);
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 20px;
  
  /* Variáveis da Segunda Sessão */
  --bg-deep: #020617;
  --bg-black: #000000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--font);
  background: radial-gradient(circle at top, #26252b 0%, #050308 55%, #000000 100%);
  color: var(--text);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
}

/* --- PRIMEIRA SESSÃO --- */
.hero {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 1.75rem 1.4rem 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-header {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.hero-logo {
  height: 20px; /* Logo menor conforme pedido */
  width: auto;
}

.hero-copy {
  text-align: center;
  margin-bottom: 1.4rem;
}

.hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-size: 2rem;
  line-height: 1.06;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap; /* Título sem quebrar linha */
}

.hero-title span {
  display: block;
}

.hero-title span:last-child {
  font-size: 2.3rem;
}

/* Container relativo para posicionar o vídeo e os elementos flutuantes */
.hero-video-shell {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  /* Overflow REMOVIDO para permitir que o ícone estrela "saia" para fora no topo */
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.85);
  margin-bottom: 1.1rem;
}

.hero-video {
  display: block;
  width: 100%;
  height: auto; /* Altura automática para manter proporção */
  aspect-ratio: 16 / 9; /* Força proporção widescreen */
  object-fit: cover;
  transform: scale(1.02);
  filter: brightness(1.1); /* Vídeo mais claro */
  border-radius: var(--radius); /* Borda arredondada direto no vídeo */
}

/* Overlay invisível, mantido apenas se precisar interceptar cliques */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  border-radius: var(--radius);
  pointer-events: none;
}

/* Ícone de IA (Estrela) FLUTUANDO NO TOPO DO VÍDEO */
.floating-icon-ia {
  position: absolute;
  top: -20px; /* Metade pra fora, metade pra dentro */
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Brilho rosa neon */
  filter: drop-shadow(0 0 10px rgba(255, 0, 85, 0.8));
}

.floating-icon-ia svg {
  width: 40px;
  height: 40px;
  fill: var(--accent);
}

/* Texto "Suporte com IA" logo abaixo do ícone, opcional se quiser igual imagem 1,
   mas na imagem o texto "Suporte com IA" está junto com os outros features embaixo.
   Vou seguir a instrução: "o itens Suporte com IA, Comunidade, Checkout Próprio devem ficar sob o video flutuando."
   Isso significa DENTRO da área do vídeo, na parte inferior (overlay).
*/

/* Features FLUTUANDO SOBRE O VÍDEO (Parte Inferior) */
.hero-features-overlay {
  position: absolute;
  bottom: 15px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  z-index: 20;
  pointer-events: none;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.feature-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 5px var(--accent);
}

.feature-text {
  font-size: 0.75rem;
  font-weight: 500;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
  white-space: nowrap;
}

.hero-description {
  margin: 0 0 1.6rem;
  font-size: 0.86rem;
  color: var(--muted);
  text-align: center;
}

.hero-cta {
  width: 100%;
  display: flex;
  gap: 0.9rem;
}

.btn {
  flex: 1;
  height: 50px;
  border-radius: 999px;
  border: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

/* Botão Branco (Assinar) */
.btn-primary {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* Botão Escuro (Criar DEMO) */
.btn-secondary {
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn:active {
  transform: scale(0.98);
}

/* Ícones dentro dos botões (opcional, se usar SVG) */
.btn svg {
  margin-right: 8px;
}

@media (min-width: 480px) {
  .hero {
    max-width: 460px;
  }
}

/* --- SEGUNDA SESSÃO (Styles mantidos) --- */
.ai-support-section {
    background: radial-gradient(circle at top, #0f172a 0%, #000000 100%);
}
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.neon-glow-blue {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}
.neon-glow-purple {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}
.isometric-phone {
    transform: perspective(1000px) rotateX(15deg) rotateY(-15deg) rotateZ(5deg);
}
.silver-gradient {
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
}
.text-glow {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
