:root {
  --bg: #f0f4ff;
  --text: #111827;
  --muted: #4b5563;
  --primary: #7c3aed;
  --primary-dark: #5b21b6;
  --teal: #0d9488;
  --orange: #ea580c;
  --yellow: #d97706;
  --pink: #db2777;
  --white: #ffffff;
  --card-border: #e0e7ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  background-image: radial-gradient(circle at 10% 10%, #e0e7ff 0%, transparent 50%),
    radial-gradient(circle at 90% 90%, #fce7f3 0%, transparent 50%);
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #7c3aed, #0d9488, #db2777);
  color: var(--white);
  text-align: center;
  padding: 10px;
  font-size: 13px;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--card-border);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
}

.nav-links a:hover {
  color: var(--primary);
}

.policy-page h2 {
  margin-top: 24px;
}

.policy-page ul {
  padding-left: 20px;
  line-height: 1.9;
}

.policy-page a:not(.btn) {
  color: var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.contact-item {
  margin: 0;
}

/* =====================
   CHECKOUT PAGE
===================== */

.checkout-main {
  max-width: 580px;
  padding-bottom: 60px;
}

.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 24px 0 20px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #9ca3af;
}

.progress-step.active {
  color: var(--primary);
}

.progress-step.active .step-circle {
  background: var(--primary);
  color: #fff;
}

.step-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.progress-line {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  margin: 0 6px;
  margin-bottom: 18px;
}

.order-summary {
  padding: 14px 18px;
}

.order-summary-inner {
  display: flex;
  gap: 14px;
  align-items: center;
}

.order-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--card-border);
}

.order-name {
  font-weight: 700;
  margin: 0 0 4px;
}

.order-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 2px;
}

.checkout-step h2 {
  margin-bottom: 18px;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.payment-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.payment-card {
  border: 2px solid var(--card-border);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.payment-card.selected {
  border-color: var(--primary);
  background: #f5f3ff;
}

.payment-card input[type="radio"] {
  display: none;
}

.payment-card-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.payment-icon {
  font-size: 26px;
  line-height: 1;
}

.payment-card strong {
  display: block;
  margin-bottom: 4px;
}

.payment-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.step-nav {
  display: flex;
  gap: 10px;
}

.step-nav .btn {
  flex: 1;
}

.review-block {
  border-bottom: 1px solid var(--card-border);
  padding: 12px 0;
}

.review-block h3 {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.review-block p {
  margin: 0;
}

.full-width {
  width: 100%;
  margin-top: 14px;
  padding: 15px;
  font-size: 16px;
}

.hidden {
  display: none !important;
}

.success-box {
  text-align: center;
  padding: 20px 0 10px;
}

.success-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .nav-links {
    gap: 12px;
    font-size: 13px;
  }

  .contact-grid,
  .two-col {
    grid-template-columns: 1fr;
  }
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
}

.tag {
  display: inline-block;
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
  color: #5b21b6;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 10px;
  font-size: 13px;
  border: 1px solid #ddd6fe;
}

.hero-media img {
  width: 100%;
  border-radius: 16px;
  display: block;
  border: 1px solid var(--card-border);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.16);
}

.hero-badges {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.hero-badges span {
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.hero-badges span:nth-child(1) { background: #dcfce7; color: #166534; }
.hero-badges span:nth-child(2) { background: #fef3c7; color: #92400e; }
.hero-badges span:nth-child(3) { background: #fce7f3; color: #9d174d; }

h1,
h2,
h3,
h4 {
  margin-top: 0;
}

.subtitle,
.small-note {
  color: var(--muted);
}

.price {
  font-size: 22px;
  margin-bottom: 8px;
}

.old-price {
  color: #6b7280;
  text-decoration: line-through;
  margin-left: 6px;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), #2563eb);
  color: var(--white);
}

.btn.primary:hover {
  filter: brightness(0.96);
}

.btn.secondary {
  background: #ede9fe;
  color: #4c1d95;
}

.trust-list,
.box-list {
  padding-left: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 20px;
  margin: 16px 0;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.07);
}

.video-placeholder {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
}

.product-video {
  width: 100%;
  border-radius: 12px;
  display: block;
  max-height: 480px;
  background: #000;
}

.slideshow {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.16);
  background: #f1f5f9;
}

.slides {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 16px;
}

.slide.active {
  opacity: 1;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255 255 255 / 0.85);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: background 0.2s;
}

.slide-btn:hover {
  background: rgba(255 255 255 / 1);
}

.slide-btn.prev { left: 10px; }
.slide-btn.next { right: 10px; }

.slide-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: #fff;
}

.benefits .grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.benefits .card:nth-child(1) { border-top: 4px solid #7c3aed; }
.benefits .card:nth-child(2) { border-top: 4px solid #0d9488; }
.benefits .card:nth-child(3) { border-top: 4px solid #ea580c; }
.benefits .card:nth-child(4) { border-top: 4px solid #db2777; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stats h3 {
  margin: 0;
  font-size: 28px;
}

.stats p {
  margin: 4px 0 0;
  color: var(--muted);
}

.stats .card:nth-child(1) { background: linear-gradient(135deg, #ede9fe, #fff); }
.stats .card:nth-child(2) { background: linear-gradient(135deg, #ccfbf1, #fff); }
.stats .card:nth-child(3) { background: linear-gradient(135deg, #fce7f3, #fff); }
.stats .card:nth-child(4) { background: linear-gradient(135deg, #fef3c7, #fff); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.review-card p {
  margin: 0;
}

.review-meta {
  margin-top: 10px !important;
  color: var(--muted);
  font-size: 14px;
}

.stars {
  color: #f59e0b;
  font-size: 18px;
  margin-bottom: 8px;
}

.review-teal {
  border-left: 4px solid #0d9488;
  background: linear-gradient(135deg, #f0fdfa, #fff);
}

.review-orange {
  border-left: 4px solid #ea580c;
  background: linear-gradient(135deg, #fff7ed, #fff);
}

.faq summary {
  font-weight: bold;
  cursor: pointer;
}

.order form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

input,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font: inherit;
}

.footer {
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
  color: #e2e8f0;
  margin-top: 30px;
  padding-top: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.footer a {
  color: #93c5fd;
  display: block;
  margin-bottom: 6px;
}

.footer-logo {
  width: min(220px, 80%);
  height: auto;
  margin-bottom: 10px;
  display: block;
}

.copyright {
  text-align: center;
  margin: 0;
  padding: 16px;
  border-top: 1px solid #334155;
  margin-top: 18px;
}

.sticky-buy {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: linear-gradient(135deg, #7c3aed, #db2777);
  color: #fff;
  text-align: center;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.5);
  letter-spacing: 0.3px;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .benefits .grid,
  .reviews-grid,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  body {
    padding-bottom: 72px;
  }
}
