        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            transition: all 0.3s ease-out;
        }

        body {
            font-family: 'Roboto', sans-serif;
            background: linear-gradient(135deg, #f5f7fa, #e9ecef);
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Preloader Animation */
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #007bff, #00c4cc);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 1;
            transition: opacity 1.2s ease-out;
        }

        .preloader.hide {
            opacity: 0;
            visibility: hidden;
        }

        .preloader .loader-container {
            display: flex;
            gap: 10px;
            margin-top: 20px;
        }

        .preloader .dot {
            width: 15px;
            height: 15px;
            background: #fff;
            border-radius: 50%;
            animation: bounceDot 0.6s infinite alternate;
        }

        .preloader .dot:nth-child(2) { animation-delay: 0.2s; }
        .preloader .dot:nth-child(3) { animation-delay: 0.4s; }

        .preloader span {
            font-family: 'Poppins', sans-serif;
            font-size: clamp(2rem, 6vw, 3rem);
            color: #fff;
            animation: fadeIn 1s ease-out, pulseText 1.5s infinite;
            text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
        }

        @keyframes bounceDot { 0% { transform: translateY(0); } 100% { transform: translateY(-20px); } }
        @keyframes pulseText { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

        /* Navigation */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: clamp(10px, 3vw, 15px) 5%;
            background: linear-gradient(90deg, #007bff, #00c4cc);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }

        .logo {
            font-family: 'Poppins', sans-serif;
            font-size: clamp(1.5rem, 5vw, 1.8rem);
            font-weight: 600;
            color: #fff;
            text-transform: uppercase;
            letter-spacing: 2px;
            animation: fadeInDown 0.6s ease-out;
        }

        @keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

        .nav-menu {
            display: flex;
            align-items: center;
            gap: clamp(10px, 3vw, 15px);
        }

        nav ul {
            list-style: none;
            display: flex;
            align-items: center;
            margin: 0;
        }

        nav ul li {
            margin: 0 clamp(5px, 2vw, 10px);
            position: relative;
        }

        nav ul li a {
            text-decoration: none;
            color: #fff;
            font-weight: 500;
            font-size: clamp(0.9rem, 2.5vw, 1rem);
            padding: 5px 10px;
        }

        nav ul li a:hover {
            color: #ffeb3b;
            transform: scale(1.1);
        }

        nav ul li a.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 10px;
            width: calc(100% - 20px);
            height: 2px;
            background: #ffeb3b;
            animation: slideIn 0.3s ease-out;
        }

        @keyframes slideIn { from { width: 0; } to { width: calc(100% - 20px); } }

        .search-bar {
            margin: 0 clamp(10px, 3vw, 15px);
        }

        .search-bar input {
            padding: 6px 12px;
            border: 1px solid #ddd;
            border-radius: 15px;
            outline: none;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
            width: clamp(120px, 20vw, 150px);
        }

        .search-bar input:focus {
            border-color: #ffeb3b;
            transform: scale(1.05);
        }

        .auth-buttons {
            display: flex;
            gap: 10px;
        }

        .auth-buttons button {
            padding: 8px clamp(15px, 4vw, 20px);
            border: none;
            border-radius: 20px;
            cursor: pointer;
            font-weight: 500;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .auth-buttons .login-btn {
            background: linear-gradient(45deg, #ffffff, #f0f0f0);
            color: #007bff;
            border: 2px solid #007bff;
        }

        .auth-buttons .login-btn:hover {
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
        }

        .auth-buttons .signup-btn {
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
            border: 2px solid transparent;
        }

        .auth-buttons .signup-btn:hover {
            background: linear-gradient(45deg, #0056b3, #0099a8);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
        }

        .auth-buttons .logout-btn {
            background: linear-gradient(45deg, #ff4d4d, #ff8080);
            color: #fff;
            border: 2px solid transparent;
        }

        .auth-buttons .logout-btn:hover {
            background: linear-gradient(45deg, #cc0000, #ff4d4d);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 77, 77, 0.3);
        }

        .burger {
            display: none;
            font-size: clamp(1.2rem, 4vw, 1.5rem);
            color: #fff;
            cursor: pointer;
        }

        .burger:hover {
            transform: rotate(90deg);
        }

        @media (max-width: 768px) {
            .burger { display: block; }
            .nav-menu { display: none; }
            .nav-menu.active {
                display: flex;
                position: absolute;
                top: 60px;
                left: 0;
                right: 0;
                background: #007bff;
                flex-direction: column;
                padding: 10px 0;
                text-align: center;
                animation: slideDownMenu 0.3s ease-out;
            }
            .nav-menu.active ul { flex-direction: column; }
            .nav-menu.active ul li { margin: 10px 0; }
            .auth-buttons { flex-direction: column; gap: 10px; margin: 10px 0; }
            .search-bar { margin: 10px 0; }
            .search-bar input { width: 100%; }
        }

        @keyframes slideDownMenu {
            from { transform: translateY(-100%); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }

        /* Header Image */
        .header-image {
            width: 100%;
            height: clamp(200px, 50vw, 400px);
            background: url('https://media.istockphoto.com/id/1372002650/ru/%D1%84%D0%BE%D1%82%D0%BE/%D0%BE%D0%B1%D1%80%D0%B5%D0%B7%D0%B0%D0%BD%D0%BD%D1%8B%D0%B9-%D0%BF%D0%BE%D1%80%D1%82%D1%80%D0%B5%D1%82-%D0%BF%D1%80%D0%B8%D0%B2%D0%BB%D0%B5%D0%BA%D0%B0%D1%82%D0%B5%D0%BB%D1%8C%D0%BD%D0%BE%D0%B9-%D0%BC%D0%BE%D0%BB%D0%BE%D0%B4%D0%BE%D0%B9-%D0%B6%D0%B5%D0%BD%D1%89%D0%B8%D0%BD%D1%8B-%D0%B2%D1%80%D0%B0%D1%87%D0%B0-%D1%81%D1%82%D0%BE%D1%8F%D1%89%D0%B5%D0%B9-%D1%81%D0%BE-%D1%81%D0%BB%D0%BE%D0%B6%D0%B5%D0%BD%D0%BD%D1%8B%D0%BC%D0%B8-%D1%80%D1%83%D0%BA%D0%B0%D0%BC%D0%B8-%D0%B2.jpg?s=612x612&w=0&k=20&c=ZvlKdLihjMD-SGIKLNkU4t5wCqDpOYRMkSFIkYO-pv8=') no-repeat center 20% / cover;
            margin-top: clamp(50px, 10vw, 60px);
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            animation: zoomIn 1s ease-out;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .header-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 123, 255, 0.2);
            transition: background 0.3s ease-out;
        }

        .header-image .contact-btn {
            position: absolute;
            top: 70%;
            padding: 10px clamp(15px, 5vw, 25px);
            border: none;
            border-radius: 20px;
            cursor: pointer;
            font-weight: 500;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
            text-transform: uppercase;
            letter-spacing: 1px;
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
            z-index: 1;
        }

        .header-image .contact-btn:hover {
            background: linear-gradient(45deg, #0056b3, #0099a8);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
        }

        @keyframes zoomIn { from { transform: scale(1.2); opacity: 0; } to { transform: scale(1); opacity: 1; } }

        /* Hero Section */
        .hero {
            padding: clamp(30px, 10vw, 60px) 5%;
            text-align: center;
            background: linear-gradient(135deg, #fff, #f9fbfd);
            animation: slideUp 0.8s ease-out;
        }

        .hero h1 {
            font-family: 'Poppins', sans-serif;
            font-size: clamp(2rem, 6vw, 3rem);
            margin-bottom: 15px;
            color: #007bff;
            font-weight: 600;
            animation: fadeInUp 0.6s ease-out 0.2s backwards;
        }

        .hero p {
            font-size: clamp(1rem, 3vw, 1.2rem);
            margin-bottom: 25px;
            color: #555;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            animation: fadeIn 0.6s ease-out 0.4s backwards;
        }

        .hero .buttons {
            display: flex;
            justify-content: center;
            gap: clamp(10px, 3vw, 15px);
            flex-wrap: wrap;
        }

        .hero .buttons button {
            padding: 10px clamp(15px, 5vw, 25px);
            border: none;
            border-radius: 20px;
            cursor: pointer;
            font-weight: 500;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .hero .buttons .book-btn {
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
            border: 2px solid transparent;
        }

        .hero .buttons .book-btn:hover {
            background: linear-gradient(45deg, #0056b3, #0099a8);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
        }

        .hero .buttons .chat-btn {
            background: linear-gradient(45deg, #ffffff, #f0f0f0);
            color: #007bff;
            border: 2px solid #007bff;
        }

        .hero .buttons .chat-btn:hover {
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
        }

        @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        /* Services */
        .services {
            padding: clamp(30px, 10vw, 60px) 5%;
            text-align: center;
            background: #f9fbfd;
            animation: slideUp 0.8s ease-out;
        }

        .services h2 {
            margin-bottom: 40px;
            font-family: 'Poppins', sans-serif;
            font-size: clamp(1.5rem, 5vw, 2rem);
            color: #333;
            animation: bounceIn 0.8s ease-out;
        }

        .services .service-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: clamp(15px, 5vw, 20px);
        }

        .services .service-item {
            flex: 1 1 clamp(150px, 25%, 200px);
            margin: 10px;
            padding: 20px;
            background: #fff;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            animation: slideUp 0.6s ease-out;
        }

        .services .service-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }

        .services .service-item h3 {
            font-size: clamp(1.1rem, 3vw, 1.3rem);
            color: #007bff;
            margin-bottom: 10px;
            animation: fadeInLeft 0.6s ease-out;
        }

        .services .service-item p {
            color: #666;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
            animation: fadeInRight 0.6s ease-out 0.2s backwards;
        }

        .services button {
            padding: 8px clamp(15px, 5vw, 20px);
            margin-top: 15px;
            border: none;
            border-radius: 25px;
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
            cursor: pointer;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        }

        .services button:hover {
            background: linear-gradient(45deg, #0056b3, #0099a8);
            transform: scale(1.05);
        }

        @keyframes bounceIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
        @keyframes fadeInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
        @keyframes fadeInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

        /* Products */
        .products {
            padding: clamp(30px, 10vw, 60px) 5%;
            text-align: center;
            background: #f9fbfd;
            animation: slideUp 0.8s ease-out;
        }

        .products h2 {
            margin-bottom: 40px;
            font-family: 'Poppins', sans-serif;
            font-size: clamp(1.5rem, 5vw, 2rem);
            color: #333;
            animation: bounceIn 0.8s ease-out;
        }

        .products .product-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: clamp(15px, 5vw, 20px);
        }

        .products .product-item {
            flex: 1 1 clamp(200px, 30%, 250px);
            margin: 10px;
            padding: 20px;
            background: #fff;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            animation: slideUp 0.6s ease-out;
        }

        .products .product-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }

        .products .product-item img {
            width: 100%;
            height: auto;
            border-radius: 10px;
            margin-bottom: 10px;
        }

        .products .product-item h3 {
            font-size: clamp(1.1rem, 3vw, 1.3rem);
            color: #007bff;
            margin-bottom: 10px;
        }

        .products .product-item .price {
            font-size: clamp(1rem, 2.5vw, 1.2rem);
            color: #333;
            margin-bottom: 10px;
        }

        .products .product-item p {
            color: #666;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
            margin-bottom: 15px;
        }

        .products .product-item button {
            padding: 8px clamp(15px, 5vw, 20px);
            border: none;
            border-radius: 25px;
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
            cursor: pointer;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        }

        .products .product-item button:hover {
            background: linear-gradient(45deg, #0056b3, #0099a8);
            transform: scale(1.05);
        }

        /* Testimonials */
        .testimonials {
            padding: clamp(30px, 10vw, 60px) 5%;
            text-align: center;
            background: linear-gradient(135deg, #f9fbfd, #fff);
            animation: slideUp 0.8s ease-out;
        }

        .testimonials h2 {
            margin-bottom: 40px;
            font-family: 'Poppins', sans-serif;
            font-size: clamp(1.5rem, 5vw, 2rem);
            color: #333;
            animation: bounceIn 0.8s ease-out;
        }

        .testimonials .testimonial-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: clamp(15px, 5vw, 20px);
        }

        .testimonials .testimonial {
            flex: 1 1 clamp(200px, 30%, 250px);
            margin: 10px;
            padding: 20px;
            background: #fff;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            animation: slideUp 0.6s ease-out;
        }

        .testimonials .testimonial:hover {
            transform: translateY(-10px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        }

        .testimonials .testimonial p {
            color: #666;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
            margin-bottom: 10px;
        }

        .testimonials .testimonial .likes {
            display: flex;
            gap: 10px;
            justify-content: center;
        }

        .testimonials .testimonial .likes button {
            padding: 5px 15px;
            border: none;
            border-radius: 15px;
            background: #f0f0f0;
            cursor: pointer;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        }

        .testimonials .testimonial .likes button:hover {
            background: #007bff;
            color: #fff;
            transform: scale(1.1);
        }

        /* Trusted Section */
        .trusted {
            padding: clamp(30px, 10vw, 60px) 5%;
            text-align: center;
            background: #fff;
            animation: slideUp 0.8s ease-out;
        }

        .trusted h2 {
            margin-bottom: 40px;
            font-family: 'Poppins', sans-serif;
            font-size: clamp(1.5rem, 5vw, 2rem);
            color: #333;
            animation: bounceIn 0.8s ease-out;
        }

        .trusted .logo-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: clamp(20px, 5vw, 30px);
        }

        .trusted .logo-container div {
            flex: 1 1 clamp(120px, 20%, 150px);
            padding: 15px;
            background: #f9fbfd;
            border-radius: 10px;
            font-size: clamp(0.9rem, 3vw, 1.1rem);
            color: #007bff;
            font-weight: 500;
            animation: fadeInUp 0.6s ease-out;
        }

        .trusted .logo-container div:hover {
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        }

        /* Footer */
        footer {
            padding: clamp(20px, 8vw, 40px) 5%;
            background: linear-gradient(90deg, #007bff, #00c4cc);
            color: #fff;
            text-align: center;
            animation: slideUp 0.8s ease-out;
        }

        .footer-content {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            gap: clamp(15px, 5vw, 20px);
            margin-bottom: 20px;
        }

        .footer-section {
            flex: 1 1 clamp(150px, 30%, 200px);
            animation: slideUp 0.6s ease-out;
        }

        .footer-section h3 {
            font-size: clamp(1.1rem, 3vw, 1.3rem);
            margin-bottom: 10px;
        }

        .footer-section p, .footer-section a {
            color: #f0f0f0;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
            text-decoration: none;
        }

        .footer-section a:hover {
            color: #ffeb3b;
        }

        .footer-bottom {
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
            animation: fadeIn 0.6s ease-out;
        }

        /* Cookie Consent */
        .cookie-consent {
            position: fixed;
            bottom: clamp(10px, 3vw, 20px);
            left: clamp(10px, 3vw, 20px);
            right: clamp(10px, 3vw, 20px);
            background: #fff;
            padding: clamp(15px, 4vw, 20px);
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            animation: slideUp 0.6s ease-out;
            flex-wrap: wrap;
            gap: 10px;
        }

        .cookie-consent p {
            margin: 0;
            font-size: clamp(1rem, 3.5vw, 1.2rem);
            color: #333;
            flex: 1;
            min-width: 200px;
        }

        .cookie-consent .cookie-buttons {
            display: flex;
            gap: 10px;
        }

        .cookie-consent button {
            padding: clamp(8px, 2.5vw, 10px) clamp(15px, 4vw, 20px);
            border: none;
            border-radius: 15px;
            cursor: pointer;
            font-size: clamp(0.9rem, 2.5vw, 1rem);
        }

        .cookie-consent .accept {
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
        }

        .cookie-consent .accept:hover {
            background: linear-gradient(45deg, #0056b3, #0099a8);
            transform: scale(1.05);
        }

        .cookie-consent .decline {
            background: #f0f0f0;
            color: #333;
        }

        .cookie-consent .decline:hover {
            background: #ddd;
            transform: scale(1.05);
        }

        @media (max-width: 480px) {
            .cookie-consent {
                flex-direction: column;
                align-items: stretch;
                text-align: center;
            }
            .cookie-consent .cookie-buttons {
                flex-direction: column;
                gap: 10px;
            }
            .cookie-consent button {
                width: 100%;
            }
        }

        /* AI Chat */
        .ai-chat-circle {
            position: fixed;
            bottom: clamp(70px, 15vw, 80px);
            right: clamp(10px, 3vw, 20px);
            width: clamp(40px, 10vw, 50px);
            height: clamp(40px, 10vw, 50px);
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: clamp(1.2rem, 4vw, 1.5rem);
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            animation: pulse 2s infinite;
        }

        .ai-chat-circle:hover {
            transform: scale(1.1);
        }

        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.1); }
            100% { transform: scale(1); }
        }

        .ai-chat {
            position: fixed;
            bottom: clamp(130px, 20vw, 150px);
            right: clamp(10px, 3vw, 20px);
            width: clamp(250px, 80vw, 350px);
            background: #fff;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            display: none;
            flex-direction: column;
            z-index: 1000;
            animation: slideUp 0.6s ease-out;
        }

        .ai-chat.open {
            display: flex;
        }

        .ai-chat .header {
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
            padding: 10px;
            border-radius: 15px 15px 0 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }

        .ai-chat .header .close {
            font-size: clamp(1rem, 3vw, 1.2rem);
        }

        .ai-chat .messages {
            max-height: 300px;
            overflow-y: auto;
            padding: 10px;
            flex-grow: 1;
        }

        .ai-chat .messages p {
            margin: 5px 0;
            padding: 8px 12px;
            border-radius: 10px;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        }

        .ai-chat .messages .user-message {
            background: #007bff;
            color: #fff;
            margin-left: 20%;
            border-radius: 10px 10px 0 10px;
        }

        .ai-chat .messages .ai-message {
            background: #f0f0f0;
            color: #333;
            margin-right: 20%;
            border-radius: 10px 10px 10px 0;
        }

        .ai-chat .input-area {
            display: flex;
            padding: 10px;
            border-top: 1px solid #ddd;
        }

        .ai-chat .input-area input {
            flex-grow: 1;
            padding: 8px;
            border: 1px solid #ddd;
            border-radius: 15px;
            outline: none;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        }

        .ai-chat .input-area input:focus {
            border-color: #007bff;
        }

        .ai-chat .input-area button {
            padding: 8px clamp(10px, 3vw, 15px);
            border: none;
            border-radius: 15px;
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
            cursor: pointer;
            margin-left: 10px;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        }

        .ai-chat .input-area button:hover {
            background: linear-gradient(45deg, #0056b3, #0099a8);
            transform: scale(1.05);
        }

        /* Scroll to Top */
        .scroll-to-top {
            position: fixed;
            bottom: clamp(10px, 3vw, 20px);
            right: clamp(10px, 3vw, 20px);
            width: clamp(40px, 10vw, 50px);
            height: clamp(40px, 10vw, 50px);
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: clamp(1.2rem, 4vw, 1.5rem);
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0,0,0,0.2);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease-out, transform 0.3s ease-out;
        }

        .scroll-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .scroll-to-top:hover {
            transform: scale(1.1);
        }

        /* Modal */
        .modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            animation: fadeIn 0.3s ease-out;
        }

        .modal-content {
            background: #fff;
            padding: clamp(15px, 5vw, 20px);
            border-radius: 15px;
            width: clamp(280px, 90vw, 400px);
            animation: slideUp 0.3s ease-out;
            position: relative;
        }

        .modal-content h2 {
            margin-bottom: 20px;
            color: #007bff;
            font-size: clamp(1.5rem, 4vw, 1.8rem);
        }

        .modal-content input, .modal-content textarea {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #ddd;
            border-radius: 10px;
            outline: none;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        }

        .modal-content input:focus, .modal-content textarea:focus {
            border-color: #007bff;
        }

        .modal-content .error-message {
            color: #ff4d4d;
            font-size: clamp(0.7rem, 2vw, 0.8rem);
            margin-top: -5px;
            margin-bottom: 10px;
            display: none;
        }

        .modal-content button {
            padding: 10px clamp(15px, 5vw, 20px);
            border: none;
            border-radius: 15px;
            cursor: pointer;
            margin: 5px;
            font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        }

        .modal-content .login-btn, .modal-content .signup-btn, .modal-content .pay-btn {
            background: linear-gradient(45deg, #007bff, #00c4cc);
            color: #fff;
        }

        .modal-content .cancel-btn {
            background: #f0f0f0;
            color: #333;
        }

        .modal-content .cancel-btn:hover {
            background: #ddd;
        }

        .modal-content .login-btn:hover, .modal-content .signup-btn:hover, .modal-content .pay-btn:hover {
            background: linear-gradient(45deg, #0056b3, #0099a8);
            transform: scale(1.05);
        }

        /* Loading Spinner */
        .spinner {
            display: none;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 40px;
            height: 40px;
            border: 4px solid #f3f3f3;
            border-top: 4px solid #007bff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            z-index: 1;
        }

        @keyframes spin {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

        .completion-message {
            display: none;
            text-align: center;
            color: #28a745;
            font-size: clamp(1rem, 3vw, 1.2rem);
            margin-top: 20px;
        }


        /* Payment Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: #1e3a8a;
    font-size: 1.5rem;
    font-weight: bold;
}

.modal-content p {
    margin: 0.5rem 0;
    color: #4b5563;
    font-size: 1rem;
}

.modal-content select, .modal-content input {
    width: 100%;
    padding: 0.5rem;
    margin: 0.5rem 0;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    text-align: left;
}

.modal-content select {
    appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="%23333" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 0.5rem center;
    background-size: 12px;
}

.modal-content .error-message {
    display: none;
    color: #ef4444;
    font-size: 0.9rem;
    text-align: left;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

.modal-content button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 0.5rem;
    font-size: 1rem;
    width: 48%;
}

.pay-btn {
    background: #3b82f6;
    color: #fff;
    transition: background-color 0.3s;
}

.pay-btn:hover {
    background-color: #2563eb;
}

.pay-btn:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

.cancel-btn {
    background: #6b7280;
    color: #fff;
    transition: background-color 0.3s;
}

.cancel-btn:hover {
    background-color: #4b5563;
}

.spinner {
    display: none;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

.completion-message {
    display: none;
    color: #10b981;
    font-weight: bold;
    margin-top: 10px;
    font-size: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        padding: 15px;
    }

    .modal-content h2 {
        font-size: 1.2rem;
    }

    .modal-content button {
        width: 100%;
        margin: 0.3rem 0;
    }
}

/* Dark Theme Support */
@media (prefers-color-scheme: dark) {
    .modal-content {
        background: #374151;
    }

    .modal-content h2 {
        color: #93c5fd;
    }

    .modal-content p {
        color: #9ca3af;
    }

    .modal-content select, .modal-content input {
        background: #4b5563;
        color: #d1d5db;
        border-color: #6b7280;
    }

    .modal-content .error-message {
        color: #f87171;
    }

    .pay-btn {
        background: #60a5fa;
    }

    .pay-btn:hover {
        background-color: #3b82f6;
    }

    .cancel-btn {
        background: #9ca3af;
    }

    .cancel-btn:hover {
        background-color: #6b7280;
    }

    .spinner {
        border-color: #374151;
        border-top-color: #60a5fa;
    }

    .completion-message {
        color: #34d399;
    }
}