/* Axiom NFe — Landing + Dashboard styles */
/* Dark theme (landing), Light theme (dashboard) */

:root {
  --accent: #3b82f6;
  --accent-light: #dbeafe;
  --accent-dark: #2563eb;
  --bg-dark: #0B0E14;
  --bg-card-dark: #12161F;
  --border-dark: #1A1F2E;
  --text-dark: #fff;
  --text-muted-dark: #8B95A5;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Landing (dark) ── */
.landing-dark {
  background: var(--bg-dark);
  color: var(--text-dark);
}

.navbar {
  background: rgba(11, 14, 20, 0.95);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand svg { width: 32px; height: 32px; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar-links a {
  color: var(--text-muted-dark);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-links a:hover { color: #fff; }

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Hero */
.hero {
  padding: 100px 20px 80px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.12;
  max-width: 720px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--text-muted-dark);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Buttons */
.btn-landing {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  border: none;
  cursor: pointer;
}

.btn-landing:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border: 1.5px solid var(--accent);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-outline:hover { background: rgba(59, 130, 246, 0.1); }

/* Sections */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
}

.validation {
  padding: 72px 20px;
  text-align: center;
}

.validation p {
  font-size: 1.25rem;
  color: var(--text-muted-dark);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

.validation p strong { color: #fff; font-weight: 600; }

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.2s;
}

.feature-card:hover { border-color: var(--accent); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}

.feature-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-text {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Pricing */
.pricing-section {
  padding: 80px 20px;
  text-align: center;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card-dark);
  border: 1px solid var(--border-dark);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: left;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover { transform: translateY(-2px); }

.pricing-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 24px rgba(59, 130, 246, 0.15);
}

.pricing-card .badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.pricing-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }

.pricing-price {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.pricing-price span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted-dark); }

.pricing-features {
  list-style: none;
  margin: 20px 0;
}

.pricing-features li {
  padding: 6px 0;
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Code block */
.code-block {
  background: #0d1117;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  padding: 20px;
  overflow-x: auto;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #c9d1d9;
}

.code-block .comment { color: #8b949e; }
.code-block .string { color: #a5d6ff; }
.code-block .keyword { color: #ff7b72; }

/* CTA section */
.cta-section {
  padding: 80px 20px;
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(59, 130, 246, 0.06) 0%, transparent 60%);
}

/* Footer */
.footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid var(--border-dark);
  color: var(--text-muted-dark);
  font-size: 13px;
}

.footer a { color: var(--accent); text-decoration: none; }

/* Comparison table */
.compare-table {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-collapse: collapse;
}

.compare-table th,
.compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-dark);
  font-size: 0.9rem;
}

.compare-table th {
  color: var(--text-muted-dark);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.compare-table td:first-child { font-weight: 500; }

/* Responsive */
@media (max-width: 768px) {
  .navbar-links { display: none; }
  .navbar-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 14, 20, 0.98);
    padding: 16px;
    border-bottom: 1px solid var(--border-dark);
  }
  .navbar-toggle { display: block; }

  .hero h1 { font-size: 2rem; }
  .hero .lead { font-size: 1rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .compare-table th, .compare-table td { font-size: 13px; padding: 10px 8px; }
}

/* Ultra-mobile: 375px */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero .lead { font-size: 0.9rem; }
  .pricing-grid { max-width: 100%; }
  .code-block { font-size: 11px; padding: 16px; }
  section { padding-left: 16px !important; padding-right: 16px !important; }
  .compare-table th, .compare-table td { font-size: 12px; padding: 8px 6px; }
  details { padding: 16px !important; }
  details summary { font-size: 0.9rem !important; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons a { width: 100%; max-width: 280px; text-align: center; }
  .footer p { font-size: 13px; }
}
