:root {
  --bg: #0b1120;
  --bg-card: #111827;
  --bg-elevated: #1e293b;
  --border: #1f2937;
  --border-highlight: #38bdf8;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #0ea5e9;
  --accent-hover: #0284c7;
  --emerald: #34d399;
  --amber: #fbbf24;
  --rose: #fb7185;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

code, .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

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

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 17, 32, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand img {
  width: 30px;
  height: 30px;
}

.brand-sub {
  font-size: 0.78rem;
  font-weight: 600;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 2px 8px;
  border-radius: 999px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 11px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
}

.btn-sm {
  font-size: 0.86rem;
  padding: 8px 14px;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: rgba(30, 41, 59, 0.6);
  color: var(--text);
  border-color: #334155;
}

.btn-outline:hover {
  border-color: #64748b;
  background: rgba(30, 41, 59, 0.95);
}

.w-full {
  width: 100%;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.12), transparent 60%);
}

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #38bdf8;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
  max-width: 860px;
  margin-bottom: 18px;
}

.lead {
  font-size: 1.12rem;
  color: #cbd5e1;
  max-width: 780px;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

/* Workbench Preview */
.preview-shell {
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}

.preview-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 18px;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  font-size: 0.8rem;
  color: var(--muted);
}

.dots {
  display: inline-flex;
  gap: 6px;
}

.dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid #1e293b;
}

.stat-pill {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 8px;
  padding: 12px 14px;
}

.stat-pill strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}

.stat-pill span {
  font-size: 0.82rem;
  color: var(--muted);
}

.preview-rows {
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.83rem;
}

.sample-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 6px;
  color: #cbd5e1;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.tag-ok {
  background: rgba(52, 211, 153, 0.14);
  color: var(--emerald);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.tag-warn {
  background: rgba(251, 191, 36, 0.14);
  color: var(--amber);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.tag-info {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

/* Sections */
.section {
  padding: 68px 0;
  border-bottom: 1px solid var(--border);
}

.section-head {
  margin-bottom: 38px;
  max-width: 740px;
}

.section-head h2 {
  font-size: 1.85rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.02rem;
}

/* Features & Workflow */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: #f1f5f9;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--border-highlight);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.25);
}

.badge-popular {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.plan-tier {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #38bdf8;
  margin-bottom: 8px;
}

.plan-amount {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 6px;
}

.plan-amount small {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--muted);
}

.plan-sub {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.plan-list {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.plan-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: 700;
}

.tax-notice {
  margin-top: 24px;
  background: rgba(30, 41, 59, 0.55);
  border: 1px solid #334155;
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.tax-notice strong {
  color: #f8fafc;
}

/* FAQ & Company */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.faq-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #f8fafc;
}

.faq-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Legal Doc */
.legal-doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.legal-doc h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 0.86rem;
  color: var(--muted);
  padding-bottom: 22px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.legal-doc h2 {
  font-size: 1.2rem;
  margin: 28px 0 10px;
  color: #f1f5f9;
}

.legal-doc p, .legal-doc li {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.legal-doc ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

/* Footer */
.footer {
  padding: 36px 0;
  background: #080d1a;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--text);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .sample-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
