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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

body {
    background: linear-gradient(135deg, #000000, #1a1a2e, #000000);
    color: #ffffff;
}

.hero-gradient {
    background: radial-gradient(circle at 50% 50%, rgba(71, 71, 255, 0.15) 0%, transparent 70%);
}

/* Contact Section Styles */
#contact {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

#contact p {
    font-size: 1.25rem;
    color: #9CA3AF;
}

#contact a {
    color: #3B82F6;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

#contact a:hover {
    color: #2563EB;
}

/* Chat Styles */
.chat-message {
    max-width: 80%;
    margin: 8px;
    padding: 12px;
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.chat-message.visible {
    opacity: 1;
    transform: translateY(0);
}

.agent {
    background: rgba(255, 255, 255, 0.05);
    margin-right: auto;
}

.customer {
    background: linear-gradient(135deg, #4747ff, #6b47ff);
    color: white;
    margin-left: auto;
}

/* Form Elements */
.email-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(71, 71, 255, 0.2);
    border-radius: 50px;
    padding: 8px 20px;
    width: 100%;
    max-width: 400px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.email-input:focus {
    border-color: rgba(71, 71, 255, 0.5);
    box-shadow: 0 0 20px rgba(71, 71, 255, 0.2);
    outline: none;
}

.submit-button {
    background: linear-gradient(135deg, #4747ff, #6b47ff);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: -48px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.submit-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(71, 71, 255, 0.4);
}

/* Feature Cards */
.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(71, 71, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    animation: float 3s ease infinite;
    border-color: rgba(71, 71, 255, 0.5);
    box-shadow: 0 8px 32px rgba(71, 71, 255, 0.1);
}

/* Typing Indicator */
.typing-indicator {
    display: none;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin: 8px;
    width: fit-content;
}

.typing-indicator span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    margin-right: 5px;
    animation: typing 1s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

/* Chat Container */
.chat-container-wrapper {
    height: 400px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border-radius: 12px;
}

/* Logo Carousel */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-carousel {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.logo-slide {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 20px 0;
    animation: scroll 20s linear infinite;
}

.logo-slide img {
    height: 40px;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.3s ease;
}

.logo-slide img:hover {
    filter: grayscale(0%) brightness(100%);
    transform: scale(1.1);
}

.hero-text {
    animation: fadeIn 1s ease-out;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .hero-text {
        font-size: 2.5rem !important;
        font-size: 2rem !important;
        line-height: 1.2 !important;
        padding-top: 1rem;
    }
    
    main {
        padding-top: 5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav-links {
        display: none;
    }

    .logo-carousel {
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 0;
    }

    .logo-slide {
        display: inline-flex;
        gap: 30px;
        padding: 10px 0;
        animation: none;
    }

    .logo-slide img {
        height: 30px;
        flex-shrink: 0;
    }

    .email-input {
        max-width: 100%;
        font-size: 16px;
        padding: 12px 16px;
    }
    
    .submit-button {
        width: 40px;
        height: 40px;
        margin-left: -40px;
    }
}

/* Cookie Consent Popup Styles */
#cookie-consent-popup {
    transition: opacity 0.5s ease-in-out;
}

#cookie-consent-popup button {
    transition: background-color 0.2s ease;
}
