/* AI Analytics Widget v2.3.2 - Improved */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Reset */
.ai-analytics-widget *,
.ai-analytics-widget *::before,
.ai-analytics-widget *::after {
    box-sizing: border-box;
}

.ai-analytics-widget button {
    border: none;
    outline: none;
    background: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.ai-analytics-widget button:focus,
.ai-analytics-widget button:focus-visible,
.ai-analytics-widget button:active {
    outline: none;
    border: none;
}

/* ========================================
   MAIN CONTAINER
   ======================================== */

.ai-analytics-widget {
    --ai-primary: #000000;
    --ai-success: #10b981;
    --ai-info: #3b82f6;
    --ai-purple: #8b5cf6;
    --ai-warning: #f59e0b;
    --ai-danger: #ef4444;
    --ai-bg: #ffffff;
    --ai-bg-dark: #1a1a1a;
    --ai-bg-secondary: #f9fafb;
    --ai-border: #e5e7eb;
    --ai-text: #111827;
    --ai-text-muted: #6b7280;
    
    --ai-openai: #10a37f;
    --ai-anthropic: #d97706;
    --ai-perplexity: #6366f1;
    --ai-microsoft: #00a4ef;
    --ai-google: #4285f4;
    
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--ai-bg-dark);
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* ========================================
   TOP HEADER WITH TOGGLE
   ======================================== */

.ai-plugin-toggle-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    gap: 20px;
}

.ai-plugin-toggle {
    display: inline-flex;
    gap: 4px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-plugin-toggle-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

/* Business Demo Selector */
.ai-business-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-business-label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-business-buttons {
    display: flex;
    gap: 8px;
}

.ai-business-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.2s ease;
}

.ai-business-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
}

.ai-business-btn.active {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.ai-business-btn svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.ai-plugin-toggle-btn svg {
    width: 16px;
    height: 16px;
}

.ai-plugin-toggle-btn:hover {
    color: rgba(255, 255, 255, 0.8);
}

.ai-plugin-toggle-btn.active[data-mode="without"] {
    background: var(--ai-danger);
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.ai-plugin-toggle-btn.active[data-mode="with"] {
    background: var(--ai-success);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* ========================================
   MAIN WRAPPER - Fixed Height Grid
   ======================================== */

.ai-analytics-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 24px 24px;
    height: 700px;
}

/* ========================================
   LEFT PANEL - Demo Chat
   ======================================== */

.ai-demo-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.ai-demo-card {
    background: var(--ai-bg);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* AI Selector Tabs */
.ai-selector-tabs {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: var(--ai-bg);
    flex-shrink: 0;
}

.ai-selector-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    background: var(--ai-primary);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: white;
    transition: all 0.2s ease;
}

.ai-selector-tab svg {
    width: 16px;
    height: 16px;
}

.ai-selector-tab:hover {
    opacity: 0.85;
}

.ai-selector-tab.active {
    background: var(--ai-bg);
    color: var(--ai-text);
    border: 2px solid var(--ai-border);
}

.ai-selector-tab.active[data-ai="openai"] { color: var(--ai-openai); border-color: var(--ai-openai); }
.ai-selector-tab.active[data-ai="anthropic"] { color: var(--ai-anthropic); border-color: var(--ai-anthropic); }
.ai-selector-tab.active[data-ai="perplexity"] { color: var(--ai-perplexity); border-color: var(--ai-perplexity); }

/* Mode Banner */
.ai-mode-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    flex-shrink: 0;
}

.ai-mode-banner.mode-without {
    background: #fef2f2;
    color: #dc2626;
}

.ai-mode-banner.mode-with {
    background: #ecfdf5;
    color: #059669;
}

.ai-mode-banner .mode-icon {
    font-size: 14px;
}

/* Chat Header */
.ai-demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--ai-openai);
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.ai-demo-header.anthropic { background: var(--ai-anthropic); }
.ai-demo-header.perplexity { background: var(--ai-perplexity); }

.ai-demo-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-demo-avatar svg {
    width: 22px;
    height: 22px;
    fill: white;
}

.ai-demo-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: white;
}

.ai-demo-name {
    font-size: 15px;
    font-weight: 600;
}

.ai-demo-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    opacity: 0.9;
}

.status-dot {
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

/* Chat Messages Area - FIXED HEIGHT with scroll */
.ai-demo-chat {
    flex: 1;
    min-height: 0;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8f9fa;
}

.ai-demo-message {
    max-width: 85%;
    animation: messageIn 0.3s ease;
}

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

.ai-demo-message.assistant {
    align-self: flex-start;
}

.ai-demo-message.user {
    align-self: flex-end;
}

/* Message bubble container - holds badge + text together */
.ai-demo-message-bubble {
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.ai-demo-message.assistant .ai-demo-message-bubble {
    background: white;
    border: 1px solid var(--ai-border);
    border-bottom-left-radius: 6px;
}

.ai-demo-message.user .ai-demo-message-bubble {
    background: var(--ai-openai);
    color: white;
    border-bottom-right-radius: 6px;
}

.ai-demo-message.user.anthropic .ai-demo-message-bubble { background: var(--ai-anthropic); }
.ai-demo-message.user.perplexity .ai-demo-message-bubble { background: var(--ai-perplexity); }

.ai-demo-message-bubble p {
    margin: 0;
}

/* Legacy support for old p-based structure */
.ai-demo-message > p {
    margin: 0;
    padding: 14px 18px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
}

.ai-demo-message.assistant > p {
    background: white;
    border: 1px solid var(--ai-border);
    border-bottom-left-radius: 6px;
}

.ai-demo-message.user > p {
    background: var(--ai-openai);
    color: white;
    border-bottom-right-radius: 6px;
}

.ai-demo-message.user.anthropic > p { background: var(--ai-anthropic); }
.ai-demo-message.user.perplexity > p { background: var(--ai-perplexity); }

/* Data Badge - pill style INSIDE the bubble */
.ai-demo-message .data-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.ai-demo-message .data-badge svg {
    width: 12px;
    height: 12px;
}

.ai-demo-message .data-badge.no-data {
    background: #fef3c7;
    color: #92400e;
}

.ai-demo-message .data-badge.has-data {
    background: #dcfce7;
    color: #166534;
}

/* Typing Animation */
.ai-demo-message.typing {
    align-self: flex-start;
}

.typing-dots {
    display: flex;
    gap: 5px;
    padding: 18px 22px;
    background: white;
    border: 1px solid var(--ai-border);
    border-radius: 18px;
    border-bottom-left-radius: 6px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--ai-openai);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dots.anthropic span { background: var(--ai-anthropic); }
.typing-dots.perplexity span { background: var(--ai-perplexity); }

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-8px); }
}

/* Suggestion Bubbles */
.ai-demo-suggestions {
    padding: 18px 20px;
    background: white;
    border-top: 1px solid var(--ai-border);
    flex-shrink: 0;
}

.suggestions-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--ai-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.suggestion-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-bubble {
    padding: 10px 18px;
    background: var(--ai-primary);
    border-radius: 24px;
    font-size: 13px;
    font-weight: 500;
    color: white;
    transition: all 0.2s ease;
}

.suggestion-bubble:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.suggestion-bubble:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ========================================
   RIGHT PANEL - Analytics Dashboard
   ======================================== */

.ai-analytics-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.ai-analytics-card {
    background: var(--ai-bg);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    min-height: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Analytics Unavailable Overlay */
.ai-analytics-unavailable {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.ai-analytics-unavailable.visible {
    opacity: 1;
    visibility: visible;
}

.unavailable-content {
    text-align: center;
    padding: 40px 32px;
    max-width: 300px;
}

.unavailable-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: #f3f4f6;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.unavailable-icon svg {
    width: 36px;
    height: 36px;
    color: #9ca3af;
}

.unavailable-content h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--ai-text);
}

.unavailable-content p {
    margin: 0 0 24px;
    font-size: 14px;
    color: var(--ai-text-muted);
    line-height: 1.6;
}

.unavailable-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--ai-success);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.unavailable-cta:hover {
    background: #059669;
    transform: translateY(-2px);
}

.unavailable-cta svg {
    width: 14px;
    height: 14px;
}

/* Disabled state */
.ai-analytics-card.disabled > *:not(.ai-analytics-unavailable) {
    filter: grayscale(100%);
    opacity: 0.3;
}

/* Analytics Header */
.ai-analytics-header {
    padding: 24px;
    background: var(--ai-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.ai-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-header-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-header-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
}

.ai-header-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ai-analytics-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: white !important;
}

.ai-header-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.ai-live-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: white;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

/* Analytics Content - Scrollable */
.ai-analytics-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

/* Stats Section */
.ai-stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px;
    background: var(--ai-bg-secondary);
}

.ai-stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--ai-bg);
    border-radius: 14px;
    border: 1px solid var(--ai-border);
    transition: all 0.3s ease;
}

.ai-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.ai-stat-card.highlight {
    animation: statHighlight 0.6s ease;
}

@keyframes statHighlight {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
    50% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3); }
}

.ai-stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.ai-stat-icon svg {
    width: 20px;
    height: 20px;
}

.ai-stat-icon.views {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.ai-stat-icon.json {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.ai-stat-icon.total {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.ai-stat-content {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ai-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--ai-text);
    line-height: 1;
}

.ai-stat-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--ai-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* AI Services Section */
.ai-services-section {
    padding: 16px;
}

.ai-services-header {
    margin-bottom: 12px;
}

.ai-services-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ai-text);
}

.ai-services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.ai-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 6px;
    background: var(--ai-bg-secondary);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0.4;
}

.ai-service-item.detected {
    opacity: 1;
    background: white;
    border-color: var(--ai-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ai-service-item.detecting {
    animation: detecting 1.5s ease;
}

@keyframes detecting {
    0% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.05); opacity: 1; box-shadow: 0 0 16px rgba(16, 185, 129, 0.4); }
    100% { transform: scale(1); opacity: 1; }
}

.ai-service-logo {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.ai-service-logo svg {
    width: 20px;
    height: 20px;
}

.ai-service-logo.openai { background: linear-gradient(135deg, #10a37f, #0d8a6f); color: white; }
.ai-service-logo.anthropic { background: linear-gradient(135deg, #d97706, #b45309); color: white; }
.ai-service-logo.perplexity { background: linear-gradient(135deg, #6366f1, #4f46e5); color: white; }
.ai-service-logo.microsoft { background: linear-gradient(135deg, #00a4ef, #0078d4); color: white; }
.ai-service-logo.google { background: linear-gradient(135deg, #4285f4, #3367d6); color: white; }

.ai-service-name {
    font-size: 10px;
    font-weight: 600;
    color: var(--ai-text);
    text-align: center;
}

.ai-service-badge {
    display: none;
    padding: 3px 8px;
    background: var(--ai-success);
    color: white;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 8px;
}

.ai-service-item.detected .ai-service-badge {
    display: block;
    animation: badgePop 0.4s ease;
}

@keyframes badgePop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Activity Section */
.ai-activity-section {
    padding: 16px;
}

.ai-activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.ai-activity-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ai-text);
}

.ai-activity-period {
    font-size: 11px;
    color: var(--ai-text-muted);
}

.ai-activity-chart {
    display: flex;
    gap: 6px;
    height: 80px;
    align-items: flex-end;
}

.ai-chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.ai-bar-fill {
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 2px;
    border-radius: 4px;
    overflow: hidden;
}

.ai-bar-views {
    background: var(--ai-success);
    border-radius: 3px 3px 0 0;
    transition: height 0.6s ease;
}

.ai-bar-json {
    background: var(--ai-info);
    border-radius: 0 0 3px 3px;
    transition: height 0.6s ease;
}

.ai-bar-label {
    font-size: 10px;
    color: var(--ai-text-muted);
    font-weight: 500;
}

.ai-activity-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--ai-text-muted);
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.legend-dot.views { background: var(--ai-success); }
.legend-dot.json { background: var(--ai-info); }

/* CTA Footer */
.ai-analytics-footer {
    padding: 16px;
    background: var(--ai-bg-secondary);
    border-top: 1px solid var(--ai-border);
    text-align: center;
    flex-shrink: 0;
}

.ai-analytics-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--ai-primary);
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.ai-analytics-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ai-analytics-cta svg {
    width: 16px;
    height: 16px;
}

/* Powered By Footer */
.ai-analytics-powered {
    text-align: center;
    padding: 16px 24px;
    font-size: 12px;
    color: #888;
    background: var(--ai-bg-dark);
}

.ai-analytics-powered a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.ai-analytics-powered a:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1100px) {
    .ai-plugin-toggle-container {
        flex-direction: column;
        gap: 16px;
        padding: 16px 20px;
    }
    
    .ai-business-selector {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 900px) {
    .ai-analytics-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .ai-demo-panel,
    .ai-analytics-panel {
        height: 500px;
    }
}

@media (max-width: 600px) {
    .ai-plugin-toggle-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .ai-selector-tab span {
        display: none;
    }
    
    .ai-selector-tab svg {
        width: 20px;
        height: 20px;
    }
    
    .ai-stats-section {
        grid-template-columns: 1fr;
    }
    
    .ai-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
