:root {
  --primary: #6366f1;
  --primary-light: #e0e7ff;
  --primary-dark: #4f46e5;
  --background: #ffffff;
  --background-alt: #f8fafc;
  --card-bg: #ffffff;
  --foreground: #1e293b;
  --foreground-muted: #64748b;
  --foreground-on-primary: #ffffff;
  --border: #e2e8f0;
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  --radius: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --transition: 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.5;
  color: var(--foreground);
  background: var(--background);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: var(--foreground-on-primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-secondary:hover {
  background: rgba(99, 102, 241, 0.05);
}

.btn-ghost {
  background: transparent;
  color: var(--foreground-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--background-alt);
  color: var(--foreground);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--spacing-lg);
}

.logo {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--foreground);
}

.logo span {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-links {
  display: flex;
  gap: var(--spacing-xl);
  list-style: none;
}

.nav-links a {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--foreground-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--foreground);
}

.nav-buttons {
  display: flex;
  gap: var(--spacing-sm);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  color: var(--foreground);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--background) 0%, var(--background-alt) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--spacing-lg);
  text-wrap: balance;
}

.hero-text h1 span {
  color: var(--primary);
}

.hero-text p {
  font-size: var(--font-size-lg);
  color: var(--foreground-muted);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-lg);
}

/* =========================================== */
/* SEÇÃO DE MÉTRICAS - VERSÃO CORRIGIDA */
/* =========================================== */

.dashboard-mockup {
  background: linear-gradient(145deg, var(--card-bg), var(--background-alt));
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  overflow: hidden;
  position: relative;
}

.dashboard-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(99, 102, 241, 0.3), 
    transparent);
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--background-alt);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #eab308; }
.mockup-dot.green { background: #22c55e; }

.mockup-content {
  padding: var(--spacing-xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.stat-card {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.95), 
    rgba(248, 250, 252, 0.95));
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.02),
    0 1px 2px rgba(0, 0, 0, 0.03),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  position: relative;
  overflow: visible; /* MUDEI DE hidden PARA visible */
  transition: all 0.3s ease;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    rgba(99, 102, 241, 0), 
    rgba(99, 102, 241, 0.4), 
    rgba(99, 102, 241, 0));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.stat-card:hover::before {
  transform: translateX(100%);
}

.stat-card-animated {
  animation: slideUp 0.6s ease forwards;
  opacity: 0;
}

.stat-card-animated:nth-child(1) {
  animation-delay: 0.1s;
}

.stat-card-animated:nth-child(2) {
  animation-delay: 0.2s;
}

.stat-card-animated:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 10px 25px rgba(0, 0, 0, 0.05),
    0 5px 10px rgba(0, 0, 0, 0.02),
    inset 0 0 0 1px rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.08) 0%, 
    rgba(99, 102, 241, 0.03) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
  transform: translateY(-2px);
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.12) 0%, 
    rgba(99, 102, 241, 0.05) 100%);
}

.stat-icon svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  stroke-width: 1.5;
}

.stat-icon.primary {
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.12), 
    rgba(99, 102, 241, 0.05));
}

.stat-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--foreground-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--foreground);
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
  line-height: 1.2; 
  min-height: 60px; 
  display: flex;
  align-items: center; 
  overflow: visible !important;
}

.stat-value.primary {
  color: var(--primary);
  background: none; 
  -webkit-text-fill-color: var(--primary);
}

#metrics-receita {
  display: block; 
  line-height: 1.2;
  min-height: 60px;
  padding: 0;
  margin: 0;
  overflow: visible;
  white-space: nowrap; 
}

.stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: 4px;
  transition: all 0.3s ease;
}

.stat-trend.positive {
  background: rgba(34, 197, 94, 0.08);
  color: #16a34a;
}

.stat-trend.negative {
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
}

.stat-trend.neutral {
  background: rgba(100, 116, 139, 0.08);
  color: #64748b;
}

.stat-card:hover .stat-trend {
  transform: translateY(-1px);
}

.stat-trend svg {
  width: 10px;
  height: 10px;
  stroke-width: 3;
}

.loading-skeleton {
  background: linear-gradient(
    90deg,
    rgba(226, 232, 240, 0.4) 25%,
    rgba(226, 232, 240, 0.6) 50%,
    rgba(226, 232, 240, 0.4) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 2px;
  display: inline-block;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* =========================================== */
/* INFORMAÇÕES DAS MÉTRICAS */
/* =========================================== */

.metrics-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-sm);
  border-top: 1px solid rgba(226, 232, 240, 0.5);
  font-size: 0.65rem;
  color: #94a3b8;
}

.metrics-update {
  display: flex;
  align-items: center;
  gap: 4px;
}

.metrics-update svg {
  width: 10px;
  height: 10px;
  opacity: 0.5;
}

.metrics-period {
  background: rgba(100, 116, 139, 0.04);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 500;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .stat-card {
    padding: var(--spacing-lg);
  }
  
  .stat-value {
    font-size: 2rem;
    min-height: 50px;
  }
  
  #metrics-receita {
    font-size: 1.8rem;
    min-height: 50px;
  }
  
  .metrics-info {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.6rem;
  }
  
  .metrics-period {
    align-self: flex-start;
  }
}

/* =========================================== */
/* FIM DAS ALTERAÇÕES NA SEÇÃO DE MÉTRICAS */
/* =========================================== */

.mockup-table {
  background: var(--background-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 1fr;
  padding: 12px 16px;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: var(--foreground-muted);
  text-transform: uppercase;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr 1fr;
  padding: 12px 16px;
  font-size: var(--font-size-sm);
  border-bottom: 1px solid var(--border);
}

.table-row:last-child {
  border-bottom: none;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--background-alt);
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.section-title p {
  font-size: var(--font-size-lg);
  color: var(--foreground-muted);
  max-width: 600px;
  margin: 0 auto;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.audience-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-xl);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.audience-card:hover {
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.audience-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
}

.audience-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.audience-card h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.audience-card p {
  font-size: var(--font-size-sm);
  color: var(--foreground-muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.benefit-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--spacing-xl);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.benefit-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.benefit-card h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.benefit-card p {
  font-size: var(--font-size-sm);
  color: var(--foreground-muted);
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--foreground-on-primary);
  font-size: var(--font-size-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
}

.step-card h3 {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.step-card p {
  font-size: var(--font-size-sm);
  color: var(--foreground-muted);
}

.pricing-card {
  max-width: 600px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 2px solid var(--primary);
  border-radius: var(--radius-2xl);
  padding: 48px;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--foreground-on-primary);
  padding: 8px 24px;
  border-radius: 20px;
  font-size: var(--font-size-sm);
  font-weight: 600;
}

.pricing-card h2 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--foreground-muted);
  margin-bottom: var(--spacing-lg);
  margin-top: var(--spacing-sm);
}

.pricing-value {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  margin-bottom: var(--spacing-lg);
}

.pricing-value .currency {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--foreground);
  margin-top: 12px;
}

.pricing-value .amount {
  font-size: 5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.pricing-value .cents {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 12px;
}

.pricing-value .period {
  font-size: var(--font-size-lg);
  font-weight: 500;
  color: var(--foreground-muted);
  margin-top: 48px;
}

.pricing-daily {
  font-size: var(--font-size-lg);
  color: var(--foreground);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

.pricing-description {
  padding: 20px;
  background: var(--background-alt);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-xl);
}

.pricing-description p {
  font-size: var(--font-size-sm);
  color: var(--foreground-muted);
  margin: 0;
}

.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--spacing-xl);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--font-size-base);
  color: var(--foreground);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  width: 24px;
  height: 24px;
  color: #22c55e;
  flex-shrink: 0;
}

.pricing-highlights {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
  padding: 20px;
  background: var(--background-alt);
  border-radius: var(--radius-lg);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  color: var(--foreground);
}

.highlight-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

.pricing-profit {
  margin-bottom: var(--spacing-xl);
}

.pricing-profit p {
  font-size: var(--font-size-base);
  color: var(--foreground);
  margin-bottom: var(--spacing-sm);
}

.profit-highlight {
  font-size: var(--font-size-lg) !important;
  font-weight: 600;
  color: var(--primary) !important;
  padding: var(--spacing-lg);
  background: rgba(99, 102, 241, 0.08);
  border-radius: var(--radius);
}

.pricing-cta-section {
  border-top: 1px solid var(--border);
  padding-top: var(--spacing-xl);
}

.pricing-cta-text {
  font-size: var(--font-size-lg);
  color: var(--foreground);
  margin-bottom: var(--spacing-xl);
  line-height: 1.7;
}

.pricing-transform {
  margin-top: var(--spacing-lg);
  font-size: var(--font-size-sm);
  color: var(--foreground-muted);
}

.auth-section {
  padding: 60px 0;
}

.auth-card {
  max-width: 480px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.auth-card h2 {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  text-align: center;
}

.auth-card > p {
  text-align: center;
  color: var(--foreground-muted);
  margin-bottom: var(--spacing-xl);
}

.pending-notice {
  margin-top: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius);
  font-size: var(--font-size-sm);
  color: var(--primary);
  text-align: center;
}

.auth-link {
  text-align: center;
  margin-top: var(--spacing-lg);
  font-size: var(--font-size-sm);
  color: var(--foreground-muted);
}

.auth-link a {
  color: var(--primary);
  font-weight: 500;
}

.auth-link a:hover {
  text-decoration: underline;
}

.footer {
  padding: 60px 0 0;
  border-top: 1px solid var(--border);
  background: var(--background);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-description {
  font-size: var(--font-size-sm);
  color: var(--foreground-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-company-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: var(--font-size-xs);
  color: var(--foreground-muted);
  margin-top: 0.5rem;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-column ul li a {
  font-size: var(--font-size-sm);
  color: var(--foreground-muted);
  transition: color 0.2s;
}

.footer-column ul li a:hover {
  color: var(--primary);
}

.footer-contact {
  margin-bottom: 1rem;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  color: var(--foreground-muted);
  transition: color 0.2s;
}

.footer-contact-item:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--background-alt);
  border-radius: 50%;
  color: var(--foreground-muted);
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.footer-copyright {
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copyright p {
  font-size: var(--font-size-sm);
  color: var(--foreground-muted);
  margin: 0;
}

.footer-logo {
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.footer-logo span {
  color: var(--primary);
}

.footer-links {
  display: flex;
  gap: var(--spacing-xl);
}

.footer-links a {
  font-size: var(--font-size-sm);
  color: var(--foreground-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-copy {
  font-size: var(--font-size-sm);
  color: var(--foreground-muted);
}

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  display: block;
  opacity: 1;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--background);
  border-radius: var(--radius-xl);
  z-index: 2001;
  max-width: 520px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--border);
}

#signup-modal {
  max-width: 580px;
}

.modal.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.modal-close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--foreground-muted);
  transition: color 0.2s;
  border-radius: var(--radius);
}

.modal-close:hover {
  color: var(--foreground);
  background: var(--background-alt);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.notification-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  min-width: 320px;
  max-width: 420px;
  padding: 1rem 1.25rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10000;
  transform: translateX(calc(100% + 24px));
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.notification-toast.show {
  transform: translateX(0);
}

.notification-toast svg {
  flex-shrink: 0;
}

.notification-toast.success {
  border-left: 4px solid var(--primary);
}

.notification-toast.success svg {
  color: var(--primary);
}

.notification-toast.error {
  border-left: 4px solid #ef4444;
}

.notification-toast.error svg {
  color: #ef4444;
}

.notification-toast.warning {
  border-left: 4px solid #f59e0b;
}

.notification-toast.warning svg {
  color: #f59e0b;
}

.notification-toast.info {
  border-left: 4px solid #3b82f6;
}

.notification-toast.info svg {
  color: #3b82f6;
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .dashboard-mockup {
    max-width: 600px;
    margin: 0 auto;
  }

  .audience-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0 var(--spacing-md);
    height: 64px;
  }
  
  .nav-links,
  .nav-buttons {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: var(--background);
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    visibility: hidden;
  }
  
  .nav.active {
    transform: translateX(0);
    visibility: visible;
  }
  
  .nav .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: var(--spacing-xl);
  }
  
  .nav .nav-links li {
    width: 100%;
  }
  
  .nav .nav-links a {
    display: block;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--font-size-base);
    color: var(--foreground);
  }
  
  .nav .nav-links li:last-child a {
    border-bottom: none;
  }
  
  .nav .nav-buttons {
    display: flex !important;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
  }
  
  .nav .nav-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .audience-grid,
  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  /* Responsividade para a seção de métricas */
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-value {
    font-size: 2rem;
  }
  
  .metrics-info {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    font-size: 0.6rem;
  }
  
  .metrics-period {
    align-self: flex-start;
  }
  
  .table-header,
  .table-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .table-header > *:nth-child(3),
  .table-header > *:nth-child(4),
  .table-row > *:nth-child(3),
  .table-row > *:nth-child(4) {
    display: none;
  }
  
  .pricing-card {
    padding: 32px 24px;
  }
  
  .pricing-value .amount {
    font-size: 3.5rem;
  }
  
  .pricing-value .cents {
    font-size: 1.5rem;
  }
  
  .pricing-highlights {
    flex-direction: column;
    gap: 12px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: span 2;
    text-align: center;
    align-items: center;
  }
  
  .footer-description {
    max-width: 400px;
    text-align: center;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-column h4 {
    margin-bottom: 0.75rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-contact {
    display: flex;
    justify-content: center;
  }
  
  .auth-card {
    padding: 24px;
    margin: 0 var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .pricing-card {
    padding: 24px 16px;
  }
  
  .pricing-value .amount {
    font-size: 2.5rem;
  }
  
  .pricing-value .cents {
    font-size: 1.25rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
}

@media (max-width: 576px) {
  .modal {
    width: 95%;
    max-height: 95vh;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .notification-toast {
    top: 16px;
    right: 16px;
    left: 16px;
    min-width: auto;
    max-width: none;
    transform: translateY(-150%);
  }
  
  .notification-toast.show {
    transform: translateY(0);
  }
}


/* =========================================== */
/* AJUSTES DE RESPONSIVIDADE PARA 1320px PARA BAIXO */
/* =========================================== */

/* Header */
@media (max-width: 1320px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .header-inner {
    padding: 0 var(--spacing-md);
    height: 64px;
  }
  
  .nav-links,
  .nav-buttons {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: var(--background);
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    visibility: hidden;
  }
  
  .nav.active {
    transform: translateX(0);
    visibility: visible;
  }
  
  .nav .nav-links {
    display: flex !important;
    flex-direction: column;
    gap: 0;
    width: 100%;
    margin-bottom: var(--spacing-xl);
  }
  
  .nav .nav-links li {
    width: 100%;
  }
  
  .nav .nav-links a {
    display: block;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border);
    font-size: var(--font-size-base);
    color: var(--foreground);
  }
  
  .nav .nav-links li:last-child a {
    border-bottom: none;
  }
  
  .nav .nav-buttons {
    display: flex !important;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
  }
  
  .nav .nav-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Hero Section */
@media (max-width: 1320px) {
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Dashboard mais largo */
  .dashboard-mockup {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
  }
  
  /* Conteúdo interno mais largo */
  .mockup-content {
    padding: var(--spacing-xl) !important;
  }
  
  /* Métricas responsivas - MAIS LARGAS */
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-lg) !important;
    margin-bottom: var(--spacing-lg);
  }
  
  /* Cada card de métrica mais largo */
  .stat-card {
    padding: var(--spacing-xl) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
  }
  
  .stat-value {
    font-size: 2.2rem !important;
    min-height: 55px !important;
  }
  
  #metrics-receita {
    font-size: 2rem !important;
    min-height: 55px !important;
  }
  
  /* Info das métricas mais legível */
  .metrics-info {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    font-size: 0.8rem !important;
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
  }
  
  .metrics-period {
    align-self: flex-start;
  }
}

/* Grids Responsivos */
@media (max-width: 1320px) {
  .audience-grid,
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
  
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .audience-grid,
  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  /* Para telas menores que 768px - info das métricas em coluna */
  .metrics-info {
    flex-direction: column !important;
    gap: 0.5rem !important;
    align-items: flex-start !important;
  }
}

/* Seções Gerais */
@media (max-width: 1320px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
  }
  
  .section-title p {
    font-size: var(--font-size-base);
  }
}

/* Preços */
@media (max-width: 1320px) {
  .pricing-card {
    padding: 32px 24px;
  }
  
  .pricing-value .amount {
    font-size: 3.5rem;
  }
  
  .pricing-value .cents {
    font-size: 1.5rem;
  }
  
  .pricing-highlights {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .pricing-card {
    padding: 24px 16px;
  }
  
  .pricing-value .amount {
    font-size: 2.5rem;
  }
  
  .pricing-value .cents {
    font-size: 1.25rem;
  }
}

/* Footer */
@media (max-width: 1320px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    grid-column: span 2;
    text-align: center;
    align-items: center;
  }
  
  .footer-description {
    max-width: 400px;
    text-align: center;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-column h4 {
    margin-bottom: 0.75rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-contact {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
}

/* Tabelas */
@media (max-width: 1320px) {
  .table-header,
  .table-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .table-header > *:nth-child(3),
  .table-header > *:nth-child(4),
  .table-row > *:nth-child(3),
  .table-row > *:nth-child(4) {
    display: none;
  }
}

/* Modais */
@media (max-width: 1320px) {
  .modal {
    width: 95%;
    max-height: 95vh;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Notificações */
@media (max-width: 1320px) {
  .notification-toast {
    top: 16px;
    right: 16px;
    left: 16px;
    min-width: auto;
    max-width: none;
    transform: translateY(-150%);
  }
  
  .notification-toast.show {
    transform: translateY(0);
  }
}

/* Ajustes finos para telas muito pequenas */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.75rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
}