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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #eef2f7);
    color: #2c3e50;
    min-height: 100vh;
}

/* Header */
.news-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e0e4e8;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 2rem;
    color: #e74c3c;
}

.logo h1 {
    font-size: 1.3rem;
    color: #2c3e50;
}

.logo span {
    font-size: 0.7rem;
    opacity: 0.6;
    color: #7f8c8d;
}

.date-badge {
    background: #f0f2f5;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #2c3e50;
}

.back-home {
    background: #f0f2f5;
    border: none;
    padding: 8px 18px;
    border-radius: 30px;
    cursor: pointer;
    color: #2c3e50;
    transition: all 0.2s;
}

.back-home:hover {
    background: #e0e4e8;
}

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

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease;
}

.maintenance-badge {
    display: inline-block;
    background: #fef2e8;
    color: #e67e22;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    border: 1px solid #f7d5b5;
}

.hero-section h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #2c3e50;
}

.hero-section p {
    font-size: 1rem;
    opacity: 0.7;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    color: #5a6c7e;
}

/* Section Title */
.section-title {
    font-size: 1.4rem;
    margin: 40px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-left: 3px solid #e74c3c;
    padding-left: 15px;
    color: #2c3e50;
}

.section-title i {
    color: #e74c3c;
}

/* Update Grid */
.update-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.update-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #e8ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
    animation-fill-mode: both;
}

.update-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: #d0d5da;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 1.5rem;
    color: white;
}

.card-title h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: #2c3e50;
}

.card-title .status {
    font-size: 0.7rem;
    color: #e67e22;
}

.card-content {
    margin-left: 62px;
}

.card-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #5a6c7e;
}

.feature-list {
    list-style: none;
    margin-top: 12px;
}

.feature-list li {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #5a6c7e;
}

.feature-list li i {
    color: #e74c3c;
    width: 20px;
}

/* Chat Preview */
.chat-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 24px;
    margin-bottom: 30px;
}

.chat-preview-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e8ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chat-preview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.chat-header {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.chat-online-dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.chat-title {
    font-weight: 600;
    flex: 1;
}

.chat-users {
    font-size: 11px;
    opacity: 0.9;
}

.chat-badge {
    font-size: 10px;
    background: rgba(255,255,255,0.2);
    padding: 3px 8px;
    border-radius: 20px;
}

.chat-messages-preview {
    padding: 16px;
    background: #f8fafc;
    min-height: 200px;
}

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

.chat-message.left {
    justify-content: flex-start;
}

.chat-message.right {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 18px;
    font-size: 12px;
    background: #e5e7eb;
    color: #1f2937;
}

.chat-message.right .message-bubble {
    background: #3b82f6;
    color: white;
}

.message-time {
    font-size: 9px;
    color: #9ca3af;
    margin-top: 4px;
    margin-left: 12px;
}

.cs-info {
    background: #eef2ff;
    padding: 8px 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 12px;
    color: #3b82f6;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cs-left .message-bubble {
    background: #e5e7eb;
    color: #1f2937;
}

.cs-right .message-bubble {
    background: #3b82f6;
    color: white;
}

.user-bubble {
    background: #3b82f6 !important;
    color: white !important;
}

.cs-bubble {
    background: #e5e7eb !important;
    color: #1f2937 !important;
}

.chat-input-preview {
    padding: 12px 16px;
    border-top: 1px solid #e8ecef;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9ca3af;
    font-size: 13px;
}

.chat-input-preview i {
    color: #9ca3af;
}

.cs-button-preview {
    padding: 16px;
    display: flex;
    gap: 12px;
    border-top: 1px solid #e8ecef;
}

.cs-demo-btn, .livechat-demo-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 12px;
}

.cs-demo-btn {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.livechat-demo-btn {
    background: #f0f2f5;
    color: #2c3e50;
}

.cs-demo-btn:hover, .livechat-demo-btn:hover {
    transform: scale(0.98);
    opacity: 0.9;
}

/* Timeline */
.timeline {
    margin: 40px 0;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e8ecef;
    transition: all 0.2s;
}

.timeline-item:hover {
    background: #fafcfd;
}

.timeline-item.highlight {
    background: linear-gradient(135deg, #eef2ff, #ffffff);
    border-left: 4px solid #3b82f6;
}

.timeline-date {
    min-width: 140px;
    color: #e67e22;
    font-weight: 600;
}

.timeline-content h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.timeline-content p {
    font-size: 0.85rem;
    opacity: 0.7;
    color: #5a6c7e;
}

/* Changelog */
.changelog {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px;
    margin-top: 30px;
    border: 1px solid #e8ecef;
}

.changelog-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #e8ecef;
}

.changelog-item:last-child {
    border-bottom: none;
}

.changelog-version {
    min-width: 130px;
    color: #e74c3c;
    font-weight: 700;
}

.changelog-list {
    flex: 1;
}

.changelog-list ul {
    margin-left: 20px;
    color: #5a6c7e;
}

.changelog-list li {
    margin: 4px 0;
    font-size: 0.85rem;
}

/* CTA Buttons */
.cta-button {
    text-align: center;
    margin: 40px 0;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #e74c3c;
    border: none;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: white;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: #c0392b;
    transform: scale(1.02);
}

.btn-secondary {
    background: transparent;
    border: 1px solid #d0d5da;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #2c3e50;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background: #f0f2f5;
    border-color: #e74c3c;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid #e8ecef;
    margin-top: 40px;
}

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

.social-icons a {
    color: #95a5a6;
    font-size: 1.3rem;
    opacity: 0.7;
    transition: all 0.2s;
    cursor: pointer;
}

.social-icons a:hover {
    opacity: 1;
    color: #e74c3c;
    transform: translateY(-3px);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #2c3e50;
    color: white;
    padding: 12px;
    border-radius: 40px;
    text-align: center;
    z-index: 9999;
    border-left: 3px solid #e74c3c;
    animation: slideUp 0.3s ease;
    max-width: 400px;
    margin: 0 auto;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .update-grid, .chat-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .card-content {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .timeline-date {
        min-width: auto;
    }
    
    .changelog-item {
        flex-direction: column;
        gap: 8px;
    }
    
    .cta-button {
        flex-direction: column;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
    
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .chat-messages-preview {
        min-height: 180px;
    }
    
    .cs-button-preview {
        flex-direction: column;
    }
    
    .feature-list li {
        font-size: 0.75rem;
    }
}