body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
    color: #fff;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

#background-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
    object-fit: cover;
    will-change: playbackRate;
}

header {
    background-color: #0066cc;
    color: white;
    padding: 1.5em 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav a {
    color: white;
    text-decoration: none;
}

#hero {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.7), rgba(0, 64, 128, 0.7));
    color: white;
    padding: 80px 20px;
    margin-bottom: 30px;
    border-radius: 0;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

button {
    background-color: #ff6600;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

button:hover {
    background-color: #00cc66;
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(51, 51, 51, 0.5);
}

section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 15px;
    margin-bottom: 30px;
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background-color: rgba(248, 248, 248, 0.1);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 10px;
    padding: 30px;
    width: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    z-index: -1;
    transition: background-color 0.3s ease;
}

.benefit-card:hover::before {
    background-color: rgba(0, 0, 0, 0.85);
}

.benefit-card:hover {
    transform: translateY(-10px) scale(1.05);
    background-color: #000;
    color: #0066cc;
}

.benefit-card h3 {
    margin: 15px 0;
    color: #0066cc;
    transition: color 0.3s ease;
}

.benefit-card:hover h3 {
    color: #0066cc;
}

.benefit-card p {
    transition: color 0.3s ease;
}

.benefit-card:hover p {
    color: #0066cc;
}

.benefit-icon {
    margin-bottom: 20px;
}

footer {
    background-color: #004080;
    color: white;
    padding: 30px 0;
    margin-top: 40px;
    position: relative;
}

.version {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 0.75rem;
    opacity: 0.8;
}

#upgrade {
    background-color: rgba(0, 0, 0, 0.65);
    padding: 60px 20px;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.pricing-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    width: 280px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(5px);
}

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

.pricing-card h3 {
    margin: 0 0 15px;
    color: #333;
    font-size: 1.8rem;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 20px;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
    color: #666;
}

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
    flex-grow: 1;
}

.features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(238, 238, 238, 0.2);
}

.features li::before {
    content: "✓";
    color: #00cc66;
    margin-right: 8px;
}

.pricing-btn {
    background-color: #0066cc;
    color: white;
    padding: 12px 0;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.pricing-btn:hover {
    background-color: #00cc66;
    transform: scale(1.05);
}

.pricing-card.free .pricing-btn {
    background-color: #666;
    cursor: default;
}

.pricing-card.free .pricing-btn:hover {
    background-color: #666;
    transform: none;
}

.pricing-card.pro {
    border: 2px solid #0066cc;
    padding-top: 45px;
}

.most-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff6600;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.chatbot-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.chatbot-panel {
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    height: 80%;
    max-height: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 102, 204, 0.5);
    border: 1px solid #0066cc;
}

.chatbot-header {
    background: linear-gradient(90deg, #0044cc, #0066cc);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #111;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    display: flex;
    margin-bottom: 10px;
}

.bot-message {
    align-self: flex-start;
    max-width: 80%;
}

.user-message {
    align-self: flex-end;
    justify-content: flex-end;
    max-width: 80%;
}

.avatar {
    margin-right: 10px;
    display: flex;
    align-items: center;
    position: relative;
}

.avatar img {
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.7);
}

.message-content {
    padding: 12px 15px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.bot-message .message-content {
    background-color: #222;
    color: #fff;
    border: 1px solid #0066cc;
    border-bottom-left-radius: 5px;
    box-shadow: 0 0 8px rgba(0, 102, 204, 0.3);
}

.user-message .message-content {
    background: linear-gradient(135deg, #0066cc, #0044cc);
    color: white;
    border-bottom-right-radius: 5px;
}

.chat-input-container {
    display: flex;
    padding: 15px;
    background-color: #222;
    border-top: 1px solid #0066cc;
}

#chat-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #0066cc;
    border-radius: 25px;
    outline: none;
    font-size: 1rem;
    background-color: #333;
    color: #fff;
}

#send-message {
    background: none;
    border: none;
    margin-left: 10px;
    padding: 0 15px;
    cursor: pointer;
    box-shadow: none;
}

#send-message svg path {
    fill: #0066cc;
}

#send-message:hover svg path {
    fill: #00cc66;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 14px;
    background-color: #0066cc;
    animation: blink 1s infinite;
    margin-left: 2px;
    vertical-align: middle;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.news-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.news-panel {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    position: relative;
    color: #333;
}

.news-panel h3 {
    color: #0066cc;
    margin-top: 0;
    margin-bottom: 20px;
}

.news-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.close-news {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-news:hover {
    color: #000;
}

#about, #contact {
    background-color: rgba(0, 0, 0, 0.65);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    color: #0066cc;
}

.social-icon svg {
    margin-right: 10px;
}

@media (max-width: 768px) {
    #hero h2 {
        font-size: 2rem;
    }
    
    .benefits-container {
        flex-direction: column;
        align-items: center;
    }
    
    .benefit-card {
        width: 90%;
        max-width: 350px;
    }
    
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 90%;
        max-width: 350px;
        margin-bottom: 20px;
    }
    
    .version {
        position: static;
        margin-top: 10px;
        text-align: center;
    }
    
    .social-icons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
}