:root {
    --primary-color: #0078d4;
    --background-color: #ffffff;
    --surface-color: #f8f9fa;
    --text-color: #1a1a2e;
    --text-secondary: #666666;
    --success-color: #4caf50;
    --error-color: #f44336;
    --chat-bg: #2d2d30;
    --chat-message-bg: #3e3e42;
    --chat-own-message-bg: #0078d4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* ============================================
   Homepage Hero Section
   ============================================ */

.hero-section {
    background: linear-gradient(135deg, #0078d4 0%, #00a2ed 50%, #00c4b4 100%);
    padding: 80px 0;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.hero-cta .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
}

.hero-cta .btn-outline-light {
    border-width: 2px;
}

.hero-cta .btn-outline-light:hover {
    background: white;
    color: #0078d4;
}

/* ============================================
   Homepage Content Section
   ============================================ */

.content-section {
    background: #f8f9fa;
}

.section-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.section-card h2 {
    color: #1a1a2e;
    margin-bottom: 20px;
    font-size: 1.75rem;
}

.section-card .lead {
    font-size: 1.1rem;
    color: #4a4a6a;
}

.section-card p {
    color: #555;
}

.highlight-card {
    background: linear-gradient(135deg, #e8f4ff 0%, #f0f8ff 100%);
    border: 1px solid #cce5ff;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.benefit-item:hover {
    background: #e9ecef;
}

.benefit-item i {
    font-size: 1.5rem;
    color: #0078d4;
    min-width: 30px;
}

.benefit-item strong {
    display: block;
    color: #1a1a2e;
    margin-bottom: 5px;
}

.benefit-item p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Stats Grid */
.stats-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: #0078d4;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #666;
    margin-top: 10px;
}

/* Industry Tags */
.industry-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.industry-tag {
    background: linear-gradient(135deg, #e8f4ff 0%, #f0f8ff 100%);
    color: #0078d4;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #cce5ff;
    transition: transform 0.2s ease;
}

.industry-tag:hover {
    transform: scale(1.05);
}

/* Steps Container */
.steps-container {
    margin-top: 25px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #0078d4 0%, #00a2ed 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content strong {
    display: block;
    color: #1a1a2e;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.step-content p {
    margin: 0;
    color: #666;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0078d4 0%, #00a2ed 100%);
    border-radius: 16px;
    padding: 50px 40px;
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-outline-primary {
    color: white;
    border-color: white;
}

.cta-section .btn-outline-primary:hover {
    background: white;
    color: #0078d4;
}

.cta-section .btn-primary {
    background: white;
    color: #0078d4;
    border-color: white;
}

.cta-section .btn-primary:hover {
    background: #f0f0f0;
}

/* Responsive adjustments for homepage */
@media (max-width: 768px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .hero-cta .btn:last-child {
        margin-bottom: 0;
    }

    .section-card {
        padding: 25px;
    }

    .stats-grid {
        gap: 30px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-section {
        padding: 35px 25px;
    }
}

/* Input Groups with Prefix/Suffix */
.input-group {
    display: flex;
    align-items: stretch;
}

.input-prefix,
.input-suffix {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
}

.input-prefix {
    border-right: none;
    border-radius: 0.375rem 0 0 0.375rem;
}

.input-suffix {
    border-left: none;
    border-radius: 0 0.375rem 0.375rem 0;
}

.input-group .form-control {
    border-radius: 0;
}

.input-group .form-control:first-child:not(:only-child) {
    border-radius: 0.375rem 0 0 0.375rem;
}

.input-group .form-control:last-child:not(:only-child) {
    border-radius: 0 0.375rem 0.375rem 0;
}

.input-group > .input-prefix + .form-control {
    border-left: none;
}

.input-group > .form-control + .input-suffix {
    border-left: none;
}

.stream-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

h1 {
    text-align: left;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 2.5rem;
}

.status-message {
    text-align: center;
    padding: 40px;
    background-color: var(--surface-color);
    border-radius: 8px;
    margin: 20px 0;
}

.status-message p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.status-message .hint {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Access Link Container */
.access-link-container {
    text-align: center;
    padding: 60px 40px;
    background-color: var(--surface-color);
    border-radius: 12px;
    margin: 40px auto;
    max-width: 700px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.access-link-container h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 2rem;
}

.access-link-container .hint {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.access-link-container code {
    background-color: var(--background-color);
    padding: 8px 16px;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    color: var(--primary-color);
    font-size: 1rem;
    display: inline-block;
    margin: 10px 0;
}

/* Video Container */
.video-container {
    background-color: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Stream Content Wrapper - Side by side layout */
.stream-content-wrapper {
    display: flex;
    gap: 20px;
    width: 100%;
}

.stream-main-content {
    flex: 1;
    min-width: 0; /* Prevents flex item from overflowing */
}

/* Chat Panel Styles */
.chat-panel {
    width: 350px;
    background-color: var(--chat-bg);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    height: 600px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.chat-header {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.chat-user-info {
    margin: 5px 0 0 0;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.chat-message {
    padding: 10px;
    background-color: var(--chat-message-bg);
    border-radius: 8px;
    max-width: 85%;
    align-self: flex-start;
}

.chat-message.own-message {
    background-color: var(--chat-own-message-bg);
    align-self: flex-end;
}

.chat-message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.chat-message-name {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.chat-message.own-message .chat-message-name {
    color: rgba(255, 255, 255, 0.9);
}

.chat-message-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.chat-message-text {
    color: var(--text-secondary);
    word-wrap: break-word;
    font-size: 0.95rem;
    line-height: 1.4;
}

.chat-message.own-message .chat-message-text {
    color: white;
}

.chat-input-container {
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: var(--surface-color);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.chat-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-send-btn {
    padding: 10px 20px;
    white-space: nowrap;
}

/* Chat Registration Form */
.chat-registration-form {
    max-width: 400px;
    margin: 30px auto 0;
    text-align: left;
}

.chat-registration-form .form-group {
    margin-bottom: 20px;
}

.chat-registration-form label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-secondary);
    font-weight: 500;
}

.chat-registration-form .form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: var(--surface-color);
    color: var(--text-secondary);
    font-size: 1rem;
}

.chat-registration-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-registration-form .btn {
    width: 100%;
    margin-top: 10px;
}

/* Stream Info Styles */
.stream-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--surface-color);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.stream-info p {
    margin: 0;
    color: var(--text-secondary);
}

.stream-info strong {
    color: white;
}

/* Moderator Controls */
.moderator-badge-container {
    position: relative;
}

.chat-message .dropdown-toggle {
    opacity: 0;
    transition: opacity 0.2s;
}

.chat-message:hover .dropdown-toggle {
    opacity: 1;
}

.dropdown-menu {
    font-size: 0.9rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Stream Thumbnail Styles */
.stream-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.stream-thumbnail-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px 8px 0 0;
}

/* Event Image Upload Styles */
.image-upload-section {
    margin-bottom: 1rem;
}

.uploaded-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-preview {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: #f9fafb;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.image-preview:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.image-preview.primary-image {
    border-color: #10b981;
}

.image-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.primary-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #10b981;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.image-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 12px 8px 8px;
    display: flex;
    gap: 4px;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-preview:hover .image-actions {
    opacity: 1;
}

.btn-image-action {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #374151;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-image-action:hover {
    background: white;
    transform: scale(1.1);
}

.btn-image-action.btn-danger {
    background: rgba(239, 68, 68, 0.9);
    color: white;
}

.btn-image-action.btn-danger:hover {
    background: #dc2626;
}

.section-description {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.optional-badge {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: normal;
    margin-left: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stream-container {
        padding: 15px;
    }

    h1 {
        font-size: 2rem;
    }

    .access-link-container {
        padding: 40px 20px;
    }

    .access-link-container h2 {
        font-size: 1.5rem;
    }

    .code-input-group {
        flex-direction: column;
        align-items: stretch;
    }

    .code-input {
        flex: 1;
        font-size: 1.8rem;
    }

    .stream-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .stream-info p {
        margin: 5px 0;
    }

    .stream-content-wrapper {
        flex-direction: column;
    }

    .chat-panel {
        width: 100%;
        height: 400px;
    }
}

/* ============================================
   Live Chat Marketing Section Styles
   ============================================ */

.live-chat-highlight {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4ff 100%);
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    border: 1px solid #e0e7ff;
    box-shadow: 0 4px 20px rgba(0, 120, 212, 0.08);
}

.live-chat-highlight h2 {
    color: #1a1a2e;
    margin-bottom: 20px;
}

.live-chat-highlight .lead {
    font-size: 1.2rem;
    color: #4a4a6a;
}

.live-chat-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ============================================
   Features Page Styles
   ============================================ */

.features-hero {
    background: linear-gradient(135deg, #0078d4 0%, #00a2ed 50%, #00c4b4 100%);
    padding: 80px 0 60px;
    color: white;
}

.features-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.features-hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Feature Navigation */
.feature-nav-section {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #f8f9fa;
}

.feature-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-nav-item:hover {
    background: #0078d4;
    border-color: #0078d4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 120, 212, 0.3);
}

.feature-nav-item i {
    font-size: 1rem;
}

/* Feature Sections */
.feature-section {
    scroll-margin-top: 80px;
    background-color: #ffffff;
}

.feature-section.bg-light {
    background-color: #f8f9fa;
}

.feature-category-header {
    margin-bottom: 50px;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.feature-icon-large i {
    font-size: 2rem;
}

.feature-category-header h2 {
    font-size: 2.2rem;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.feature-category-header .lead {
    font-size: 1.15rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    display: flex;
    gap: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card.compact {
    padding: 20px;
}

.feature-card.compact .feature-card-content h5 {
    margin-bottom: 8px;
    font-size: 1rem;
}

.feature-card.compact .feature-card-content p {
    font-size: 0.9rem;
    margin: 0;
}

.feature-card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0078d4;
}

.feature-card-icon i {
    font-size: 1.3rem;
}

.feature-card-icon.text-success {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #4caf50;
}

.feature-card-icon.text-info {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #2196f3;
}

.feature-card-icon.text-warning {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    color: #ff9800;
}

.feature-card-icon.text-danger {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #f44336;
}

.feature-card-icon.text-secondary {
    background: linear-gradient(135deg, #eceff1 0%, #cfd8dc 100%);
    color: #607d8b;
}

.feature-card-content h4 {
    color: #1a1a2e;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card-content p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Feature Mini Cards */
.feature-mini-card {
    background: white;
    border-radius: 12px;
    padding: 30px 20px;
    height: 100%;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.feature-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-mini-card h5 {
    color: #1a1a2e;
    margin-bottom: 10px;
}

.feature-mini-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Features CTA Section */
.features-cta {
    background: linear-gradient(135deg, #0078d4 0%, #00a2ed 100%);
    color: white;
}

.features-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.features-cta .lead {
    opacity: 0.95;
}

.cta-buttons .btn-light {
    background: white;
    color: #0078d4;
    border: none;
    font-weight: 600;
}

.cta-buttons .btn-light:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
}

.cta-buttons .btn-outline-light {
    border-width: 2px;
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Responsive Features Page */
@media (max-width: 768px) {
    .features-hero-title {
        font-size: 1.8rem;
    }

    .features-hero-subtitle {
        font-size: 1rem;
    }

    .feature-nav-item {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .feature-icon-large {
        width: 60px;
        height: 60px;
    }

    .feature-icon-large i {
        font-size: 1.5rem;
    }

    .feature-category-header h2 {
        font-size: 1.7rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .feature-card-icon {
        margin: 0 auto;
    }

    .features-cta h2 {
        font-size: 1.5rem;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

.live-chat-features .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 16px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.live-chat-features .feature-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.live-chat-features .feature-item i {
    font-size: 1.5rem;
    min-width: 30px;
    margin-top: 2px;
}

.live-chat-illustration {
    perspective: 1000px;
}

.chat-preview-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
    max-width: 320px;
    margin: 0 auto;
}

.chat-preview-card:hover {
    transform: rotateY(0) rotateX(0);
}

.chat-preview-header {
    background: linear-gradient(135deg, #0078d4 0%, #00a2ed 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.chat-preview-header .status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.chat-preview-header .status-dot.online {
    background: #4caf50;
    box-shadow: 0 0 8px #4caf50;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.chat-preview-body {
    padding: 20px;
    background: #f8f9fa;
    min-height: 150px;
}

.chat-bubble {
    padding: 12px 16px;
    border-radius: 16px;
    margin-bottom: 12px;
    max-width: 85%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-bubble.customer {
    background: #e3e3e3;
    color: #333;
    border-bottom-left-radius: 4px;
}

.chat-bubble.agent {
    background: linear-gradient(135deg, #0078d4 0%, #00a2ed 100%);
    color: white;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.chat-bubble .agent-name {
    display: block;
    font-size: 0.75rem;
    opacity: 0.85;
    margin-bottom: 4px;
}

.chat-preview-footer {
    padding: 12px 20px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 0.85rem;
}

.typing-indicator {
    display: flex;
    gap: 4px;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #0078d4;
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }
.typing-indicator span:nth-child(3) { animation-delay: 0s; }

@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40% { transform: scale(1); opacity: 1; }
}

/* Responsive adjustments for live chat section */
@media (max-width: 991px) {
    .live-chat-highlight {
        padding: 25px;
    }

    .chat-preview-card {
        transform: none;
        max-width: 280px;
    }
}

@media (max-width: 576px) {
    .live-chat-highlight {
        padding: 20px;
        margin-top: 25px;
    }

    .live-chat-features .feature-item {
        padding: 10px 12px;
    }

    .live-chat-features .feature-item i {
        font-size: 1.2rem;
    }
}
