:root {
  --bg: #f7f7f8;
  --text: #1b1b1d;
  --muted: #6f6f74;
  --card: #ffffff;
  --accent: #1db954;
  --accent-dark: #149343;
  --border: #e5e5ea;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 14px;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 72px 0;
  text-align: center;
}

.section-muted {
  background: #f1f2f4;
}

h1, h2, h3, p {
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 20px;
}

.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.menu {
  display: flex;
  gap: 18px;
}

.menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}

.badge {
  display: inline-block;
  background: #e8ffef;
  color: #0f7f34;
  border: 1px solid #d2f7df;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.86rem;
}

.hero {
  padding: 70px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}

.subtitle {
  color: var(--muted);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  border: 0;
  background: var(--accent);
  color: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--accent-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: #ebebee;
}

.btn-small {
  padding: 8px 14px;
  font-size: 0.9rem;
}

.btn-full {
  width: 100%;
}

.section-text {
  color: var(--muted);
  margin-bottom: 24px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.product-card p {
  color: var(--muted);
}

.price {
  font-weight: 700;
  color: var(--text) !important;
}

.old {
  color: #999;
  text-decoration: line-through;
  margin-right: 6px;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
}

.feature-grid article {
  background: #fff;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.emoji {
  font-size: 1.4rem;
}

.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

select, input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

.filters select {
  width: auto;
  min-width: 180px;
}

.story-grid,
.size-grid,
.offer-grid,
.delivery-grid,
.about-grid,
.footer-grid {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-columns: repeat(2, 1fr);
}

.story-list {
  padding-left: 20px;
  color: var(--muted);
  text-align: left;
}

.video-placeholder {
  margin-top: 12px;
  border: 2px dashed #cfcfd6;
  border-radius: 14px;
  padding: 36px 14px;
  text-align: center;
  color: var(--muted);
  background: #fff;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  border-bottom: 1px solid var(--border);
  padding: 10px 12px;
  text-align: center;
}

.size-note {
  color: #0f7f34;
  font-weight: 600;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.review {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.review span {
  color: var(--muted);
  font-size: 0.95rem;
}

.offer {
  background: linear-gradient(120deg, #0d1116, #1a2430);
  color: #fff;
}

.timer {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.lead-form {
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #d7d7dd;
  text-align: left;
}

.lead-form label {
  display: block;
  margin: 10px 0 8px;
  font-weight: 600;
}

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

.form-message {
  min-height: 20px;
  margin-top: 8px;
  font-weight: 600;
}

.payment-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.footer {
  background: #121418;
  color: #dde0e7;
  padding: 42px 0;
}

.footer a {
  color: #dde0e7;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 14px;
}

.modal-content {
  position: relative;
  width: min(460px, 100%);
  background: #fff;
  border-radius: 14px;
  padding: 20px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
}

.modal.show {
  display: flex;
}

@media (max-width: 980px) {
  .menu {
    display: none;
  }

  .hero-grid,
  .story-grid,
  .size-grid,
  .offer-grid,
  .delivery-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .review-grid,
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 54px 0;
  }

  .card-grid,
  .review-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .hero-benefits {
    flex-direction: column;
    gap: 6px;
  }
}
