/* ── RESET & VARIABLES ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0c0b14;
  --surface:  #13121f;
  --card:     #1a192a;
  --card2:    #201e30;
  --border:   #2a2840;
  --accent:   #818cf8;
  --accent-d: rgba(129,140,248,.1);
  --accent-b: rgba(129,140,248,.25);
  --gold:     #fbbf24;
  --gold-d:   rgba(251,191,36,.1);
  --text:     #e2e0f0;
  --muted:    #6b6890;
  --white:    #ffffff;
  --green:    #34d399;
  --green-d:  rgba(52,211,153,.1);
  --red:      #f87171;
  --r:        12px;
  --rl:       18px;
  --font:     'Syne', sans-serif;
  --body:     'Manrope', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── HEADER ─────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(12,11,20,.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px; height: 66px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.site-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.logo-text {
  font-family: var(--font); font-size: 20px; font-weight: 800;
  letter-spacing: -.02em; color: var(--white);
}
.logo-text em { color: var(--accent); font-style: normal; }
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  color: var(--muted); text-decoration: none;
  font-size: 14px; font-weight: 600;
  font-family: var(--font); transition: color .2s;
}
.site-nav a:hover { color: var(--text); }
.header-search { flex: 1; max-width: 340px; position: relative; }
.header-search input {
  width: 100%; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 9px 16px 9px 40px;
  color: var(--text); font-size: 14px;
  font-family: var(--body); outline: none;
  transition: border-color .2s;
}
.header-search input::placeholder { color: var(--muted); }
.header-search input:focus { border-color: var(--accent); }
.search-icon {
  position: absolute; left: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--muted); pointer-events: none;
}

/* ── HERO ───────────────────────────────────────── */
.hero {
  padding: 88px 24px 70px;
  text-align: center;
  max-width: 1280px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse at center, rgba(129,140,248,.09) 0%, rgba(251,191,36,.04) 45%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(129,140,248,.08);
  border: 1px solid rgba(129,140,248,.22);
  color: var(--accent);
  font-family: var(--font); font-size: 11px; font-weight: 700;
  padding: 5px 16px; border-radius: 30px;
  letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(30px, 5vw, 58px); font-weight: 800;
  line-height: 1.1; letter-spacing: -.04em;
  color: var(--white); margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px; color: var(--muted);
  max-width: 540px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-stats { display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-family: var(--font); font-size: 28px; font-weight: 800; color: var(--white); }
.hero-stat-num span { color: var(--accent); }
.hero-stat-label { font-size: 13px; color: var(--muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ── TRUST BAR ──────────────────────────────────── */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 24px;
}
.trust-inner { max-width: 1280px; margin: 0 auto; display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-family: var(--font); font-weight: 500; color: var(--muted); }
.trust-item svg { color: var(--accent); flex-shrink: 0; }

/* ── FILTERS ────────────────────────────────────── */
.filters-section { max-width: 1280px; margin: 0 auto; padding: 40px 24px 0; }
.filters-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.filters-top h2 { font-family: var(--font); font-size: 22px; font-weight: 800; color: var(--white); }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); padding: 8px 18px; border-radius: 30px;
  font-size: 13px; font-weight: 600; font-family: var(--font);
  cursor: pointer; transition: all .2s;
}
.filter-tab:hover { border-color: var(--accent); color: var(--accent); }
.filter-tab.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.results-count { font-size: 13px; color: var(--muted); padding: 4px 0; }

/* ── PRODUCT GRID ───────────────────────────────── */
.products-section { max-width: 1280px; margin: 0 auto; padding: 24px 24px 64px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.product-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--rl); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(129,140,248,.4);
  box-shadow: 0 12px 40px rgba(129,140,248,.1);
}
.card-img-wrap { position: relative; aspect-ratio: 1; background: #100f1c; overflow: hidden; }
.card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.product-card:hover .card-img-wrap img { transform: scale(1.05); }
.card-sale {
  position: absolute; top: 10px; left: 10px;
  background: var(--accent); color: #fff;
  font-size: 10px; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  font-family: var(--font);
}
.card-cat {
  position: absolute; top: 10px; right: 10px;
  background: rgba(12,11,20,.88); color: var(--gold);
  font-size: 10px; font-weight: 600;
  padding: 3px 8px; border-radius: 20px;
  font-family: var(--font);
}
.card-body { padding: 14px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.card-name {
  font-family: var(--font); font-size: 13px; font-weight: 600;
  color: var(--text); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.card-pricing { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-price { font-family: var(--font); font-size: 18px; font-weight: 800; color: var(--accent); }
.card-was { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.card-discount { background: rgba(129,140,248,.12); color: var(--accent); font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 6px; font-family: var(--font); }
.card-btn {
  margin-top: auto; width: 100%; padding: 10px;
  background: var(--accent); color: #fff; border: none;
  border-radius: 10px; font-size: 13px; font-weight: 700;
  font-family: var(--font); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 6px; transition: background .2s, transform .1s;
  text-decoration: none;
}
.card-btn:hover { background: #6366f1; color: #fff; }
.card-btn:active { transform: scale(.98); }
.no-results { text-align: center; padding: 80px 24px; color: var(--muted); font-family: var(--font); font-size: 18px; grid-column: 1 / -1; }

/* ── SINGLE PRODUCT ─────────────────────────────── */
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 14px 24px; font-size: 13px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .4; }
.single-section { max-width: 1200px; margin: 0 auto; padding: 0 24px 64px; }
.single-grid { display: grid; grid-template-columns: 1fr 460px; gap: 48px; align-items: start; }
.image-panel { position: sticky; top: 86px; }
.product-img-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--rl); overflow: hidden; aspect-ratio: 1; position: relative; }
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.sale-badge { position: absolute; top: 16px; left: 16px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; font-family: var(--font); }
.trust-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-top: 14px; }
.trust-pill {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 10px 8px;
  text-align: center; font-size: 12px; color: var(--muted);
  font-weight: 500; font-family: var(--font);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: border-color .2s;
}
.trust-pill:hover { border-color: var(--accent); }
.trust-pill svg { color: var(--accent); }
.cat-tag {
  display: inline-block; background: var(--accent-d); color: var(--accent);
  font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px;
  font-family: var(--font); letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 14px; border: 1px solid var(--accent-b);
}
.product-title { font-family: var(--font); font-size: 27px; font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: 18px; letter-spacing: -.03em; }
.price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.price-now { font-family: var(--font); font-size: 40px; font-weight: 800; color: var(--accent); line-height: 1; }
.price-was { font-size: 18px; color: var(--muted); text-decoration: line-through; }
.price-badge { background: var(--accent-d); color: var(--accent); border: 1px solid var(--accent-b); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; font-family: var(--font); }
.promise-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.promise-item { display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.p-icon { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.p-icon.g { background: var(--green-d); color: var(--green); }
.p-icon.b { background: var(--gold-d); color: var(--gold); }
.btn-buy {
  width: 100%; padding: 16px;
  background: var(--accent); color: #fff; border: none;
  border-radius: var(--r); font-size: 17px; font-weight: 800;
  font-family: var(--font); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 12px;
  transition: background .2s, transform .1s;
}
.btn-buy:hover { background: #6366f1; }
.btn-buy:active { transform: scale(.99); }
.btn-back {
  width: 100%; padding: 13px;
  background: none; color: var(--muted);
  border: 1px solid var(--border); border-radius: var(--r);
  font-size: 14px; font-weight: 600; font-family: var(--font);
  cursor: pointer; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  gap: 6px; transition: border-color .2s, color .2s;
}
.btn-back:hover { border-color: var(--accent); color: var(--accent); }
.share-row { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.share-label { font-size: 12px; color: var(--muted); font-weight: 600; font-family: var(--font); margin-right: 4px; }
.share-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--muted);
  transition: border-color .2s, color .2s; text-decoration: none;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── TABS ───────────────────────────────────────── */
.content-section { max-width: 1200px; margin: 0 auto; padding: 0 24px 80px; }
.tabs-bar { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 40px; overflow-x: auto; scrollbar-width: none; }
.tabs-bar::-webkit-scrollbar { display: none; }
.tab-btn {
  background: none; border: none;
  padding: 14px 24px; font-size: 14px; font-weight: 700;
  color: var(--muted); cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px; white-space: nowrap;
  font-family: var(--font); transition: color .2s, border-color .2s;
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.desc-intro {
  font-size: 16px; line-height: 1.8; color: var(--text);
  max-width: 760px; margin-bottom: 16px; padding: 24px 28px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--rl); border-left: 4px solid var(--accent);
}
.section-h { font-family: var(--font); font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 20px; letter-spacing: -.02em; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 40px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 14px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; font-weight: 500; line-height: 1.4;
  transition: border-color .2s;
}
.feature-card:hover { border-color: rgba(129,140,248,.4); }
.f-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 5px; flex-shrink: 0; }
.sysreq-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sysreq-table th { background: var(--surface); color: var(--text); padding: 12px 16px; text-align: left; font-weight: 700; font-size: 13px; font-family: var(--font); border-bottom: 2px solid var(--accent); }
.sysreq-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--muted); }
.sysreq-table tr:last-child td { border-bottom: none; }
.sysreq-table td:first-child { font-weight: 600; color: var(--text); width: 38%; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 20px 24px; margin-bottom: 16px; max-width: 760px; }
.faq-q { font-family: var(--font); font-weight: 700; color: var(--white); margin-bottom: 8px; }
.faq-a { color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ── WHY US ─────────────────────────────────────── */
.why-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 64px 24px; }
.why-inner { max-width: 1280px; margin: 0 auto; }
.why-inner h2 { font-family: var(--font); font-size: 32px; font-weight: 800; color: var(--white); text-align: center; margin-bottom: 48px; letter-spacing: -.03em; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.why-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--rl); padding: 28px 24px; transition: border-color .2s; }
.why-card:hover { border-color: rgba(129,140,248,.35); }
.why-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-d); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.why-card h3 { font-family: var(--font); font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── POPUP ──────────────────────────────────────── */
.popup { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(12,11,20,.88); backdrop-filter: blur(4px); }
.popup-content {
  background: var(--card); border: 1px solid var(--border);
  margin: 8% auto; border-radius: 18px;
  border-top: 3px solid var(--accent);
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
  width: 90%; max-width: 680px; position: relative; overflow: hidden;
}
.popup-header-bar { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.popup-header-bar span { font-family: var(--font); font-size: 14px; font-weight: 700; color: var(--white); }
.close { color: var(--muted); font-size: 22px; font-weight: bold; cursor: pointer; transition: color .2s; line-height: 1; background: none; border: none; padding: 4px 8px; border-radius: 6px; }
.close:hover { color: var(--accent); }
.popup-content iframe { border: none; display: block; }
@media screen and (max-width: 600px) { .popup-content { width: 95%; } }

/* ── FOOTER ─────────────────────────────────────── */
.site-footer { background: #08070f; padding: 56px 24px 32px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-desc { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 12px 0 20px; }
.footer-contact { font-size: 13px; color: var(--muted); line-height: 2; }
.footer-col h4 { font-family: var(--font); font-size: 12px; font-weight: 700; color: var(--text); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { max-width: 1280px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--border); text-align: center; }
.footer-bottom p { font-size: 12px; color: var(--muted); }

/* ── SCROLL TOP ─────────────────────────────────── */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--accent); border: none; border-radius: 50%;
  cursor: pointer; color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 100; opacity: 0; transform: translateY(12px);
  transition: all .3s; box-shadow: 0 4px 20px rgba(129,140,248,.4);
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1024px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 900px) { .single-grid { grid-template-columns: 1fr; } .image-panel { position: static; } .features-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .site-nav { display: none; } .header-search { max-width: none; flex: 1; } .hero { padding: 56px 20px 40px; } .footer-inner { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .product-grid { grid-template-columns: 1fr 1fr; } .hero-stats { gap: 24px; } .stat-divider { display: none; } .product-title { font-size: 22px; } .price-now { font-size: 32px; } }
