:root {
  --bg: #0b0f19;
  --bg-soft: #111827;
  --card: #161f32;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f3f4f6;
  --muted: #9ca3af;
  --accent: #3b82f6;
  --accent-2: #06b6d4;
  --accent-glow: rgba(59, 130, 246, 0.25);
  --radius: 14px;
  --maxw: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.topbar {
  background: rgba(11, 15, 25, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; }
.brand-sub { font-size: 0.72rem; color: var(--muted); font-weight: 400; display: block; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { font-size: 0.92rem; color: var(--muted); transition: color .2s; white-space: nowrap; }
.nav a:hover, .nav a.active { color: #fff; }
.header-contacts { display: flex; align-items: center; gap: 14px; font-size: 0.88rem; }
.header-phone { font-weight: 600; color: #fff; white-space: nowrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 0.92rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; border: none; cursor: pointer; transition: transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 24px var(--accent-glow); }
.btn-outline {
  background: transparent; border: 1px solid var(--border); color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); background: rgba(59,130,246,0.08); }
.burger { display: none; background: none; border: 1px solid var(--border); color: #fff; padding: 8px 12px; border-radius: 8px; cursor: pointer; font-size: 1.1rem; }

/* Hero */
.hero {
  padding: 72px 0 56px;
  background: radial-gradient(circle at 20% 20%, rgba(59,130,246,0.16), transparent 50%),
              radial-gradient(circle at 80% 10%, rgba(6,182,212,0.12), transparent 45%);
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.18; margin-bottom: 18px; max-width: 820px; }
.hero p.lead { font-size: 1.08rem; color: var(--muted); max-width: 680px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Grid & Cards */
.section { padding: 56px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(1.45rem, 2.8vw, 2rem); margin-bottom: 12px; }
.section-sub { color: var(--muted); margin-bottom: 32px; max-width: 720px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(59,130,246,0.45); transform: translateY(-2px); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(59,130,246,0.14); color: var(--accent-2); margin-bottom: 16px; font-weight: 700;
}

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.tab-btn {
  padding: 10px 18px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--card); color: var(--muted); cursor: pointer; font-weight: 600; font-size: 0.9rem;
}
.tab-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.tab-panel { display: none; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.tab-panel.active { display: block; }
.list-check { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 20px; margin: 16px 0; }
.list-check li::before { content: "✓ "; color: var(--accent-2); font-weight: 700; }
.price-tag { display: inline-block; margin-top: 10px; padding: 6px 14px; border-radius: 8px; background: rgba(6,182,212,0.14); color: var(--accent-2); font-weight: 700; }

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

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .header-contacts { display: none; }
}
@media (max-width: 780px) {
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 16px 20px; align-items: flex-start; gap: 14px;
  }
  .nav.open { display: flex; }
  .burger { display: inline-flex; }
}
