:root {
  --bg: #0f1115;
  --bg-card: #171a21;
  --text: #eef0f3;
  --text-dim: #9aa1ac;
  --accent: #4f8cff;
  --accent-dark: #3568cc;
  --border: #262b35;
  --radius: 10px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

.topbar { border-bottom: 1px solid var(--border); position: sticky; top: 0; background: rgba(15,17,21,0.9); backdrop-filter: blur(6px); z-index: 10; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
nav a { color: var(--text-dim); text-decoration: none; margin-left: 24px; font-size: 14.5px; }
nav a:hover { color: var(--text); }

.hero { padding: 90px 0 60px; text-align: center; }
.hero h1 { font-size: 38px; max-width: 720px; margin: 0 auto 18px; line-height: 1.25; }
.lead { color: var(--text-dim); max-width: 620px; margin: 0 auto 32px; font-size: 16.5px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-bottom: 16px; }
.hero-note { color: var(--text-dim); font-size: 13.5px; }

.btn { display: inline-block; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; border: none; cursor: pointer; }
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.features { padding: 60px 0; border-top: 1px solid var(--border); }
.features h2, .pricing h2, .faq h2 { text-align: center; font-size: 26px; margin-bottom: 36px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; color: var(--text-dim); font-size: 14.5px; }

.pricing { padding: 60px 0; border-top: 1px solid var(--border); }
.price-card { max-width: 420px; margin: 0 auto; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; text-align: center; }
.price-plan { color: var(--text-dim); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.price-amount { font-size: 40px; font-weight: 700; margin: 6px 0 4px; }
.price-sub { color: var(--text-dim); font-size: 13.5px; margin-bottom: 20px; }
.price-list { list-style: none; padding: 0; margin: 0 0 24px; text-align: left; font-size: 14.5px; color: var(--text-dim); }
.price-list li { padding: 6px 0; border-bottom: 1px solid var(--border); }
.price-list li:last-child { border-bottom: none; }

#order-form { text-align: left; }
#order-form label { display: block; font-size: 13.5px; color: var(--text-dim); margin-bottom: 14px; }
#order-form input { width: 100%; margin-top: 6px; padding: 10px 12px; border-radius: 7px; border: 1px solid var(--border); background: var(--bg); color: var(--text); font-size: 14.5px; }
#order-form button { width: 100%; margin-top: 6px; }
.form-error { color: #ff6b6b; font-size: 13.5px; margin-top: 10px; }
.form-note { color: var(--text-dim); font-size: 12.5px; margin-top: 14px; text-align: center; }
#payment-instructions { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 16px; margin-top: 14px; font-size: 13.5px; }
#payment-instructions h4 { margin: 0 0 10px; font-size: 14px; }
#payment-instructions .row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px solid var(--border); }
#payment-instructions .row:last-child { border-bottom: none; }
#payment-instructions .row span:first-child { color: var(--text-dim); }
#payment-instructions .row span:last-child { font-weight: 600; text-align: right; }
#payment-instructions .note { color: var(--text-dim); font-size: 12px; margin-top: 12px; }

.faq { padding: 60px 0 80px; border-top: 1px solid var(--border); }
.faq details { max-width: 700px; margin: 0 auto 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15px; }
.faq p { color: var(--text-dim); margin: 10px 0 0; font-size: 14.5px; }

.footer { border-top: 1px solid var(--border); padding: 24px 0; color: var(--text-dim); font-size: 13px; text-align: center; }

.legal-doc { max-width: 720px; margin: 0 auto; padding: 50px 20px 80px; }
.legal-doc h1 { font-size: 26px; margin-bottom: 6px; }
.legal-doc .legal-meta { color: var(--text-dim); font-size: 13px; margin-bottom: 32px; }
.legal-doc h2 { font-size: 17px; margin: 32px 0 10px; }
.legal-doc p, .legal-doc li { color: var(--text-dim); font-size: 14.5px; line-height: 1.65; }
.legal-doc ul, .legal-doc ol { padding-left: 20px; }
.legal-doc .legal-placeholder { color: var(--accent); background: var(--bg-card); padding: 1px 6px; border-radius: 4px; }
.legal-doc .back-link { display: inline-block; margin-bottom: 20px; color: var(--text-dim); font-size: 13.5px; text-decoration: none; }

.catalog { padding: 20px 0 70px; }
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.product-card { display: block; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-decoration: none; color: var(--text); transition: border-color 0.15s; }
.product-card:hover { border-color: var(--accent); }
.product-card h3 { margin: 0 0 8px; font-size: 17px; }
.product-card p { margin: 0 0 16px; color: var(--text-dim); font-size: 14px; }
.product-card .product-price { font-size: 14.5px; font-weight: 600; color: var(--accent); }
