/* ==========================================
   VGR V-344 — style.css
   Темний техно-стиль: подвійний неон (фіолетовий + зелений),
   скошені октагональні картки, жирна технологічна типографіка.
   ========================================== */

:root {
  --bg: #08080c;
  --bg-soft: #0c0d13;
  --surface: #121319;
  --surface-2: #181a23;
  --ink: #f4f5fb;
  --dim: #8d8fa0;
  --dim-2: #5c5e6d;
  --line: rgba(244, 245, 251, 0.1);

  --violet: #b24bff;
  --violet-soft: #d199ff;
  --violet-glow: rgba(178, 75, 255, 0.45);

  --green: #22e6a8;
  --green-soft: #86f5cf;
  --green-glow: rgba(34, 230, 168, 0.4);

  --font-display: "Chakra Petch", "Arial Narrow Bold", Impact, sans-serif;
  --font-body: "Rajdhani", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; display: block; }

::selection { color: var(--bg); background: var(--green); }

.container {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

/* ===== Фонова текстура (натяк на плату корпусу) ===== */
body {
  background-image:
    radial-gradient(680px 460px at 8% -6%, rgba(178, 75, 255, 0.16), transparent 60%),
    radial-gradient(680px 460px at 96% 8%, rgba(34, 230, 168, 0.12), transparent 60%),
    repeating-linear-gradient(115deg, rgba(244,245,251,0.018) 0 2px, transparent 2px 64px);
  background-attachment: fixed;
}

/* ===== Октагональні картки (усі 4 кути скошено) ===== */
.oct {
  --cut: 16px;
  position: relative;
  background: var(--surface);
  clip-path: polygon(
    var(--cut) 0, calc(100% - var(--cut)) 0,
    100% var(--cut), 100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%, var(--cut) 100%,
    0 calc(100% - var(--cut)), 0 var(--cut)
  );
}
.oct::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  clip-path: inherit;
  background: linear-gradient(135deg, var(--violet), var(--green));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.oct.accent-violet::before { background: linear-gradient(135deg, var(--violet), #6a2cc4); }
.oct.accent-green::before { background: linear-gradient(135deg, var(--green), #12a67d); }

.oct-glow-dual {
  filter:
    drop-shadow(0 0 14px rgba(178, 75, 255, 0.28))
    drop-shadow(0 0 22px rgba(34, 230, 168, 0.2));
}
.oct-glow-violet { filter: drop-shadow(0 0 16px var(--violet-glow)); }
.oct-glow-green { filter: drop-shadow(0 0 16px var(--green-glow)); }

/* ===== Шеврон-бейдж (2 кути скошено, для чипів/бейджів) ===== */
.chip {
  --cut: 12px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

/* ===== Іконки ===== */
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  width: 100%;
  background: rgba(8, 8, 12, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  width: min(1240px, calc(100% - 48px));
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.brand {
  width: fit-content;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.brand span { color: var(--green); }
.brand em { font-style: normal; color: var(--dim); font-size: 13px; margin-left: 6px; letter-spacing: 0.1em; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #cfd0dc;
  font-size: 14px;
  font-weight: 600;
}
.site-header nav a { transition: color 160ms ease; }
.site-header nav a:hover { color: var(--green); }

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(120deg, var(--violet), var(--green));
  color: #06070a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.03em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.header-cta span { font-size: 15px; }

/* ===== Kicker / заголовки ===== */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--green); }

h1, h2, h3, .price-new, .timer-cell b, .stat b, .cta {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}

/* ===== HERO ===== */
.hero { padding: 64px 0 84px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  margin: 20px 0 0;
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: 0.98;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--violet-soft), var(--green-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 480px;
  margin: 22px 0 0;
  color: var(--dim);
  font-size: 17px;
  line-height: 1.65;
}

.color-pick { margin: 26px 0 0; }
.color-pick > span { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.color-options { display: flex; gap: 12px; }
.color-opt {
  --cut: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.color-opt:hover { transform: translateY(-2px); }
.color-opt .dot { width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 10px currentColor; }
.color-opt[data-color="green"] .dot { background: var(--green); color: var(--green); }
.color-opt[data-color="purple"] .dot { background: var(--violet); color: var(--violet); }
.color-opt.is-active { border-color: currentColor; background: var(--surface-2); }
.color-opt[data-color="green"].is-active { color: var(--green); border-color: var(--green); }
.color-opt[data-color="purple"].is-active { color: var(--violet); border-color: var(--violet); }

.price-panel { margin-top: 30px; padding: 26px 28px; }
.price-row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.price-old { color: var(--dim-2); font-size: 18px; text-decoration: line-through; }
.price-new { font-size: 46px; color: var(--ink); }
.price-new span { font-size: 20px; margin-left: 4px; color: var(--dim); }
.price-badge {
  --cut: 8px;
  padding: 5px 12px;
  background: var(--green);
  color: #06110c;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}

.timer { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.timer > span { color: var(--dim); font-size: 13px; }
.timer-cells { display: flex; gap: 8px; }
.timer-cell {
  --cut: 8px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 6px 12px;
  text-align: center;
  min-width: 48px;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.timer-cell b { display: block; font-size: 20px; color: var(--violet-soft); }
.timer-cell span { font-size: 9px; color: var(--dim); letter-spacing: 0.08em; }

.cta {
  --cut: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin-top: 22px;
  padding: 19px 24px;
  border: 0;
  background: linear-gradient(120deg, var(--violet), var(--green));
  color: #07070a;
  font-size: 16px;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
.cta:hover { transform: translateY(-2px); filter: brightness(1.08); }
.cta:disabled { opacity: 0.7; cursor: default; transform: none; }
.cta-sm { width: auto; padding: 14px 20px; font-size: 14px; margin-top: 0; }

.price-note { margin-top: 14px; color: var(--dim); font-size: 13px; text-align: center; }

.trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 26px; }
.trust-row span { display: inline-flex; align-items: center; gap: 9px; color: var(--dim); font-size: 13px; font-weight: 600; }
.trust-row .icon { width: 18px; height: 18px; color: var(--green); }

.hero-media { position: relative; display: grid; place-items: center; }
.media-frame {
  --cut: 26px;
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 10px;
  background: var(--surface);
}
.media-frame img { width: 100%; clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 18px, 100% calc(100% - 18px), calc(100% - 18px) 100%, 18px 100%, 0 calc(100% - 18px), 0 18px); }
.media-tag {
  position: absolute;
  top: 22px;
  left: -14px;
  padding: 7px 14px;
  background: var(--bg);
  border: 1px solid var(--violet);
  color: var(--violet-soft);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.14em;
  clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%, 0 8px);
}

/* ===== SECTIONS ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin: 0 auto 50px; text-align: left; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--dim); font-size: 16px; line-height: 1.65; }

.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feature-row.reverse .feature-media { order: 2; }
.feature-media img {
  width: 100%;
  clip-path: polygon(22px 0, calc(100% - 22px) 0, 100% 22px, 100% calc(100% - 22px), calc(100% - 22px) 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
}
.feature-copy h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; margin-top: 14px; }
.feature-copy p { margin-top: 16px; color: var(--dim); font-size: 16px; line-height: 1.7; max-width: 480px; }

.stat-row { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.stat {
  --cut: 14px;
  flex: 1 1 140px;
  padding: 16px 18px;
  background: var(--surface);
}
.stat b { display: block; font-size: clamp(28px, 3.4vw, 38px); line-height: 1; }
.stat span { display: block; margin-top: 6px; color: var(--dim); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.stat.accent-violet b { color: var(--violet-soft); }
.stat.accent-green b { color: var(--green-soft); }

.point-list { margin-top: 26px; display: grid; gap: 14px; }
.point-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.point-item .icon-wrap {
  --cut: 10px;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.point-item p { margin: 0; color: var(--dim); font-size: 14.5px; line-height: 1.6; }
.point-item p b { color: var(--ink); }
.point-item .icon-wrap .icon { color: var(--dim); }
.point-item .icon-wrap.accent-green .icon { color: var(--green-soft); }
.point-item .icon-wrap.accent-violet .icon { color: var(--violet-soft); }

/* ===== ВОЛОГОЗАХИСТ — окремий акцент ===== */
.ipx-badge { display: flex; align-items: baseline; gap: 16px; margin-top: 20px; }
.ipx-badge b { font-size: clamp(52px, 7vw, 82px); color: var(--green-soft); line-height: 0.9; }
.ipx-badge span { color: var(--dim); font-size: 14px; max-width: 200px; line-height: 1.4; }

/* ===== КОМПЛЕКТАЦІЯ ===== */
.kit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 26px; }
.kit-card {
  --cut: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
}
.kit-card .icon { color: var(--violet-soft); width: 22px; height: 22px; flex-shrink: 0; }
.kit-card b { display: block; font-size: 18px; }
.kit-card span { display: block; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.05em; }

.colors-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.colors-note .dots { display: flex; gap: 8px; }
.colors-note .dots span { width: 16px; height: 16px; border-radius: 50%; }
.colors-note .dots span:first-child { background: var(--green); box-shadow: 0 0 10px var(--green); }
.colors-note .dots span:last-child { background: var(--violet); box-shadow: 0 0 10px var(--violet); }
.colors-note b { font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); }

/* ===== ХАРАКТЕРИСТИКИ ===== */
.spec-panel {
  --cut: 24px;
  padding: 8px 40px;
  background: var(--surface);
}
.spec-panel dl { margin: 0; }
.spec-panel dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.spec-panel dl div:first-child { border-top: 0; }
.spec-panel dt { color: var(--dim); font-size: 14px; }
.spec-panel dd { margin: 0; font-weight: 700; font-size: 15px; }
.spec-panel dd.accent-violet { color: var(--violet-soft); }
.spec-panel dd.accent-green { color: var(--green-soft); }

/* ===== ФОРМА ЗАМОВЛЕННЯ ===== */
.order-section {
  position: relative;
  overflow: hidden;
}
.order-grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: 70px; align-items: center; }
.order-intro h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 14px; line-height: 1.08; }
.order-intro p { margin-top: 16px; color: var(--dim); font-size: 16px; line-height: 1.65; max-width: 480px; }
.order-trust { margin-top: 30px; display: grid; gap: 12px; }
.order-trust span { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--dim); font-weight: 600; }
.order-trust .icon { color: var(--green); width: 18px; height: 18px; }

.order-form {
  --cut: 26px;
  padding: 34px;
  background: var(--surface);
}
.order-price { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.order-form label { display: block; margin-bottom: 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.order-form input,
.order-form select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  background: var(--surface-2);
  border: 1.5px solid var(--line);
  color: var(--ink);
  font-size: 15.5px;
  outline: none;
  appearance: none;
  transition: border-color 160ms ease;
}
.order-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.order-form input:focus, .order-form select:focus { border-color: var(--green); }
.order-form input.input-error { border-color: #ff5c7a; }
.order-form .form-note { margin-top: 16px; font-size: 11.5px; color: var(--dim-2); line-height: 1.6; }
.order-form .form-note a { color: var(--dim); text-decoration: underline; }

/* ===== ВІДГУКИ (плейсхолдер, прихований) ===== */

/* ===== FOOTER ===== */
.site-footer { border-top: 1px solid var(--line); padding: 46px 0 96px; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; }
.site-footer .container > a:not(.brand) { font-size: 13px; font-weight: 600; color: var(--dim); }
.site-footer .container > a:not(.brand):hover { color: var(--green); }
.site-footer .footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; }
.site-footer .footer-nav a { font-size: 13px; color: var(--dim); }
.site-footer .footer-nav a:hover { color: var(--green); }
.site-footer .footer-copy { margin: 0; font-size: 12px; color: var(--dim-2); }

/* ===== STICKY MOBILE CTA ===== */
.sticky-cta { display: none; }

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

/* ===== ІНФОРМАЦІЙНІ СТОРІНКИ ===== */
.legal-page { width: min(860px, calc(100% - 48px)); margin: 0 auto; padding: 56px 0 100px; }
.legal-page h1 { font-size: clamp(30px, 4.4vw, 42px); margin: 0 0 8px; }
.legal-page .page-kicker { color: var(--green); font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 22px; display: block; font-weight: 700; }
.legal-page h2 { font-size: 19px; margin: 30px 0 10px; color: var(--ink); text-transform: none; letter-spacing: 0; }
.legal-page p, .legal-page li { color: var(--dim); line-height: 1.75; font-size: 15px; margin: 0 0 10px; }
.legal-page ul { padding-left: 22px; }
.legal-page a { color: var(--green-soft); }

/* ===== СТОРІНКА ПОДЯКИ ===== */
.thankyou { min-height: 68vh; display: flex; align-items: center; justify-content: center; padding: 64px 24px; }
.thankyou-card { --cut: 24px; max-width: 560px; text-align: center; background: var(--surface); padding: 56px 44px; }
.thankyou-card h1 { font-size: clamp(30px, 5vw, 42px); margin: 14px 0 18px; }
.thankyou-card p { color: var(--dim); line-height: 1.7; margin: 0 0 10px; }
.thankyou-card p b { color: var(--ink); }
.thankyou-card .primary-button {
  --cut: 12px;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px;
  background: linear-gradient(120deg, var(--violet), var(--green));
  color: #07070a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin-bottom: 12px; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row .feature-media, .feature-row.reverse .feature-media { order: -1; }
  .order-grid { grid-template-columns: 1fr; gap: 40px; }
  .site-header nav { display: none; }
  .site-header .container { grid-template-columns: 1fr auto; }
}

@media (max-width: 680px) {
  .hero { padding: 40px 0 56px; }
  .section { padding: 64px 0; }
  .price-panel { padding: 22px 20px; }
  .price-new { font-size: 38px; }
  .kit-grid { grid-template-columns: 1fr; }
  .spec-panel { padding: 8px 22px; }
  .spec-panel dl div { grid-template-columns: 1fr; gap: 4px; }
  .header-cta { display: none; }
  .site-footer .container { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .site-footer .footer-copy { text-align: center; }
  .site-footer > .container > a:first-child + a { justify-self: center; }

  .sticky-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 50;
    padding: 12px 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.5);
  }
  .sticky-cta-prices { flex: 1; }
  .sticky-cta-prices .price-old { display: block; font-size: 11px; }
  .sticky-cta-prices b { display: block; font-size: 19px; color: var(--green-soft); font-family: var(--font-display); }
  .sticky-space { height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
