:root {
  --bg: #07080d;
  --panel: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f4f6ff;
  --muted: #9aa3c2;
  --violet: #8b7cff;
  --cyan: #5ce1e6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, .navbar-brand, .price { font-family: "Space Grotesk", sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.glow {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}
.glow-a { top: -80px; right: -40px; background: rgba(139, 124, 255, 0.28); }
.glow-b { bottom: 10%; left: -80px; background: rgba(92, 225, 230, 0.16); }

.site-nav, .hero, .product, .shop, .features, .plans, .faq, footer { position: relative; z-index: 1; }
.site-nav {
  background: rgba(7, 8, 13, 0.7);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.navbar-brand { letter-spacing: 0.16em; font-size: 1.05rem; }
.nav-link { color: var(--muted) !important; }
.nav-link:hover { color: var(--text) !important; }

.btn-glow, .btn-ghost {
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  font-weight: 700;
}
.btn-glow {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  color: #07080d;
  border: 0;
}
.btn-glow:hover { color: #07080d; filter: brightness(1.05); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }

.hero { padding: 5.5rem 0 3rem; }
.chip {
  display: inline-block;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  color: var(--cyan);
  font-size: 0.78rem;
  margin-bottom: 1.2rem;
}

h1 { font-size: clamp(3rem, 8vw, 6.2rem); line-height: 0.92; letter-spacing: -0.05em; }
.hero p { max-width: 38rem; margin: 1.2rem auto 1.8rem; color: var(--muted); font-size: 1.1rem; }
.hero-frame {
  margin-top: 3rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.hero-frame img { width: 100%; height: 520px; object-fit: cover; }

.product, .shop, .features, .plans, .faq { padding: 5rem 0; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-weight: 700;
}
.filter.active,
.filter:hover {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  color: #07080d;
  border-color: transparent;
}

.product-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  backdrop-filter: blur(12px);
}
.product-card img { width: 100%; height: 210px; object-fit: cover; }
.product-card .body { padding: 1.1rem 1.15rem 1.25rem; }
.product-card p {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.product-card h3 { font-size: 1.2rem; }
.product-card .desc { color: var(--muted); font-size: 0.9rem; }
.price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.add-btn {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-weight: 700;
}
.add-btn:hover {
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  color: #07080d;
  border-color: transparent;
}

.bag-drawer { background: #0d1018; color: var(--text); }
.bag-line { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.bag-total { display: flex; justify-content: space-between; margin: 1.2rem 0; }
.checkout-btn { width: 100%; }
.empty-bag { min-height: 42vh; display: grid; place-content: center; text-align: center; gap: 0.7rem; }
.empty-bag button { border: 0; background: transparent; color: var(--cyan); font-weight: 700; }
.eyebrow { color: var(--cyan); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.75rem; font-weight: 700; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.04em; }
.product p, .glass p, .plan p:not(.price) { color: var(--muted); }
.product ul { padding-left: 1.1rem; color: var(--muted); }

.media-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0.8rem; }
.media-grid img { height: 320px; width: 100%; object-fit: cover; border-radius: 22px; border: 1px solid var(--line); }

.glass, .plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.4rem;
  height: 100%;
  backdrop-filter: blur(12px);
}
.glass span { color: var(--violet); font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.plan-hot {
  background: linear-gradient(180deg, rgba(139, 124, 255, 0.18), rgba(255,255,255,0.04));
  border-color: rgba(139, 124, 255, 0.45);
}
.price { font-size: 3rem; margin: 0.4rem 0; }

.accordion-item, .accordion-button, .accordion-body { background: transparent; color: var(--text); }
.accordion-item { border: 1px solid var(--line); border-radius: 16px !important; margin-bottom: 0.7rem; overflow: hidden; }
.accordion-button { box-shadow: none; }
.accordion-button:not(.collapsed) { background: rgba(255,255,255,0.04); color: var(--text); }
.accordion-button::after { filter: invert(1); }
.accordion-body { color: var(--muted); }

footer { padding: 1.8rem 0 2.4rem; border-top: 1px solid var(--line); color: var(--muted); }

@media (max-width: 767.98px) {
  .hero-frame img { height: 280px; }
  .media-grid { grid-template-columns: 1fr; }
}
