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

:root {
  /* Colors */
  --bg-primary: hsl(220, 25%, 10%);
  --bg-secondary: hsl(220, 20%, 15%);
  --text-primary: hsl(0, 0%, 98%);
  --text-muted: hsl(0, 0%, 70%);
  --primary: hsl(142, 76%, 45%);
  --primary-dark: hsl(142, 86%, 35%);
  --secondary: hsl(195, 100%, 50%);
  --border: hsl(220, 20%, 20%);
  --destructive: hsl(0, 84%, 60%);
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(142, 76%, 45%) 0%, hsl(142, 86%, 35%) 100%);
  --gradient-hero: linear-gradient(135deg, hsl(220, 25%, 10%) 0%, hsl(220, 30%, 15%) 50%, hsl(220, 25%, 10%) 100%);
  
  /* Effects */
  --glass-bg: hsla(220, 20%, 15%, 0.6);
  --glass-border: hsla(0, 0%, 100%, 0.1);
  --shadow-glow: 0 0 40px hsla(142, 76%, 45%, 0.4);
  
  /* Spacing */
  --container-padding: 1rem;
  --section-padding: 6rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--gradient-hero);
  overflow-x: hidden;
}

.zakaz-mobile {
    display: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Background Effects */
.bg-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: 0.3;
}

.bg-circle {
  position: absolute;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  filter: blur(80px);
  animation: float 3s ease-in-out infinite;
}

.bg-circle-1 {
  top: 25%;
  left: 25%;
  background: hsla(142, 76%, 45%, 0.2);
}

.bg-circle-2 {
  bottom: 25%;
  right: 25%;
  background: hsla(195, 100%, 50%, 0.2);
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s;
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 1.5rem;
  height: 2px;
  background: var(--text-primary);
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 3px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.badge {
  display: inline-block;
  width: fit-content;
  padding: 0.5rem 1rem;
  background: hsla(142, 76%, 45%, 0.1);
  border: 1px solid hsla(142, 76%, 45%, 0.2);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.2;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-features li::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.price-card-inline {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.price-old-inline {
  font-size: 1.875rem;
  font-weight: bold;
  text-decoration: line-through;
  color: var(--destructive);
}

.price-main-inline {
  font-size: 3rem;
  font-weight: bold;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-currency {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.discount-badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary);
  border-radius: 50px;
  font-weight: bold;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 15px hsla(142, 76%, 45%, 0.3);
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-primary svg {
  transition: transform 0.3s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.2;
  filter: blur(80px);
  border-radius: 50%;
}

.product-image {
  position: relative;
  z-index: 10;
  max-width: 100%;
  height: auto;
  border-radius: 25px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  animation: float 3s ease-in-out infinite;
}

/* Section Styles */
section {
  padding: var(--section-padding) 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  transition: all 0.3s;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 1.5rem;
}

.feature-card:hover {
  border-color: hsla(142, 76%, 45%, 0.5);
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}

.feature-card:hover::before {
  opacity: 0.05;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 0.75rem;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  transition: color 0.3s;
}

.feature-card:hover h3 {
  color: var(--primary);
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Specifications Section */
.spec-list {
  max-width: 64rem;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s;
}

.spec-item:hover {
  border-color: hsla(142, 76%, 45%, 0.5);
  box-shadow: var(--shadow-glow);
}

.spec-label {
  font-weight: 600;
  color: var(--text-primary);
}

.spec-value {
  color: var(--primary);
  font-weight: bold;
  font-size: 1.125rem;
}

.spec-image-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.spec-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0.2;
  filter: blur(80px);
  border-radius: 50%;
}

.spec-image {
  position: relative;
  z-index: 10;
  max-width: 42rem;
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s;
}

.spec-image:hover {
  transform: scale(1.05);
}

/* Description Section */
.description {
  position: relative;
}

.description::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsla(142, 76%, 45%, 0.05), transparent);
  z-index: -1;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 72rem;
  margin: 0 auto;
}

.benefit-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s;
  display: flex;
  gap: 1rem;
  align-items: start;
}

.benefit-card:hover {
  border-color: hsla(142, 76%, 45%, 0.5);
  box-shadow: var(--shadow-glow);
}

.bullet {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.benefit-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
}

.gallery-item:hover {
  box-shadow: var(--shadow-glow);
}

.gallery-item:hover::before {
  opacity: 0.2;
}

.gallery-item img {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Contact Section */
.contact {
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, hsla(142, 76%, 45%, 0.05), transparent);
  z-index: -1;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
  align-items: start;
}

.contact-form-wrapper {
  height: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-form input {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: hsla(220, 25%, 10%, 0.5);
  color: var(--text-primary);
  font-size: 1rem;
  transition: border-color 0.3s;
}

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

.contact-form .btn {
  width: 100%;
  justify-content: center;
  padding: 1.5rem 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
}

.contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

.price-card-large {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid hsla(142, 76%, 45%, 0.5);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-glow);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.price-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-label {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.price-old-large {
  font-size: 2.5rem;
  font-weight: bold;
  text-decoration: line-through;
  color: var(--destructive);
}

.price-new-large {
  font-size: 4rem;
  font-weight: bold;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.discount-badge-large {
  padding: 0.75rem 1.5rem;
  background: var(--primary-dark);
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: bold;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px hsla(142, 76%, 45%, 0.3); }
  50% { box-shadow: 0 0 40px hsla(142, 76%, 45%, 0.6); }
}

.promo-text {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section p {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
}

.footer-promo {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 200;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s;
}

.modal.active {
  display: flex;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 201;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-content {
  max-width: 90%;
  max-height: 90vh;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem;
  }

  .zakaz-mobile {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 5rem;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background: #1f242e;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 2rem;
    gap: 1rem;
    transition: left 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

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

  .hero-text {
    align-items: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .badge {
    width: auto;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid,
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .price-main-inline {
    font-size: 2rem;
  }

  .price-new-large {
    font-size: 3rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}