:root {
  --bg: #0a0e14;
  --bg-soft: #111823;
  --panel: #151d2a;
  --border: #223047;
  --text: #e6edf6;
  --muted: #93a2b8;
  --brand: #3ddc97;
  --brand-dim: #1f8a63;
  --accent: #5b9dff;
  --danger: #ff6b6b;
  --radius: 14px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #122033 0%, var(--bg) 60%);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(10, 14, 20, 0.72);
  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.15rem; color: var(--text); }
.brand .dot { width: 12px; height: 12px; border-radius: 3px; background: var(--brand); box-shadow: 0 0 14px var(--brand); }
.nav nav a { color: var(--muted); margin-left: 22px; font-size: 0.95rem; }
.nav nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { padding: 90px 0 70px; text-align: center; }
.hero .tag {
  display: inline-block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand); border: 1px solid var(--brand-dim); border-radius: 999px; padding: 6px 14px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 640px; margin: 0 auto 30px; }
.cta { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .08s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #04120c; }
.btn-primary:hover { background: #4ff0a9; }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--muted); }

/* Sections */
section { padding: 60px 0; }
.section-title { text-align: center; margin: 0 0 12px; font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -0.01em; }
.section-sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 44px; }

/* Features */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s ease;
}
.card:hover { border-color: var(--brand-dim); }
.card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.card .ico { font-size: 1.6rem; margin-bottom: 14px; display: block; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; display: flex; flex-direction: column;
}
.plan.popular { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand-dim), 0 20px 50px -20px rgba(61,220,151,.4); }
.plan .name { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.plan .badge { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 10px; display: block; }
.plan .price { font-size: 2.4rem; font-weight: 800; letter-spacing: -0.02em; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; flex: 1; }
.plan ul li { padding: 7px 0 7px 26px; position: relative; color: var(--muted); font-size: 0.95rem; border-top: 1px solid var(--border); }
.plan ul li:first-child { border-top: none; }
.plan ul li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.plan .btn { width: 100%; text-align: center; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-item h4 { margin: 0 0 6px; font-size: 1.05rem; }
.faq-item p { margin: 0; color: var(--muted); }

/* Legal pages */
.legal { padding: 60px 0 80px; }
.legal h1 { font-size: 2.2rem; margin: 0 0 8px; }
.legal .updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.legal p, .legal li { color: #c3cedd; }
.legal ul { padding-left: 22px; }
.legal .note { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; color: var(--muted); font-size: 0.9rem; }

/* Footer */
footer.site { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 40px; color: var(--muted); font-size: 0.92rem; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.foot a { color: var(--muted); margin-right: 18px; }
.foot a:hover { color: var(--text); }

@media (max-width: 560px) {
  .nav nav a { margin-left: 14px; font-size: 0.88rem; }
  .hero { padding: 60px 0 40px; }
}
