:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #0071e3;
  --accent-2: #e63946;
  --border: #d2d2d7;
  --radius: 18px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; }
h1, h2 { letter-spacing: -0.02em; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}

.logo {
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.cart-toggle {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
}
.cart-icon { display: flex; }
.cart-count {
  background: var(--text);
  color: #fff;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  min-width: 18px;
  text-align: center;
}

/* Hero */
.hero {
  padding: 64px 0 40px;
  text-align: center;
}
.eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 6px;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 700;
  margin: 0;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.3rem;
  margin: 8px 0 0;
}

/* Disc render */
.disc-render {
  display: flex;
  justify-content: center;
  padding: 48px 0 8px;
}
.disc {
  width: min(340px, 70vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--bg) 0 8%, transparent 8.5%),
    conic-gradient(from 90deg,
      #ff5f6d, #ffc371, #f9f871, #6bffb8, #63d4ff, #a06bff, #ff6bcb, #ff5f6d);
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(0,0,0,0.06);
  position: relative;
}
.disc::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.55), transparent 55%);
}

/* Buy panel */
.buy-panel {
  max-width: 380px;
  margin: 20px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.sold-out-badge {
  background: var(--bg-alt);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

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

.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qty-row label {
  color: var(--muted);
  font-size: 0.9rem;
}
.qty-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty-controls button {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
}

.add-btn, .checkout-btn, .notify-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.15s ease;
}
.add-btn:hover, .checkout-btn:hover:not(:disabled), .notify-btn:hover {
  opacity: 0.85;
}
.add-btn:disabled, .checkout-btn:disabled {
  background: var(--border);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 1;
}

.notify-form {
  display: flex;
  gap: 8px;
  width: 100%;
}
.notify-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 0.95rem;
  background: var(--bg-alt);
  color: var(--text);
}
.notify-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
  min-height: 1.2em;
}

/* Feature sections */
.feature {
  padding: 100px 0;
}
.feature-a { background: var(--bg); }
.feature-b { background: var(--bg-alt); }
.feature-inner {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}
.feature h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin: 0 0 16px;
}
.feature p {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 0;
}

/* Specs */
.specs {
  padding: 80px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.specs h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 28px;
  text-align: center;
}
.specs-grid {
  max-width: 640px;
  margin: 0 auto;
}
.spec-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.spec-row dt {
  color: var(--muted);
  font-size: 0.92rem;
}
.spec-row dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

/* FAQ */
.faq {
  padding: 60px 0 100px;
}
.faq h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 24px;
  text-align: center;
}
.faq details {
  max-width: 640px;
  margin: 0 auto 10px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 4px;
}
.faq summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1.02rem;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 400;
}
.faq details[open] summary::after { content: "\2212"; }
.faq p {
  color: var(--muted);
  margin: 10px 0 0;
  font-size: 0.95rem;
}

/* Cart drawer */
.cart-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 30;
}
.cart-scrim.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(380px, 100%);
  background: #fff;
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 40;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}
.cart-header h2 { margin: 0; font-size: 1.1rem; }

.cart-close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-title { font-weight: 600; font-size: 0.9rem; }
.cart-item-meta { color: var(--muted); font-size: 0.78rem; }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--accent-2);
  cursor: pointer;
  font-size: 0.8rem;
}
.cart-item .qty-controls button {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.empty-cart {
  color: var(--muted);
  text-align: center;
  padding: 40px 0;
}

.cart-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 12px;
}
.checkout-btn {
  width: 100%;
}

/* Checkout page */
.checkout-wrap { padding: 40px 0 80px; max-width: 560px; }
.checkout-summary {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 28px;
}
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.checkout-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--muted);
}
.checkout-form input {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
}
.payment-note {
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--bg-alt);
  border: 1px dashed var(--border);
  padding: 10px 12px;
  border-radius: 8px;
}
.checkout-done { text-align: center; padding: 40px 0; }
.hidden { display: none !important; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 24px 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}
