 @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

 :root {
     --primary-color: #8A2BE2;
     /* Фиолетовый */
     --secondary-color: #00BFFF;
     /* Голубой */
     --accent-color: #39FF14;
     /* Неоновый зеленый */
     --dark-bg: #1a1a2e;
     --light-text: #e0e0e0;
     --card-bg: #2a2a3e;
     --button-hover: #6a1aab;
 }

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

 body {
     font-family: 'Montserrat', sans-serif;
     background-color: var(--dark-bg);
     color: var(--light-text);
     line-height: 1.6;
     scroll-behavior: smooth;
 }

 a {
     color: var(--secondary-color);
     text-decoration: none;
 }

 a:hover {
     color: var(--accent-color);
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 20px;
 }

 /* Header */
 header {
     background-color: rgba(0, 0, 0, 0.7);
     padding: 15px 0;
     position: fixed;
     width: 100%;
     top: 0;
     z-index: 1000;
     box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
 }

 nav {
     display: flex;
     justify-content: space-between;
     align-items: center;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 .logo {
     font-size: 2em;
     font-weight: 700;
     color: var(--accent-color);
     text-shadow: 0 0 10px var(--accent-color);
 }

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

 .nav-menu li {
     margin-left: 30px;
 }

 .nav-menu a {
     color: var(--light-text);
     font-weight: 600;
     transition: color 0.3s ease;
 }

 .nav-menu a:hover {
     color: var(--secondary-color);
     text-shadow: 0 0 8px var(--secondary-color);
 }

 /* Hero Section */
 #hero {
     position: relative;
     height: 100vh;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     color: var(--light-text);
     overflow: hidden;
     background: url('../img/hero.png') no-repeat center center/cover;
     animation: fadeIn 1.5s ease-out;
 }

 #hero::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.6);
     z-index: 1;
 }

 .hero-content {
     position: relative;
     z-index: 2;
     padding: 20px;
     max-width: 800px;
     animation: slideInUp 1s ease-out;
 }

 .hero-content h1 {
     font-size: 4em;
     margin-bottom: 20px;
     color: var(--accent-color);
     text-shadow: 0 0 15px var(--accent-color);
     animation: neonGlow 1.5s infinite alternate;
 }

 .hero-content p {
     font-size: 1.5em;
     margin-bottom: 40px;
     opacity: 0;
     /* Initial state for animation */
     animation: textFadeIn 1s forwards 0.5s;
 }

 .btn {
     background-color: var(--primary-color);
     color: white;
     padding: 15px 30px;
     border-radius: 8px;
     font-size: 1.2em;
     font-weight: 600;
     transition: background-color 0.3s ease, transform 0.3s ease;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
     display: inline-block;
 }

 .btn:hover {
     background-color: var(--button-hover);
     transform: translateY(-5px);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
 }

 /* Sections General */
 section {
     padding: 80px 0;
     text-align: center;
 }

 section:nth-child(even) {
     background-color: var(--card-bg);
 }

 h2 {
     font-size: 3em;
     margin-bottom: 60px;
     color: var(--secondary-color);
     position: relative;
     display: inline-block;
 }

 h2::after {
     content: '';
     position: absolute;
     left: 50%;
     bottom: -15px;
     transform: translateX(-50%);
     width: 80px;
     height: 4px;
     background-color: var(--accent-color);
     border-radius: 2px;
 }

 /* About Us */
 #about p {
     max-width: 800px;
     margin: 0 auto 40px auto;
     font-size: 1.1em;
 }

 .about-image {
     width: 100%;
     max-width: 600px;
     height: 350px;
     background-color: #333;
     /* Placeholder */
     margin: 0 auto;
     border-radius: 10px;
     overflow: hidden;
     position: relative;
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
 }

 .about-image img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     display: block;
 }

 /* Catalog */
 .product-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
     gap: 30px;
     padding: 0 20px;
 }

 .product-card {
     background-color: var(--card-bg);
     border-radius: 10px;
     overflow: hidden;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     text-align: left;
     padding-bottom: 20px;
 }

 .product-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
 }

 .product-card img {
     width: 100%;
     height: 450px;
     object-fit: cover;
     border-bottom: 1px solid var(--dark-bg);
 }

 .product-card h3 {
     font-size: 1.5em;
     margin: 20px 20px 10px 20px;
     color: var(--accent-color);
 }

 .product-card .price {
     font-size: 1.3em;
     font-weight: 700;
     color: var(--secondary-color);
     margin: 0 20px 15px 20px;
 }

 .product-card .add-to-cart-btn {
     display: block;
     width: calc(100% - 40px);
     margin: 0 20px;
     padding: 12px;
     background-color: var(--primary-color);
     color: white;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     font-size: 1.1em;
     font-weight: 600;
     transition: background-color 0.3s ease, transform 0.2s ease;
 }

 .product-card .add-to-cart-btn:hover {
     background-color: var(--button-hover);
     transform: translateY(-2px);
 }

 /* Advantages */
 .advantages-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 30px;
     padding: 0 20px;
 }

 .advantage-card {
     background-color: var(--card-bg);
     padding: 30px;
     border-radius: 10px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .advantage-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
 }

 .advantage-card i {
     font-size: 3.5em;
     color: var(--accent-color);
     margin-bottom: 20px;
     animation: pulse 1.5s infinite alternate;
 }

 .advantage-card h3 {
     font-size: 1.5em;
     color: var(--secondary-color);
 }

 /* Testimonials */
 .testimonial-slider {
     display: flex;
     overflow-x: auto;
     scroll-snap-type: x mandatory;
     -webkit-overflow-scrolling: touch;
     padding-bottom: 20px;
     justify-content: flex-start;
     /* Ensure items start from left */
 }

 .testimonial-item {
     flex: 0 0 auto;
     /* Prevent stretching */
     width: 350px;
     /* Adjust width as needed */
     background-color: var(--card-bg);
     padding: 30px;
     border-radius: 10px;
     margin: 0 15px;
     /* Spacing between cards */
     text-align: left;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
     scroll-snap-align: center;
     transition: transform 0.3s ease;
     cursor: grab;
 }

 .testimonial-item:active {
     cursor: grabbing;
 }

 .testimonial-item:hover {
     transform: translateY(-5px);
 }

 .testimonial-header {
     display: flex;
     align-items: center;
     margin-bottom: 15px;
 }

 .testimonial-avatar {
     width: 60px;
     height: 60px;
     border-radius: 50%;
     background-color: #555;
     /* Placeholder */
     margin-right: 15px;
     overflow: hidden;
 }

 .testimonial-avatar img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .testimonial-header h4 {
     font-size: 1.2em;
     color: var(--accent-color);
 }

 .testimonial-item p {
     font-size: 1em;
     color: var(--light-text);
 }

 /* Contacts */
 #contacts .contact-info {
     margin-bottom: 40px;
     font-size: 1.1em;
 }

 #contacts .contact-info p {
     margin-bottom: 10px;
 }

 #contacts .contact-info i {
     margin-right: 10px;
     color: var(--accent-color);
 }

 .contact-form {
     max-width: 600px;
     margin: 0 auto;
     background-color: var(--card-bg);
     padding: 40px;
     border-radius: 10px;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
     text-align: left;
 }

 .contact-form label {
     display: block;
     margin-bottom: 8px;
     font-weight: 600;
     color: var(--secondary-color);
 }

 .contact-form input[type="text"],
 .contact-form input[type="email"],
 .contact-form textarea {
     width: 100%;
     padding: 12px;
     margin-bottom: 20px;
     border: 1px solid #444;
     border-radius: 5px;
     background-color: #333;
     color: var(--light-text);
     font-size: 1em;
     transition: border-color 0.3s ease;
 }

 .contact-form input[type="text"]:focus,
 .contact-form input[type="email"]:focus,
 .contact-form textarea:focus {
     border-color: var(--accent-color);
     outline: none;
     box-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
 }

 .contact-form textarea {
     resize: vertical;
     min-height: 120px;
 }

 .contact-form button {
     background-color: var(--primary-color);
     color: white;
     padding: 15px 30px;
     border: none;
     border-radius: 8px;
     cursor: pointer;
     font-size: 1.2em;
     font-weight: 600;
     transition: background-color 0.3s ease, transform 0.3s ease;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
 }

 .contact-form button:hover {
     background-color: var(--button-hover);
     transform: translateY(-3px);
 }

 .form-message {
     margin-top: 15px;
     font-size: 1.1em;
     text-align: center;
 }

 .form-message.success {
     color: var(--accent-color);
 }

 .form-message.error {
     color: red;
 }

 /* Footer */
 footer {
     background-color: #0d0d1a;
     color: #ccc;
     padding: 40px 0;
     text-align: center;
     font-size: 0.9em;
 }

 footer p {
     margin-bottom: 10px;
 }

 .footer-links a {
     color: #ccc;
     margin: 0 10px;
     transition: color 0.3s ease;
 }

 .footer-links a:hover {
     color: var(--secondary-color);
 }

 /* Mobile Adaptivity */
 @media (max-width: 768px) {
     .nav-menu {
         display: none;
         /* Hide for mobile for simplicity, could add a hamburger menu */
     }

     .logo {
         font-size: 1.5em;
     }

     .hero-content h1 {
         font-size: 2.5em;
     }

     .hero-content p {
         font-size: 1.1em;
     }

     .btn {
         padding: 12px 25px;
         font-size: 1em;
     }

     h2 {
         font-size: 2em;
         margin-bottom: 40px;
     }

     .product-grid,
     .advantages-grid {
         grid-template-columns: 1fr;
     }

     .testimonial-slider {
         flex-wrap: nowrap;
         /* Keep it a slider on mobile */
         justify-content: flex-start;
     }

     .testimonial-item {
         width: 90%;
         /* Make cards wider on small screens */
         margin: 0 10px;
     }

     .contact-form {
         padding: 20px;
     }
 }

 /* Animations */
 @keyframes fadeIn {
     from {
         opacity: 0;
     }

     to {
         opacity: 1;
     }
 }

 @keyframes slideInUp {
     from {
         transform: translateY(50px);
         opacity: 0;
     }

     to {
         transform: translateY(0);
         opacity: 1;
     }
 }

 @keyframes textFadeIn {
     from {
         opacity: 0;
     }

     to {
         opacity: 1;
     }
 }

 @keyframes neonGlow {
     0% {
         text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
     }

     100% {
         text-shadow: 0 0 15px var(--accent-color), 0 0 25px var(--accent-color), 0 0 35px var(--accent-color);
     }
 }

 @keyframes pulse {
     0% {
         transform: scale(1);
     }

     50% {
         transform: scale(1.05);
     }

     100% {
         transform: scale(1);
     }
 }