:root {
  --bg-0: #05070f;
  --bg-1: #0b1024;
  --bg-2: #111a3a;
  --text: #e8ecff;
  --text-muted: #8a93b5;
  --primary: #5b8cff;
  --primary-glow: #3e6dff;
  --accent: #7b5bff;
  --border: rgba(91, 140, 255, 0.18);
  --card: rgba(17, 26, 58, 0.55);
  --card-border: rgba(123, 91, 255, 0.22);
  --shadow: 0 12px 48px rgba(62, 109, 255, 0.22);
  --max-w: 1180px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(1200px 800px at 15% -10%, rgba(91, 140, 255, 0.18), transparent 60%),
              radial-gradient(900px 600px at 95% 0%, rgba(123, 91, 255, 0.14), transparent 55%),
              linear-gradient(180deg, #05070f 0%, #070a1a 100%);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--primary); text-decoration: none; transition: .2s; }
a:hover { color: #9eb7ff; }

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

/* Header */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7, 10, 26, 0.7);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: var(--max-w); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 18px; letter-spacing: .3px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; box-shadow: 0 0 20px rgba(91, 140, 255, 0.5); }
.brand span.accent { color: var(--primary); }

.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff !important; padding: 10px 18px; border-radius: 10px; font-weight: 600; font-size: 14px;
  box-shadow: 0 8px 24px rgba(91, 140, 255, 0.35);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(91, 140, 255, 0.5); }

@media (max-width: 768px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; position: relative; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(600px 400px at 50% 20%, rgba(91, 140, 255, 0.18), transparent 70%);
  pointer-events: none; z-index: -1;
}
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 100px;
  background: rgba(91, 140, 255, 0.08); border: 1px solid var(--border);
  font-size: 13px; color: #c8d1ff; margin-bottom: 22px;
}
.hero .pill .dot { width: 8px; height: 8px; background: #38dd77; border-radius: 50%; box-shadow: 0 0 10px #38dd77; }
.hero h1 {
  font-size: clamp(34px, 6vw, 64px); font-weight: 800; line-height: 1.1; margin: 0 0 20px; letter-spacing: -.02em;
  background: linear-gradient(135deg, #ffffff 0%, #b4c4ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(16px, 2vw, 19px); color: var(--text-muted); max-width: 680px; margin: 0 auto 38px; line-height: 1.6; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 12px; font-weight: 600; font-size: 15px;
  transition: .2s ease; border: 1px solid transparent; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff !important; box-shadow: 0 10px 32px rgba(91, 140, 255, 0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(91, 140, 255, 0.55); }
.btn-secondary {
  background: rgba(91, 140, 255, 0.08); color: var(--text) !important;
  border-color: var(--border); backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(91, 140, 255, 0.14); border-color: rgba(91, 140, 255, 0.35); }

/* Features */
.section { padding: 72px 0; }
.section-title { font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-align: center; margin: 0 0 14px; letter-spacing: -.01em; }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 580px; margin: 0 auto 48px; font-size: 16px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 26px; backdrop-filter: blur(18px); transition: .3s ease; position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91, 140, 255, 0.45), transparent);
}
.card:hover { transform: translateY(-4px); border-color: rgba(91, 140, 255, 0.35); box-shadow: var(--shadow); }
.card .ico {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.18), rgba(123, 91, 255, 0.18));
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* Tariffs */
.tariffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.tariff {
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  padding: 28px; backdrop-filter: blur(18px); transition: .3s ease; position: relative;
}
.tariff.highlight {
  background: linear-gradient(180deg, rgba(91, 140, 255, 0.12) 0%, rgba(17, 26, 58, 0.55) 100%);
  border-color: rgba(91, 140, 255, 0.45);
  box-shadow: 0 14px 48px rgba(91, 140, 255, 0.28);
}
.tariff .badge {
  position: absolute; top: -11px; left: 24px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; padding: 4px 12px; border-radius: 100px; font-size: 11px; font-weight: 700; letter-spacing: .5px;
}
.tariff h4 { margin: 0 0 10px; font-size: 15px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.tariff .price { font-size: 38px; font-weight: 800; margin: 0 0 4px; }
.tariff .price span { font-size: 15px; color: var(--text-muted); font-weight: 500; }
.tariff .note { color: var(--text-muted); font-size: 13px; margin: 0 0 20px; }
.tariff ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: 14px; color: #c8d1ff; }
.tariff li { padding: 7px 0; border-bottom: 1px solid rgba(91, 140, 255, 0.08); display: flex; gap: 10px; }
.tariff li::before { content: '✓'; color: var(--primary); font-weight: 800; }
.tariff li:last-child { border-bottom: none; }

/* Apps */
.apps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.app-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 14px;
  padding: 20px; display: flex; flex-direction: column; align-items: center; text-align: center;
  transition: .2s;
}
.app-card:hover { border-color: rgba(91, 140, 255, 0.4); transform: translateY(-2px); }
.app-card .ico { font-size: 32px; margin-bottom: 10px; }
.app-card .label { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.app-card .hint { font-size: 12px; color: var(--text-muted); }

/* FAQ */
.faq details {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 14px;
  padding: 18px 22px; margin-bottom: 10px; transition: .2s;
}
.faq details[open] { border-color: rgba(91, 140, 255, 0.4); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between;
  align-items: center; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--primary); font-size: 22px; font-weight: 600; transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .body { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-top: 12px; }

/* CTA block */
.cta-block {
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.15) 0%, rgba(123, 91, 255, 0.12) 100%);
  border: 1px solid rgba(91, 140, 255, 0.3); border-radius: 22px;
  padding: 56px 40px; text-align: center; margin: 72px auto 0;
}
.cta-block h2 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 14px; }
.cta-block p { color: var(--text-muted); max-width: 520px; margin: 0 auto 30px; line-height: 1.6; }

/* Footer */
footer {
  margin-top: 96px; padding: 48px 0 32px; border-top: 1px solid var(--border);
  background: rgba(5, 7, 15, 0.6); backdrop-filter: blur(10px);
}
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
@media (max-width: 768px) { .foot { grid-template-columns: 1fr 1fr; } }
.foot h5 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin: 0 0 14px; font-weight: 700; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot a { color: #c8d1ff; font-size: 14px; }
.foot a:hover { color: var(--primary); }
.foot .about { color: var(--text-muted); font-size: 14px; line-height: 1.7; max-width: 320px; }
.foot .brand { margin-bottom: 14px; }
.foot-bottom {
  border-top: 1px solid var(--border); padding-top: 22px; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.foot-bottom p { color: var(--text-muted); font-size: 13px; margin: 0; }

/* Article page */
.article {
  max-width: 820px; margin: 56px auto; padding: 44px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius);
  backdrop-filter: blur(18px);
}
.article h1 { font-size: 28px; margin: 0 0 8px; }
.article .meta { color: var(--text-muted); font-size: 14px; margin-bottom: 24px; }
.article-content { font-size: 15px; line-height: 1.75; color: #d3d9f5; }
.article-content b, .article-content strong { color: var(--text); }
.article-content i, .article-content em { color: var(--text-muted); font-style: italic; }
.article-content br + b { display: inline-block; margin-top: 14px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--text-muted); font-size: 14px; }
.back-link:hover { color: var(--primary); }
