/* BilagX Landing — Dark Theme */
:root {
  --bg: #111014;
  --sf: #1a181e;
  --card: #242229;
  --accent: #e8a838;
  --accent-dim: rgba(232,168,56,0.10);
  --green: #5ad4b2;
  --green-dim: rgba(90,212,178,0.10);
  --red: #ef6b6b;
  --coral: #ef8b6e;
  --blue: #6b9fff;
  --lavender: #b39ddb;
  --t1: #f0ece4;
  --t2: #9a9498;
  --t3: #5e5a62;
  --bd: rgba(255,255,255,0.06);
}

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

body {
  background: var(--bg);
  color: var(--t1);
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.accent { color: var(--accent); }

/* Nav */
.nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  background: rgba(17,16,20,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bd);
}
.nav-inner {
  max-width: 1100px; margin:0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display:flex; align-items:center; gap:10px; }
.logo-icon {
  width:32px; height:32px; border-radius:9px;
  background: linear-gradient(135deg, var(--accent), #c4841e);
  display:flex; align-items:center; justify-content:center;
  font-size:16px; font-weight:800; color: var(--bg);
}
.logo-text { font-size:20px; font-weight:700; color: var(--t1); }
.nav-links { display:flex; align-items:center; gap:28px; }
.nav-links a { color: var(--t2); text-decoration:none; font-size:14px; font-weight:500; transition:color .2s; }
.nav-links a:hover { color: var(--t1); }
.nav-cta {
  background: var(--accent) !important; color: var(--bg) !important;
  padding: 8px 20px; border-radius:8px; font-weight:700 !important;
}
.nav-cta:hover { opacity:0.9; }

/* Hero */
.hero {
  max-width: 800px; margin: 0 auto; padding: 160px 24px 80px; text-align: center;
}
.hero-badge {
  display: inline-block; padding: 6px 16px; border-radius: 20px;
  background: var(--accent-dim); border: 1px solid rgba(232,168,56,0.15);
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight:600;
  color: var(--accent); margin-bottom: 24px;
}
.hero h1 { font-size: 52px; font-weight: 800; line-height:1.1; margin-bottom:20px; letter-spacing:-0.02em; }
.hero-sub { font-size: 18px; color: var(--t2); max-width: 560px; margin: 0 auto 32px; }
.hero-buttons { display:flex; gap:12px; justify-content:center; margin-bottom:16px; }
.btn-primary {
  display:inline-block; padding: 14px 32px; border-radius:12px;
  background: var(--accent); color: var(--bg); font-weight:700; font-size:15px;
  text-decoration:none; transition: opacity .2s;
}
.btn-primary:hover { opacity:0.9; }
.btn-secondary {
  display:inline-block; padding: 14px 32px; border-radius:12px;
  background: var(--sf); color: var(--t2); font-weight:600; font-size:15px;
  text-decoration:none; border: 1px solid var(--bd); transition: all .2s;
}
.btn-secondary:hover { color: var(--t1); border-color: rgba(255,255,255,0.12); }
.hero-note { font-size:13px; color: var(--t3); }

/* Stats */
.stats { max-width:900px; margin:0 auto; padding: 0 24px 80px; }
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.stat {
  background: var(--card); border-radius:14px; padding:20px; text-align:center;
  border: 1px solid var(--bd);
}
.stat-value {
  display:block; font-family:'IBM Plex Mono',monospace; font-size:24px;
  font-weight:700; color:var(--accent); margin-bottom:4px;
}
.stat-label { font-size:12px; color:var(--t3); }

/* Features */
.features { max-width:1000px; margin:0 auto; padding: 80px 24px; }
.features h2 { font-size:36px; font-weight:800; text-align:center; margin-bottom:48px; }
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.feature-card {
  background: var(--card); border-radius:16px; padding:24px;
  border: 1px solid var(--bd);
}
.feature-icon {
  width:40px; height:40px; border-radius:10px; display:flex;
  align-items:center; justify-content:center;
  font-family:'IBM Plex Mono',monospace; font-size:14px; font-weight:700;
  margin-bottom:14px;
}
.feature-card h3 { font-size:16px; font-weight:700; margin-bottom:8px; }
.feature-card p { font-size:13px; color:var(--t2); line-height:1.5; }

/* How it works */
.how-it-works { max-width:800px; margin:0 auto; padding: 80px 24px; }
.how-it-works h2 { font-size:36px; font-weight:800; text-align:center; margin-bottom:48px; }
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.step { text-align:center; }
.step-num {
  width:48px; height:48px; border-radius:14px; margin:0 auto 16px;
  background: var(--accent-dim); border: 2px solid var(--accent);
  display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono',monospace; font-size:20px; font-weight:800; color:var(--accent);
}
.step h3 { font-size:16px; font-weight:700; margin-bottom:8px; }
.step p { font-size:13px; color:var(--t2); }

/* Pricing */
.pricing { max-width:1100px; margin:0 auto; padding: 80px 24px; }
.pricing h2 { font-size:36px; font-weight:800; text-align:center; margin-bottom:8px; }
.pricing-sub { text-align:center; color:var(--t2); font-size:16px; margin-bottom:48px; }
.pricing-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.price-card {
  background: var(--card); border-radius:18px; padding:28px;
  border: 1px solid var(--bd); position:relative;
}
.price-card.featured { border: 2px solid var(--accent); }
.price-badge {
  position:absolute; top:-12px; left:50%; transform:translateX(-50%);
  background:var(--accent); color:var(--bg); font-size:11px; font-weight:700;
  padding:4px 14px; border-radius:12px; white-space:nowrap;
}
.price-card h3 { font-size:18px; font-weight:700; margin-bottom:8px; }
.price {
  font-family:'IBM Plex Mono',monospace; font-size:32px; font-weight:800; color:var(--accent);
}
.price span { font-size:14px; color:var(--t3); font-weight:400; }
.price-period { font-size:13px; color:var(--t3); margin-bottom:20px; }
.price-card ul { list-style:none; margin-bottom:20px; }
.price-card li {
  font-size:13px; color:var(--t2); padding: 6px 0;
  border-bottom: 1px solid var(--bd);
}
.price-card li::before { content:""; display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--green); margin-right:8px; vertical-align:middle; }

/* Accountant */
.accountant { padding: 80px 24px; }
.accountant-inner {
  max-width:800px; margin:0 auto; background:var(--card); border-radius:22px;
  padding:48px; border: 1px solid var(--bd);
}
.accountant-badge {
  display:inline-block; padding:4px 12px; border-radius:6px;
  background:var(--green-dim); border:1px solid rgba(90,212,178,0.15);
  font-size:12px; font-weight:600; color:var(--green); margin-bottom:16px;
}
.accountant h2 { font-size:32px; font-weight:800; margin-bottom:12px; }
.accountant > .accountant-inner > p { font-size:15px; color:var(--t2); margin-bottom:28px; }
.accountant-features { display:flex; gap:24px; margin-bottom:28px; }
.acc-feature { display:flex; gap:14px; flex:1; }
.acc-icon {
  width:44px; height:44px; border-radius:12px; flex-shrink:0;
  background:var(--accent-dim); display:flex; align-items:center; justify-content:center;
  font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:700; color:var(--accent);
}
.acc-feature strong { display:block; font-size:14px; font-weight:700; margin-bottom:4px; }
.acc-feature p { font-size:12px; color:var(--t2); margin:0; }

/* Footer */
.footer { border-top: 1px solid var(--bd); padding: 60px 24px 24px; }
.footer-inner { max-width:1000px; margin:0 auto; display:flex; gap:60px; margin-bottom:40px; }
.footer-brand { flex:1; }
.footer-brand p { font-size:13px; color:var(--t2); margin-top:12px; }
.footer-company { font-size:11px; color:var(--t3); margin-top:8px; }
.footer-links { display:flex; gap:48px; }
.footer-links h4 { font-size:12px; font-weight:700; color:var(--t1); margin-bottom:12px; text-transform:uppercase; letter-spacing:0.5px; }
.footer-links a { display:block; font-size:13px; color:var(--t2); text-decoration:none; margin-bottom:8px; }
.footer-links a:hover { color:var(--t1); }
.footer-bottom { max-width:1000px; margin:0 auto; padding-top:20px; border-top:1px solid var(--bd); }
.footer-bottom p { font-size:12px; color:var(--t3); }

/* Responsive */
@media (max-width:768px) {
  .hero h1 { font-size:32px; }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .features-grid { grid-template-columns:1fr; }
  .steps { grid-template-columns:1fr; }
  .pricing-grid { grid-template-columns:1fr; }
  .footer-inner { flex-direction:column; gap:32px; }
  .footer-links { flex-wrap:wrap; gap:32px; }
  .accountant-features { flex-direction:column; }
  .nav-links a:not(.nav-cta) { display:none; }
}
