:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-accent: #f97316;
  --color-bg: #f8fafc;
  --color-text: #1e293b;
  --color-text-light: #64748b;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
}

main {
  flex: 1;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul {
  list-style: none;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 600;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

.section {
  padding: 64px 0;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 40px;
  text-align: center;
  font-weight: 800;
  color: var(--color-text);
}

.header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-text);
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.nav__list {
  display: flex;
  gap: 32px;
}

.nav__list a {
  font-weight: 600;
  color: var(--color-text-light);
  transition: color var(--transition);
}

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

.header__notice {
  font-size: 0.8rem;
  color: var(--color-text-light);
  max-width: 220px;
  text-align: right;
  line-height: 1.3;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  background: var(--color-text);
  border-radius: 3px;
  transition: all var(--transition);
}

.hero {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: var(--color-white);
  padding: 80px 0;
}

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

.hero__content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 1.2rem;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero__bullets {
  margin-bottom: 32px;
}

.hero__bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
}

.hero__bullets i {
  color: var(--color-accent);
  font-size: 1.2rem;
}

.hero__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

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

.feature-card {
  background: var(--color-white);
  padding: 32px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

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

.feature-card h3 {
  font-family: var(--font-heading);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.steps {
  display: flex;
  gap: 24px;
  justify-content: center;
}

.step {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius);
  flex: 1;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.step__number {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}

.step h3 {
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.specs-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.specs__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.specs__list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
}

.specs__list li span {
  color: var(--color-text-light);
}

.gallery__main {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.gallery__thumb {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  transition: border var(--transition);
}

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

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

.review-card {
  background: var(--color-white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.review-card__stars {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.review-card p {
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.7;
}

.review-card__author {
  font-weight: 600;
  color: var(--color-text-light);
}

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

.about-product__text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
  color: var(--color-text-light);
}

.about-product__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 16px;
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--color-text);
}

.faq__question i {
  transition: transform var(--transition);
}

.faq__question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__answer p {
  padding-bottom: 20px;
  color: var(--color-text-light);
}

.cta {
  background: var(--color-bg);
}

.cta__box {
  background: var(--color-white);
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.cta__price {
  font-size: 1.4rem;
  margin-bottom: 32px;
}

.cta__price strong {
  color: var(--color-primary);
}

.cta__price small {
  text-decoration: line-through;
  color: var(--color-text-light);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__row {
  display: flex;
  gap: 16px;
}

.form__row input {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  outline: none;
  transition: border var(--transition);
}

.form__row input:focus {
  border-color: var(--color-primary);
}

.form__agree {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  text-align: left;
}

.footer {
  background: #0f172a;
  color: var(--color-white);
  margin-top: auto;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  grid-column: 1 / -1;
}

.footer__legal a {
  color: #93c5fd;
  text-decoration: underline;
  font-size: 0.95rem;
}

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

.footer__brand .logo span {
  color: var(--color-white);
}

.footer__disclaimer {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.7;
}

.footer__contacts p {
  margin-bottom: 8px;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.footer__bottom {
  border-top: 1px solid #1e293b;
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
  color: #64748b;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background var(--transition);
  z-index: 999;
}

.back-to-top:hover {
  background: var(--color-primary-dark);
}

.thanks-page {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  min-height: 100vh;
}

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

.thanks-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  padding: 48px 40px;
  text-align: center;
  max-width: 520px;
  width: 100%;
}

.thanks-logo {
  width: 50px;
  height: 50px;
  margin: 0 auto 24px;
  display: block;
}

.thanks-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--color-text);
}

.thanks-text {
  font-size: 1.2rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
  line-height: 1.7;
}

.thanks-text strong {
  color: var(--color-primary);
}

.thanks-card .btn {
  margin-top: 16px;
}

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

.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 24px;
  font-family: var(--font-heading);
}

.legal-content h2 {
  font-size: 1.6rem;
  margin: 24px 0 16px;
  font-family: var(--font-heading);
}

.legal-content h3 {
  font-size: 1.3rem;
  margin: 20px 0 12px;
  font-family: var(--font-heading);
}

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

.legal-content ul,
.legal-content ol {
  margin-left: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .header__inner {
    position: relative;
  }

  .nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    display: none;
    padding: 16px 0;
  }

  .nav.open {
    display: block;
  }

  .nav__list {
    flex-direction: column;
    gap: 16px;
    padding: 0 24px;
  }

  .hamburger {
    display: flex;
    order: 3;
  }

  .header__notice {
    display: none;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__bullets {
    justify-content: center;
  }

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

  .steps {
    flex-direction: column;
  }

  .specs-gallery__grid {
    grid-template-columns: 1fr;
  }

  .about-product__grid {
    grid-template-columns: 1fr;
  }

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

  .form__row {
    flex-direction: column;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

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