@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/SpaceGrotesk.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-color: #F7F9FC;
  --text-color: #2D3748;
  --heading-color: #1A202C;
  --accent-green: #059669;
  --accent-green-hover: #047857;
  --card-bg: #FFFFFF;
  --border-color: #E2E8F0;
  --accent-1: #059669;
  --accent-2: #0284C7;
  --accent-3: #D97706;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html,
body {
  overflow-x: clip;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1, h2, h3, h4 {
  color: var(--heading-color);
  line-height: 1.2;
  margin-bottom: 16px;
}

h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 16px; }

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

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

.btn-primary {
  display: inline-block;
  background-color: var(--accent-green);
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

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

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

header {
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

.logo img {
  border-radius: 50%;
}

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

.header-badge {
  background-color: #FEF3C7;
  color: #92400E;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.main-nav {
  display: flex;
  gap: 24px;
}

.main-nav a {
  font-weight: 500;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--accent-green);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  align-items: start;
}

.article-layout > * {
  min-width: 0;
  max-width: 100%;
}

.article-content {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.article-meta {
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

.article-img {
  margin: 24px 0;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sticky-offer {
  position: sticky;
  top: 100px;
  background: var(--card-bg);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 2px solid var(--accent-green);
}

.offer-img {
  width: 100%;
  height: 200px;
  margin-bottom: 16px;
}

.offer-price {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--accent-green);
  margin: 16px 0;
}

.offer-price span {
  font-size: 1.2rem;
  color: #A0AEC0;
  text-decoration: line-through;
  margin-left: 8px;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
  align-items: center;
}

.product-hero > * {
  min-width: 0;
  max-width: 100%;
}

.product-hero-img img {
  height: 400px;
  width: 100%;
}

.hero-offer {
  margin: 24px 0;
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-green);
}

.price-old {
  font-size: 1.5rem;
  color: #A0AEC0;
  text-decoration: line-through;
  margin-left: 12px;
}

.info-blocks {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

.block-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  align-items: center;
}

.block-item.reverse {
  direction: rtl;
}

.block-item.reverse > * {
  direction: ltr;
}

.block-img img {
  height: 300px;
  width: 100%;
}

.text-accent-1 { color: var(--accent-1); }
.text-accent-2 { color: var(--accent-2); }
.text-accent-3 { color: var(--accent-3); }

.comparison-section, .tech-specs, .reviews-section, .faq-section, .guarantee-section {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

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

.spec-card {
  background: var(--bg-color);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid var(--accent-green);
}

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

.review-card {
  background: var(--bg-color);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.review-card span {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--accent-green);
}

.faq-list {
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

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

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

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-green);
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  margin-top: 12px;
  color: #4A5568;
}

.comparison-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.comparison-row {
  display: contents;
}

.comparison-row:nth-child(even) .comparison-cell {
  background-color: #F9FAFB;
}

.comparison-row:nth-child(odd) .comparison-cell {
  background-color: var(--card-bg);
}

.comparison-header {
  background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
  color: #FFFFFF;
  padding: 14px 12px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.3px;
}

.comparison-header:last-child {
  border-right: none;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-hover) 100%);
}

.comparison-cell {
  padding: 14px 12px;
  font-size: 0.9rem;
  text-align: center;
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.comparison-cell:first-child {
  font-weight: 600;
  color: var(--heading-color);
  text-align: left;
  justify-content: flex-start;
  background-color: #F1F5F9;
}

.comparison-row:nth-child(even) .comparison-cell:first-child {
  background-color: #E9EEF4;
}

.comparison-cell:last-child {
  border-right: none;
  font-weight: 600;
  color: var(--accent-green);
  background-color: #F0FDF4;
}

.comparison-row:nth-child(even) .comparison-cell:last-child {
  background-color: #E6F7ED;
}

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

.comparison-cell::before {
  display: none;
}

.checkout-main {
  padding: 40px 20px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.checkout-layout > * {
  min-width: 0;
  max-width: 100%;
}

.checkout-offer {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  height: fit-content;
  position: sticky;
  top: 100px;
}

.checkout-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
}

.deal-card {
  background: var(--bg-color);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.deal-card.featured {
  border: 2px solid var(--accent-green);
  background: #F0FDF4;
}

.deal-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-green);
}

.deal-price span {
  font-size: 1rem;
  color: #A0AEC0;
  text-decoration: line-through;
  margin-left: 8px;
}

.deal-save {
  color: var(--accent-green);
  font-weight: 600;
  font-size: 0.9rem;
}

.checkout-form-container {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

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

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

.form-group label {
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-green);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.payment-block {
  background: var(--bg-color);
  padding: 24px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-top: 10px;
}

.card-icons {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-weight: 600;
  color: #4A5568;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  cursor: pointer;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-green);
}

.thanks-main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.thanks-container {
  background: var(--card-bg);
  padding: 60px 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.thanks-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 50%;
}

footer {
  background-color: #1A202C;
  color: #A0AEC0;
  padding: 40px 20px;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-legal p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-disclaimer {
  border-top: 1px solid #2D3748;
  padding-top: 24px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #718096;
}

.footer-copy {
  border-top: 1px solid #2D3748;
  padding-top: 16px;
  font-size: 0.85rem;
  text-align: center;
}

.stat-list, .feature-list {
  margin: 20px 0;
  padding-left: 24px;
}

.stat-list li, .feature-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sticky-offer {
    position: static;
  }
  .checkout-offer {
    position: static;
    top: auto;
  }
  .product-hero, .block-item, .checkout-layout {
    grid-template-columns: 1fr;
  }
  .block-item.reverse {
    direction: ltr;
  }
  .specs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .comparison-table {
    grid-template-columns: repeat(2, 1fr);
  }
  .comparison-header, .comparison-cell {
    padding: 12px 10px;
    font-size: 0.85rem;
  }
  .comparison-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-bottom: 2px solid var(--border-color);
  }
  .comparison-row:last-child {
    border-bottom: none;
  }
  .comparison-cell {
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
  }
  .comparison-cell:nth-child(even) {
    border-right: none;
  }
  .comparison-row:nth-child(even) .comparison-cell,
  .comparison-row:nth-child(odd) .comparison-cell {
    background-color: transparent;
  }
  .comparison-cell:first-child {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
    color: #FFFFFF;
    text-align: left;
    justify-content: flex-start;
    font-weight: 600;
    border-right: none;
  }
  .comparison-row:nth-child(even) .comparison-cell:first-child {
    background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%);
  }
  .comparison-cell:last-child {
    background-color: #F0FDF4;
  }
  .comparison-row:nth-child(even) .comparison-cell:last-child {
    background-color: #E6F7ED;
  }
}

@media (max-width: 768px) {
  .article-content, .product-hero, .block-item, .comparison-section, .tech-specs, .reviews-section, .faq-section, .guarantee-section, .checkout-form-container {
    padding: 24px;
  }
  .main-nav {
    display: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .specs-grid {
    grid-template-columns: 1fr;
  }
  .comparison-table {
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .comparison-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 2px solid var(--border-color);
    padding: 0 0 16px;
    margin-bottom: 4px;
  }
  .comparison-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .comparison-header {
    display: none;
  }
  .comparison-cell {
    border: none;
    padding: 0;
    justify-content: flex-start;
    text-align: left;
    align-items: flex-start;
    min-height: auto;
    background: transparent !important;
  }
  .comparison-cell:first-child {
    font-size: 1rem;
    text-align: left;
    justify-content: flex-start;
    background: linear-gradient(135deg, #1A202C 0%, #2D3748 100%) !important;
    color: #FFFFFF;
    border-bottom: none;
    border-radius: 8px;
    margin: 0 0 10px;
    padding: 12px 14px;
  }
  .comparison-cell:first-child::before {
    display: none;
  }
  .comparison-cell:not(:first-child) {
    background: #F9FAFB !important;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 8px;
    border-bottom: none;
  }
  .comparison-cell:last-child {
    background: #F0FDF4 !important;
    color: var(--accent-green);
    font-weight: 700;
    font-size: 1rem;
    text-align: left;
    margin-bottom: 0;
  }
  .comparison-cell::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    font-size: 0.75rem;
    color: #718096;
    margin-bottom: 4px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }
}
footer {
  background-color: #1A202C;
  color: #A0AEC0;
  padding: 40px 20px;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #FFFFFF;
}

.footer-legal p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: center;
  padding: 12px 0 4px 0;
  border-top: 1px solid #2D3748;
  margin-top: 8px;
}

.footer-legal-links a {
  color: #A0AEC0;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

.footer-legal-links .sep {
  color: #2D3748;
  font-size: 0.85rem;
}

.footer-disclaimer {
  border-top: 1px solid #2D3748;
  padding-top: 24px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #718096;
}

.footer-copy {
  border-top: 1px solid #2D3748;
  padding-top: 16px;
  font-size: 0.85rem;
  text-align: center;
}
.package-selection {
      margin: 24px 0;
      padding: 24px;
      background: #f8fafc;
      border-radius: 12px;
      border: 1px solid var(--border-color);
    }
    .package-selection h3 {
      margin-bottom: 16px;
      font-size: 1.2rem;
    }
    .package-options {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .package-option {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px 20px;
      background: white;
      border-radius: 10px;
      border: 2px solid transparent;
      cursor: pointer;
      transition: all 0.2s;
      position: relative;
    }
    .package-option:hover {
      border-color: #cbd5e1;
    }
    .package-option input[type="radio"] {
      accent-color: var(--accent-green);
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      cursor: pointer;
    }
    .package-option.selected {
      border-color: var(--accent-green);
      background: #f0fdf4;
      box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
    }
    .package-info {
      flex: 1;
    }
    .package-name {
      font-weight: 600;
      font-size: 1.05rem;
      display: block;
    }
    .package-desc {
      font-size: 0.9rem;
      color: #64748b;
    }
    .package-price {
      font-weight: 700;
      font-size: clamp(1rem, 3vw, 1.2rem);
      color: var(--accent-green);
      white-space: nowrap;
    }
    .package-price span {
      font-size: 0.9rem;
      color: #94a3b8;
      text-decoration: line-through;
      margin-left: 8px;
      font-weight: 400;
    }
    .order-total {
      margin-top: 20px;
      padding: 16px 20px;
      background: #1a202c;
      color: white;
      border-radius: 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 1.2rem;
    }
    .order-total span:last-child {
      font-weight: 700;
      font-size: 1.5rem;
      color: var(--accent-green);
    }

.footer-company-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 16px;
  font-size: 0.9rem;
  color: #A0AEC0;
  padding: 8px 0 4px 0;
  border-bottom: 1px solid #2D3748; 
  margin-bottom: 6px;
}

.footer-company-info span {
  white-space: nowrap;
}

.footer-company-info .footer-address {
  white-space: normal;
}

.footer-legal-links {
  padding-top: 6px;
  border-top: none; 
}

.legal-card {
  word-break: break-word;
}

@media (max-width: 700px) {
  .comparison-table {
    overflow-x: visible;
  }
  .comparison-row {
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .header-badge {
    word-break: break-all;
  }
  .logo span {
    word-break: break-all;
    min-width: 0;
    flex: 1;
  }
  .footer-company-info,
  .footer-legal-links {
    word-break: break-all;
  }
  .footer-company-info .footer-address {
    word-break: break-all;
    white-space: normal;
    flex-basis: 100%;
    text-align: center;
  }
  .logo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .checkout-layout {
    gap: 24px;
  }
  .checkout-offer {
    padding: 20px;
  }
  .checkout-main {
    padding: 24px 12px;
  }
  .package-selection {
    margin: 16px 0;
    padding: 16px;
  }
  .package-option {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 14px 14px 44px;
    min-width: 0;
    max-width: 100%;
  }
  .package-option input[type="radio"] {
    position: absolute;
    top: 16px;
    left: 14px;
  }
  .package-info {
    min-width: 0;
    width: 100%;
  }
  .package-name {
    font-size: 1rem;
    word-break: break-word;
  }
  .package-desc {
    word-break: break-word;
  }
  .package-price {
    white-space: normal;
    width: 100%;
    text-align: left;
    word-break: break-word;
  }
  .package-price span {
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }
  .order-total {
    font-size: 1rem;
    padding: 14px 16px;
  }
  .order-total span:last-child {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  main {
    padding: 24px 12px;
  }
  .header-container {
    padding: 12px 12px;
  }
  .article-content,
  .product-hero,
  .block-item,
  .comparison-section,
  .tech-specs,
  .reviews-section,
  .faq-section,
  .guarantee-section,
  .checkout-form-container,
  .checkout-offer {
    padding: 16px;
  }
  .checkout-form-container h2,
  .article-content h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  .btn-primary {
    font-size: 0.95rem;
    padding: 12px 20px;
  }
}