* {
  box-sizing: border-box;
}

:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --dark: #0b1220;
  --primary: #ef4444;
  --primary-hover: #dc2626;
  --accent: #22c55e;
  --line: rgba(15, 23, 42, 0.08);
  --shadow: 0 10px 30px rgba(2, 6, 23, 0.12);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.section--dark {
  background: var(--dark);
  color: #fff;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(11, 18, 32, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
}

.topbar__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.topbar__badges span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch {
  display: flex;
  gap: 8px;
}

.lang-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.25s;
}

.lang-btn.is-active,
.lang-btn:hover {
  background: #fff;
  color: #111827;
}

/* HERO */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 30%),
    linear-gradient(135deg, #0b1220 0%, #111827 45%, #0f172a 100%);
  color: #fff;
  padding: 56px 0 70px;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pill--accent {
  background: rgba(239, 68, 68, 0.16);
  color: #fecaca;
  border-color: rgba(239, 68, 68, 0.3);
}

.hero h1 {
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.02;
  margin: 0 0 16px;
  max-width: 12ch;
}

.hero__subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 24px;
  max-width: 60ch;
}

.price-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  padding: 18px 20px;
  margin-bottom: 24px;
}

.price-card__label,
.price-card__timer span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

.price-card__prices {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.old-price {
  color: #94a3b8;
  text-decoration: line-through;
  font-weight: 700;
}

.new-price {
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
}

.price-card__timer strong {
  display: block;
  margin-top: 4px;
  font-size: 28px;
  letter-spacing: 1px;
  color: #86efac;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.28);
}

.btn--primary:hover {
  background: var(--primary-hover);
}

.btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.btn--full {
  width: 100%;
}

.micro-proof {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.micro-proof__item {
  padding: 8px 0;
}

.hero__visual img {
  width: 100%;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  animation: floatY 3.8s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* HEADINGS */
.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #e2fbe9;
  color: #166534;
  font-weight: 800;
  font-size: 13px;
}

.section-kicker--light {
  background: rgba(255, 255, 255, 0.08);
  color: #d1fae5;
}

.section-head h2,
.split h2 {
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.08;
  margin: 0;
}

/* CARDS */
.benefits__grid,
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card,
.review,
.offer__box,
.order-form,
.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.card {
  padding: 24px;
}

.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #eef2ff;
  color: #312e81;
  font-weight: 900;
  margin-bottom: 14px;
}

.card h3,
.review strong {
  margin: 0 0 8px;
}

.card p,
.review p,
.offer p,
.order-points,
.form-note,
.faq-list p {
  color: var(--muted);
}

/* GALLERY */
.gallery__lead {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  background: #fff;
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.gallery__lead img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.thumb {
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: var(--shadow);
}

.thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.thumb.is-active {
  border-color: var(--accent);
}

/* SPLIT */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.split--reverse {
  grid-template-columns: 1fr 1fr;
}

.bullet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.bullet {
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  font-weight: 600;
}

.fit-image img,
.specs__visual img {
  border-radius: 28px;
  box-shadow: var(--shadow);
}

/* USE CASES */
.use-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.use-item {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  font-weight: 800;
  text-align: center;
}

/* SPECS */
.spec-list {
  margin-top: 22px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

/* REVIEWS */
.review {
  padding: 24px;
}

.review__stars {
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

/* OFFER */
.offer__box {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.offer__pricing {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ORDER FORM */
.order-points {
  padding-left: 18px;
}

.order-form {
  padding: 24px;
}

.order-form label {
  display: block;
  margin-bottom: 14px;
}

.order-form span {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.order-form input {
  width: 100%;
  height: 54px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  background: #fff;
  padding: 0 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.order-form input:focus {
  outline: none;
  border-color: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.form-note {
  font-size: 13px;
  margin-top: 12px;
}

.form-status {
  margin-top: 14px;
  font-weight: 700;
  min-height: 24px;
}

.form-status.success {
  color: #166534;
}

.form-status.error {
  color: #b91c1c;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-bottom: 0;
}

/* STICKY CTA */
.sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: none;
  min-height: 58px;
  border-radius: 18px;
  background: var(--primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(239, 68, 68, 0.35);
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 90px;
  z-index: 110;
  padding: 14px 16px;
  background: #052e16;
  color: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 0.28s;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* TABLET */
@media (max-width: 1024px) {
  .hero__content,
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .benefits__grid,
  .reviews__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .use-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    padding-bottom: 110px;
  }

  .container {
    width: min(100% - 20px, 100%);
  }

  .topbar {
    position: relative;
    top: auto;
  }

  .topbar__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 10px 0 14px;
  }

  .topbar__badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .topbar__badges span {
    font-size: 12px;
    line-height: 1.2;
    padding: 10px 12px;
    text-align: center;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .topbar__badges span:first-child {
    grid-column: 1 / -1;
  }

  .lang-switch {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
  }

  .lang-btn {
    min-width: 72px;
    height: 48px;
    font-size: 16px;
    border-radius: 14px;
  }

  .hero {
    padding: 24px 0 40px;
  }

  .hero__content {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero__copy {
    order: 1;
  }

  .hero__visual {
    order: 2;
  }

  .hero h1 {
    font-size: 36px;
    line-height: 0.98;
    max-width: 100%;
    margin-bottom: 14px;
    word-break: break-word;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 18px;
  }

  .hero__meta {
    gap: 8px;
    margin-bottom: 14px;
  }

  .pill {
    font-size: 12px;
    padding: 7px 11px;
  }

  .price-card {
    padding: 16px;
    border-radius: 18px;
    gap: 12px;
  }

  .new-price {
    font-size: 32px;
  }

  .price-card__timer strong {
    font-size: 22px;
  }

  .hero__cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .btn {
    min-height: 54px;
    border-radius: 14px;
    font-size: 16px;
  }

  .micro-proof {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    font-size: 14px;
  }

  .hero__visual img {
    border-radius: 20px;
  }

  .section {
    padding: 50px 0;
  }

  .section-head {
    margin-bottom: 22px;
  }

  .section-head h2,
  .split h2 {
    font-size: 34px;
    line-height: 1.02;
  }

  .benefits__grid,
  .reviews__grid,
  .use-grid,
  .bullet-grid,
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .gallery__lead img {
    aspect-ratio: auto;
    max-height: 420px;
    object-fit: cover;
  }

  .gallery__thumbs {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .thumb {
    border-radius: 14px;
  }

  .thumb img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .offer__box {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .order-form {
    padding: 18px;
    border-radius: 18px;
  }

  .order-form input {
    height: 52px;
  }

  .faq-list details {
    padding: 16px;
    border-radius: 18px;
  }

  .sticky-cta {
    display: flex;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    min-height: 58px;
    border-radius: 18px;
    font-size: 16px;
    text-align: center;
    padding: 0 18px;
  }

  .toast {
    right: 12px;
    left: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom));
  }
}