/* ===== Design tokens ===== */
:root {
  --ink: #15171c;          /* premium graphite */
  --ink-2: #3a3f4b;
  --muted: #6b7280;
  --line: #e7e9ee;
  --bg: #ffffff;
  --bg-alt: #f5f6f8;
  --red: #7c3aed;          /* electric violet CTA (matches glowing sword) */
  --red-dark: #6d28d9;
  --green: #1ca37a;
  --gold: #f5a623;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(20, 23, 28, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 23, 28, 0.16);
  --container: 1160px;
  --font: "Noto Sans Georgian", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
.container--narrow { max-width: 820px; }

h1, h2, h3 { line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 4vw, 40px); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 800;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.32);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 28px; font-size: 18px; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 800; }
.logo__mark { font-size: 24px; }
.logo__text strong { color: var(--red); }
.header__nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-2);
}
.header__nav a:hover { color: var(--red); }
.header__cta { margin-left: 8px; padding: 11px 22px; font-size: 15px; }

/* ===== Hero ===== */
.hero { padding: 40px 0 30px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.gallery { position: relative; }
.gallery__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.gallery__main {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.thumb {
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-alt);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  padding: 0;
  transition: border-color 0.15s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--red); }

/* Buy box */
.buybox__title { font-size: clamp(28px, 3.4vw, 40px); }
.buybox__title span { color: var(--red); }
.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 16px;
}
.rating__stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; }
.rating__text { color: var(--muted); font-size: 14px; }
.buybox__sub { color: var(--ink-2); font-size: 17px; margin-bottom: 18px; }
.buybox__points { list-style: none; display: grid; gap: 8px; margin-bottom: 22px; }
.buybox__points li { font-weight: 600; }

.option { display: flex; align-items: center; gap: 14px; margin: 16px 0; }
.option__label { font-weight: 700; min-width: 88px; }
.option__value { color: var(--ink-2); font-weight: 600; }
.swatches { display: flex; gap: 10px; }
.swatch {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid var(--line); cursor: pointer; position: relative;
  outline-offset: 3px;
}
.swatch.is-active { outline: 2px solid var(--ink); }
.swatch--purple { background: linear-gradient(135deg, #a855f7, #6d28d9); }
.swatch--blue { background: linear-gradient(135deg, #38bdf8, #1d4ed8); }
.swatch--green { background: linear-gradient(135deg, #86efac, #16a34a); }
.swatch--pink { background: linear-gradient(135deg, #f9a8d4, #db2777); }
.price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.price__old { color: var(--muted); text-decoration: line-through; font-size: 20px; }
.price__now { font-size: 40px; font-weight: 900; color: var(--ink); }
.price__save {
  background: #e9f8f1; color: var(--green); font-weight: 800;
  padding: 5px 12px; border-radius: 999px; font-size: 14px;
}

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty__btn { width: 40px; height: 40px; border: none; background: var(--bg-alt); font-size: 20px; cursor: pointer; font-weight: 700; }
.qty__btn:hover { background: #ececf0; }
.qty__input { width: 46px; text-align: center; border: none; font-size: 16px; font-weight: 700; font-family: inherit; background: #fff; }

.assurance { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.stock {
  display: flex; align-items: center; gap: 9px;
  margin-top: 16px; font-size: 14px; color: var(--ink-2);
  background: #f6f3ff; border: 1px solid #e3d9ff; padding: 10px 14px; border-radius: var(--radius-sm);
}
.stock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(124,58,237,0.5);} 70%{ box-shadow: 0 0 0 8px rgba(124,58,237,0);} 100%{box-shadow:0 0 0 0 rgba(124,58,237,0);} }

/* ===== Trust bar ===== */
.trustbar { background: var(--ink); color: #fff; padding: 22px 0; }
.trustbar__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trustbar__item { display: flex; align-items: center; gap: 12px; }
.trustbar__item span { font-size: 26px; }
.trustbar__item strong { display: block; font-size: 15px; }
.trustbar__item small { color: #aab0bd; font-size: 13px; }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section__lead { color: var(--muted); font-size: 18px; margin-top: 8px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__media--contain { background: var(--bg-alt); border-radius: var(--radius); padding: 24px; }
.split__media--contain img { box-shadow: none; }
.split__text h2 { margin-bottom: 16px; }
.split__text p { color: var(--ink-2); font-size: 17px; margin-bottom: 20px; }

.checklist { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--green); width: 20px; height: 20px; border-radius: 50%; font-size: 12px; display: grid; place-items: center; font-weight: 800; }

/* How it works */
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.how__steps { display: grid; gap: 18px; }
.step { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); padding: 18px; border-radius: var(--radius); box-shadow: var(--shadow); }
.step__num { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 17px; }
.step strong { display: block; margin-bottom: 2px; }
.step p { color: var(--muted); font-size: 15px; }
.how__media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; transition: transform 0.15s ease, box-shadow 0.2s ease; }
.benefit:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit__icon { font-size: 38px; margin-bottom: 10px; }
.benefit h3 { font-size: 17px; margin-bottom: 6px; }
.benefit p { color: var(--muted); font-size: 14px; }

/* Lifestyle */
.lifestyle { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 16px; }
.lifestyle__item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 0; }
.lifestyle__item img { width: 100%; height: 100%; object-fit: cover; }
.lifestyle__item--big { grid-column: span 2; grid-row: span 2; }

/* Specs */
.spec { width: 100%; border-collapse: collapse; }
.spec td { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
.spec td:first-child { color: var(--muted); width: 42%; }
.spec td:last-child { font-weight: 700; }

/* Reviews */
.reviews__summary { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 12px; font-size: 16px; color: var(--ink-2); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.review__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.review p { color: var(--ink-2); margin-bottom: 18px; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; }
.review__author small { color: var(--green); font-size: 12.5px; font-weight: 600; }

/* Guarantee */
.guarantee { display: flex; gap: 28px; align-items: center; background: linear-gradient(135deg, #0f1117, #1d2330); color: #fff; border-radius: 24px; padding: 44px; }
.guarantee__icon { font-size: 64px; flex: 0 0 auto; }
.guarantee h2 { margin-bottom: 10px; }
.guarantee p { color: #c9cdd6; font-size: 17px; margin-bottom: 18px; }
.guarantee strong { color: #fff; }
.guarantee__badges { display: flex; flex-wrap: wrap; gap: 14px; font-weight: 600; }
.guarantee__badges span { background: rgba(255,255,255,0.08); padding: 8px 14px; border-radius: 999px; font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: none; font-family: inherit; font-size: 17px; font-weight: 700; padding: 20px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--ink); }
.faq__icon { color: var(--red); font-size: 24px; flex: 0 0 auto; transition: transform 0.2s ease; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq__a p { padding: 0 22px 20px; color: var(--ink-2); }

/* Order */
.order { padding: 72px 0; background: var(--bg-alt); }
.order__card { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.order__head { background: var(--ink); color: #fff; padding: 30px 34px; }
.order__head h2 { margin-bottom: 6px; }
.order__head p { color: #b9bec9; font-size: 15.5px; }
.form { padding: 30px 34px 34px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 16px; padding: 13px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; color: var(--ink);
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field input.invalid { border-color: var(--red); background: #fff7f6; }
.field textarea { resize: vertical; }

.order__summary { background: var(--bg-alt); border-radius: var(--radius); padding: 18px 20px; margin: 8px 0 22px; }
.order__line { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15.5px; color: var(--ink-2); }
.order__line .free { color: var(--green); font-weight: 700; }
.order__line--total { border-top: 1px dashed var(--line); margin-top: 6px; padding-top: 12px; font-size: 20px; font-weight: 900; color: var(--ink); }
.order__note { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 14px; }

/* Footer */
.footer { background: var(--ink); color: #c9cdd6; padding: 50px 0 0; }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer__brand .logo__text { color: #fff; font-size: 22px; font-weight: 800; }
.footer__brand p { margin-top: 10px; max-width: 320px; font-size: 14.5px; }
.footer__col { display: grid; gap: 8px; align-content: start; }
.footer__col strong { color: #fff; margin-bottom: 4px; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 36px; padding: 20px; text-align: center; font-size: 13.5px; }

/* Sticky mobile CTA */
.stickybar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
  padding: 10px 16px; display: none; align-items: center; gap: 14px;
}
.stickybar__price { display: flex; flex-direction: column; line-height: 1.1; }
.stickybar__old { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.stickybar__now { font-size: 22px; font-weight: 900; }
.stickybar__btn { margin-left: auto; flex: 1; max-width: 60%; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(15,17,23,0.6); }
.modal__box { position: relative; background: #fff; border-radius: 20px; padding: 40px 32px; text-align: center; max-width: 420px; width: 100%; box-shadow: var(--shadow-lg); animation: pop 0.25s ease; }
@keyframes pop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal__check { font-size: 56px; margin-bottom: 8px; }
.modal__box h3 { font-size: 24px; margin-bottom: 8px; }
.modal__box p { color: var(--ink-2); margin-bottom: 22px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .split, .how__grid { grid-template-columns: 1fr; gap: 30px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: 1fr; }
  .header__nav { display: none; }
  .trustbar__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .guarantee { flex-direction: column; text-align: center; padding: 32px 24px; }
  .guarantee__badges { justify-content: center; }
}

@media (max-width: 600px) {
  .header__cta { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .lifestyle { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .lifestyle__item--big { grid-column: span 2; grid-row: span 1; }
  .gallery__thumbs { grid-template-columns: repeat(6, 1fr); }
  .stickybar { display: flex; }
  body { padding-bottom: 76px; }
  .section { padding: 48px 0; }
  .order { padding: 48px 0; }
}
