/* ═══════════════════════════════════════════
   AGENTE.IO — v2 Clean & Minimal
   ═══════════════════════════════════════════ */

:root {
  --bg:      #0a0a0a;
  --bg-2:    #111;
  --line:    #1c1c1c;
  --line-2:  #2a2a2a;
  --text:    #e8e8e6;
  --text-2:  #a0a09c;
  --text-3:  #6a6a66;
  --accent:  #d4f53c;
  --accent-d:#1f2a04;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}

/* Reset typography — sem letras esticadas */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-feature-settings: 'ss01';
}

p { color: var(--text-2); }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s, opacity 0.15s;
}

/* Container */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}
.container-sm {
  max-width: 720px;
}

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo span { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 400;
}
.nav-links a:hover { color: var(--text); }

/* ═══════════════════════════════════════════
   BOTÕES — minimalistas
   ═══════════════════════════════════════════ */

.btn, .btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  letter-spacing: -0.005em;
}
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; }

.btn {
  background: var(--bg-2);
  color: var(--text);
  border-color: var(--line-2);
}
.btn:hover { border-color: var(--text-3); }

.btn-primary {
  background: var(--accent);
  color: #0a0a0a;
}
.btn-primary:hover {
  background: #c8e836;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-outline:hover {
  border-color: var(--text);
}

.btn-link {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 400;
}
.btn-link:hover { color: var(--accent); }

/* ═══════════════════════════════════════════
   HERO — extremamente limpo
   ═══════════════════════════════════════════ */

.hero {
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 56px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  max-width: 720px;
  margin-inline: auto;
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-2);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.5;
  font-weight: 400;
}

.cta-row {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 72px;
}

/* ═══════════════════════════════════════════
   DEMO ANIMADO DO APP
   ═══════════════════════════════════════════ */

.demo {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
}

.demo-glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(60% 50% at 50% 50%, rgba(212, 245, 60, 0.18) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.demo-window {
  background: #0d0d0d;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.04) inset,
    0 30px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(212, 245, 60, 0.06);
}

.demo-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #131313;
  border-bottom: 1px solid var(--line);
}

.demo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a2a2a;
}

.demo-url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--text-3);
  font-family: 'SF Mono', Menlo, monospace;
}

.demo-body {
  padding: 32px;
  min-height: 340px;
  position: relative;
}

.demo-step {
  opacity: 0;
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  bottom: 32px;
  transition: opacity 0.6s ease;
}

.demo-step.active {
  opacity: 1;
}

.demo-label {
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

/* Step 1: Input com digitação */
.demo-input {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 14px;
  color: var(--text);
  min-height: 56px;
}

.demo-step-1.active .demo-input {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 245, 60, 0.12);
}

.demo-input-text {
  white-space: nowrap;
  overflow: hidden;
}

.demo-cursor {
  width: 2px;
  height: 18px;
  background: var(--accent);
  margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}

@keyframes blink {
  to { opacity: 0; }
}

/* Step 2: Tasks check progressivo */
.demo-tasks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-task {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-2);
  transition: all 0.3s;
}

.demo-task.active {
  border-color: var(--line-2);
  color: var(--text);
}

.demo-task.done {
  color: var(--text);
}

.demo-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  flex-shrink: 0;
  position: relative;
  transition: all 0.3s;
}

.demo-task.active .demo-check {
  border-color: var(--accent);
  border-top-color: transparent;
  animation: spin 0.8s linear infinite;
}

.demo-task.done .demo-check {
  border-color: var(--accent);
  background: var(--accent);
  animation: none;
}

.demo-task.done .demo-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #0a0a0a;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Step 3: Vídeo + download */
.demo-video {
  display: flex;
  gap: 24px;
  align-items: center;
}

.demo-phone {
  width: 140px;
  height: 250px;
  background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
  border: 1px solid var(--line-2);
  border-radius: 16px;
  padding: 6px;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 10px 40px -10px rgba(212, 245, 60, 0.2);
}

.demo-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0a;
}

.demo-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s;
}

.demo-scene-1 {
  background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
}

.demo-scene-2 {
  background: linear-gradient(135deg, #1f2a04, #2a3a08);
}

.demo-step-3.active .demo-scene-1 {
  animation: scene-1 4s ease-in-out infinite;
}

.demo-step-3.active .demo-scene-2 {
  animation: scene-2 4s ease-in-out infinite;
}

@keyframes scene-1 {
  0%, 45% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes scene-2 {
  0%, 45% { opacity: 0; }
  50%, 95% { opacity: 1; }
  100% { opacity: 0; }
}

.demo-text-overlay {
  font-size: 13px;
  font-weight: 600;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.demo-scene-2 .demo-text-overlay {
  background: var(--accent);
  color: #0a0a0a;
}

.demo-play {
  position: absolute;
  bottom: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.demo-play::after {
  content: "";
  border-left: 7px solid #0a0a0a;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  margin-left: 2px;
}

.demo-download {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--accent);
  border-radius: 10px;
  box-shadow: 0 0 0 3px rgba(212, 245, 60, 0.08);
}

.demo-download-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.demo-download-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}

.demo-download-meta {
  font-size: 12px;
  color: var(--text-3);
}

/* ═══════════════════════════════════════════
   SEÇÕES
   ═══════════════════════════════════════════ */

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-transform: lowercase;
}

/* ═══════════════════════════════════════════
   ROW (duas colunas — title + body)
   ═══════════════════════════════════════════ */

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 72px;
  align-items: start;
}

.row-left h2 {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
}

.row-right {
  padding-top: 8px;
}

.row-right p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
  margin-bottom: 14px;
}

.row-right p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════
   FEATURES (Produto)
   ═══════════════════════════════════════════ */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.feat {
  padding-top: 32px;
}

.feat-n {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.feat h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.feat p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ═══════════════════════════════════════════
   AUDIENCE (Para quem)
   ═══════════════════════════════════════════ */

.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.aud {
  background: var(--bg-2);
  padding: 32px 28px;
  transition: background 0.15s;
}

.aud:hover {
  background: var(--bg);
}

.aud h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.aud p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ═══════════════════════════════════════════
   PLANS — Preços
   ═══════════════════════════════════════════ */

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.plan {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}

.plan:hover {
  border-color: var(--line-2);
}

.plan-hl {
  border-color: var(--accent);
}

.plan-tag {
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--accent);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: -0.005em;
}

.plan-name {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 14px;
  font-weight: 500;
}

.plan-price {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 4px;
  line-height: 1;
}

.plan-price span {
  font-size: 13px;
  color: var(--text-3);
  font-weight: 400;
  letter-spacing: 0;
}

.plan-sub {
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 22px;
}

.plan ul {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.plan li {
  font-size: 13.5px;
  color: var(--text-2);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan li::before {
  content: "";
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.plan .btn-outline,
.plan .btn-primary {
  width: 100%;
  font-size: 13.5px;
  padding: 10px;
}

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */

.faq {
  padding-top: 8px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.012em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.15s;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--text-3);
  font-size: 20px;
  font-weight: 300;
  transition: transform 0.3s, color 0.15s;
  line-height: 1;
}

.faq details[open] summary { color: var(--accent); }
.faq details[open] summary::after {
  content: "−";
  color: var(--accent);
}

.faq summary:hover { color: var(--text); }

.faq p {
  padding: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-2);
  max-width: 90%;
}

/* ═══════════════════════════════════════════
   CTA FINAL
   ═══════════════════════════════════════════ */

.cta-final {
  text-align: center;
  padding: 80px 0;
}

.cta-final h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.cta-final p {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 32px;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 32px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  gap: 24px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13.5px;
  color: var(--text-2);
}

.footer-links a:hover { color: var(--text); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 16px;
}

.social {
  display: flex;
  gap: 20px;
}

.social a { color: var(--text-3); }
.social a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════
   RESPONSIVO
   ═══════════════════════════════════════════ */

@media (max-width: 880px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 14px 24px; }
  .nav-links { gap: 20px; }

  .row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .row-right { padding-top: 0; }

  .features { grid-template-columns: 1fr; gap: 0; }
  .feat {
    padding: 28px 0;
    border-bottom: 1px solid var(--line);
  }
  .feat:last-child { border-bottom: none; }

  .audience { grid-template-columns: 1fr; }

  .plans { grid-template-columns: 1fr 1fr; }

  .hero { padding: 60px 0 50px; }
  .section { padding: 70px 0; }

  .cta-row { margin-bottom: 56px; }
  .demo-body { padding: 24px; min-height: 320px; }
  .demo-step { left: 24px; right: 24px; top: 24px; bottom: 24px; }
  .demo-video { flex-direction: column; gap: 16px; }
  .demo-download { width: 100%; }
}

@media (max-width: 540px) {
  .nav-links { display: none; }
  .plans { grid-template-columns: 1fr; }
  .footer-row { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .demo-phone { width: 110px; height: 200px; }
  .demo-input { font-size: 12px; padding: 14px 16px; }
}
