/* Shared styles for the static SEO landing pages (public/<slug>/index.html).
   Generated pages link this file. Brand tokens mirror src/index.css. */

:root {
  --bg: #0f1117;
  --surface: #171a23;
  --surface-2: #1f2430;
  --border: #2a2f3d;
  --text: #e8eaf0;
  --text-muted: #9aa3b2;
  --accent: #6366f1;
  --accent-hover: #7c7ff3;
  --danger: #ef4444;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.lp {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Nav */
.lp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}
.lp-brand:hover {
  text-decoration: none;
}
.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
}
.lp-nav-links > a:first-child {
  color: var(--text-muted);
}

/* Buttons */
.lp-btn {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.lp-btn:hover {
  text-decoration: none;
  border-color: var(--accent);
}
.lp-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.lp-btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.lp-btn-ghost {
  background: transparent;
}
.lp-btn-sm {
  padding: 7px 13px;
  font-size: 0.9rem;
}
.lp-btn-lg {
  padding: 13px 22px;
  font-size: 1.02rem;
}

/* Hero */
.lp-main {
  padding: 8px 0 40px;
}
.lp-hero {
  padding: 48px 0 24px;
  text-align: center;
}
.lp-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--accent-hover);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}
.lp-h1 {
  font-size: 2.3rem;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.lp-sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 26px;
}
.lp-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.lp-trust {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Product mock */
.lp-mock {
  margin: 40px auto 0;
  max-width: 520px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.lp-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border);
  font-weight: 600;
}
.lp-mock-sub {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.lp-mock-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
}
.lp-mock-check {
  width: 16px;
  height: 16px;
  border: 1px solid var(--border);
  border-radius: 5px;
  flex: none;
}
.lp-mock-check.on {
  background: var(--accent);
  border-color: var(--accent);
}
.lp-mock-avatar {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  flex: none;
}
.lp-mock-name {
  flex: 1;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lp-mock-count {
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.lp-tag {
  font-size: 0.68rem;
  color: var(--chart-unread, #f59e0b);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 5px;
  padding: 1px 6px;
}
.lp-mock-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.lp-mock-del {
  background: var(--danger);
  color: #fff;
  border-radius: 8px;
  padding: 5px 14px;
  font-weight: 600;
}

/* Content sections */
.lp-section {
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.lp-section h2 {
  font-size: 1.5rem;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.lp-section p {
  color: var(--text-muted);
}
.lp-section p.lp-why {
  margin-top: 16px;
}

.lp-steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}
.lp-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
}
.lp-step-num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent-hover);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-check {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.lp-check li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--text);
}
.lp-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 8px;
  color: var(--success, #22c55e);
  font-weight: 700;
}
.lp-solve {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  margin-top: 26px;
}

/* FAQ */
.lp-faq {
  margin-top: 8px;
}
.lp-faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 14px 16px;
  margin-bottom: 10px;
}
.lp-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.lp-faq-item summary::-webkit-details-marker {
  display: none;
}
.lp-faq-item[open] summary {
  margin-bottom: 8px;
}
.lp-faq-item p {
  margin: 0;
}

/* Related */
.lp-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-related li {
  padding: 8px 0;
}

/* Footer */
.lp-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-footer nav {
  display: flex;
  gap: 16px;
}
.lp-footer a {
  color: var(--text-muted);
}

@media (max-width: 560px) {
  .lp-h1 {
    font-size: 1.85rem;
  }
  .lp-nav-links > a:first-child {
    display: none;
  }
  .lp-btn-lg {
    width: 100%;
    text-align: center;
  }
}
