/* ================================================================
   TRACKEAMENTO VIBE CODE — Design System Premium
   Inspirado em: ia.designboost.com.br + designengineer.com.br
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ========== TOKENS ========== */
:root {
  --bg-dark: #0a0a0f;
  --bg-dark-2: #111118;
  --bg-dark-card: #16161e;
  --bg-light: #f4f4f8;
  --purple: #8b5cf6;
  --purple-bright: #a78bfa;
  --purple-dark: #6d28d9;
  --purple-glow: rgba(139, 92, 246, 0.25);
  --green: #10b981;
  --amber: #f59e0b;
  --text-white: #f1f1f4;
  --text-muted: #94a3b8;
  --text-dark: #1e1e2a;
  --text-dark-muted: #64748b;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-light: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);
  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1120px;
}

/* ========== RESET ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ========== CONTAINER ========== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== BADGE / TAG ========== */
.badge {
  display: inline-block;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: var(--purple-bright);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--purple-bright);
  margin-bottom: 1rem;
}

/* ========== HIGHLIGHT TEXT ========== */
.highlight {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 7rem 0 5rem;
  text-align: center;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-sub strong {
  color: var(--text-white);
}

.hero-proof {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Feature Pills */
.features-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 500;
  transition: border-color 0.3s, transform 0.2s;
}

.feature-pill:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.1rem;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--purple);
  color: white;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.3s, background 0.2s;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

/* ========== SECTIONS ========== */
.section-dark {
  background: var(--bg-dark);
  padding: 6rem 0;
}

.section-light {
  background: var(--bg-dark-2);
  padding: 6rem 0;
}

.section-dark h2,
.section-light h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.75;
}

.section-desc strong {
  color: var(--text-white);
}

/* ========== PAIN CARDS ========== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.pain-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.3s, transform 0.2s;
}

.pain-card:hover {
  border-color: rgba(239, 68, 68, 0.2);
  transform: translateY(-2px);
}

.pain-icon {
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.75rem;
}

.pain-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.pain-card strong {
  color: var(--text-white);
}

/* ========== BENEFIT CARDS ========== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.benefit-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.benefit-card:hover {
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-4px);
}

.benefit-icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-white);
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ========== FORM SECTION ========== */
.section-form {
  position: relative;
  background: var(--bg-dark-2);
  padding: 6rem 0;
  overflow: hidden;
}

.form-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.form-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.form-info h2 {
  text-align: left;
  margin: 0 0 2rem 0;
  max-width: 100%;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.bonus-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bonus-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.bonus-list li strong {
  color: var(--text-white);
}

.bonus-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Form Card */
.form-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-glow);
}

#form-lead {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

#form-lead input:not([type="checkbox"]) {
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-white);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}

#form-lead input:not([type="checkbox"])::placeholder {
  color: var(--text-muted);
}

#form-lead input:not([type="checkbox"]):focus {
  outline: none;
  border-color: var(--purple);
  background: rgba(139, 92, 246, 0.04);
}

#form-lead button {
  background: var(--purple);
  color: white;
  border: none;
  padding: 1rem;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

#form-lead button:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45);
}

/* Opt-in */
.optin-container {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0.25rem 0;
}

.optin-container input[type="checkbox"] {
  margin-top: 0.2rem;
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: var(--purple);
  flex-shrink: 0;
}

.optin-container label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
}

.optin-container label a {
  color: var(--purple-bright);
  text-decoration: underline;
}

#mensagem {
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 1.5rem;
}

.form-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  opacity: 0.7;
}

/* ========== FAQ ========== */
.section-faq {
  border-top: 1px solid var(--border-subtle);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.faq-header h2 {
  text-align: left;
  margin: 0 0 1rem 0;
  max-width: 100%;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.faq-contact {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1.5rem;
  line-height: 1.6;
}

.faq-contact a {
  color: var(--text-white);
  text-decoration: underline;
  font-weight: 600;
}

.faq-contact a:hover {
  color: var(--purple-bright);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

details {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: border-color 0.3s;
}

details:hover {
  border-color: rgba(139, 92, 246, 0.2);
}

details summary {
  font-weight: 600;
  font-size: 0.95rem;
  outline: none;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

details summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-muted);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

details[open] summary::after {
  content: "−";
  color: var(--purple-bright);
}

details[open] summary {
  margin-bottom: 0.75rem;
  color: var(--purple-bright);
}

details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

details p strong {
  color: var(--text-white);
}

/* ========== FOOTER ========== */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

footer strong {
  color: var(--text-white);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .hero {
    padding: 5rem 0 3.5rem;
  }

  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-info h2 {
    text-align: center;
  }

  .bonus-list {
    align-items: center;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .faq-header {
    text-align: center;
  }

  .faq-header h2 {
    text-align: center;
  }

  .section-dark,
  .section-light,
  .section-form {
    padding: 4rem 0;
  }

  .pain-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .features-row {
    flex-direction: column;
    align-items: center;
  }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero .container {
  animation: fadeInUp 0.8s ease-out;
}

.form-card {
  animation: scaleIn 0.6s ease-out;
}