/* Importação da fonte definida no HTML já trata disso, mas é bom ter como referência */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --bg-main: #121212;
    --bg-section: #1A1A1A;
    --accent-color: #00A9FF;
    --text-main: #EAEAEA;
    --text-secondary: #A1A1AA;
    --border-color: #2a2a2a;
}

/* Reset e Estilos Globais ... */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-main); color: var(--text-main); font-family: 'Poppins', sans-serif; line-height: 1.6; overflow-x: hidden; }
main { overflow: hidden;  }
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); text-align: center; margin-bottom: 2rem; }
p { color: var(--text-secondary); font-size: clamp(1rem, 2.5vw, 1.1rem); }
.highlight { color: var(--accent-color); }
.container { max-width: 1200px; margin: 0 auto; padding: 6rem 2rem; }
section { position: relative; border-bottom: 1px solid var(--border-color); }

/* Animações de Scrollytelling ... */
.animate-on-scroll { opacity: 0; transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.animate-on-scroll.fade-in { transform: translateY(20px); }
.animate-on-scroll.slide-up { transform: translateY(50px); }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll[data-delay="1"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.6s; }


/* --- Seção 1: Hero --- */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    border-bottom: none;
    overflow: hidden;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 169, 255, 0.15) 0%, rgba(0, 169, 255, 0) 65%);
    z-index: -3; 
    pointer-events: none;
    animation: pulse-glow 8s infinite ease-in-out;
}

@keyframes pulse-glow {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.7; }
}

#hero .video-background {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(45deg, #121212, #1a1a1a, #121212);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: -3;
    opacity: 0.5;
}

#neural-network-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    opacity: 1;
    pointer-events: none;
    transition: none;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

#hero .hero-content {
    z-index: 2;
    position: relative;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

/* ATUALIZAÇÃO: Seletor agora aplica a ambas as logos (animada e estática) */
#hero .logo-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 50vw;
    height: auto;
    max-height: 60vh;
    z-index: 1;
    opacity: 1;
    transition: opacity 1s ease-in-out;
}

#hero .logo-image.static { display: none; }
#hero .logo-image.animated { opacity: 1; }

.static {
    max-width: 30vw !important;
}

#hero h1 { margin-bottom: 1rem; }
#hero p { font-size: 1.25rem; max-width: 600px; margin: 0 auto 2rem; color: var(--text-main); }

.cta-button { background-color: var(--accent-color); color: var(--bg-main); padding: 1rem 2.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1rem; transition: transform 0.3s ease, box-shadow 0.3s ease; display: inline-block; position: relative;  overflow: hidden;   }
.cta-button::before { content: ''; position: absolute; top: var(--y, 50%); left: var(--x, 50%); transform: translate(-50%, -50%); width: 0; height: 0; background: radial-gradient(circle closest-side, rgba(255, 255, 255, 0.4), transparent); border-radius: 50%; transition: width 0.3s ease, height 0.3s ease; z-index: 1; }
.cta-button span { position: relative; z-index: 2; }
.cta-button:hover::before { width: 250px; height: 250px; }
.cta-button:hover { transform: scale(1.05); box-shadow: 0 0 25px rgba(0, 169, 255, 0.6); }

.scroll-indicator { position: absolute; bottom: 2rem; font-size: 2rem; color: var(--text-secondary); animation: pulse 2s infinite; z-index: 3; }
@keyframes pulse { 0% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(10px); opacity: 0.3; } 100% { transform: translateY(0); opacity: 0.7; } }

/* Restante do CSS ... */
#problem {display: flex; align-items: center; justify-content: center; background-color: var(--bg-section); }
#problem .container { text-align: center; }
#problem p { font-size: 1.5rem; color: var(--text-secondary); }
#solution { background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1MCIgaGVpZ2h0PSI1MCI+PHJlY3Qgd2lkdGg9IjUwIiBoZWlnaHQ9IjUwIiBmaWxsPSIjMTIxMjEyIj48L3JlY3Q+PHJlY3QgeD0iMjQiIHdpZHRoPSIyIiBoZWlnaHQ9IjUwIiBmaWxsPSIjMWEyOTM0Ij48L3JlY3Q+PHJlY3QgeT0iMjQiIHdpZHRoPSI1MCIgaGVpZ2h0PSIyIiBmaWxsPSIjMWEyOTM0Ij48L3JlY3Q+PC9zdmc+') repeat; background-attachment: fixed;}
.steps-container { display: flex; flex-direction: column; gap: 5rem; margin-top: 4rem; }
.step { display: flex; align-items: center; gap: 4rem; }
.step:nth-child(even) { flex-direction: row-reverse; }
.step-text { flex: 1; }
.step-text h3 { color: var(--accent-color); font-size: 1.75rem; margin-bottom: 0.5rem; }
.step-visual { flex: 1; position: relative; display: flex; justify-content: center; align-items: center; }
.phone-mockup { max-width: 300px; border-radius: 30px; border: 8px solid #333; box-shadow: 0 10px 40px rgba(0,0,0,0.5); transition: transform 0.3s ease; }
.icon-overlay { position: absolute; font-size: 3rem; color: var(--accent-color); opacity: 0.8; text-shadow: 0 0 15px var(--accent-color); transition: transform 0.3s ease, text-shadow 0.3s ease; }
.step-visual:hover .icon-overlay { transform: scale(1.15); text-shadow: 0 0 25px var(--accent-color); }
.step-visual:hover .phone-mockup { transform: scale(1.02); }
#demo { background-color: var(--bg-section); }
.interactive-console { background-color: var(--bg-main); border: 1px solid var(--border-color); border-radius: 12px; padding: 2rem; display: grid; grid-template-columns: 1fr 1fr 2fr; align-items: center; gap: 2rem; }
.questions h4 { margin-bottom: 1rem; color: var(--text-secondary); }
.question-btn { display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0.75rem 1rem; margin-bottom: 0.5rem; background-color: #2a2a2a; color: var(--text-main); border: 1px solid var(--border-color); border-radius: 6px; cursor: pointer; text-align: left; font-family: 'Poppins', sans-serif; font-size: 1rem; transition: all 0.2s ease-out; }
.question-btn:hover, .question-btn.active { background-color: var(--accent-color); color: var(--bg-main); transform: scale(1.03); }
.question-btn:active { transform: scale(0.98); }
.ai-brain { text-align: center; font-size: 6rem; color: var(--text-secondary); transition: color 0.4s ease, transform 0.4s ease; }
.ai-brain.active { color: var(--accent-color); animation: brain-pulse 1s ease-in-out; }
@keyframes brain-pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
.answer-box { background-color: #0c0c0c; border-radius: 8px; padding: 1.5rem; height: 200px; overflow-y: auto; border: 1px solid var(--border-color); }
.answer-box pre { white-space: pre-wrap; word-wrap: break-word; font-family: 'Courier New', Courier, monospace; font-size: 0.9rem; color: var(--text-main); }
#answer-output::after { content: '|'; animation: blink 0.7s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }
.card { background-color: var(--bg-section); padding: 2.5rem; border-radius: 12px; border: 1px solid var(--border-color); text-align: center; transition: transform 0.15s cubic-bezier(.25,.8,.25,1), box-shadow 0.15s; will-change: transform; transform-style: preserve-3d; }
.card:hover { transform: translateY(-10px) perspective(600px) rotateX(var(--rotateX, 0)) rotateY(var(--rotateY, 0)); box-shadow: 0 25px 60px 0 rgba(0,169,255,0.25), 0 8px 20px 0 rgba(0,0,0,0.5), 0 0 40px 0 rgba(0,169,255,0.15); }
.card i { font-size: 2.5rem; color: var(--accent-color); margin-bottom: 1.5rem; transition: transform 0.3s ease, text-shadow 0.3s ease; }
.card:hover i { transform: scale(1.1); text-shadow: 0 0 15px var(--accent-color); }
.card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--text-main); }
#final-cta { background-color: var(--bg-section); text-align: center; }
#final-cta p { font-size: 1.25rem; max-width: 600px; margin: 1rem auto 2.5rem; }
.final-button { padding: 1.2rem 3.5rem; font-size: 1.1rem; }
footer { background-color: var(--bg-main); padding: 2rem; text-align: center; color: var(--text-secondary); }
footer .container { padding: 0; }
.logo-footer { font-weight: 700; font-size: 1.5rem; color: var(--text-main); margin-bottom: 0.5rem; }
.footer-links { margin-top: 1rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; margin: 0 0.75rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--accent-color); }

/* --- Responsividade --- */
@media (max-width: 992px) {
    .step { flex-direction: column !important; text-align: center; }
    .step-visual { margin-top: 2rem; }
    .interactive-console { grid-template-columns: 1fr; }
    .ai-brain { transform: rotate(90deg); margin: 2rem 0; }
}
@media (max-width: 768px) {
    .container { padding: 4rem 1rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .step { gap: 1rem; }
    .phone-mockup { max-width: 250px; }
    .benefits-grid { grid-template-columns: 1fr; }
    /* Seletor genérico para ambas as logos */
    #hero .logo-image { max-width: 90vw; max-height: 50vh; }
    .static {
        max-width: 70vw !important;
    }
}

#intro {
    background: var(--bg-section);
    text-align: center;
}
#intro .intro-content {
    max-width: 700px;
    margin: 0 auto;
}
#intro h1 { margin-bottom: 1.5rem; }
#intro p { font-size: 1.25rem; margin-bottom: 2.5rem; color: var(--text-main); }
#intro .cta-button { font-size: 1.1rem; }

@media (min-width: 992px) {
  .demo-video {
    max-width: 340px !important;
    max-height: 700px;
  }
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.faq-item {
  background: var(--bg-section);
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.07);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.faq-item.open {
  box-shadow: 0 4px 24px 0 rgba(0,169,255,0.10);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: left;
  padding: 1.25rem 2rem 1.25rem 1.5rem;
  cursor: pointer;
  border-radius: 16px;
  transition: background 0.2s;
  position: relative;
}
.faq-question::after {
  content: '\25BC';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.3s;
  font-size: 1rem;
}
.faq-item.open .faq-question::after {
  transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: none;
  color: var(--text-secondary);
  font-size: 1rem;
  padding: 0 2rem;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 2rem 1.25rem 1.5rem;
}