/* For Accountants — impeccable.style: dark-first, body.imp-light overrides */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: var(--font-body); color: #cbd5e1; background: #0a0e1a; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.imp-light { color: #334155; background: #faf9f7; }

/* ── Nav — impeccable.style: fixed dark nav ──────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 14, 26, 0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid #111827;
  transition: all var(--duration-state) var(--ease-default);
  padding-top: env(safe-area-inset-top);
}
body.imp-light .nav { background: rgba(250, 249, 247, 0.95); border-bottom-color: #e2e8f0; }
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
body.imp-light .nav.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,0.08); }

.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 32px; filter: brightness(0) invert(1); transition: filter var(--duration-state) var(--ease-default); }
body.imp-light .nav-logo img { filter: none; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { display: flex; align-items: center; padding: 10px 16px; color: #cbd5e1; text-decoration: none; font-weight: 500; font-size: 0.9375rem; border-radius: 8px; transition: all var(--duration-state) var(--ease-default); }
body.imp-light .nav-links a { color: #475569; }
.nav-links a:hover, .nav-links a.active { background: #111827; color: #13B5EA; }
body.imp-light .nav-links a:hover, body.imp-light .nav-links a.active { background: #e2e8f0; color: #0078C8; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

/* ── Mode toggle ─────────────────────────────────────────────────────── */
.mode-toggle {
  background: none; border: none; color: #94a3b8; font-size: 1.125rem;
  cursor: pointer; width: 40px; height: 40px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration-state) var(--ease-default);
}
.mode-toggle:hover { background: #111827; color: #faf9f7; }
body.imp-light .mode-toggle { color: #475569; }
body.imp-light .mode-toggle:hover { background: #e2e8f0; color: #0a0e1a; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 0.9375rem; font-weight: 600; padding: 12px 24px; border-radius: 10px;
  text-decoration: none; transition: all var(--duration-state) var(--ease-default);
  cursor: pointer; border: none; min-height: 44px;
}
.btn:active { transform: scale(0.97); transition-duration: var(--duration-micro); }

.btn-ghost { background: transparent; color: #cbd5e1; }
body.imp-light .btn-ghost { color: #475569; }
.btn-ghost:hover { background: #111827; color: #faf9f7; }
body.imp-light .btn-ghost:hover { background: #e2e8f0; color: #0a0e1a; }

.btn-primary { background: #0078C8; color: #faf9f7; }
.btn-primary:hover { background: #13B5EA; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0,120,200,0.3); }

.btn-white { background: #faf9f7; color: #0a0e1a; font-weight: 600; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }

.btn-outline { background: transparent; border: 1.5px solid #1e293b; color: #cbd5e1; }
body.imp-light .btn-outline { border-color: #e2e8f0; color: #334155; }
.btn-outline:hover { border-color: #13B5EA; color: #13B5EA; background: rgba(0,120,200,0.08); }
body.imp-light .btn-outline:hover { border-color: #0078C8; color: #0078C8; }

.btn-large { padding: 16px 32px; font-size: 1.0625rem; }

/* ── Hero — video bg with overlay ────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 8rem 2rem 4rem; overflow: hidden;
}
.hero-bg-image {
  position: absolute; inset: 0; z-index: 0;
  background: url('https://prodmedia.tyga.host/public/numbors/app/bg-default-big.jpg') center center / cover no-repeat;
  transition: opacity 1s var(--ease-default);
}
.hero-bg-image.fade-out { opacity: 0; }
.hero-bg-video { position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 1s var(--ease-default); }
.hero-bg-video.ready { opacity: 1; }
.hero-bg-video video { width: 100%; height: 100%; object-fit: cover; }

/* Dark overlay */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,14,26,0.55) 0%, rgba(10,14,26,0.7) 40%, rgba(10,14,26,0.88) 100%);
}
/* Accent glow */
.hero::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 1400px; height: 600px;
  background: radial-gradient(ellipse at center top, rgba(0,120,200,0.15) 0%, transparent 70%);
  pointer-events: none; z-index: 2;
}

.hero-container { max-width: 1200px; margin: 0 auto; width: 100%; position: relative; z-index: 3; }
.hero-content { max-width: 700px; }

/* impeccable.style: hero entrance stagger */
.hero-badge { animation: fadeSlideUp var(--duration-entrance) var(--ease-enter) 0ms both; }
.hero h1 { animation: fadeSlideUp var(--duration-entrance) var(--ease-enter) 100ms both; }
.hero-subtitle { animation: fadeSlideUp var(--duration-entrance) var(--ease-enter) 200ms both; }
.hero-cta { animation: fadeSlideUp var(--duration-entrance) var(--ease-enter) 300ms both; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: rgba(80,220,170,0.15); border: 1px solid rgba(80,220,170,0.4);
  border-radius: 50px; font-size: 0.875rem; font-weight: 600; color: #50DCAA; margin-bottom: 24px;
}
.hero-badge i { color: #50DCAA; }

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; color: #faf9f7;
  line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}

.hero-subtitle {
  font-size: 1.25rem; color: #cbd5e1; margin-bottom: 40px; line-height: 1.6; max-width: 580px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.hero-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* ── Benefits Section ────────────────────────────────────────────────── */
.benefits { padding: 96px 24px; background: #111827; }
body.imp-light .benefits { background: #f8fafc; }

.benefits-container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; color: #e2e8f0; margin-bottom: 16px; letter-spacing: -0.02em; line-height: 1.2; }
body.imp-light .section-header h2 { color: #1e293b; }
.section-header p { font-size: 1.125rem; color: #64748b; max-width: 600px; margin: 0 auto; }

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

.benefit-card {
  text-align: center; padding: 32px 20px; border-radius: 16px;
  border: 1px solid #1e293b; background: rgba(255,255,255,0.02);
  transition: all var(--duration-state) var(--ease-default);
}
body.imp-light .benefit-card { border-color: #e2e8f0; background: #fff; }

.benefit-card:hover {
  border-color: rgba(0,120,200,0.4); background: rgba(0,120,200,0.04);
  transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,120,200,0.08);
}
body.imp-light .benefit-card:hover { border-color: rgba(0,120,200,0.3); background: #fff; box-shadow: 0 12px 32px rgba(0,120,200,0.1); }

.benefit-icon {
  width: 56px; height: 56px; margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(0,120,200,0.12) 0%, rgba(19,181,234,0.08) 100%);
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
  transition: all var(--duration-state) var(--ease-default);
}
.benefit-card:hover .benefit-icon { background: linear-gradient(135deg, rgba(0,120,200,0.2) 0%, rgba(19,181,234,0.14) 100%); transform: scale(1.08); }
.benefit-icon i { font-size: 1.5rem; color: #13B5EA; }

.benefit-card h3 { font-size: 1rem; font-weight: 600; color: #e2e8f0; margin-bottom: 6px; }
body.imp-light .benefit-card h3 { color: #1e293b; }
.benefit-card p { font-size: 0.8125rem; color: #64748b; line-height: 1.5; }

/* ── How It Works ────────────────────────────────────────────────────── */
.how-it-works { padding: 96px 24px; background: #0a0e1a; }
body.imp-light .how-it-works { background: #f1f5f9; }

.how-it-works-container { max-width: 900px; margin: 0 auto; }

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; counter-reset: step; }

.step {
  position: relative; padding: 32px; background: #111827; border-radius: 16px;
  border: 1px solid #1e293b; transition: all var(--duration-state) var(--ease-default);
}
body.imp-light .step { background: #fff; border-color: #e2e8f0; }
.step:hover { border-color: rgba(0,120,200,0.3); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,120,200,0.06); }

.step-number {
  width: 40px; height: 40px; background: linear-gradient(135deg, #0078C8 0%, #13B5EA 100%);
  color: #faf9f7; font-size: 1.125rem; font-weight: 700; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}

.step h3 { font-size: 1.125rem; font-weight: 600; color: #e2e8f0; margin-bottom: 8px; }
body.imp-light .step h3 { color: #1e293b; }
.step p { font-size: 0.9375rem; color: #64748b; line-height: 1.5; }

/* ── Features Section ────────────────────────────────────────────────── */
.features-section { padding: 96px 24px; background: #111827; }
body.imp-light .features-section { background: #faf9f7; }

.features-container { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

.features-text h2 { font-size: 2rem; font-weight: 700; color: #e2e8f0; margin-bottom: 16px; letter-spacing: -0.02em; line-height: 1.2; }
body.imp-light .features-text h2 { color: #1e293b; }
.features-text p { font-size: 1.125rem; color: #64748b; line-height: 1.7; }

.features-checklist { list-style: none; display: grid; gap: 14px; }
.features-checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; color: #cbd5e1; }
body.imp-light .features-checklist li { color: #334155; }
.features-checklist li i { color: #50DCAA; font-size: 1.25rem; flex-shrink: 0; margin-top: 2px; }

/* ── Free Section ────────────────────────────────────────────────────── */
.free-section { padding: 96px 24px; background: #0a0e1a; text-align: center; }
body.imp-light .free-section { background: #f1f5f9; }

.free-container { max-width: 700px; margin: 0 auto; }

.free-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(80,220,170,0.12); color: #50DCAA;
  font-size: 0.875rem; font-weight: 600; padding: 8px 16px; border-radius: 100px; margin-bottom: 24px;
}
body.imp-light .free-badge { background: #ecfdf5; color: #059669; }

.free-section h2 { font-size: 2.5rem; font-weight: 700; color: #e2e8f0; margin-bottom: 16px; letter-spacing: -0.02em; }
body.imp-light .free-section h2 { color: #1e293b; }
.free-section p { font-size: 1.125rem; color: #64748b; margin-bottom: 32px; line-height: 1.7; }

/* ── CTA Section — always dark ───────────────────────────────────────── */
.cta-section { padding: 96px 24px; background: linear-gradient(180deg, #0a0e1a 0%, #111827 100%); text-align: center; }
.cta-container { max-width: 700px; margin: 0 auto; }
.cta-section h2 { font-size: 2.5rem; font-weight: 700; color: #faf9f7; margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-section p { font-size: 1.125rem; color: #94a3b8; margin-bottom: 32px; }

/* ── Footer — always dark ────────────────────────────────────────────── */
.footer { background: #0a0e1a; padding: 64px 24px 32px; color: #94a3b8; border-top: 1px solid #1e293b; }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 48px; margin-bottom: 48px; }
.footer-brand p { margin-top: 16px; font-size: 0.9375rem; line-height: 1.6; }
.footer-brand img { height: 28px; filter: brightness(0) invert(1); }
.footer h6 { color: #faf9f7; font-size: 0.875rem; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul li a { color: #64748b; text-decoration: none; font-size: 0.9375rem; transition: color var(--duration-state) var(--ease-default); }
.footer ul li a:hover { color: #faf9f7; }
.footer-bottom { padding-top: 32px; border-top: 1px solid #1e293b; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 0.875rem; }

/* ── Mobile Menu ─────────────────────────────────────────────────────── */
.mobile-menu-btn { display: none; background: transparent; border: none; cursor: pointer; padding: 8px; color: #cbd5e1; }
body.imp-light .mobile-menu-btn { color: #475569; }
.mobile-menu-btn i { font-size: 1.5rem; }

.mobile-menu-backdrop {
  position: fixed; inset: 0; background: rgba(10,14,26,0.6); z-index: 1100;
  opacity: 0; visibility: hidden; transition: opacity var(--duration-state) var(--ease-default), visibility var(--duration-state) var(--ease-default);
}
.mobile-menu-backdrop.show { opacity: 1; visibility: visible; }

.mobile-menu-drawer {
  position: fixed; top: 0; right: 0; width: 280px; height: 100vh;
  background: #111827; z-index: 1200; transform: translateX(100%);
  transition: transform var(--duration-state) var(--ease-default);
  display: flex; flex-direction: column; padding: 24px; overflow-y: auto;
  border-left: 1px solid #1e293b;
}
body.imp-light .mobile-menu-drawer { background: #fff; border-left-color: #e2e8f0; }
.mobile-menu-drawer.show { transform: translateX(0); }

.mobile-menu-drawer .drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #1e293b; }
body.imp-light .mobile-menu-drawer .drawer-header { border-bottom-color: #e2e8f0; }
.mobile-menu-drawer .drawer-header img { height: 28px; filter: brightness(0) invert(1); }
body.imp-light .mobile-menu-drawer .drawer-header img { filter: none; }
.mobile-menu-drawer .drawer-close { background: none; border: none; font-size: 1.5rem; color: #94a3b8; cursor: pointer; padding: 4px; min-height: auto; }
body.imp-light .mobile-menu-drawer .drawer-close { color: #64748b; }

.mobile-menu-drawer .drawer-links { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; }
.mobile-menu-drawer .drawer-links a { display: block; padding: 12px 8px; font-size: 1rem; font-weight: 500; color: #cbd5e1; text-decoration: none; border-radius: 8px; transition: background var(--duration-state) var(--ease-default); }
body.imp-light .mobile-menu-drawer .drawer-links a { color: #334155; }
.mobile-menu-drawer .drawer-links a:hover { background: #1e293b; }
body.imp-light .mobile-menu-drawer .drawer-links a:hover { background: #f1f5f9; }

.mobile-menu-drawer .drawer-actions { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.mobile-menu-drawer .drawer-actions .btn { width: 100%; text-align: center; }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .features-container { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
  .hero { padding: 120px 24px 64px; min-height: auto; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .section-header h2 { font-size: 1.75rem; }
  .benefits-grid { grid-template-columns: 1fr; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .features-checklist { gap: 12px; }
  .free-section h2 { font-size: 1.75rem; }
  .cta-section h2 { font-size: 1.75rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; text-align: center; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
