:root {
  --color-bg: #1B1B3A;
  --color-accent-lime: #D4FF00;
  --color-accent-cyan: #A2FFF6;
  --color-text: #F8F4E3;
  --color-gradient-start: #120C3C;
  --color-gradient-end: #4D37C0;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--color-accent-cyan);
  transition: var(--transition);
}

a:hover {
  color: var(--color-accent-lime);
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

h2:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60%;
  height: 4px;
  background: var(--color-accent-lime);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(45deg, var(--color-accent-lime), var(--color-accent-cyan));
  color: var(--color-bg);
  font-weight: 700;
  border-radius: var(--border-radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  color: var(--color-bg);
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2:after {
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
}

.gradient-bg {
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Header Styles */
header {
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
  background-color: rgba(27, 27, 58, 0.9);
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text);
}

.logo span {
  color: var(--color-accent-lime);
}

/* Navigation Styles */
.nav-links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: rgba(27, 27, 58, 0.95);
  flex-direction: column;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  z-index: 100;
}

.nav-links.active {
  max-height: 500px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links li {
  padding: 15px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links li a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-lime);
  transition: var(--transition);
}

.nav-links li a:hover {
  color: var(--color-accent-lime);
}

.nav-links li a:hover::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--color-text);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(18, 12, 60, 0.8), rgba(77, 55, 192, 0.8)), url('img/gg3ws9.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%231B1B3A" fill-opacity="1" d="M0,224L48,208C96,192,192,160,288,160C384,160,480,192,576,197.3C672,203,768,181,864,181.3C960,181,1056,203,1152,208C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
}

.hero-content {
  display: flex;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin-bottom: 2rem;
  max-width: 600px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

#about {
  background: linear-gradient(rgba(27, 27, 58, 0.85), rgba(27, 27, 58, 0.85)), url('img/ensUkI.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.feature-card {
  text-align: center;
  padding: 40px 30px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--color-accent-lime);
}

/* Catalog Section */
.catalog-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 50px;
}

.catalog-image {
  flex: 1;
  min-width: 200px;
}

.catalog-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
}

.catalog-image img:hover {
  transform: scale(1.03);
}

.catalog-content {
  flex: 1;
  min-width: 200px;
}

#catalog {
  position: relative;
}

#catalog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(27, 27, 58, 0.95), rgba(27, 27, 58, 0.7)), url('img/gpgRBt.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--color-accent-lime);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-accent-cyan);
}

.service-price span {
  font-size: 1rem;
  color: var(--color-text);
  opacity: 0.8;
}

.service-features {
  list-style: none;
  margin-bottom: 30px;
}

.service-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.service-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent-lime);
}

/* Order Form Section */
.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  background-color: white;
  color: #333;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent-cyan);
}

.form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.form-check input {
  margin-right: 10px;
  margin-top: 6px;
}

.form-check label {
  font-size: 0.9rem;
}

#order {
  background: linear-gradient(rgba(18, 12, 60, 0.9), rgba(18, 12, 60, 0.9)), url('img/gRuNJd.jpg');
  background-size: cover;
  background-position: center;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.testimonial-card {
  padding: 30px;
  position: relative;
}

.testimonial-text {
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.author-info h4 {
  margin-bottom: 5px;
}

.author-info p {
  margin: 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Footer */
footer {
  background-color: rgba(18, 12, 60, 0.8);
  padding: 80px 0 30px;
  position: relative;
  background: linear-gradient(rgba(18, 12, 60, 0.95), rgba(18, 12, 60, 0.95)), url('img/ensUkI.jpg');
  background-size: cover;
  background-position: bottom;
}

.footer-wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23120C3C" fill-opacity="0.8" d="M0,64L48,96C96,128,192,192,288,192C384,192,480,128,576,117.3C672,107,768,149,864,154.7C960,160,1056,128,1152,122.7C1248,117,1344,139,1392,149.3L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
  background-size: cover;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 1.5rem;
  margin-bottom: 20px;
  display: inline-block;
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact li i {
  margin-right: 10px;
  color: var(--color-accent-lime);
}

.footer-links h3 {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-links h3:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 3px;
  background: var(--color-accent-lime);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(18, 12, 60, 0.95);
  padding: 20px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
}

.cookie-text {
  margin: 0;
  font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .header-container {
    position: relative;
  }

  .hero-content {
    width: 100%;
    text-align: center;
  }
  
  .hero-content h1, .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  h2:after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }
  
  .catalog-container {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-text {
    margin-bottom: 15px;
  }
}

/* SVG Icons */
.icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gradient-start), var(--color-gradient-end));
  margin: 0 auto 20px;
}

/* Thank you page */
.thank-you {
  margin: 100px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(rgba(27, 27, 58, 0.8), rgba(27, 27, 58, 0.8)), url('img/gpgRBt.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}

.thank-you h1 {
  margin-bottom: 30px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.thank-you p {
  max-width: 600px;
  margin: 0 auto 30px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
} 