/* ============================================
   BizTaxIntel — Design System
   Clean white theme, amber/gold accent, Inter font
   ============================================ */

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

:root {
  --accent: #d97706;
  --accent-dark: #b45309;
  --accent-light: #fef3c7;
  --text: #1a1a2e;
  --text-mid: #495057;
  --text-soft: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f8f9fa;
  --bg-muted: #f1f3f5;
  --border: #e9ecef;
  --border-dark: #dee2e6;
  --green: #059669;
  --green-light: #ecfdf5;
  --red: #dc2626;
  --red-light: #fef2f2;
  --blue: #2563eb;
  --blue-light: #eff6ff;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 4px 24px rgba(0,0,0,0.08);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  padding: 12px 28px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

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

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-dark);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-full { width: 100%; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.95);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links li a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 8px;
  transition: all 0.2s;
}

.nav-links li a:hover { color: var(--text); background: var(--bg-soft); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}

.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 80px 0 60px;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  z-index: -1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-light);
  border: 1px solid rgba(217,119,6,0.2);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 24px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-h1 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-mid);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-search {
  display: flex;
  align-items: center;
  max-width: 580px;
  margin: 0 auto;
  background: var(--bg);
  border: 2px solid var(--border-dark);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: border-color 0.2s;
}

.hero-search:focus-within { border-color: var(--accent); }

.hero-search input {
  flex: 1;
  border: none;
  padding: 16px;
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  background: transparent;
}

.hero-search button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.hero-search button:hover { background: var(--accent-dark); }

.hero-hint {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 12px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text-mid);
}

.stat-sep { color: var(--border-dark); }

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 80px 0; }

.section-dark { background: var(--bg-soft); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.overline {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Pain grid */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pain-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.pain-icon { font-size: 32px; margin-bottom: 12px; }
.pain-stat { font-size: 36px; font-weight: 900; color: var(--red); letter-spacing: -1px; }
.pain-label { font-size: 14px; color: var(--text-mid); margin-top: 8px; }

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

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

.feature-icon { font-size: 28px; margin-bottom: 14px; }

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
}

.step-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: 14px; color: var(--text-mid); line-height: 1.5; }

/* Entity cards */
.entity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.entity-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.entity-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.entity-full {
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.entity-card p { font-size: 14px; color: var(--text-mid); line-height: 1.5; }

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}

.pricing-featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-tier {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
}

.pricing-price span {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-soft);
  letter-spacing: 0;
}

.pricing-desc {
  font-size: 14px;
  color: var(--text-mid);
  margin: 8px 0 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  font-size: 14px;
  color: var(--text-mid);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  margin-top: 24px;
}

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.cta-content .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
}

.cta-content .btn-outline:hover {
  border-color: #fff;
}

/* Footer */
.footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.6);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}

.footer-heading {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-grid a {
  display: block;
  font-size: 14px;
  padding: 4px 0;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-grid a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 13px;
}

.footer .nav-logo { color: #fff; }
.footer .logo-icon { background: var(--accent); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-h1 { font-size: 40px; }
  .features-grid, .pain-grid, .entity-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 60px 0; }
  .section-header h2 { font-size: 28px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-search { flex-direction: column; }
  .hero-search input { width: 100%; }
  .hero-search button { width: 100%; padding: 14px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); flex-direction: column; padding: 16px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-mobile-toggle { display: block; }
  .features-grid, .pain-grid, .entity-grid, .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats { flex-direction: column; gap: 8px; }
}
