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

:root {
  --bg: #0f1117;
  --surface: #1a1d27;
  --surface-2: #151823;
  --border: #2a2d3a;
  --text: #e1e4ed;
  --text-dim: #8b8fa3;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --green: #22c55e;
  --radius: 8px;
}

html { scroll-behavior: smooth; }

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

.lp-container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Buttons --- */
.lp-btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.lp-btn-primary {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}
.lp-btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.lp-btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 9px 20px;
}
.lp-btn-ghost:hover { border-color: var(--accent); color: var(--accent-hover); }

/* --- Topbar --- */
.lp-topbar {
  border-bottom: 1px solid var(--border);
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.lp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lp-logo { height: 32px; width: 32px; object-fit: cover; mix-blend-mode: lighten; }

/* --- Hero --- */
.lp-hero {
  text-align: center;
  padding: 80px 0 56px;
}
.lp-h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 20px;
  letter-spacing: -0.02em;
}
.lp-sub {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 32px;
}
.lp-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.lp-shot {
  margin: 56px auto 0;
  max-width: 920px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.lp-shot img { display: block; width: 100%; height: auto; }

/* --- Sections --- */
.lp-section { padding: 64px 0; }
.lp-section-alt { background: var(--surface-2); }
.lp-h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

/* --- Cards (3 pillars) --- */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.lp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}
.lp-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-hover);
  margin-bottom: 16px;
}
.lp-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.lp-card p { color: var(--text-dim); font-size: 0.95rem; }

.lp-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-hover);
  background: rgba(99, 102, 241, 0.14);
  border-radius: 5px;
  padding: 2px 7px;
  white-space: nowrap;
}

/* --- Benefits --- */
.lp-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  max-width: 880px;
  margin: 0 auto;
}
.lp-benefit h4 { font-size: 1.05rem; margin-bottom: 8px; }
.lp-benefit p { color: var(--text-dim); font-size: 0.95rem; }

/* --- Plans --- */
.lp-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 760px;
  margin: 0 auto;
}
.lp-plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.lp-plan-paid { border-color: var(--accent); }
.lp-plan-name {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-hover);
  margin-bottom: 12px;
}
.lp-plan-desc { color: var(--text); margin-bottom: 24px; flex: 1; }
.lp-plan-fineprint {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- Final CTA --- */
.lp-cta-final { text-align: center; }

/* --- Footer --- */
.lp-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--text-dim);
  font-size: 0.875rem;
}
.lp-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.lp-footer a { color: var(--text-dim); text-decoration: none; }
.lp-footer a:hover { color: var(--accent-hover); }

/* --- Article (privacy policy) --- */
.lp-article {
  padding: 56px 0 72px;
  max-width: 760px;
}
.lp-article h1 { font-size: 1.9rem; margin-bottom: 8px; letter-spacing: -0.01em; }
.lp-article .lp-article-date { color: var(--text-dim); font-size: 0.85rem; margin-bottom: 36px; }
.lp-article h2 {
  font-size: 1.2rem;
  margin: 32px 0 12px;
  padding-top: 8px;
}
.lp-article p, .lp-article li { color: var(--text); font-size: 0.95rem; }
.lp-article p { margin-bottom: 12px; }
.lp-article ul { margin: 0 0 12px 22px; }
.lp-article li { margin-bottom: 6px; }
.lp-article a { color: var(--accent-hover); }
.lp-article .lp-back { display: inline-block; margin-bottom: 28px; color: var(--text-dim); text-decoration: none; }
.lp-article .lp-back:hover { color: var(--accent-hover); }
.lp-article blockquote {
  margin: 16px 0;
  padding: 4px 16px;
  border-left: 3px solid var(--border);
  color: var(--text-dim);
}
.lp-article code {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.88em;
}

/* CTA block at the end of an article */
.lp-cta-inline {
  margin-top: 40px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 12px;
  text-align: center;
}
.lp-cta-inline p { color: var(--text); margin-bottom: 16px; }

/* Blog index list */
.lp-posts { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.lp-post {
  display: block;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.15s;
}
.lp-post:hover { border-color: var(--accent); }
.lp-post h2 { font-size: 1.2rem; color: var(--text); margin-bottom: 4px; }
.lp-post-date { color: var(--text-dim); font-size: 0.8rem; margin-bottom: 8px; }
.lp-post-desc { color: var(--text-dim); font-size: 0.95rem; margin: 0; }

/* --- Cookie notice --- */
.lp-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  z-index: 50;
}
.lp-cookie[hidden] { display: none; }
.lp-cookie p { color: var(--text-dim); font-size: 0.85rem; flex: 1; min-width: 220px; margin: 0; }
.lp-cookie a { color: var(--accent-hover); }
.lp-cookie button {
  padding: 9px 20px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.lp-cookie button:hover { background: var(--accent-hover); }

/* --- Responsive --- */
@media (max-width: 820px) {
  .lp-cards { grid-template-columns: 1fr; }
  .lp-benefits { grid-template-columns: 1fr; }
  .lp-plans { grid-template-columns: 1fr; }
  .lp-h1 { font-size: 2rem; }
  .lp-sub { font-size: 1.05rem; }
  .lp-hero { padding: 56px 0 40px; }
}
