/* LocalRedact Static Website — Clean Dark Engineering Theme */
:root {
  --bg: #0b0e14;
  --surface: #121722;
  --surface-2: #181f2e;
  --border: #252f42;
  --text: #e6edf7;
  --muted: #94a3b8;
  --primary: #38bdf8;
  --primary-hover: #0ea5e9;
  --green: #22c55e;
  --green-bg: rgba(34, 197, 94, 0.12);
  --danger: #f87171;
  --radius: 12px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Navbar */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 0.92rem; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.lang-btn {
  background: var(--surface-2); color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 6px 12px; cursor: pointer; font-size: 0.85rem;
}
.lang-btn:hover { border-color: var(--primary); }

/* Hero */
.hero { padding: 72px 0 56px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--green-bg); color: var(--green);
  border: 1px solid rgba(34, 197, 94, 0.3);
  font-size: 0.85rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.18; font-weight: 800; letter-spacing: -0.02em;
  max-width: 820px; margin: 0 auto 18px;
}
.hero p.sub {
  font-size: 1.12rem; color: var(--muted);
  max-width: 680px; margin: 0 auto 30px;
}
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 16px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  transition: transform 0.12s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #081018; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--primary); }
.micro-note { font-size: 0.85rem; color: var(--muted); }

/* Demo preview frame */
.demo-box {
  margin: 44px auto 0; max-width: 900px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px;
}
.demo-placeholder {
  background: linear-gradient(135deg, #111827, #0f172a);
  border: 1px dashed #334155; border-radius: 10px;
  padding: 48px 20px; text-align: center; color: var(--muted);
}
.demo-placeholder img { max-width: 100%; border-radius: 8px; display: block; margin: 0 auto; }

/* Sections */
section { padding: 56px 0; }
.sec-title { text-align: center; font-size: 1.85rem; font-weight: 700; margin-bottom: 10px; }
.sec-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 36px; }

/* Grid Cards */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { font-size: 0.92rem; color: var(--muted); }

/* Comparison Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.94rem; }
th { background: var(--surface-2); color: var(--text); font-weight: 600; }
tr:last-child td { border-bottom: none; }
.ok { color: var(--green); font-weight: 600; }
.bad { color: var(--danger); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; max-width: 780px; margin: 0 auto; }
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--primary); box-shadow: 0 0 0 1px rgba(56,189,248,0.3); }
.price-tag { font-size: 2.2rem; font-weight: 800; margin: 12px 0 4px; }
.price-tag span { font-size: 0.95rem; font-weight: 400; color: var(--muted); }
.feat-list { list-style: none; margin: 20px 0 26px; flex: 1; }
.feat-list li { margin-bottom: 10px; font-size: 0.94rem; color: var(--text); }
.feat-list li::before { content: "✓ "; color: var(--green); font-weight: 700; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; padding: 16px 18px;
}
summary { font-weight: 600; cursor: pointer; }
details p { margin-top: 10px; color: var(--muted); font-size: 0.94rem; }

/* Footer & Legal */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 0; margin-top: 40px;
  color: var(--muted); font-size: 0.88rem;
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-page { max-width: 760px; margin: 48px auto; padding: 0 20px; }
.legal-page h1 { margin-bottom: 16px; }
.legal-page h2 { margin: 24px 0 10px; font-size: 1.2rem; }
.legal-page p, .legal-page li { color: var(--muted); margin-bottom: 10px; }
.legal-page ul { padding-left: 20px; }

@media (max-width: 640px) {
  .nav-links a.hide-sm { display: none; }
  .hero { padding: 48px 0 36px; }
}
