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

:root {
  --purple-light:   #C4B5FD;
  --purple-main:    #8B5CF6;
  --purple-dark:    #7C3AED;
  --purple-deeper:  #6D28D9;
  --indigo:         #6366F1;
  --bg-base:        #0a0814;
  --bg-card:        rgba(255, 255, 255, 0.04);
  --bg-card-hover:  rgba(139, 92, 246, 0.08);
  --border:         rgba(139, 92, 246, 0.14);
  --border-hover:   rgba(139, 92, 246, 0.38);
  --text-white:     #F1F5F9;
  --text-gray:      #94A3B8;
  --text-muted:     #64748B;
  --green:          #10B981;
  --red:            #EF4444;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Purple gradient overlay across the whole page */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 48%, #0f172a 100%);
  opacity: 0.28;
  pointer-events: none;
  z-index: -1;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: #4c1d95; border-radius: 3px; }

/* ===== GRADIENT TEXT ===== */
.gradient-text {
  background: linear-gradient(135deg, #C4B5FD, #8B5CF6, #6366F1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-green {
  background: linear-gradient(135deg, #10B981, #06B6D4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 8, 20, 0.88);
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  transition: box-shadow 0.3s;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #7C3AED, #6366F1);
  color: #fff;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.4);
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.6);
  background: linear-gradient(135deg, #6D28D9, #4F46E5);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: #C4B5FD;
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(196, 181, 253, 0.3);
  cursor: pointer;
}
.btn-secondary:hover {
  color: #fff;
  border-color: rgba(196, 181, 253, 0.6);
  background: rgba(196, 181, 253, 0.07);
}

.btn-waitlist {
  display: block;
  background: linear-gradient(135deg, rgba(109,40,217,0.35), rgba(99,102,241,0.25));
  color: #EDE9FE;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(196,181,253,0.4);
  cursor: pointer;
  text-align: center;
  box-shadow: 0 0 18px rgba(139,92,246,0.25), inset 0 1px 0 rgba(255,255,255,0.07);
}
.btn-waitlist:hover {
  background: linear-gradient(135deg, rgba(109,40,217,0.55), rgba(99,102,241,0.42));
  border-color: rgba(196,181,253,0.65);
  color: #fff;
  box-shadow: 0 0 28px rgba(139,92,246,0.45), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s ease;
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.13);
  background: var(--bg-card-hover);
}

/* ===== BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 13px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}
.badge-purple {
  background: rgba(139,92,246,0.15);
  color: #C4B5FD;
  border: 1px solid rgba(139,92,246,0.25);
}
.badge-green {
  background: rgba(16,185,129,0.12);
  color: #6EE7B7;
  border: 1px solid rgba(16,185,129,0.22);
}
.badge-indigo {
  background: rgba(99,102,241,0.12);
  color: #A5B4FC;
  border: 1px solid rgba(99,102,241,0.22);
}
.badge-gray {
  background: rgba(100,116,139,0.12);
  color: #94A3B8;
  border: 1px solid rgba(100,116,139,0.18);
}
.badge-orange {
  background: rgba(251,146,60,0.12);
  color: #FCD34D;
  border: 1px solid rgba(251,146,60,0.2);
}

/* ===== PULSE DOT ===== */
.pulse-dot {
  width: 7px; height: 7px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-anim 2s infinite;
}
@keyframes pulse-anim {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.45); }
  50%       { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

/* ===== HERO ===== */
.hero-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center,
    rgba(124,58,237,0.22) 0%,
    rgba(99,102,241,0.08) 45%,
    transparent 70%);
  pointer-events: none;
}

/* ===== GRID PATTERN ===== */
.grid-pattern {
  background-image:
    linear-gradient(rgba(139,92,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ===== SECTION FEATURE TABS ===== */
.tabs-nav {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(139,92,246,0.14);
  margin-bottom: 28px;
  padding-bottom: 0;
}
.tabs-nav::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  border-radius: 8px 8px 0 0;
}
.tab-btn:hover { color: var(--purple-light); background: rgba(139,92,246,0.05); }
.tab-btn.active {
  color: var(--purple-light);
  border-bottom-color: var(--purple-main);
  background: rgba(139,92,246,0.09);
}

.tab-panel { display: none; animation: fadeTab 0.3s ease; }
.tab-panel.active { display: block; }
@keyframes fadeTab { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* Profile cards inside Análise tab */
.profile-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(139,92,246,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  transition: all 0.25s;
}
.profile-card:hover {
  border-color: rgba(139,92,246,0.3);
  background: rgba(139,92,246,0.06);
}

/* Trend cards */
.trend-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(139,92,246,0.12);
  border-radius: 12px;
  padding: 18px 16px;
  text-align: center;
  transition: all 0.25s;
}

/* Feature step item */
.feature-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(139,92,246,0.1);
  border-radius: 12px;
}

/* ===== STEP NUMBER ===== */
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #6366F1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: white;
  flex-shrink: 0;
}

/* ===== SOCIAL PROOF — MASONRY ===== */
.proof-grid {
  columns: 3;
  column-gap: 14px;
}
.proof-item {
  break-inside: avoid;
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(139,92,246,0.15);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.3s, transform 0.3s;
}
.proof-item:hover {
  border-color: rgba(139,92,246,0.35);
  transform: translateY(-3px);
}
.proof-item img {
  width: 100%;
  height: auto;        /* altura livre — sem corte */
  display: block;
  border-radius: 11px;
}

@media (max-width: 900px)  { .proof-grid { columns: 2; } }
@media (max-width: 500px)  { .proof-grid { columns: 1; } }

/* ===== ABOUT ME ===== */
.about-photo {
  /* Tamanho base: circular 180px. Troque border-radius para 12px se preferir retangular. */
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1e1b4b, #0a0814);
  border: 2px solid rgba(139,92,246,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

/* Quando há uma <img> dentro, ela cobre todo o container sem distorcer */
.about-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* centraliza no rosto */
  border-radius: inherit;
}

/* Estado placeholder (sumirá quando a imagem for adicionada) */
.about-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}
.about-photo-placeholder span {
  font-size: 11px;
  font-weight: 600;
  color: rgba(139,92,246,0.5);
  letter-spacing: 0.05em;
}

.achievement-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(139,92,246,0.07);
  border: 1px solid rgba(139,92,246,0.14);
  border-radius: 10px;
}

/* ===== DIFERENCIAIS TABLE ===== */
.check { color: #10B981; font-size: 18px; }
.xmark { color: #EF4444; font-size: 18px; }

/* ===== PRICING ===== */
.pricing-active {
  background: linear-gradient(145deg, rgba(124,58,237,0.12), rgba(99,102,241,0.07));
  border: 2px solid #7C3AED;
  box-shadow: 0 0 0 1px rgba(124,58,237,0.2), 0 24px 80px rgba(124,58,237,0.2);
}
.pricing-inactive {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid rgba(139,92,246,0.14);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(139,92,246,0.3); }
.faq-item.open  { border-color: rgba(139,92,246,0.28); }
.faq-question {
  padding: 20px 24px;
  font-weight: 600;
  color: #E2E8F0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
}
.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-gray);
  line-height: 1.75;
  display: none;
  font-size: 14.5px;
}
.faq-item.open .faq-answer { display: block; }
.faq-icon {
  color: var(--purple-main);
  font-size: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ===== SCROLL ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== WAITLIST FORM ===== */
.waitlist-box {
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.14);
  border-radius: 16px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-glow { width: 380px; height: 280px; }
  .tab-btn { padding: 8px 13px; font-size: 12px; }
  .about-photo { width: 120px; height: 120px; font-size: 48px; }
}
