:root {
  --bg: #02040a;
  --bg-elevated: #070915;
  --bg-soft: #0b0f1f;
  --accent: #ff3366;
  --accent-soft: rgba(255, 51, 102, 0.1);
  --accent-alt: #4be4ff;
  --text: #f8fafc;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.2);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.8);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #111827 0, var(--bg) 48%, #020617 100%);
  color: var(--text);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font-family: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.22), transparent 55%),
    rgba(2, 6, 23, 0.9);
  border-bottom: 1px solid var(--border-subtle);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.logo-mark {
  width: 26px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.9);
}

.logo-mark.small {
  width: 18px;
  height: 8px;
}

.logo-text .dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.85rem;
  padding-inline: 18px;
}

/* Buttons */
.btn {
  appearance: none;
  border: none;
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.14s ease-out, box-shadow 0.14s ease-out,
    background 0.14s ease-out, color 0.14s ease-out, border-color 0.14s ease-out;
  white-space: nowrap;
}

.btn-lg {
  padding: 11px 26px;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #fb923c);
  color: #0b1020;
  box-shadow: 0 12px 30px rgba(248, 113, 113, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(248, 113, 113, 0.8);
}

.btn-ghost {
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.85);
  color: var(--text);
}

.btn-paypal {
  background: #ffc439;
  color: #111827;
}

.btn-stripe {
  background: #4f46e5;
  color: #e5e7eb;
}

.btn-paypal:hover,
.btn-stripe:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.7);
}

.w-full {
  width: 100%;
}

.link-like {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* Hero */
.hero {
  position: relative;
  max-width: 1120px;
  margin: 30px auto 0;
  padding: 26px 20px 40px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 2.9vw + 1.2rem, 3.4rem);
  line-height: 1.05;
  margin: 6px 0 14px;
}

.hero-subtitle {
  margin: 0 0 18px;
  color: var(--text-muted);
  max-width: 33rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--accent-alt);
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.price-main {
  font-size: 1.6rem;
  font-weight: 600;
}

.price-tagline {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: #fecaca;
  font-size: 0.75rem;
}

.pill-ghost {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-badge {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.4);
  background: rgba(8, 47, 73, 0.6);
  color: #e0f2fe;
}

.divider-dot {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

.hero-media {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at top, #1f2937, #020617);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-gradient-overlay {
  position: absolute;
  inset: auto 0 0;
  height: 15%;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 1),
    rgba(15, 23, 42, 0.1)
  );
}

.hero-tag {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.hero-tag-top {
  top: 12px;
  left: 12px;
}

.hero-tag-bottom {
  bottom: 12px;
  right: 12px;
}

.dot-live {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
}

/* Sections */
.section {
  max-width: 1120px;
  margin: 0 auto;
  padding: 32px 20px 40px;
}

.section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617);
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 26px;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: 1.5rem;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section-header.align-left {
  text-align: left;
  margin-left: 0;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  border-radius: var(--radius-md);
  padding: 16px 16px 18px;
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top left, rgba(30, 64, 175, 0.8), transparent 60%),
    rgba(15, 23, 42, 0.96);
}

.feature-card h3 {
  font-size: 0.95rem;
  margin: 0 0 6px;
}

.feature-card p {
  margin: 0;
  font-size: 0.83rem;
  color: var(--text-muted);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #020617;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.85);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Specs */
.specs-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 26px;
  align-items: flex-start;
}

.specs-list {
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--border-subtle);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(31, 41, 55, 0.9);
}

.spec-row dt {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.spec-row dd {
  margin: 0;
  font-size: 0.9rem;
  text-align: right;
}

.specs-card {
  position: sticky;
  top: 82px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.8), #020617);
  padding: 18px 18px 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.85);
}

.specs-price {
  font-size: 1.7rem;
  margin: 6px 0 2px;
}

.specs-subcopy {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.specs-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.specs-highlights li + li {
  margin-top: 4px;
}

.specs-note {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Reviews */
.review-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.9);
  padding: 16px 16px 18px;
  position: relative;
}

.review-copy {
  margin: 0 0 10px;
  font-size: 0.9rem;
}

.review-name {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.95);
  padding: 12px 14px;
  font-size: 0.88rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

/* Footer */
.footer {
  border-top: 1px solid rgba(30, 64, 175, 0.8);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
  padding: 16px 20px 22px;
  margin-top: 20px;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-links a {
  text-decoration: underline;
  text-decoration-style: dotted;
}

.footer-copy {
  margin: 0;
}

/* Checkout overlay */
.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.checkout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
}

.checkout-modal {
  position: relative;
  max-width: 420px;
  margin: 40px auto;
  padding: 18px 18px 16px;
  border-radius: 22px;
  background: radial-gradient(circle at top, rgba(30, 64, 175, 0.7), #020617);
  border: 1px solid rgba(129, 140, 248, 0.7);
  color: var(--text);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.checkout-modal h2 {
  margin: 0 0 2px;
  font-size: 1.25rem;
}

.checkout-price {
  margin: 0 0 12px;
  font-size: 0.95rem;
}

.checkout-price span {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.checkout-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

input,
textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(15, 23, 42, 0.9);
  padding: 7px 9px;
  color: var(--text);
  font-size: 0.85rem;
}

input:focus,
textarea:focus {
  outline: 1px solid rgba(129, 140, 248, 0.9);
  border-color: rgba(129, 140, 248, 0.9);
}

.checkout-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 6px 0 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.checkout-divider::before,
.checkout-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(51, 65, 85, 0.9);
}

.checkout-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-note {
  margin: 6px 0 0;
  font-size: 0.72rem;
  color: var(--text-muted);
}

code {
  font-size: 0.75rem;
  background: rgba(15, 23, 42, 0.9);
  padding: 2px 4px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  .specs-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .specs-card {
    position: static;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .nav-inner {
    justify-content: space-between;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 20px;
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .review-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-inner {
    gap: 20px;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-lg {
    width: 100%;
  }
}

