:root {
  --accent: #6366f1;
  --accent-ink: #ffffff;
  --bg: #0a0a0f;
  --surface: rgba(255, 255, 255, 0.04);
  --text: #f8f9fa;
  --muted: #a1a1aa;
  --radius: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

.container {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 32px;
  text-align: center;
  letter-spacing: -0.02em;
}

/* Hero */
.hero {
  padding: 60px 0 80px;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.15), transparent 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(99, 102, 241, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.5;
}

.hero-image-wrap {
  margin: 0 -20px 40px;
  position: relative;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

.price-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.price-old {
  font-size: 20px;
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 500;
}

.price-new {
  font-size: 40px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.discount-badge {
  padding: 6px 12px;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  color: #fff;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
}

.price-block-large {
  justify-content: center;
  margin-bottom: 32px;
}

.price-block-large .price-new {
  font-size: 48px;
}

.timer-wrap {
  margin-bottom: 32px;
}

.timer-label {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
  text-align: center;
}

.timer {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.timer-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  min-width: 70px;
}

.timer-unit span:first-child {
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
}

.timer-unit small {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.order_form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: var(--surface);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.field {
  padding: 16px 20px;
  font-size: 16px;
  font-family: var(--font);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: var(--text);
  transition: all 0.3s ease;
}

.field:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.field::placeholder {
  color: var(--muted);
}

.btn {
  min-height: 56px;
  padding: 0 32px;
  font-size: 17px;
  font-weight: 600;
  font-family: var(--font);
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: var(--accent-ink);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn:active {
  transform: translateY(0);
}

/* Benefits */
.benefits {
  padding: 80px 0;
  background: var(--bg);
}

.benefits-grid {
  display: grid;
  gap: 20px;
}

.benefit-card {
  padding: 28px;
  background: var(--surface);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: all 0.4s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(99, 102, 241, 0.05));
  border-radius: 16px;
  color: var(--accent);
  margin-bottom: 20px;
}

.benefit-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.benefit-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* Features */
.features {
  padding: 80px 0;
  background: var(--bg);
}

.feature-row {
  margin-bottom: 60px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-content {
  margin-bottom: 32px;
}

.feature-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.feature-text {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  font-size: 15px;
  color: var(--text);
  padding-left: 28px;
  position: relative;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 18px;
}

.feature-media {
  margin: 0 -20px;
}

.feature-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
}

@media (min-width: 768px) {
  .feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .feature-content {
    margin-bottom: 0;
  }
  .feature-row-reverse {
    direction: rtl;
  }
  .feature-row-reverse > * {
    direction: ltr;
  }
  .feature-media {
    margin: 0;
  }
  .feature-image {
    border-radius: var(--radius);
  }
}

/* Gallery */
.gallery {
  padding: 80px 0;
  background: var(--bg);
}

.gallery-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 20px;
  margin: 0 -20px;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 280px;
  height: 380px;
  object-fit: cover;
  border-radius: 20px;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Specs */
.specs {
  padding: 80px 0;
  background: var(--bg);
}

.specs-grid {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
}

.spec-item {
  padding: 20px 24px;
  background: var(--surface);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.spec-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 500;
}

.spec-value {
  font-size: 15px;
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

/* Reviews */
.reviews {
  padding: 80px 0;
  background: var(--bg);
}

.reviews-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 20px;
  margin: 0 -20px;
}

.reviews-scroll::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 300px;
  padding: 28px;
  background: var(--surface);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  scroll-snap-align: start;
}

.review-author {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.review-rating {
  color: #fbbf24;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* Steps */
.steps {
  padding: 80px 0;
  background: var(--bg);
}

.steps-grid {
  display: grid;
  gap: 20px;
}

.step-card {
  padding: 28px;
  background: var(--surface);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  position: relative;
  padding-left: 80px;
}

.step-number {
  position: absolute;
  left: 24px;
  top: 24px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), #4f46e5);
  color: var(--accent-ink);
  font-size: 20px;
  font-weight: 700;
  border-radius: 12px;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* Guarantee */
.guarantee {
  padding: 80px 0;
  background: var(--bg);
}

.guarantee-content {
  padding: 40px 32px;
  background: var(--surface);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.guarantee-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.guarantee-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.guarantee-icon {
  flex-shrink: 0;
  color: var(--accent);
  width: 32px;
  height: 32px;
}

.guarantee-item h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.guarantee-item p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

/* Final Offer */
.final-offer {
  padding: 80px 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1), transparent 70%);
}

.final-text {
  font-size: 17px;
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.5;
}

/* Footer */
.footer {
  padding: 60px 0 40px;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-brand {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-link {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent);
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  .footer-col {
    flex: 1;
  }
}

/* Desktop adjustments */
@media (min-width: 768px) {
  .hero {
    padding: 100px 0 120px;
  }
  .hero-title {
    font-size: 64px;
  }
  .hero-subtitle {
    font-size: 20px;
  }
  .section-title {
    font-size: 48px;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .container {
    max-width: 1200px;
    padding: 0 40px;
  }
  .hero .container,
  .final-offer .container {
    max-width: 640px;
  }
  .benefits,
  .features,
  .gallery,
  .specs,
  .reviews,
  .steps,
  .guarantee {
    padding: 120px 0;
  }
  .gallery-item {
    flex: 0 0 360px;
    height: 480px;
  }
  .review-card {
    flex: 0 0 380px;
  }
}
/* Лента отзывов: не выходит за край экрана, первая карточка видна целиком (исправление 10.10). */
.reviews-scroll {
  margin: 0;
  padding: 4px 20px;
  scroll-padding-inline: 20px;
}
@media (min-width: 1000px) {
  .reviews-scroll {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    max-width: 1240px;
    margin: 0 auto;
  }
}

/* Галерея: фото шириной карточки, а не снимка; лента не выходит за край экрана (исправление 10.10). */
.gallery-scroll {
  margin: 0;
  padding: 4px 20px;
  scroll-padding-inline: 20px;
}
.gallery-item {
  min-width: 0;
}
