:root {
  --primary: #d90429;      /* Яскравий червоний */
  --primary-dark: #ef233c; /* Світліший червоний для ховера */
  --dark: #11151c;         /* Майже чорний */
  --gray: #2b2d42;         /* Темно-сірий */
  --light: #edf2f4;        /* Світлий фон */
  --text: #2b2d42;
  --white: #ffffff;
  --radius: 12px;
  --container: 1140px;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: var(--text);
  background-color: var(--light);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, .logo {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700;
  margin: 0;
}

/* UTILS */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}
.text-center { text-align: center; }
.section { padding: 50px 0; }
.section--dark { background: var(--dark); color: var(--white); }
.section--gray { background: #e0e4e8; }
.section__title {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.highlight { color: var(--primary); white-space: nowrap; }

/* HEADER */
.header {
  background: var(--dark);
  color: var(--white);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo { font-size: 24px; font-weight: 900; font-style: italic; }
.logo span { color: var(--primary); }
.header__info { font-size: 14px; font-weight: 500; }

/* HERO */
.hero {
  padding: 20px 0 40px;
  background: #fff;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
/* Desktop Layout */
@media (min-width: 768px) {
  .hero { padding: 60px 0; }
  .hero__grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }
}

/* Slider */
.hero__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3; /* Фіксує пропорції фото */
  background: #f1f1f1;
}
.slider__track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  height: 100%;
}
.slider__track img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Фото заповнює блок без спотворень */
  flex-shrink: 0;
}
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
}
.prev { left: 0; }
.next { right: 0; }
.slider__dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.dot {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
}
.dot.active { background: var(--primary); transform: scale(1.2); }
.hero__tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  box-shadow: 0 4px 10px rgba(217, 4, 41, 0.4);
}

/* Hero Content */
.hero__title {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 10px;
}
.hero__sub {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .hero__title { font-size: 38px; }
  .hero__sub { font-size: 18px; }
}

/* Price Box */
.price-box {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  padding: 15px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  text-align: center;
}
.price-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}
.price-old {
  text-decoration: line-through;
  color: #888;
  font-size: 18px;
}
.price-discount {
  background: var(--dark);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}
.price-new {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.price-deadline {
  font-size: 13px;
  color: var(--primary);
  margin-top: 5px;
  font-weight: 500;
}

/* Buttons */
.btn {
  display: block;
  width: 100%;
  padding: 18px;
  background: linear-gradient(45deg, var(--primary), #ef233c);
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
  font-size: 18px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(217, 4, 41, 0.4);
  transition: transform 0.2s;
  text-transform: uppercase;
}
.btn:active { transform: scale(0.98); }
.btn--pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(217, 4, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0); }
}

.hero__features {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.hero__features li {
  font-size: 14px;
  font-weight: 500;
  background: #f1f3f5;
  padding: 5px 10px;
  border-radius: 4px;
}

/* CARDS (Pain/Gain) */
.compare-grid {
  display: grid;
  gap: 15px;
}
@media(min-width: 768px) { .compare-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}
.card--danger { border-left: 4px solid #ef233c; }
.card--success { border-left: 4px solid #2a9d8f; background: rgba(42, 157, 143, 0.1); }
.card__icon { font-size: 30px; margin-bottom: 10px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14px; color: #ccc; }
.card--success p { color: #eee; }

/* FEATURES LIST */
.features-list {
  display: grid;
  gap: 20px;
}
@media(min-width: 600px) { .features-list { grid-template-columns: 1fr 1fr; } }

.feature-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #fff;
  padding: 15px;
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.f-icon { font-size: 32px; flex-shrink: 0; }
.f-info h4 { margin-bottom: 5px; color: var(--dark); }
.f-info p { margin: 0; font-size: 14px; color: #666; }

/* STEPS */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media(min-width: 600px) { .steps { flex-direction: row; } }

.step {
  flex: 1;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  text-align: center;
  position: relative;
}
.step__num {
  width: 40px; height: 40px;
  background: var(--dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: 0 auto 10px;
  font-family: 'Exo 2', sans-serif;
}

/* REVIEWS */
.reviews-grid {
  display: grid;
  gap: 15px;
}
@media(min-width: 600px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
.review-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid #eee;
}
.review-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.review-text { font-style: italic; color: #555; font-size: 14px; }

/* FORM SECTION */
.form-wrapper {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius);
  padding: 25px;
  color: var(--text);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.form-head { text-align: center; margin-bottom: 20px; }
.form-title { font-size: 24px; color: var(--dark); }
.form-head p { font-size: 14px; color: #666; }

.form-product {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.form-product img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; }
.fp-old { text-decoration: line-through; color: #999; font-size: 14px; }
.fp-new { color: var(--primary); font-weight: 900; font-size: 20px; }

.input-group { margin-bottom: 15px; }
.input-group label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; }
.input-group input, select {
  width: 100%;
  padding: 14px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box; /* Важливо для відступів */
  transition: border 0.2s;
}
.input-group input:focus { border-color: var(--primary); outline: none; }

.form-footer {
  font-size: 12px;
  text-align: center;
  color: #888;
  margin-top: 15px;
}
.antispam {
    position: absolute; 
    left: -9999px; 
    opacity: 0;
}

/* FOOTER */
.footer {
  background: #000;
  color: #888;
  text-align: center;
  padding: 30px 0;
}