:root {
  --ink: #111820;
  --ink-soft: #35404c;
  --muted: #6b7785;
  --paper: #ffffff;
  --paper-soft: #f5f7f9;
  --line: #e3e8ed;
  --volt: #c6f43d;
  --volt-dark: #a8d526;
  --coral: #ff6b4a;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(17, 24, 32, 0.09);
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

/* Announcement */
.announcement {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-align: center;
  padding: 9px 16px;
  text-transform: uppercase;
}
.announcement span { color: var(--volt); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { font-size: 24px; font-weight: 900; letter-spacing: -.05em; display: flex; align-items: center; gap: 8px; }
.brand-mark {
  width: 26px; height: 26px; border-radius: 8px; background: var(--ink);
  display: grid; place-items: center; color: var(--volt); font-size: 15px; font-weight: 900;
}
.nav { display: flex; gap: 28px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.nav a:hover { color: var(--coral); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.cart-btn {
  position: relative;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 13px;
}
.cart-btn:hover { border-color: var(--ink); }
.cart-count {
  position: absolute; top: -8px; right: -8px;
  min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 999px; background: var(--coral); color: #fff;
  font-size: 11px; font-weight: 800; display: grid; place-items: center;
}
.cart-count[hidden] { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 10px; padding: 14px 24px;
  font-weight: 800; font-size: 14px; letter-spacing: .01em;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--volt); color: var(--ink); }
.btn-primary:hover { background: var(--volt-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #293542; }
.btn-outline { background: transparent; border: 1px solid currentColor; }
.btn-block { width: 100%; }

/* Hero */
.hero { background: var(--ink); color: #fff; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px;
  align-items: center; padding: 84px 0 96px;
}
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--volt); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(42px, 5.2vw, 70px); line-height: 1.03; letter-spacing: -.045em;
  margin: 0 0 22px; font-weight: 900;
}
.hero h1 em { color: var(--volt); font-style: normal; }
.hero-copy p { font-size: 17px; color: #b7c2cc; max-width: 520px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; }
.hero-stats strong { display: block; font-size: 24px; letter-spacing: -.03em; }
.hero-stats span { font-size: 12px; color: #93a2ae; text-transform: uppercase; letter-spacing: .1em; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero-visual img {
  width: min(100%, 470px); border-radius: 26px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
}
.hero-float {
  position: absolute; bottom: -18px; left: -10px;
  background: #fff; color: var(--ink); padding: 14px 18px; border-radius: 14px;
  box-shadow: var(--shadow); font-size: 13px; font-weight: 700;
}
.hero-float b { color: var(--coral); }

/* Trust strip */
.trust-strip { border-bottom: 1px solid var(--line); background: var(--paper-soft); }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 26px 0;
}
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; }
.trust-item svg { flex: 0 0 auto; }
.trust-item span { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }

/* Sections */
.section { padding: 88px 0; }
.section-head { max-width: 640px; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.04em;
  margin: 0 0 12px; font-weight: 900;
}
.section-head p { color: var(--muted); margin: 0; font-size: 16px; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-media { position: relative; background: var(--paper-soft); aspect-ratio: 1 / 1; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.product-badge {
  position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff;
  font-size: 10px; font-weight: 800; letter-spacing: .1em; padding: 6px 10px; border-radius: 999px;
}
.product-badge:empty { display: none; }
.product-info { padding: 18px 18px 20px; }
.product-cat { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.product-title { font-size: 17px; font-weight: 800; margin: 4px 0 2px; letter-spacing: -.02em; }
.product-sub { font-size: 12px; color: var(--muted); }
.stars { color: #f5a623; font-size: 12px; margin: 8px 0 10px; }
.stars span { color: var(--muted); margin-left: 6px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.price { font-size: 20px; font-weight: 900; letter-spacing: -.03em; }
.price-old { font-size: 13px; color: var(--muted); text-decoration: line-through; }
.swatch-row { display: flex; gap: 6px; margin-bottom: 14px; min-height: 18px; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.quick-add {
  width: 100%; padding: 11px; border: 0; border-radius: 9px; background: var(--ink);
  color: #fff; font-weight: 800; font-size: 13px;
}
.quick-add:hover { background: var(--coral); }

/* Tech split */
.tech { background: var(--paper-soft); }
.tech-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.tech-visual {
  background: var(--ink); border-radius: 24px; padding: 30px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.tech-visual img { border-radius: 14px; width: 100%; }
.tech-visual img:first-child { grid-column: 1 / -1; }
.feature-list { display: grid; gap: 18px; margin-top: 28px; }
.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon {
  flex: 0 0 38px; height: 38px; border-radius: 10px; background: var(--volt);
  display: grid; place-items: center; font-weight: 900; font-size: 15px;
}
.feature h4 { margin: 0 0 2px; font-size: 15px; }
.feature p { margin: 0; font-size: 14px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { border-top: 3px solid var(--ink); padding-top: 22px; }
.step-num { font-size: 12px; font-weight: 900; color: var(--coral); letter-spacing: .14em; }
.step h3 { font-size: 20px; margin: 6px 0 8px; letter-spacing: -.02em; }
.step p { color: var(--muted); margin: 0; font-size: 14px; }

/* Reviews */
.reviews { background: var(--paper-soft); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.review-card .stars { margin-bottom: 10px; }
.review-card p { font-size: 14px; margin: 0 0 16px; }
.review-author { font-size: 12px; font-weight: 800; }
.review-author span { color: var(--muted); font-weight: 500; }

/* FAQ */
.faq { max-width: 760px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "-"; }
.faq details p { color: var(--muted); margin: 12px 0 0; font-size: 14px; }

/* CTA band */
.cta-band { background: var(--volt); color: var(--ink); padding: 54px 0; text-align: center; }
.cta-band h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -.04em; margin: 0 0 10px; }
.cta-band p { margin: 0 0 24px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--ink); color: #b7c2cc; padding: 56px 0 30px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.footer-col h5 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.footer-col a { display: block; margin-bottom: 8px; }
.footer-col a:hover { color: var(--volt); }
.footer-bottom { border-top: 1px solid #2c3742; margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Cart drawer */
.overlay {
  position: fixed; inset: 0; background: rgba(10, 16, 22, .5); z-index: 50;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%);
  background: #fff; z-index: 60; transform: translateX(100%);
  transition: transform .25s ease; display: flex; flex-direction: column;
  box-shadow: -12px 0 50px rgba(0, 0, 0, .14);
}
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 20px 22px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-head h3 { margin: 0; font-size: 18px; }
.icon-btn { border: 0; background: var(--paper-soft); border-radius: 8px; width: 34px; height: 34px; font-size: 18px; }
.cart-items { flex: 1; overflow-y: auto; padding: 18px 22px; }
.cart-empty { text-align: center; color: var(--muted); padding: 60px 10px; }
.cart-item { display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 74px; height: 74px; border-radius: 10px; object-fit: cover; }
.cart-item-title { font-size: 14px; font-weight: 800; }
.cart-item-meta { font-size: 12px; color: var(--muted); }
.cart-item-price { font-weight: 800; font-size: 14px; text-align: right; }
.qty { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.qty button { border: 1px solid var(--line); background: #fff; width: 24px; height: 24px; border-radius: 6px; line-height: 1; }
.qty span { min-width: 16px; text-align: center; font-size: 13px; font-weight: 700; }
.remove-btn { border: 0; background: none; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 22px 24px; }
.total-row { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14px; }
.total-row.grand { font-size: 19px; font-weight: 900; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
.drawer-note { font-size: 11px; color: var(--muted); margin: 10px 0 14px; }

/* Checkout modal */
.modal {
  position: fixed; inset: 0; z-index: 70; display: none; align-items: center; justify-content: center;
  padding: 20px; background: rgba(10, 16, 22, .6);
}
.modal.open { display: flex; }
.modal-inner {
  background: #fff; border-radius: 18px; width: min(620px, 100%); max-height: 92vh; overflow-y: auto;
  padding: 26px;
}
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-head h3 { margin: 0; font-size: 22px; }
.checkout-summary { background: var(--paper-soft); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; font-size: 14px; }
.pay-label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 20px 0 10px; }
.paypal-box { min-height: 48px; }
.paypal-fallback { border: 1px dashed var(--line); border-radius: 10px; padding: 16px; font-size: 13px; color: var(--muted); }
.option-row { display: flex; flex-wrap: wrap; gap: 8px; }
.option {
  border: 1px solid var(--line); background: #fff; border-radius: 8px;
  padding: 7px 12px; font-size: 12px; font-weight: 700; color: var(--ink-soft);
}
.option:hover { border-color: var(--ink); }
.option.selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { font-size: 12px; font-weight: 700; display: block; margin-bottom: 5px; }
.form-grid input, .form-grid textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fff;
}
.form-grid .full { grid-column: 1 / -1; }
.form-grid textarea { resize: vertical; min-height: 64px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.order-success { text-align: center; padding: 30px 10px; }
.order-success .check { width: 56px; height: 56px; border-radius: 50%; background: var(--volt); display: grid; place-items: center; font-size: 28px; margin: 0 auto 16px; }
.order-success h3 { font-size: 24px; margin: 0 0 8px; }
.order-success code { background: var(--paper-soft); padding: 6px 10px; border-radius: 6px; font-size: 13px; }
.paypal-tag { font-size: 10px; color: var(--muted); }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 10px;
  font-size: 13px; font-weight: 700; z-index: 90; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 70px; }
  .hero-visual { order: -1; }
  .product-grid, .steps, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-inner { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .nav { display: none; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .product-grid, .steps, .review-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .hero-stats { gap: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .product-modal .modal-inner > div:last-child { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
