/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #1f2937;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hidden {
    display: none !important;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #6B5B95;
    border-radius: 2px;
}

/* Header */
.header {
    padding: 1rem;
    text-align: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.header-nav {
    position: absolute;
    top: 0;
    right: 1rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo-image {
    height: 2.5rem;
    width: auto;
    max-width: 2.5rem;
    object-fit: contain;
}

.logo i {
    font-size: 2.5rem;
    color: #ff0000;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #83648B;
    color: white;
    text-align: center;
    padding: 10rem 1rem 2rem;
    position: relative;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    color: #f1f3f4;
}

.hero-input-container {
    max-width: 600px;
    margin: 0 auto;
}

.input-group {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.url-input {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    font-size: 1rem;
    background: transparent;
    color: white;
    caret-color: white;
}

/* Fix for browser autofill background */
.url-input:-webkit-autofill,
.url-input:-webkit-autofill:hover,
.url-input:-webkit-autofill:focus,
.url-input:-webkit-autofill:active {
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.url-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.url-input:focus {
    outline: none;
}

.load-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.load-btn:hover {
    background: linear-gradient(135deg, #27AE60, #229954);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.input-help {
    text-align: center;
    color: #f1f3f4;
    font-size: 0.9rem;
}

.input-help i {
    color: #f8f9fa;
    margin-right: 0.5rem;
}

/* Page Content Wrapper */
.page-content {
    background: transparent;
    padding-bottom: 0;
}

/* Enhanced Features Section */
.features-section {
    padding: 5rem 1rem;
    background: white;
    position: relative;
}

.features-section .section-title {
    color: #333;
}

.features-section .section-title::after {
    background: #6B5B95;
}

.features-badge {
    display: inline-block;
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.features-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #333;
}

.features-list li i {
    color: #6B5B95;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.features-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.features-btn {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    align-self: flex-start;
}

.features-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.features-note {
    color: #666;
    font-size: 0.9rem;
}

.features-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.features-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid #f8f9fa;
    transition: transform 0.3s ease;
}

.features-overlay {
    display: none;
}

.features-image-wrapper:hover .features-overlay {
    opacity: 0;
}

.features-image-wrapper:hover .features-image {
    transform: none;
}

.features-play-btn {
    display: none;
}

/* Enhanced Demo Section */
.demo-section {
    padding: 5rem 1rem;
    background: #83648B;
}

.demo-section .section-title {
    color: white;
}

.demo-section .section-title::after {
    background: #f8f9fa;
}

.demo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.demo-subtitle {
    font-size: 1.2rem;
    color: #f1f3f4;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.demo-image-container {
    position: relative;
}

.demo-stats {
    position: absolute;
    bottom: -20px;
    right: -20px;
    display: flex;
    gap: 1rem;
}

.demo-stat {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 80px;
}

.demo-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #6B5B95;
}

.demo-label {
    font-size: 0.8rem;
    color: #666;
}

.demo-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.demo-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #fff;
}

.demo-benefits li i {
    color: #f8f9fa;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.demo-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.demo-btn {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    align-self: flex-start;
}

.demo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.demo-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #f1f3f4;
}

/* Enhanced Extension Section */
.extension-section {
    padding: 4rem 1rem;
    background: white;
}

.extension-section .section-title {
    color: #333;
}

.extension-section .section-title::after {
    background: #6B5B95;
}

.extension-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6B5B95, #88668A);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.extension-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.extension-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.extension-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.extension-benefits li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: #333;
}

.extension-benefits li i {
    color: #6B5B95;
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.extension-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.extension-cta a,
.hero-extension-button a {
    text-decoration: none;
}

.extension-btn {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    align-self: flex-start;
}

.extension-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.extension-btn-secondary {
    background: transparent;
    color: #2ECC71;
    border: 2px solid #2ECC71;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.extension-btn-secondary:hover {
    background: #2ECC71;
    color: white;
}

.extension-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.extension-image {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid #f8f9fa;
}

.extension-chrome-badge {
    display: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .input-group { flex-direction: column; background: none; backdrop-filter: none; border: none; padding: 0; }
    .url-input { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); padding-left: 1.5rem; }
    .load-btn { background: linear-gradient(135deg, #2ECC71, #27AE60); color: white; }
    .features-grid, .demo-content, .extension-content { grid-template-columns: 1fr; }
    .video-info-bar, .footer-links, .cta-stats { flex-direction: column; text-align: center; gap: 1rem; }
    .chat-input-group { padding: 0 1rem; }
    .chat-container { padding: 0 1rem; }
    .message { max-width: 95%; }
    
    /* Mobile navigation */
    .header-nav {
        position: static;
        margin-top: 0.5rem;
    }
    
    /* Mobile styles for images */
    .demo-image, .extension-image {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .extension-text {
        padding: 0;
        text-align: left;
    }
    
    .extension-content {
        gap: 2rem;
    }
    
    .extension-cta {
        align-items: center;
        text-align: center;
    }
    
    .hero-section {
        padding: 12rem 1rem 2rem;
    }
    
    .hero-extension-button {
        margin-bottom: 3rem;
    }
}

/* Chat Section */
.chat-section { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    width: 100%;
    height: 100vh; /* Make chat section take full viewport height */
    background: #f4f7f6; /* Use a light grey background for the whole section */
}

.video-info-bar { 
    display: flex; 
    align-items: center; 
    gap: 1rem; 
    background: white; /* Change to white for a cleaner look */
    color: #333; /* Darker text for contrast */
    padding: 1rem 1.5rem; 
    border-bottom: 1px solid #e9ecef; /* Add a subtle border */
    flex-shrink: 0;
}

.video-thumbnail { 
    width: 80px; /* Increase size */
    height: 45px; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.video-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.video-details { flex: 1; }
.video-details h3 { font-size: 1.1rem; font-weight: 600; }
.video-details p { font-size: 0.9rem; color: #666; }

.new-video-btn { 
    padding: 0.6rem 1.2rem; 
    background: #6B5B95; 
    color: white;
    border: none; 
    border-radius: 20px; 
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}
.new-video-btn:hover {
    background: #5A4B7C;
}

.share-btn {
    padding: 0.6rem 1.2rem;
    background: #6B5B95;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0.5rem;
}

.share-btn:hover {
    background: #5A4B7C;
    transform: translateY(-1px);
}

.chat-container { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    max-width: 1000px;
    width: 100%;
    margin: 0 auto; /* Center the chat container */
    padding: 0 1.5rem; /* Add horizontal padding */
}

.chat-messages { 
    flex: 1; 
    padding: 1.5rem 0; 
    overflow-y: auto; 
}

.message { 
    display: flex; 
    max-width: 85%; 
    margin-bottom: 1.5rem; 
    gap: 0.75rem;
    align-items: flex-start;
}

.message.user { 
    align-self: flex-end; 
    flex-direction: row-reverse; 
}

.message.assistant {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    margin-bottom: 1.5rem;
    gap: 0;
    align-items: flex-start;
}

.message-content { 
    padding: 1rem 1.25rem; 
    border-radius: 18px; 
    line-height: 1.5; 
    position: relative;
}

.message-actions {
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s;
    margin-top: 0.5rem;
    justify-content: flex-start;
    width: 100%;
}

.message:hover .message-actions {
    opacity: 1;
}

.action-btn {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.action-btn:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #495057;
    transform: none;
}

.action-btn i {
    font-size: 0.75rem;
}

.message.user .message-content { 
    background: #6B5B95; 
    color: white; 
    border-radius: 18px 18px 4px 18px; 
}
.message.assistant .message-content { 
    background: white; 
    color: #333; 
    border-radius: 18px 18px 18px 4px; 
}
.message.welcome .message-content { 
    background: linear-gradient(135deg, #6B5B95, #88668A); 
    color: white; 
    border-radius: 18px; 
    box-shadow: 0 4px 15px rgba(107, 91, 149, 0.3);
}

.suggestions { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 0.75rem; 
    margin-top: 1rem; 
}
.suggestion-chip { 
    background: rgba(255, 255, 255, 0.15); 
    color: white; 
    padding: 0.6rem 1.1rem; 
    border: 1px solid rgba(255,255,255,0.25); 
    border-radius: 20px; 
    font-size: 0.9rem; 
    cursor: pointer; 
    transition: background 0.3s;
}
.suggestion-chip:hover {
    background: rgba(255, 255, 255, 0.3);
}

.typing-indicator .message-content { background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.07); }
.chat-input-container { 
    padding: 1rem 0; 
    border-top: 1px solid #e9ecef; 
    background: #f4f7f6; /* Match background */
    flex-shrink: 0;
}
.chat-input-group { 
    display: flex; 
    gap: 1rem; 
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
    padding: 0 1.5rem;
    align-items: flex-end;
}
.message-input { 
    flex: 1; 
    padding: 1rem 1.25rem; 
    border: 1px solid #e0e0e0;
    border-radius: 25px; 
    resize: none; 
    background: white;
    font-size: 1rem;
    line-height: 1.4;
    overflow: hidden;
}
.message-input:focus { outline: none; border-color: #6B5B95; box-shadow: 0 0 0 3px rgba(107, 91, 149, 0.15); }
.send-btn { 
    width: 50px; 
    height: 50px; 
    background: #6B5B95; 
    color: white; 
    border: none; 
    border-radius: 50%; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.3s;
}
.send-btn:hover {
    background: #5A4B7C;
}
.chat-help {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin-top: 0.75rem;
    max-width: 1000px;
    padding: 0 1.5rem;
    margin: 0.75rem auto 0;
}

/* Footer */
.footer {
    background: #83648B;
    color: white;
    padding: 2rem 1rem 1rem 1rem;
    text-align: center;
}

/* Hide footer when chat is active or loading */
body.chat-active .footer,
body.loading-active .footer {
    display: none;
}

.footer-links { margin-top: 1rem; display: flex; justify-content: center; gap: 2rem; }
.footer-link { color: rgba(255, 255, 255, 0.7); text-decoration: none; }

.footer-contact {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-contact p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.footer-contact a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .input-group { flex-direction: column; background: none; backdrop-filter: none; border: none; padding: 0; }
    .url-input { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.3); padding-left: 1.5rem; }
    .load-btn { background: linear-gradient(135deg, #2ECC71, #27AE60); color: white; }
    .features-grid, .demo-content, .extension-content { grid-template-columns: 1fr; }
    .video-info-bar, .footer-links, .cta-stats { flex-direction: column; text-align: center; gap: 1rem; }
    .chat-input-group { padding: 0 1rem; }
    .chat-container { padding: 0 1rem; }
    .message { max-width: 95%; }
    
    /* Mobile styles for images */
    .demo-image, .extension-image {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .extension-text {
        padding: 0;
        text-align: left;
    }
    
    .extension-content {
        gap: 2rem;
    }
    
    .extension-cta {
        align-items: center;
        text-align: center;
    }
}

.subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.hero-extension-button {
    margin-top: 1rem;
    margin-bottom: 5rem;
}

.extension-hero-btn {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.extension-hero-btn:hover {
    background: linear-gradient(135deg, #27AE60, #229954);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

.extension-hero-btn i {
    font-size: 1rem;
}

/* Loading Section */
.loading-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #333;
}

.loading-container {
    text-align: center;
    max-width: 500px;
    width: 90%;
    padding: 2rem;
}

.loading-spinner {
    margin-bottom: 2rem;
}

.loading-spinner i {
    font-size: 4rem;
    color: #6B5B95;
    animation: spin 2s linear infinite;
    margin-bottom: 2rem;
    display: block;
}

@keyframes spin { 
    from { transform: rotate(0deg); } 
    to { transform: rotate(360deg); } 
}

.loading-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #333;
}

.loading-text p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Loading progress bar */
.loading-progress {
    width: 100%;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 2rem;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6B5B95, #88668A);
    border-radius: 2px;
    animation: loadingProgress 3s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Message content markdown styling */
.message-content strong {
    font-weight: 600;
    color: inherit;
}

.message-content em {
    font-style: italic;
    color: inherit;
}

.message-content code {
    background: rgba(0, 0, 0, 0.1);
    color: #d63384;
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
}

.message.user .message-content code {
    background: rgba(255, 255, 255, 0.2);
    color: #ffe4e1;
}

.message.welcome .message-content code {
    background: rgba(255, 255, 255, 0.2);
    color: #ffe4e1;
}

/* CTA Section */
.cta-section {
    padding: 3rem 1rem 3em;
    text-align: center;
    background: #83648B;
    color: white;
}

.cta-section .section-title {
    color: white;
}

.cta-section .section-title::after {
    background: white;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: -1rem auto 3rem;
    opacity: 0.9;
}

.cta-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.cta-btn {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
    color: white;
    border: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.5);
}

.cta-btn i {
    font-size: 1.3rem;
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    min-width: 180px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.stat i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.stat span {
    font-size: 1rem;
    font-weight: 500;
}

/* Shared container for error sections */
.info-section {
    padding: 4rem 1rem;
    text-align: center;
}

.info-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.error-container {
    composes: info-container;
    border-left: 5px solid #ff4757;
}

.error-container h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.error-container p { color: #666; margin-bottom: 2rem; }
.error-container i { font-size: 3rem; color: #ff4757; margin-bottom: 1rem; }
.retry-btn { padding: 1rem 2rem; background: #ff4757; color: white; border: none; border-radius: 50px; font-weight: 600; cursor: pointer; }

.demo-image {
    max-width: 80%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    border: 3px solid #f8f9fa;
} 

/* Stripe Payment Section */
.payment-section {
  margin-top: 2rem;
  text-align: left;
}
.payment-section .payment-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.payment-section .payment-subtitle {
  color: #555;
  margin-bottom: 1rem;
}

stripe-buy-button {
  max-width: 100%;
}

/* Payment button styling */
.payment-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff5f6d, #ffc371);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 95, 109, 0.3);
}

.payment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 95, 109, 0.4);
} 