/* Landing Page & Auth Styles - SindCenso SaaS */

.landing-body {
  background-color: #070A12;
  color: #F8FAFC;
  overflow-x: hidden;
}

/* Header */
.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.landing-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.text-accent {
  color: #38BDF8;
}

.logo-tag {
  display: block;
  font-size: 0.675rem;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
}

.nav-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #FFFFFF;
}

.nav-cta-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Hero Section */
.hero-section {
  padding: 5rem 1.5rem 3rem 1.5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.18) 0%, transparent 65%);
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 999px;
  font-size: 0.8rem;
  color: #93C5FD;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, #60A5FA, #38BDF8, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #94A3B8;
  max-width: 780px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-hero {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.hero-trust {
  display: flex;
  gap: 2rem;
  font-size: 0.825rem;
  color: #94A3B8;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.text-success { color: #10B981; }

/* Hero Preview Mockup */
.hero-preview-wrapper {
  position: relative;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.preview-glow {
  position: absolute;
  top: -20px;
  left: 5%;
  right: 5%;
  height: 100%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(56, 189, 248, 0.2));
  filter: blur(50px);
  z-index: 0;
  border-radius: 20px;
}

.preview-card {
  position: relative;
  z-index: 1;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.preview-header {
  background: #1F2937;
  padding: 0.75rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.preview-dots {
  display: flex;
  gap: 6px;
}

.preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.preview-title-bar {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #9CA3AF;
}

.preview-badge-status {
  font-size: 0.725rem;
  color: #34D399;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.preview-content {
  padding: 1.5rem;
}

.preview-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.p-kpi {
  background: #1A2338;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.p-kpi.highlight {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
}

.p-kpi span {
  font-size: 0.75rem;
  color: #94A3B8;
}

.p-kpi strong {
  font-size: 1.25rem;
  color: #FFFFFF;
}

.p-kpi.highlight strong {
  color: #34D399;
}

/* Stats Counter Section */
.stats-counter-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(19, 27, 46, 0.4);
  padding: 3rem 1.5rem;
}

.container-grid-4 {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.counter-box h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #60A5FA;
  margin-bottom: 0.35rem;
}

.counter-box p {
  font-size: 0.875rem;
  color: #94A3B8;
}

/* Features Section */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #38BDF8;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: #94A3B8;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

/* Variante de 2 colunas (seção "Tudo o que você precisa") */
.features-grid-2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 980px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .features-grid-2col {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: #3B82F6;
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.feature-icon.blue { background: rgba(37, 99, 235, 0.15); color: #60A5FA; }
.feature-icon.green { background: rgba(16, 185, 129, 0.15); color: #34D399; }
.feature-icon.purple { background: rgba(139, 92, 246, 0.15); color: #A78BFA; }
.feature-icon.amber { background: rgba(245, 158, 11, 0.15); color: #FBBF24; }
.feature-icon.teal { background: rgba(20, 184, 166, 0.15); color: #2DD4BF; }
.feature-icon.indigo { background: rgba(99, 102, 241, 0.15); color: #818CF8; }

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem 6rem 1.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
    gap: 2rem;
  }
}

.pricing-card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  background: #131E38;
  border: 2px solid #3B82F6;
  box-shadow: 0 0 35px rgba(37, 99, 235, 0.25);
  transform: scale(1.03);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #2563EB, #06B6D4);
  color: white;
  font-size: 0.725rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
}

.pricing-badge-top {
  font-size: 0.75rem;
  font-weight: 700;
  color: #60A5FA;
  margin-bottom: 0.5rem;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.plan-desc {
  font-size: 0.825rem;
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.currency {
  font-size: 1.25rem;
  font-weight: 700;
  color: #94A3B8;
}

.amount {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.period {
  font-size: 0.875rem;
  color: #94A3B8;
  margin-left: 0.25rem;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  flex: 1;
}

.plan-features li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #E2E8F0;
}

.plan-features li.disabled {
  color: #64748B;
}

.btn-block {
  width: 100%;
}

/* FAQ Section */
.faq-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.faq-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-item p {
  font-size: 0.875rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* CTA Banner Section */
.cta-banner-section {
  max-width: 1100px;
  margin: 0 auto 5rem auto;
  padding: 0 1.5rem;
}

.cta-banner-card {
  background: linear-gradient(135deg, #1E3A8A, #1E1B4B);
  border: 1px solid rgba(59, 130, 246, 0.4);
  border-radius: 24px;
  padding: 3.5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.cta-banner-card h2 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.cta-banner-card p {
  font-size: 1rem;
  color: #CBD5E1;
  max-width: 600px;
}

/* Footer */
.landing-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0B0F19;
  padding: 4rem 1.5rem 2rem 1.5rem;
}

.landing-footer-container {
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

.footer-col h5 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.footer-col a {
  display: block;
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.825rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #38BDF8;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.775rem;
  color: #64748B;
}

/* Auth / Login Page Styles */
.auth-body {
  background-color: #070A12;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  background-image: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.auth-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.auth-tabs {
  display: flex;
  background: #1F2937;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.auth-tab {
  flex: 1;
  text-align: center;
  padding: 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #94A3B8;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab.active {
  background: #2563EB;
  color: white;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.775rem;
  font-weight: 600;
  color: #94A3B8;
}

.form-input {
  background: #1F2937;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  color: white;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #3B82F6;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.auth-alert {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  display: none;
}

.auth-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #F87171;
  display: block;
}

.auth-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34D399;
  display: block;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-title { font-size: 2.1rem; }
  .nav-links { display: none; }
  .landing-footer-container { grid-template-columns: 1fr; gap: 2rem; }
}

/* --- Pacotes de crédito: preço unitário + tabela de consumo --- */
.plan-unit {
  font-size: 0.82rem;
  color: #34D399;
  font-weight: 600;
  margin: -0.35rem 0 0.75rem 0;
}

.credits-cost-note {
  max-width: 980px;
  margin: 3rem auto 0 auto;
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
}
.credits-cost-note h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: #F8FAFC;
}
.credits-cost-note h4 i { color: #FBBF24; margin-right: 0.4rem; }
.credits-cost-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}
.credits-cost-grid > div {
  background: #0B1220;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  font-size: 0.875rem;
  color: #94A3B8;
}
.credits-cost-grid strong { color: #60A5FA; font-family: var(--font-mono, monospace); }
.credits-cost-cta {
  text-align: center;
  margin-top: 1.4rem;
  font-size: 0.95rem;
  color: #CBD5E1;
}
.credits-cost-cta a {
  color: #60A5FA;
  font-weight: 700;
  text-decoration: none;
}
.credits-cost-cta a:hover { text-decoration: underline; }

/* --- FAQ: bloco de código da API + lista de endpoints --- */
.faq-code {
  background: #0B1220;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin: 0.35rem 0 0.9rem 0;
  overflow-x: auto;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #93C5FD;
  font-family: var(--font-mono, monospace);
  white-space: pre;
}
.faq-code code { background: none; padding: 0; color: inherit; }
.faq-item code {
  background: rgba(59,130,246,0.12);
  color: #93C5FD;
  padding: 0.08em 0.4em;
  border-radius: 5px;
  font-family: var(--font-mono, monospace);
  font-size: 0.86em;
}
.faq-endpoints { list-style: none; margin: 0 0 0.9rem 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.faq-endpoints li { font-size: 0.875rem; color: #94A3B8; }
.faq-endpoints li code { display: inline-block; margin-bottom: 0.15rem; }
.faq-endpoints li span {
  display: inline-block; margin-left: 0.4rem; font-size: 0.72rem; font-weight: 700;
  color: #34D399; background: rgba(16,185,129,0.12); padding: 0.05em 0.5em; border-radius: 999px;
}
.footer-bottom a { color: #60A5FA; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }
