@font-face {
  font-family: "Montserrat";
  src: url(../fonts/Montserrat-VariableFont_wght.ttf);
  font-display: swap;
}
:root {
  --primary: #f9974c;
  --primary-light: #fee9da;
  --dark: #1e1e1e;
  --gray: #4a4a4a;
  --light: #f8f9fa;
  --white: #ffffff;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 600;
  border-radius: 60px;
  transition: all 0.2s;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(249, 151, 76, 0.3);
}

.btn--primary:hover {
  background: #e8832e;
  transform: translateY(-2px);
}

.btn--large {
  padding: 18px 36px;
  font-size: 1.2rem;
  width: 100%;
  justify-content: center;
}

.header {
  padding: 16px 0;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
}

.logo span {
  font-weight: 700;
  font-size: 1.5rem;
  font-family: var(--font-heading);
}

.nav__list {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav__list a {
  font-weight: 500;
  font-size: 1rem;
}

.nav__list a:hover {
  color: var(--primary);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

.header__notice {
  font-size: 0.8rem;
  color: var(--gray);
  padding: 6px 12px;
  background: var(--light);
  border-radius: 30px;
  white-space: nowrap;
}

.hero {
  padding: 40px 0 60px;
  background: linear-gradient(145deg, #fff5ed 0%, #ffffff 100%);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero__title {
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.hero__price {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.price--old {
  font-size: 1.4rem;
  text-decoration: line-through;
  color: #999;
}

.price--new {
  font-size: 2.8rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--dark);
}

.price__badge {
  background: var(--primary);
  color: white;
  padding: 6px 14px;
  border-radius: 40px;
  font-weight: 700;
}

.hero__perks {
  display: flex;
  gap: 24px;
  margin-top: 30px;
  list-style: none;
  flex-wrap: wrap;
}

.hero__perks li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-weight: 500;
}

.hero__perks i {
  color: var(--primary);
}

.hero__media img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: #fff;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.intro {
  padding: 40px 0;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.intro__image img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.intro__text h2 {
  margin-bottom: 20px;
}

.intro__text p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 24px;
}

.intro__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.intro__stats div {
  font-weight: 500;
}

.intro__stats span {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-heading);
}

.how-it-works {
  padding: 40px 0;
  background: var(--light);
  border-radius: 40px 40px 0 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.step {
  text-align: center;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.step__icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.step h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.how-it-works__media {
  margin-top: 30px;
  text-align: center;
}

.how-it-works__media img {
  max-height: 300px;
  object-fit: contain;
  margin: 0 auto;
}

.features {
  padding: 60px 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.feature-card {
  background: var(--white);
  padding: 28px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s;
  border: 1px solid rgba(0,0,0,0.02);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.gallery {
  background: var(--light);
  padding: 30px;
  border-radius: 32px;
}

.gallery__main {
  text-align: center;
  margin-bottom: 20px;
}

.gallery__main img {
  max-height: 350px;
  width: auto;
  margin: 0 auto;
  background: white;
  padding: 12px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.gallery__thumbs {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery__thumbs img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 16px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border 0.2s;
  background: white;
}

.gallery__thumbs img.active {
  border-color: var(--primary);
}

.reviews {
  padding: 60px 0;
  background: linear-gradient(0deg, var(--primary-light) 0%, var(--white) 80%);
  border-radius: 40px;
  margin: 20px 0;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.review {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 18px;
  border: 3px solid var(--primary-light);
}

.review__text {
  font-style: italic;
  color: var(--dark);
  margin-bottom: 18px;
  font-size: 1rem;
}

.review__author {
  font-weight: 600;
  margin-bottom: 8px;
}

.review__stars {
  color: #f5a623;
}

.comparison {
  padding: 60px 0;
}

.comparison__table {
  max-width: 900px;
  margin: 30px auto 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}

.comp-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  padding: 18px 24px;
  border-bottom: 1px solid #eee;
}

.comp-row--header {
  background: var(--primary);
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.comp-row:last-child {
  border-bottom: none;
}

.order {
  padding: 60px 0;
  background: var(--primary-light);
  border-radius: 40px;
  margin: 40px 0;
}

.order__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.order__info h2 {
  margin-bottom: 16px;
}

.order__benefits {
  list-style: none;
  margin: 24px 0;
}

.order__benefits li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.order__benefits i {
  color: var(--primary);
  font-size: 1.2rem;
}

.order__image {
  max-width: 200px;
  margin-top: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.order__form {
  background: var(--white);
  padding: 36px;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #ddd;
  border-radius: 40px;
  font-size: 1rem;
  transition: border 0.2s;
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group--checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-group--checkbox input {
  width: 20px;
  height: 20px;
}

.form-group--checkbox label {
  margin: 0;
}

.form__secure {
  text-align: center;
  margin-top: 20px;
  color: var(--gray);
  font-size: 0.9rem;
}

.faq {
  padding: 60px 0;
}

.faq__grid {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.faq-item {
  background: var(--white);
  border-radius: 60px;
  padding: 6px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #efefef;
}

.faq-item summary {
  padding: 20px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  transition: transform 0.2s;
  color: var(--primary);
}

.faq-item[open] summary::after {
  transform: rotate(180deg);
}

.faq-item p {
  padding: 0 0 20px;
  color: var(--gray);
}

.final-cta {
  padding: 70px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, #fb8b3c 100%);
  color: white;
  border-radius: 40px;
  margin-bottom: 40px;
}

.final-cta h2 {
  color: white;
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 32px;
  opacity: 0.9;
}

.final-cta .btn {
  background: white;
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.footer {
  background: var(--dark);
  color: #ccc;
  padding: 48px 0 24px;
  margin-top: auto;
  border-radius: 32px 32px 0 0;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo img {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: white;
}

.footer__logo span {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
}

.footer__contacts {
  font-size: 0.95rem;
  text-align: right;
}

.footer__contacts p {
  margin-bottom: 6px;
}

.footer__legal-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #444;
}

.footer__legal-links a {
  color: #ccc;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__legal-links a:hover {
  color: var(--primary);
}

.footer__disclaimer {
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 28px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.footer__bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.legal-content h1 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.legal-content h2 {
  font-size: 1.8rem;
  margin: 1.8rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.4rem;
  margin: 1.5rem 0 0.8rem;
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.2rem;
}

.legal-content ul, .legal-content ol {
  margin: 1rem 0 1rem 1.5rem;
  line-height: 1.6;
}

.legal-content a {
  color: var(--primary);
  text-decoration: underline;
}

.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}

.thanks-container {
  max-width: 700px;
  text-align: center;
  background: var(--white);
  padding: 48px 40px;
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.thanks-logo {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  border-radius: 18px;
  background: var(--primary-light);
  padding: 10px;
}

.thanks-title {
  margin-bottom: 24px;
  font-size: 2.2rem;
}

.thanks-text {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.6;
}

#userName, #userEmail {
  font-weight: 700;
  color: var(--primary);
}

@media (max-width: 900px) {
  .hero__grid,
  .intro__grid,
  .order__grid {
    grid-template-columns: 1fr;
  }

  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .nav__list {
    display: none;
    position: absolute;
    top: 80px;
    left: 24px;
    right: 24px;
    background: white;
    flex-direction: column;
    padding: 24px;
    border-radius: 24px;
    box-shadow: var(--shadow);
  }

  .nav__list.active {
    display: flex;
  }

  .nav__toggle {
    display: block;
  }

  .header__notice {
    display: none;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .comp-row {
    grid-template-columns: 1fr 1fr 1fr;
    font-size: 0.9rem;
    padding: 12px 12px;
  }
}

@media (max-width: 600px) {
  .features__grid {
    grid-template-columns: 1fr;
  }

  .hero__perks {
    flex-direction: column;
    gap: 12px;
  }

  .footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__contacts {
    text-align: left;
  }

  .footer__legal-links {
    gap: 16px;
    justify-content: flex-start;
  }
}