/* =============================================
   PlexBuy AI - Enhanced Stylesheet for Platform Approval
============================================= */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    -webkit-tap-highlight-color: transparent;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    background: transparent;
}

/* Header */
.header {
    background: white;
    padding: 15px 20px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    animation: slideDown 0.5s ease;
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

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

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

.logo h1 {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.logo-text {
    color: #007bff;
    font-weight: 700;
}

.seo-text {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
    margin-left: 5px;
}

.tagline {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

.header-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.stat-item i {
    color: #007bff;
}

.trust-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.trust-badge {
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #666;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.trust-badge i {
    color: #28a745;
}

/* ============ TRUST & DISCLAIMER BOX ============ */
.trust-disclaimer-box {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border: 2px solid #ff9966;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 153, 102, 0.2);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.trust-disclaimer-box h4 {
    color: #d35400;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-disclaimer-box p {
    color: #7d3c00;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 10px 0;
}

/* ============ PLATFORM APPROVAL SECTION ============ */
.platform-approval-section {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px solid #2196f3;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 5px 20px rgba(33, 150, 243, 0.2);
    animation: slideUp 0.5s ease;
}

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

.platform-approval-section h3 {
    color: #1565c0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-approval-section p {
    color: #1976d2;
    line-height: 1.6;
    margin-bottom: 20px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.platform-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #2196f3;
}

.platform-logo {
    font-size: 2.5rem;
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-card h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.platform-card p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
}

.platform-note {
    margin-top: 20px;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 10px;
    border-left: 4px solid #4caf50;
}

.platform-note p {
    color: #2e7d32;
    margin: 0;
    font-size: 0.9rem;
}

.platform-note i {
    color: #4caf50;
    margin-right: 10px;
}

/* ============ CHAT CONTAINER ============ */
.chat-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    margin-bottom: 20px;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
}

/* Chat Area */
.chat-area {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    max-height: 60vh;
}

/* Loader */
.loader-container {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    margin-bottom: 20px;
}

.loader-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    color: #666;
    font-size: 1rem;
    animation: pulse 1.5s infinite;
}

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

.loading-steps {
    margin-top: 20px;
}

.loading-steps p {
    color: #666;
    font-size: 0.9rem;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.loading-steps i {
    color: #007bff;
}

/* Messages */
.message {
    margin-bottom: 20px;
    max-width: 85%;
    animation: fadeIn 0.3s ease;
}

.ai-message {
    margin-right: auto;
    margin-left: 0;
}

.user-message {
    margin-left: auto;
    margin-right: 0;
}

.message-content {
    padding: 15px 20px;
    border-radius: 18px;
    position: relative;
}

.ai-message .message-content {
    background: white;
    border: 1px solid #e0e0e0;
    border-bottom-left-radius: 4px;
}

.user-message .message-content {
    background: linear-gradient(135deg, #007bff, #3399ff);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 0.75rem;
    color: #999;
    margin-top: 5px;
    text-align: right;
}

/* Welcome Message */
.welcome-message {
    max-width: 90%;
}

.welcome-message .message-content {
    background: linear-gradient(135deg, #e3f2fd, #f3e5f5);
    border: none;
    padding: 20px;
}

.welcome-message h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.welcome-message p {
    color: #666;
    margin: 10px 0;
    line-height: 1.6;
}

.welcome-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature i {
    color: #007bff;
    font-size: 1.2rem;
}

.feature span {
    color: #333;
    font-size: 0.9rem;
}

.example-text {
    font-size: 0.9rem;
    color: #666;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    border-left: 3px solid #007bff;
}

/* AI Response Example */
.ai-response-example {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
}

.example-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.example-header i {
    color: #007bff;
    font-size: 1.2rem;
}

.example-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.ai-response-example .user-message {
    background: #e3f2fd;
    padding: 12px 15px;
    border-radius: 10px;
    margin: 10px 0;
    border-left: 4px solid #007bff;
}

.ai-response-example .ai-message {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.product-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.product-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: #007bff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.1);
}

.product-card h5 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1rem;
}

.product-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 5px 0;
}

.product-card i.fa-check-circle {
    color: #28a745;
    margin-right: 5px;
}

/* AI Advice Container */
.ai-advice-container {
    margin: 15px 0;
}

.ai-advice-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
    animation: slideIn 0.3s ease-out;
}

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

.ai-advice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.ai-advice-header i {
    color: #007bff;
    font-size: 1.3rem;
}

.ai-advice-header h4 {
    margin: 0;
    color: #007bff;
    font-size: 1.1rem;
}

.ai-advice-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
    background: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(0, 123, 255, 0.2);
}

.ai-advice-footer {
    margin-top: 15px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

/* Product Cards */
.ai-product-card {
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 15px !important;
    padding: 20px !important;
    margin: 15px 0 !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05) !important;
    position: relative;
}

.ai-product-card.top-pick {
    border: 2px solid #28a745 !important;
    background: linear-gradient(135deg, #f8fff9 0%, #e6ffe6 100%) !important;
}

.product-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #28a745;
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
}

.platform-badge {
    position: absolute;
    top: -10px;
    left: 10px;
    color: white;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ai-product-card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
    padding-right: 80px;
}

.product-details {
    background: rgba(0, 0, 0, 0.02);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
}

.product-reason {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.product-reason i {
    color: #28a745;
    margin-right: 8px;
}

.product-brand, .product-rating, .product-delivery, .product-commission {
    color: #666;
    font-size: 0.9rem;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-brand i, .product-rating i, .product-delivery i, .product-commission i {
    color: #007bff;
    width: 16px;
}

.product-action {
    margin-top: 20px;
}

.buy-button.cta-vibrant {
    background: white;
    color: #333;
    padding: 14px 24px;
    border-radius: 25px;
    text-decoration: none;
    display: block;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 100%;
    border: 2px solid;
    cursor: pointer;
    font-size: 14px;
    margin-bottom: 10px;
}

.buy-button.cta-vibrant:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.affiliate-note {
    font-size: 0.8rem;
    color: #666;
    text-align: center;
    margin-top: 10px;
}

.affiliate-note i {
    color: #007bff;
    margin-right: 5px;
}

.whatsapp-share-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    margin-top: 10px;
}

.whatsapp-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #128C7E 0%, #0D6348 100%);
}

/* Suggestion Area */
.suggestion-area {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    margin: 20px 0;
}

.suggestion-area h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.suggestion-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.suggestion-btn {
    background: white;
    border: 2px solid #007bff;
    color: #007bff;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.suggestion-btn:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

.category-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-link {
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: #666;
    font-size: 0.85rem;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.category-link:hover {
    border-color: #007bff;
    color: #007bff;
    transform: translateY(-2px);
}

/* Input Area */
.input-area {
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    margin-top: auto;
}

.input-wrapper {
    display: flex;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 10px;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: #007bff;
}

#messageInput {
    flex: 1;
    border: none;
    padding: 10px 15px;
    font-size: 1rem;
    background: transparent;
    outline: none;
    color: #333;
    min-height: 44px;
    max-height: 120px;
    overflow-y: auto;
    resize: none;
    font-family: inherit;
    line-height: 1.5;
}

#messageInput::placeholder {
    color: #999;
}

#messageInput:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.send-btn {
    background: linear-gradient(135deg, #007bff, #3399ff);
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,123,255,0.3);
}

.send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.input-hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.input-hint i {
    color: #007bff;
}

/* ============ SMART FEEDBACK SECTION ============ */
.smart-feedback-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    border: 2px solid #e3f2fd;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    animation: slideInFeedback 0.6s ease-out;
}

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

.smart-feedback-section h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.smart-feedback-section h3 i {
    color: #3498db;
}

.smart-feedback-section > .container > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Feedback Box */
.feedback-box {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.feedback-box h4 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feedback-box h4 i {
    color: #3498db;
}

.feedback-box > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Feedback Form */
.feedback-form {
    margin-top: 20px;
}

.feedback-input-group {
    margin-bottom: 20px;
}

.feedback-input-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-input-group label i {
    color: #3498db;
    width: 16px;
}

.feedback-input-group input,
.feedback-input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    color: #333;
}

.feedback-input-group input:focus,
.feedback-input-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.feedback-input-group input::placeholder,
.feedback-input-group textarea::placeholder {
    color: #999;
}

/* Feedback Options */
.feedback-options {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.feedback-options > p {
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.status-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.status-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.status-option:hover {
    background: #e3f2fd;
    border-color: #3498db;
}

.status-option input[type="radio"] {
    margin: 0;
    accent-color: #3498db;
}

.status-option span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    font-size: 0.9rem;
}

.status-option span i {
    color: #3498db;
}

/* Feedback Submit Section */
.feedback-submit-section {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.feedback-submit-btn {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.feedback-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    background: linear-gradient(135deg, #2980b9 0%, #1c5980 100%);
}

.feedback-note {
    margin-top: 10px;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.feedback-note i {
    color: #3498db;
    margin-right: 5px;
}

/* Feedback Analytics */
.feedback-analytics {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    animation: fadeInAnalytics 0.5s ease;
}

@keyframes fadeInAnalytics {
    from {
        opacity: 0;
        height: 0;
    }
    to {
        opacity: 1;
        height: auto;
    }
}

.analytics-header h5 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.analytics-header h5 i {
    color: #3498db;
}

.analytics-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.analytics-stats .stat {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.analytics-stats .stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.analytics-stats .stat i {
    font-size: 1.5rem;
    color: #3498db;
    margin-bottom: 10px;
}

.analytics-stats .stat span {
    display: block;
    color: #2c3e50;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Insights Preview */
.insights-preview {
    background: white;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    margin-top: 20px;
}

.insights-preview h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.insights-preview h4 i {
    color: #3498db;
}

.insights-preview > p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.insight-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.insight-example {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.insight-example:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.example-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.example-query {
    background: #3498db;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.example-tag {
    background: #e3f2fd;
    color: #3498db;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.example-analysis p {
    margin: 8px 0;
    color: #2c3e50;
    line-height: 1.5;
    font-size: 0.9rem;
}

.example-analysis strong {
    color: #2c3e50;
}

.insights-note {
    margin-top: 20px;
    padding: 15px;
    background: #e8f5e9;
    border-radius: 8px;
    border-left: 4px solid #4caf50;
}

.insights-note p {
    color: #2c3e50;
    margin: 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.5;
}

.insights-note i {
    color: #4caf50;
    flex-shrink: 0;
}

/* Landing Content */
.landing-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.landing-content h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
    text-align: center;
}

.summary-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

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

.feature-card h3 {
    color: #007bff;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-box {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid #e0e0e0;
}

.stat-box i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 15px;
}

.stat-box h4 {
    font-size: 2rem;
    color: #2c3e50;
    margin: 10px 0;
}

.categories-showcase {
    margin: 40px 0;
}

.categories-showcase h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.category-card {
    text-align: center;
    padding: 25px;
    background: white;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: #007bff;
    box-shadow: 0 10px 25px rgba(0,123,255,0.1);
}

.category-card i {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 15px;
}

.category-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.cta-box {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.main-cta-btn {
    background: white;
    color: #007bff;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    margin: 20px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.main-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

.cta-subtext {
    opacity: 0.9;
    font-size: 0.9rem;
    margin-top: 15px;
}

.faq-section {
    margin: 40px 0;
}

.faq-section h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
}

.faq-item h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.visible-seo-keywords {
    margin: 40px 0;
}

.visible-seo-keywords h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.keyword-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-link {
    background: white;
    color: #007bff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.keyword-link:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.seo-footer {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p {
    color: #666;
    line-height: 1.6;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.category-grid a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.category-grid a:hover {
    color: #007bff;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

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

.social-links a {
    color: #666;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #007bff;
}

.copyright {
    color: #999;
    font-size: 0.85rem;
    line-height: 1.6;
}

.address {
    margin-top: 10px;
    font-style: italic;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.loading-content {
    background: white;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.loading-content .spinner {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
    animation: spin 1s linear infinite;
}

.loading-text {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.loading-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
}

.loading-stats .stat {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 0.9rem;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-stats {
        justify-content: center;
    }
    
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .chat-container {
        padding: 15px;
    }
    
    .landing-content {
        padding: 20px;
    }
    
    .cta-box {
        padding: 30px 20px;
    }
    
    /* Smart Feedback Responsive */
    .smart-feedback-section {
        padding: 20px;
        margin: 20px 0;
    }
    
    .insight-examples {
        grid-template-columns: 1fr;
    }
    
    .status-options {
        grid-template-columns: 1fr;
    }
    
    .feedback-box {
        padding: 20px;
    }
    
    .analytics-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .welcome-features {
        grid-template-columns: 1fr;
    }
    
    .product-links {
        grid-template-columns: 1fr;
    }
    
    .suggestion-buttons {
        flex-direction: column;
    }
    
    .suggestion-btn {
        width: 100%;
        justify-content: center;
    }
    
    .category-links {
        justify-content: center;
    }
    
    /* Smart Feedback Responsive */
    .analytics-stats {
        grid-template-columns: 1fr;
    }
    
    .example-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .smart-feedback-section h3 {
        font-size: 1.3rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .chat-container, .landing-content, .seo-footer {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .input-area, .suggestion-area, .loading-overlay {
        display: none !important;
    }
    
    /* Hide Smart Feedback Section in Print */
    .smart-feedback-section {
        display: none !important;
    }
}
