:root {
  --primary-color: #2D5C7F;
  --secondary-color: #2C7FB2;
  --accent-color: #4A90E2;
  --light-color: #B3D0D9;
  --dark-color: #1D2A3C;
  --gradient-primary: linear-gradient(120deg, #2D5C7F 0%, #2C7FB2 100%);
  --hover-color: #1E4A6B;
  --background-color: #F4F8FB;
  --text-color: #2A3A48;
  --border-color: rgba(44, 127, 178, 0.18);
  --divider-color: rgba(45, 92, 127, 0.1);
  --shadow-color: rgba(29, 42, 60, 0.1);
  --highlight-color: #F2D57F;
  --main-font: 'Montserrat', sans-serif;
  --alt-font: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--alt-font);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-color);
  background-color: var(--background-color);
}

/* Pattern BG - diagonal lines */
.pattern-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -1;
  background-color: var(--background-color);
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(44, 127, 178, 0.04) 0px,
      rgba(44, 127, 178, 0.04) 1px,
      transparent 1px,
      transparent 18px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(74, 144, 226, 0.03) 0px,
      rgba(74, 144, 226, 0.03) 1px,
      transparent 1px,
      transparent 18px
    );
}

header {
  background: var(--gradient-primary);
  padding: 1.2rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.header-decoration {
  position: absolute;
  top: 50%;
  right: 5%;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(179, 208, 217, 0.25);
  border-radius: 12px;
  transform: translateY(-50%) rotate(15deg);
  display: none;
}

.header-decoration::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 26px; height: 26px;
  background: rgba(179, 208, 217, 0.12);
  border-radius: 6px;
  transform: translate(-50%, -50%) rotate(-10deg);
}

@media (min-width: 768px) {
  .header-decoration { display: block; }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: white;
  font-family: var(--main-font);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.18);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.product-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: flex-start;
  width: 100%;
}

@media (min-width: 768px) {
  .product-section {
    grid-template-columns: 1fr 1fr;
  }
}

.product-left {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.product-image-container {
  border-radius: 10px;
  box-shadow: 0 4px 16px var(--shadow-color);
  background: white;
  padding: 1rem;
  position: relative;
}

.product-image-container picture {
  display: flex;
  justify-content: center;
}

.product-image {
  width: 60%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.price-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--highlight-color);
  color: var(--dark-color);
  padding: 5px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  font-family: var(--main-font);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.guarantee-block {
  background: white;
  border-left: 4px solid var(--accent-color);
  padding: 1.2rem 1.4rem;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 10px var(--shadow-color);
}

.guarantee-block h3 {
  font-family: var(--main-font);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.guarantee-block p {
  font-size: 0.83rem;
  color: var(--text-color);
  line-height: 1.5;
}

.features-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

@media (min-width: 480px) {
  .features-icons { grid-template-columns: repeat(4, 1fr); }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.9rem 0.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-color);
  transition: transform 0.25s ease;
  border-top: 3px solid var(--secondary-color);
}

.feature-item:hover { transform: translateY(-2px); }

.feature-item .feature-icon {
  width: 44px;
  height: 44px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.feature-item span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-color);
  font-family: var(--main-font);
}

.cart-button {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  display: block;
  text-align: center;
  box-shadow: 0 3px 10px var(--shadow-color);
  font-family: var(--main-font);
  letter-spacing: 0.3px;
}

.cart-button:hover {
  background: linear-gradient(120deg, var(--hover-color) 0%, var(--primary-color) 100%);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px var(--shadow-color);
}

.product-right h1 {
  font-family: var(--main-font);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}

.price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent-color);
  margin: 0.8rem 0;
  font-family: var(--main-font);
}

.product-description {
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  line-height: 1.65;
  color: var(--text-color);
}

.product-description p + p { margin-top: 0.7rem; }

.highlight-text {
  background: var(--highlight-color);
  color: var(--dark-color);
  padding: 1rem 1.2rem;
  border-radius: 6px;
  font-weight: 700;
  margin: 1.2rem 0;
  text-align: center;
  font-size: 0.95rem;
  box-shadow: 0 3px 10px rgba(242, 213, 127, 0.35);
  font-family: var(--main-font);
}

.features-list {
  list-style: none;
  margin: 1.2rem 0;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
  padding: 0.8rem;
  background: white;
  border-radius: 6px;
  box-shadow: 0 1px 6px var(--shadow-color);
  font-size: 0.87rem;
  transition: transform 0.2s ease;
}

.features-list li:hover { transform: translateX(2px); }

.feature-check {
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.65rem;
  margin-top: 1px;
}

/* Mid block - full width */
.mid-block {
  background: var(--dark-color);
  color: white;
  padding: 2.5rem 1.5rem;
}

.mid-block-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.mid-block h2 {
  font-family: var(--main-font);
  text-align: center;
  margin-bottom: 1.8rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.mid-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}

@media (min-width: 768px) {
  .mid-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .mid-grid { grid-template-columns: repeat(4, 1fr); }
}

.mid-card {
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 1.4rem;
  border: 1px solid rgba(179, 208, 217, 0.15);
  text-align: center;
}

.mid-card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
  display: block;
}

.mid-card h3 {
  font-family: var(--main-font);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--light-color);
}

.mid-card p {
  font-size: 0.82rem;
  line-height: 1.5;
  opacity: 0.85;
}

/* Testimonials */
.testimonials {
  background: #1a2e40;
  color: white;
  padding: 2.5rem 1.5rem;
}

.testimonials h2 {
  font-family: var(--main-font);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.6rem;
  font-weight: 700;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

.testimonial {
  background: rgba(255,255,255,0.06);
  padding: 1.4rem;
  border-radius: 8px;
  border: 1px solid rgba(179, 208, 217, 0.1);
  transition: transform 0.25s ease;
}

.testimonial:hover { transform: translateY(-2px); }

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.testimonial-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: var(--light-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--main-font);
}

.testimonial-location {
  font-size: 0.78rem;
  opacity: 0.75;
}

.testimonial p {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.9;
}

/* Footer */
footer {
  background: var(--dark-color);
  color: white;
  padding: 1.8rem 1.5rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
  padding-bottom: 1.4rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .footer-nav { justify-content: flex-end; }
}

.footer-nav a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.25s ease;
  font-size: 0.8rem;
}

.footer-nav a:hover { color: var(--light-color); }

.footer-credit {
  text-align: center;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-credit a {
  color: var(--light-color);
  text-decoration: none;
}