:root {
  --bg: #0c0a12;
  --bg-2: #14101c;
  --surface: #1c1628;
  --text: #f3e8ff;
  --muted: #b8a4c9;
  --accent: #d946ef;
  --accent-dark: #a21caf;
  --gold: #ffd166;
  --radius: 16px;
  --shadow: 0 8px 40px rgba(0, 0, 0, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }
.center { text-align: center; margin-top: 32px; }
.accent { color: var(--accent); }

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); text-align: center; margin-bottom: 16px; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

.section { padding: 72px 0; }
.section--dark { background: var(--bg-2); }
.section__sub { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 40px; }

/* Promo bar */
.promo-bar {
  background: linear-gradient(90deg, #4a1d6b, #9d174d);
  text-align: center;
  padding: 10px 16px;
  font-size: .95rem;
  position: sticky;
  top: 0;
  z-index: 50;
}
.promo-bar strong { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #1a0820;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 6px 24px rgba(217, 70, 239, .35);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(217, 70, 239, .5); }
.btn--big { font-size: 1.2rem; padding: 18px 44px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 36px 0 40px; }
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 75% 40%, rgba(217, 70, 239, .16), transparent),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(217, 70, 239, .07), transparent);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero__badge {
  display: inline-block;
  background: rgba(255, 209, 102, .12);
  color: var(--gold);
  border: 1px solid rgba(255, 209, 102, .4);
  padding: 4px 14px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero__sub { color: var(--muted); margin: 20px 0; font-size: 1.1rem; }
.hero__points { list-style: none; margin-bottom: 28px; }
.hero__points li { padding-left: 28px; position: relative; margin-bottom: 8px; }
.hero__points li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.hero__img {
  position: relative;
  display: grid;
  grid-template-rows: 1fr;
  gap: 12px;
  height: min(72vh, 620px);
  max-height: min(72vh, 620px);
  min-height: 0;
}
.hero__media {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: #000;
}
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 20px; }
.price__old { color: var(--muted); text-decoration: line-through; font-size: 1.3rem; }
.price__new { font-size: 2.6rem; font-weight: 800; color: var(--accent); }
.price__discount {
  background: #e8443a; color: #fff;
  padding: 3px 10px; border-radius: 8px;
  font-weight: 700; font-size: 1rem;
}
.hero__stock { margin-top: 14px; color: var(--muted); font-size: .92rem; }
.hero__stock strong { color: var(--gold); }

/* Move section */
.move__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; align-items: stretch; }
.move__grid figure {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.move__grid img {
  width: 100%;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  flex: 0 0 auto;
}
.move__grid figcaption { padding: 14px 18px; color: var(--muted); font-size: .95rem; margin-top: auto; }

/* Features */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.feature {
  background: var(--surface);
  border: 1px solid rgba(217, 70, 239, .14);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.feature__icon { font-size: 2rem; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* Audience */
.audience__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 26px;
  border-top: 3px solid var(--accent);
}
.card p { color: var(--muted); }

/* Colors */
.colors__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.color-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s;
  min-width: 0;
}
.color-card:hover { transform: translateY(-4px); }
.color-card img {
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}
.color-card figcaption { text-align: center; padding: 12px; font-weight: 600; }

/* Reviews */
.reviews__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.review { background: var(--surface); border-radius: var(--radius); padding: 26px; }
.review__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review__avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #1a0820; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.stars { color: var(--gold); letter-spacing: 2px; font-size: .9rem; }
.review p { color: var(--muted); font-size: .97rem; }

/* Steps */
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.step { text-align: center; padding: 0 12px; }
.step__num {
  width: 56px; height: 56px; margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(217, 70, 239, .12);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step p { color: var(--muted); font-size: .95rem; }

/* FAQ */
.faq details {
  background: var(--surface);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::after { content: '+'; position: absolute; right: 22px; color: var(--accent); font-size: 1.3rem; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 22px 18px; color: var(--muted); }
.faq details a { color: var(--accent); }

/* Order form */
.order__form { margin-top: 32px; }
.order__colors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.order__colors label { cursor: pointer; }
.order__colors input { position: absolute; opacity: 0; }
.order__colors span {
  display: block;
  background: var(--surface);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  transition: border-color .15s;
}
.order__colors img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
  aspect-ratio: 1;
  object-fit: cover;
}
.order__colors input:checked + span { border-color: var(--accent); background: rgba(217, 70, 239, .1); }

.order__fields { display: grid; gap: 14px; margin-bottom: 24px; }
.order__fields input[type="text"],
.order__fields input[type="tel"],
.order__fields input[type="email"] {
  background: var(--surface);
  border: 1px solid rgba(184, 164, 201, .25);
  border-radius: 12px;
  padding: 15px 18px;
  color: var(--text);
  font-size: 1rem;
}
.order__fields input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.order__fields input.invalid { border-color: #e8443a; }

.qty { display: flex; align-items: center; gap: 12px; }
.qty span { color: var(--muted); }
.qty__btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(184, 164, 201, .25);
  background: var(--surface);
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}
.qty input {
  width: 56px; text-align: center;
  background: transparent; border: none;
  color: var(--text); font-size: 1.15rem; font-weight: 700;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.order__total { font-size: 1.3rem; margin-bottom: 20px; }
.order__total strong { color: var(--accent); font-size: 1.6rem; }
.order__total-old { color: var(--muted); text-decoration: line-through; margin-left: 10px; }
.order__submit { width: 100%; }
.order__submit:disabled { opacity: .6; cursor: wait; transform: none; }
.order__note { margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: center; }
.order__note a { color: var(--muted); }
.order__error { margin-top: 14px; color: #ff7b72; text-align: center; font-weight: 600; }

/* Modal */
.modal[hidden] { display: none !important; }
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  background: var(--bg-2);
  border: 1px solid rgba(217, 70, 239, .22);
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: var(--shadow);
}
.modal__close {
  position: absolute; top: 12px; right: 14px;
  background: transparent; border: none;
  color: var(--muted); font-size: 1.8rem; cursor: pointer; line-height: 1;
}
.modal__dialog h2 { text-align: left; margin-bottom: 8px; font-size: 1.45rem; }
.modal__hint { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.modal__color-label {
  font-weight: 600;
  margin: 0 0 10px;
  font-size: .95rem;
}
.modal__colors { margin-bottom: 18px; }
.modal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.modal__grid input {
  background: var(--surface);
  border: 1px solid rgba(184, 164, 201, .25);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--text);
  font-size: 1rem;
  width: 100%;
}
.modal__grid input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.modal__grid input.invalid { border-color: #e8443a; }
.modal__full { grid-column: 1 / -1; }
.modal__summary { color: var(--text); font-weight: 600; margin-bottom: 14px; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.5;
  cursor: pointer;
}
.consent input {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}
.consent a { color: var(--accent); }
.consent.invalid { color: #e8443a; }
.footer__legal { margin-top: 8px; font-size: .82rem; color: var(--muted); }
.modal__address {
  background: var(--surface);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.6;
  font-size: .95rem;
}
@media (max-width: 560px) {
  .modal__grid { grid-template-columns: 1fr; }
}

/* Footer */
.ugc__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 32px;
}
.ugc__grid figure {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ugc__grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.footer { background: #08060c; padding: 40px 0; font-size: .92rem; }
.footer__inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer p { color: var(--muted); }
.footer a { color: var(--accent); text-decoration: none; }

/* Sticky CTA (mobile) */
.sticky-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
}

@media (max-width: 900px) {
  .section { padding: 48px 0; }
  .hero { padding: 12px 0 20px; }
  .hero__inner { grid-template-columns: 1fr; gap: 14px; }
  .hero__img {
    order: -1;
    height: auto;
    max-height: none;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
  }
  .hero__media {
    aspect-ratio: 1 / 1;
    width: min(72%, 300px);
    max-height: 36vh;
    justify-self: center;
  }
  .hero__badge,
  .hero__stock,
  .hero__point--desk { display: none; }
  .hero__text h1 { font-size: clamp(1.45rem, 6vw, 1.85rem); margin-bottom: 0; }
  .hero__sub { font-size: .92rem; margin: 8px 0 10px; line-height: 1.4; }
  .hero__points { margin-bottom: 12px; }
  .hero__points li { margin-bottom: 3px; font-size: .9rem; }
  .price { margin-bottom: 10px; gap: 8px 12px; }
  .price__old { font-size: 1.05rem; }
  .price__new { font-size: 1.75rem; }
  .btn--big { width: 100%; padding: 14px 24px; font-size: 1.05rem; }
  .move__grid { grid-template-columns: 1fr; }
  .move__grid img { aspect-ratio: 4 / 3; }
  .move__grid,
  .features__grid,
  .audience__grid,
  .steps__grid,
  .reviews__grid { grid-template-columns: 1fr; }
  .ugc__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .colors__grid { grid-template-columns: 1fr; gap: 16px; }
  .order__colors { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .promo-bar { font-size: .82rem; padding: 8px 12px; line-height: 1.4; }
  .section { padding: 40px 0; }
  .section__sub { margin-bottom: 28px; }
  .hero__media {
    width: min(68%, 280px);
    max-height: 34vh;
  }
  .features__grid,
  .audience__grid { gap: 14px; }
  .feature,
  .card { padding: 22px 18px; }
  .order__colors span { padding: 8px 6px; font-size: .78rem; }
  .legal table { display: block; overflow-x: auto; }
  .legal td { word-break: break-word; }
}
