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

:root {
  --bg:       #080c14;
  --surface:  #0f1623;
  --card:     #141d2e;
  --border:   #1e2d45;
  --accent:   #f97316;
  --accent-d: rgba(249,115,22,.1);
  --cyan:     #22d3ee;
  --text:     #e8edf5;
  --muted:    #6b82a0;
  --white:    #ffffff;
  --green:    #10b981;
  --green-d:  rgba(16,185,129,.1);
  --r:        12px;
  --rl:       18px;
  --font:     'Outfit', sans-serif;
  --body:     'DM Sans', 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(8,12,20,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 24px; height: 68px;
  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), #ef4444);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 20px; height: 20px; fill: #fff; }
.logo-text {
  font-family: var(--font); font-size: 20px; font-weight: 800;
  letter-spacing: -.03em; 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: 500;
  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: 30px;
  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: 80px 24px 64px;
  text-align: center;
  max-width: 1280px; margin: 0 auto;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at center, rgba(249,115,22,.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(249,115,22,.1);
  border: 1px solid rgba(249,115,22,.3);
  color: var(--accent);
  font-family: var(--font); font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 30px;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font);
  font-size: clamp(32px, 5vw, 60px); font-weight: 800;
  line-height: 1.1; letter-spacing: -.03em;
  color: var(--white); margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px; color: var(--muted);
  max-width: 560px; margin: 0 auto 36px; line-height: 1.65;
}
.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: 700; 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(249,115,22,.4);
  box-shadow: 0 12px 40px rgba(249,115,22,.1);
}
.card-img-wrap {
  position: relative; aspect-ratio: 1;
  background: #0a1020; 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); letter-spacing: .05em;
}
.card-cat {
  position: absolute; top: 10px; right: 10px;
  background: rgba(8,12,20,.85); color: var(--cyan);
  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(249,115,22,.15); 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: 8px; 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: #ea6c0a; 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 PAGE ──────────────────────────── */
.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: 88px; }
.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); letter-spacing: .05em;
}
.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 rgba(249,115,22,.2);
}
.product-title {
  font-family: var(--font); font-size: 28px; font-weight: 800;
  color: var(--white); line-height: 1.2;
  margin-bottom: 18px; letter-spacing: -.02em;
}
.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 rgba(249,115,22,.25);
  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(--accent-d); color: var(--accent); }

.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: #ea6c0a; }
.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: 36px; 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;
}
.section-p {
  font-size: 15px; line-height: 1.75; color: var(--muted);
  max-width: 760px; margin-bottom: 32px;
}
.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(249,115,22,.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: -.02em;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--rl); padding: 28px 24px;
}
.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; }

/* ── GUMROAD CHECKOUT POPUP ───────────────────────── */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(8,7,7,.83);
}
.popup-content {
  background-color: #F4F4F1;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #000;
  box-shadow: 0 4px 8px rgba(0,0,0,.2);
  width: 90%;
  max-width: 600px;
  position: relative;
}
.close {
  color: #333;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: color .3s ease;
}
.close:hover, .close:focus { color: #ff4d4d; text-decoration: none; }
.popup-content iframe { border: none; border-radius: 4px; }
@media screen and (max-width: 600px) { .popup-content { width: 95%; } }

/* ── FOOTER ───────────────────────────────────────── */
.site-footer {
  background: #050810; 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);
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.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(249,115,22,.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; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@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; }
}
