* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:   #080808;
  --bg2:  #0f0f0f;
  --bg3:  #161616;
  --border: #222;
  --border2: #333;
  --text: #e0e0e0;
  --muted: #777;
  --accent: #aaa;
  --white: #fff;
  --gp:   #4d9fff;
  --bfx:  #bf7aff;
}

html { scroll-behavior: smooth; }

body {
  background-color: #000;
  background-image: url('bg.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  position: relative;
}

/* Gradient overlay — lighter in the center so the billboard bleeds through */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.55) 0%,
      rgba(0,0,0,0.45) 30%,
      rgba(0,0,0,0.5)  60%,
      rgba(0,0,0,0.72) 100%
    );
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

/* ── Announcement Bar ── */
.announce-bar {
  background: rgba(5,5,5,0.92);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 9px 20px;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.announce-bar a {
  color: var(--text);
  text-decoration: none;
  margin-left: 6px;
  font-weight: 600;
  transition: color 0.2s;
}
.announce-bar a:hover { color: #fff; }

/* ── Navbar ── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  height: 80px;
  background: rgba(8,8,8,0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-brand-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 0;
  filter: none;
}
.nav-brand-text {
  font-size: 16px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  /* shown only when logo.png fails to load, via JS */
}
.nav-brand-text.hidden { display: none; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }

.status-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: #4caf50;
  border-radius: 50%;
  margin-right: 5px;
  vertical-align: middle;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(76,175,80,0.5); }
  50%      { box-shadow: 0 0 0 4px rgba(76,175,80,0); }
}

.nav-actions { display: flex; gap: 8px; align-items: center; }

.btn-cart {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 7px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s, border-color 0.2s;
  position: relative;
}
.btn-cart:hover { background: var(--bg3); border-color: var(--border2); }

.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: #c04040;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  min-width: 17px; height: 17px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.cart-badge.visible { display: flex; }

/* ── Buttons ── */
.btn-primary {
  background: #e8e8e8;
  color: #000;
  padding: 11px 26px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 11px 26px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  border: 1px solid var(--border2);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  display: inline-block;
}
.btn-secondary:hover { background: var(--bg3); border-color: #444; }

/* ── Section Tag ── */
.section-tag {
  display: inline-block;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

/* ── Hero ── */
.hero {
  padding: 100px 60px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* subtle radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 400px;
  background: radial-gradient(ellipse, rgba(80,100,255,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero h1 .gp-word  { color: var(--gp); }
.hero h1 .bfx-word { color: var(--bfx); }

.hero-sub {
  color: var(--muted);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

/* Hero product preview cards */
.hero-previews {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

.hero-preview-card {
  flex: 1;
  min-width: 280px;
  max-width: 420px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.hero-preview-card.gp-card  { border-color: rgba(77,159,255,0.25); }
.hero-preview-card.bfx-card { border-color: rgba(191,122,255,0.25); }
.hero-preview-card.gp-card:hover  { border-color: rgba(77,159,255,0.5);  box-shadow: 0 0 40px rgba(77,159,255,0.08); }
.hero-preview-card.bfx-card:hover { border-color: rgba(191,122,255,0.5); box-shadow: 0 0 40px rgba(191,122,255,0.08); }

.hpc-label {
  position: absolute;
  top: 12px; left: 14px;
  z-index: 10;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}
.gp-card  .hpc-label { background: rgba(77,159,255,0.2);  color: var(--gp);  border: 1px solid rgba(77,159,255,0.35); }
.bfx-card .hpc-label { background: rgba(191,122,255,0.2); color: var(--bfx); border: 1px solid rgba(191,122,255,0.35); }

.hpc-video {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: var(--bg3);
}
.hpc-video-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #111 0%, #0d0d0d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.hpc-info {
  padding: 16px 18px;
  text-align: left;
}
.hpc-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.hpc-desc {
  font-size: 12.5px;
  color: var(--muted);
}

/* ── Products Section ── */
.products-section {
  padding: 80px 60px;
  text-align: center;
}

.products-section h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.section-sub {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 52px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ── Product Card ── */
.product-card {
  background: rgba(15,15,15,0.88);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.15s;
}
.product-card:hover {
  box-shadow: 0 24px 64px rgba(0,0,0,0.6);
  transform: translateY(-2px);
}
.product-card.gp-card { border-color: rgba(77,159,255,0.18); }
.product-card.bfx-card { border-color: rgba(191,122,255,0.18); }
.product-card.gp-card:hover  { border-color: rgba(77,159,255,0.4);  box-shadow: 0 24px 64px rgba(77,159,255,0.07); }
.product-card.bfx-card:hover { border-color: rgba(191,122,255,0.4); box-shadow: 0 24px 64px rgba(191,122,255,0.07); }

.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 10;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}
.gp-card  .card-badge { background: rgba(77,159,255,0.18);  color: var(--gp);  border: 1px solid rgba(77,159,255,0.35); }
.bfx-card .card-badge { background: rgba(191,122,255,0.18); color: var(--bfx); border: 1px solid rgba(191,122,255,0.35); }

.card-image {
  height: 200px;
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.card-image video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.card-image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-info {
  padding: 20px 22px 18px;
  text-align: left;
}
.card-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.card-desc {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.5;
}
.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.card-tag {
  font-size: 10.5px;
  color: var(--muted);
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 3px 8px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.stock { font-size: 11.5px; color: var(--muted); }
.price {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}
.card-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border2);
  background: var(--bg3);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.card-btn:hover { background: #222; border-color: #555; }

/* ── Reviews ── */
.reviews-section {
  padding: 80px 60px;
  text-align: center;
}
.reviews-section h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.highlight { color: var(--accent); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 42px auto 0;
}

.review-card {
  background: rgba(15,15,15,0.88);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  text-align: left;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s;
}
.review-card:hover { border-color: var(--border2); }

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.stars { color: #c0c0c0; font-size: 14px; }
.review-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 5px;
}
.review-pill.gp  { background: rgba(77,159,255,0.12); color: var(--gp);  border: 1px solid rgba(77,159,255,0.25); }
.review-pill.bfx { background: rgba(191,122,255,0.12); color: var(--bfx); border: 1px solid rgba(191,122,255,0.25); }

.review-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.reviewer { font-size: 11.5px; color: #444; }

/* ── Review Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  z-index: 999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; }

.modal {
  background: #111;
  border: 1px solid #222;
  border-radius: 18px;
  padding: 36px;
  width: 100%;
  max-width: 440px;
  position: relative;
  animation: slideUp 0.2s ease;
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--white); }
.modal h3 { font-size: 20px; font-weight: 800; color: var(--white); margin-bottom: 4px; }
.modal-sub { color: var(--muted); font-size: 13px; margin-bottom: 22px; }

.star-picker { display: flex; gap: 6px; font-size: 30px; color: #2a2a2a; cursor: pointer; margin-bottom: 6px; }
.star-picker span { transition: color 0.15s; }
.star-picker span.active, .star-picker span.hover { color: #ccc; }
.star-label { font-size: 12px; color: var(--muted); margin-bottom: 18px; min-height: 18px; }

.modal-select,
.modal-input,
.modal-textarea {
  width: 100%;
  background: #0d0d0d;
  border: 1px solid #222;
  border-radius: 9px;
  color: var(--text);
  font-size: 13.5px;
  padding: 11px 13px;
  outline: none;
  margin-bottom: 10px;
  font-family: inherit;
  transition: border-color 0.2s;
  appearance: none;
}
.modal-select:focus,
.modal-input:focus,
.modal-textarea:focus { border-color: #3a3a3a; }
.modal-textarea { resize: none; height: 90px; }
.modal-error { color: #c04040; font-size: 12px; margin-top: 8px; min-height: 16px; }

/* ── Footer ── */
.footer {
  background: rgba(0,0,0,0.5);
  border-top: 1px solid var(--border);
  padding: 56px 60px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo-img {
  width: 48px; height: 48px;
  object-fit: contain;
  border-radius: 0;
  filter:
    drop-shadow(0 0 8px rgba(255,255,255,0.3))
    drop-shadow(0 0 20px rgba(200,200,200,0.12));
}
.footer-brand-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.01em;
}
.footer-brand p {
  color: var(--muted);
  font-size: 12.5px;
  max-width: 200px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links h4 {
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12.5px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #3a3a3a;
  flex-wrap: wrap;
  gap: 8px;
}

/* ── Product Detail Page ── */
.product-page {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.product-media {
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg2);
  border: 1px solid var(--border);
}
.product-media video {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: var(--bg3);
}
.product-media-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-details {}
.product-details .product-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.gp-tag  { background: rgba(77,159,255,0.15);  color: var(--gp);  border: 1px solid rgba(77,159,255,0.3); }
.bfx-tag { background: rgba(191,122,255,0.15); color: var(--bfx); border: 1px solid rgba(191,122,255,0.3); }

.product-details h1 {
  font-size: 36px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.product-details .product-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.product-features {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}
.product-features h4 {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}
.feature-list li {
  font-size: 13.5px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.feature-list li::before {
  content: '✓';
  font-size: 11px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gp-tag-li li::before  { background: rgba(77,159,255,0.15);  color: var(--gp); }
.bfx-tag-li li::before { background: rgba(191,122,255,0.15); color: var(--bfx); }

.price-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.price-label { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.price-tiers { display: flex; flex-direction: column; gap: 10px; }
.price-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.price-tier:hover { border-color: var(--border2); background: #141414; }
.price-tier.selected { border-color: #555; background: #141414; }
.tier-name { font-size: 13.5px; color: var(--white); font-weight: 600; }
.tier-duration { font-size: 12px; color: var(--muted); }
.tier-price { font-size: 15px; font-weight: 700; color: var(--accent); }

.btn-buy {
  width: 100%;
  padding: 14px;
  background: var(--white);
  color: #000;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-buy:hover { background: #f0f0f0; }

/* ── Cart / Checkout pages ── */
.page-wrap {
  min-height: 80vh;
  max-width: 820px;
  margin: 60px auto;
  padding: 0 40px;
}
.page-wrap h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.empty-cart {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}
.empty-cart .ec-icon { font-size: 48px; margin-bottom: 16px; }
.empty-cart p { font-size: 15px; margin-bottom: 24px; }

/* ── Mobile ── */
@media (max-width: 900px) {
  .product-page { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .nav-links { gap: 18px; overflow-x: auto; }
  .nav-links a { font-size: 13px; white-space: nowrap; }
  .hero { padding: 70px 20px 56px; }
  .hero h1 { font-size: 36px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-previews { flex-direction: column; align-items: center; }
  .hero-preview-card { max-width: 100%; }
  .products-section { padding: 60px 20px; }
  .reviews-section { padding: 60px 20px; }
  .footer { padding: 40px 24px; flex-direction: column; gap: 28px; }
  .footer-bottom { padding: 16px 24px; }
  .footer-links { gap: 28px; }
  .page-wrap { padding: 0 20px; }
}
