@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

img {
  max-width: 100%;
}

:root {
  --primary: #6B9BD1;
  --secondary: #88C9C3;
  --accent: #2C3E50;
  --bg: #F7F9FC;
  --text: #2C3E50;
  --light: #FFFFFF;
  --gray: #95A5A6;
  --shadow: 0 4px 20px rgba(107, 155, 209, 0.1);
  --shadow-lg: 0 10px 40px rgba(107, 155, 209, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: clip;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  background: var(--light);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.logo img {
  border-radius: 8px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
  white-space: nowrap;
}

.badge {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--light);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

main {
  flex: 1 0 auto;
}

section {
  padding: 60px 0;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--accent);
  margin-bottom: 20px;
  line-height: 1.3;
}

h1 {
  font-size: clamp(1.75rem, 5vw, 2.8rem);
  font-weight: 700;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
}

h3 {
  font-size: 1.4rem;
  font-weight: 600;
}

.section-label {
  display: block;
  text-align: center;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--light);
  box-shadow: 0 4px 15px rgba(107, 155, 209, 0.3);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 155, 209, 0.4);
}

.hero {
  background: linear-gradient(135deg, #E8F4F8 0%, #F7F9FC 100%);
  padding: 80px 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  background: rgba(107, 155, 209, 0.1);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.about-product {
  background: var(--light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 1;
}

.about-content h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 25px;
}

.about-text {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.about-feature i {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about-feature h4 {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 5px;
  font-weight: 600;
}

.about-feature p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.grid {
  display: grid;
  gap: 30px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.problem-card {
  background: var(--light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
}

.problem-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--light);
  font-size: 1.5rem;
}

.problem-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.features {
  background: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 40px 20px;
  background: var(--bg);
  border-radius: 12px;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--light);
  font-size: 2rem;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.comparison-card {
  background: var(--light);
  padding: 40px;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.comparison-header i {
  font-size: 2rem;
  color: var(--primary);
}

.comparison-card ul {
  list-style: none;
}

.comparison-card li {
  padding: 12px 0;
  border-bottom: 1px solid #E8E8E8;
  color: var(--text);
  font-size: 0.95rem;
}

.comparison-card li:before {
  content: "✓ ";
  color: var(--secondary);
  font-weight: bold;
  margin-right: 8px;
}

.before li:before {
  content: "× ";
  color: #E74C3C;
}

.testimonials {
  background: var(--light);
}

.testimonial-card {
  background: var(--bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.stars {
  color: #F39C12;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  color: var(--accent);
  margin-bottom: 2px;
}

.testimonial-author span {
  color: var(--gray);
  font-size: 0.9rem;
}

.order {
  background: linear-gradient(135deg, #E8F4F8 0%, #F7F9FC 100%);
}

.order-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  background: var(--light);
  padding: 50px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}

.order-info h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 30px;
}

.price-block {
  margin-bottom: 30px;
}

.price-old {
  text-decoration: line-through;
  color: var(--gray);
  font-size: 1.5rem;
  margin-right: 15px;
}

.price-current {
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 700;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  padding: 12px 0;
  color: var(--text);
  font-size: 1rem;
}

.benefits-list i {
  color: var(--secondary);
  margin-right: 12px;
  font-size: 1.1rem;
}

.order-form {
  background: var(--bg);
  padding: 40px;
  border-radius: 16px;
}

.order-form h3 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.6rem;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
}

.form-group input {
  width: 100%;
  max-width: 100%;
  padding: 14px;
  border: 2px solid #E8E8E8;
  border-radius: 10px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  margin: 0;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray);
}

.btn-full {
  width: 100%;
  max-width: 100%;
  padding: 16px;
  font-size: 1.1rem;
}

.legal-section {
  padding: 60px 0;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  background: var(--light);
  border-radius: 16px;
  box-shadow: var(--shadow);
  word-break: break-word;
}

.legal-content h1 {
  font-size: 2rem;
  text-align: left;
  margin-bottom: 30px;
  color: var(--accent);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 15px;
}

.legal-content h2 {
  font-size: 1.6rem;
  text-align: left;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--accent);
}

.legal-content h3 {
  font-size: 1.3rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--accent);
}

.legal-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 15px;
}

.legal-content ul,
.legal-content ol {
  margin: 15px 0 15px 1.5rem;
  line-height: 1.7;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text);
}

.legal-content a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.legal-content a:hover {
  border-color: var(--primary);
}

footer {
  background: var(--accent);
  color: var(--light);
  padding: 40px 0 20px;
  margin-top: auto;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  border-radius: 8px;
}

.footer-logo .logo-text {
  color: var(--light);
}

.footer-info p {
  margin-bottom: 10px;
  opacity: 0.9;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-legal a {
  color: var(--light);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-legal a:hover {
  opacity: 1;
  text-decoration: underline;
}

.disclaimer {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  margin-bottom: 20px;
  opacity: 0.8;
  line-height: 1.6;
}

.copyright {
  text-align: center;
  opacity: 0.7;
  font-size: 0.85rem;
}

.hero .container,
.about-grid,
.comparison-grid,
.order-wrapper,
.grid-4,
.grid-3,
.features-grid,
.footer-content {
  min-width: 0;
}

.hero .container > *,
.about-grid > *,
.comparison-grid > *,
.order-wrapper > *,
.grid-4 > *,
.grid-3 > *,
.features-grid > * {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 768px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  section {
    padding: 40px 0;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-content h2 {
    text-align: center;
  }
  
  .grid-4, .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .order-wrapper {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  
  .order-info h2 {
    text-align: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer {
    font-size: 0.85rem;
  }
  
  .legal-content {
    padding: 25px 15px;
  }
  
  .legal-content h1 {
    font-size: 1.6rem;
  }
  
  .legal-content h2 {
    font-size: 1.3rem;
  }
}

.thanks-main {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E8F4F8 0%, #F7F9FC 100%);
  padding: 60px 0;
}

.thanks-card {
  background: var(--light);
  max-width: 600px;
  margin: 0 auto;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.thanks-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.thanks-logo {
  margin-bottom: 25px;
  border-radius: 12px;
}

.thanks-card h1 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 20px;
  text-align: center;
}

.thanks-text {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 20px;
}

.thanks-subtext {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 30px;
}

.thanks-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: var(--light);
  font-size: 2rem;
}

@media (max-width: 768px) {
  .thanks-card {
    padding: 40px 25px;
  }
  
  .thanks-card h1 {
    font-size: 1.6rem;
  }
  
  .thanks-text {
    font-size: 1.1rem;
  }
}

@media (max-width: 640px) {
  header .container {
    flex-wrap: wrap;
    gap: 12px;
  }

  .header-notice {
    word-break: break-all;
  }

  .logo a {
    flex-direction: column;
  }

  .logo a span {
    word-break: break-all;
    min-width: 0;
    flex: 1;
  }

  .footer-col,
  .footer-info {
    word-break: break-all;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }

  header .container {
    padding: 12px 14px;
  }

  section {
    padding: 32px 0;
  }

  .order-wrapper {
    padding: 20px;
  }

  .order-form {
    padding: 24px 16px;
  }

  h2 {
    font-size: 1.4rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

.problem-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.feature-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.comparison-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 25px;
}

@media (max-width: 768px) {
  .problem-card img {
    height: 150px;
  }
  
  .feature-card img {
    height: 140px;
  }
  
  .comparison-card img {
    height: 200px;
  }
}