/* Navigation Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: rgba(var(--background-rgb), 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(var(--background-rgb), 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo {
    height: 32px;
    width: auto;
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-brand-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;

}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--border-radius);
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-cta::after {
    display: none;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector-nav {
    display: flex;
    gap: 4px;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 4px;
}

.language-selector-nav .lang-btn {
    padding: 6px 8px;
    font-size: 0.8rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-controls {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding: 2rem;
    border-top: 1px solid var(--border-color);
}

.mobile-language-selector {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-lang {
    justify-content: center;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    width: 100%;
}

.mobile-theme {
    justify-content: center;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    width: 100%;
    gap: 0.5rem;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
}

.mobile-theme:hover {
    background: var(--background-alt);
    color: var(--text-primary);
}

.theme-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-brand {
        font-size: 1.1rem;
    }
    
    .nav-brand-text {
        font-size: 1rem;
    }
    
    .nav-logo {
        height: 28px;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--background);
        border-top: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: 2rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: var(--shadow-lg);
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        padding: 0px;
        visibility: visible;
        overflow: hidden;
    }
    
    .nav-link {
        padding: 1rem 2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
    }
    
    .nav-cta {
        margin: 1rem 2rem 0;
        text-align: center;
        border-bottom: none;
        border-radius: var(--border-radius);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .language-selector-nav {
        display: none;
    }
    
    #theme-toggle-nav {
        display: none;
    }
    
    /* Hide original language selector on mobile */
    .language-selector.original-selector {
        display: none !important;
    }
    
    .mobile-controls {
        display: flex;
    }
}

/* Add top padding to body to compensate for fixed navbar */
body {
    padding-top: 70px;
}

/* Adjust hero section to work with navbar */
.hero {
    padding-top: 3rem;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 4px;
    background: var(--background-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    padding: 4px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    background: var(--background-card);
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-secondary);
}

.lang-btn:hover {
    background: var(--background-alt);
    color: var(--text-primary);
}

.lang-btn.active {
    background: var(--primary-color);
    color: white;
}

.lang-btn .flag {
    font-size: 16px;
}

.lang-btn .lang-text {
    font-size: 12px;
    font-weight: 600;
}

.theme-divider {
    width: 1px;
    height: 20px;
    background: var(--border-color);
    margin: 0 4px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: none;
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
}

.theme-toggle:hover {
    background: var(--background-alt);
}

.theme-toggle .theme-icon {
    transition: transform 0.3s ease;
}

/* Animação para mudança de ícone no tema claro */
[data-theme="light"] .theme-toggle .theme-icon {
    transform: rotate(360deg);
}

@media (max-width: 768px) {
    .language-selector {
        top: 15px;
        right: 15px;
        scale: 0.9;
    }
    
    .lang-btn {
        padding: 6px 8px;
    }
    
    .lang-btn .lang-text {
        display: none;
    }
    
    .theme-toggle {
        padding: 6px;
    }
    
    .hero-gift-icon .gift-icon {
        font-size: 2.5rem;
    }
    
    .hero-feature-text {
        font-size: var(--font-size-base);
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
}

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

:root {
    /* Base Colors (mantém consistência entre temas) */
    --primary-color: #182e43;
    --primary-dark: #0f1e2a;
    --accent-color: #3dc546;
    --accent-dark: #2ea33a;
    --success-color: #3dc546;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Tema Escuro (Padrão) */
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
    --background: #0f172a;
    --background-alt: #1e293b;
    --background-card: #334155;
    --border-color: #475569;
    --background-rgb: 15, 23, 42;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    --gradient-secondary: linear-gradient(135deg, #64748b 0%, #94a3b8 100%);
    --gradient-subtle: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    
    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 2rem;
    --border-radius: 0.75rem;
    --border-radius-sm: 0.5rem;
    
    /* Typography */
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Sombras para tema escuro */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4);
}

/* Tema Claro */
[data-theme="light"] {
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --background: #ffffff;
    --background-alt: #f8fafc;
    --background-card: #ffffff;
    --border-color: #e2e8f0;
    --background-rgb: 255, 255, 255;
    
    /* Gradients para tema claro */
    --gradient-secondary: linear-gradient(135deg, #94a3b8 0%, #cbd5e1 100%);
    --gradient-subtle: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    
    /* Sombras mais suaves para tema claro */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    font-size: var(--font-size-base);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Transições suaves para elementos que mudam cor */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Typography */
.section-title {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    position: relative; /* Add this for absolute positioning of language selector */
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: var(--font-size-6xl);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-audience {
    font-size: var(--font-size-lg);
    color: var(--text-accent);
    margin-bottom: 2rem;
    line-height: 1.5;
    font-weight: 500;
    text-align: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.hero-gift-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.hero-gift-icon .gift-icon {
    font-size: 3rem;
    animation: bounce 2s ease-in-out infinite;
    display: inline-block;
}

.hero-feature-text {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-feature-text strong {
    color: var(--accent-color);
    font-weight: 700;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hero-cta {
    margin-bottom: 2rem;
}

/* Form Styles */
.email-form {
    max-width: 500px;
    margin: 0 auto;
}

.email-form.large {
    max-width: 600px;
    margin: 0 auto;
}

.form-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-actions {
    display: flex;
    width: 100%;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group:has(.suggestions-input) {
    flex-direction: column;
    gap: 0;
}

.email-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    background: var(--background-card);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.email-input::placeholder {
    color: var(--text-light);
}

.email-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

.suggestions-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-family: var(--font-family);
    background: var(--background-card);
    color: var(--text-primary);
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
}

.suggestions-input::placeholder {
    color: var(--text-light);
}

.suggestions-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgb(37 99 235 / 0.1);
}

/* Font Awesome Icon Styling */
.step-icon i,
.feature-icon i,
.summary-icon i,
.problem-icon i,
.user-avatar i, 
.stream-avatar i, 
.segment-icon i, 
.metric-icon i, 
.perf-icon i, 
.emotion-icon i, 
.clip-type i,
.ai-icon i,
.verdict-icon i,
.theme-icon i,
.flag i,
.pattern-icon i,
.message-text i,
.trend-term i {
    font-size: inherit;
    color: inherit;
}

.step-icon i {
    font-size: 2rem;
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.summary-icon i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.problem-icon i {
    font-size: 2.2rem;
    color: var(--text-muted);
}

.user-avatar i, .stream-avatar i {
    font-size: 1.5rem;
}

.segment-icon i, .metric-icon i, .perf-icon i {
    font-size: 1rem;
    margin-right: 0.25rem;
}

.emotion-icon i {
    font-size: 1.2rem;
}

.clip-type i {
    font-size: 0.9rem;
    margin-right: 0.25rem;
}

.ai-icon i {
    font-size: 1.2rem;
    
}

.verdict-icon i {
    font-size: 1rem;
    color: var(--danger-color);
}

.theme-icon i {
    font-size: 1.2rem;
}

.flag i {
    font-size: 1rem;
}

.pattern-icon i {
    font-size: 2rem;
    margin-right: 0.25rem;
}

.message-text i {
    font-size: 0.9rem;
    margin-left: 0.1rem;
}

.trend-term i {
    font-size: 0.8rem;
    margin-left: 0.1rem;
}

.form-disclaimer i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button:active {
    transform: translateY(0);
}

.arrow-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

.form-disclaimer {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    text-align: left;
}

/* Dashboard Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
}

.dashboard-mockup {
    background: var(--background-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.mockup-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--background-alt);
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 0.5rem;
    margin-right: 1rem;
}

.mockup-dots span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--border-color);
}

.mockup-dots span:nth-child(1) { background: #ef4444; }
.mockup-dots span:nth-child(2) { background: #f59e0b; }
.mockup-dots span:nth-child(3) { background: #10b981; }

.mockup-title {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.mockup-content {
    padding: 2rem 1.5rem;
}

.sentiment-chart {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.sentiment-chart > div {
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.chart-positive {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.chart-neutral {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
}

.chart-negative {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.insights-preview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background-alt);
    border-radius: var(--border-radius-sm);
    transition: all 0.3s ease;
}

.insight-item:hover {
    transform: translateX(4px);
    background: var(--background-card);
}

.insight-icon {
    font-size: 1.25rem;
    min-width: 2rem;
}

.insight-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Problem Section */
.problem {
    padding: var(--section-padding);
    background: var(--background-alt);
}

.problem .section-title {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--background-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.problem-item h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.problem-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Solution Section */
.solution {
    padding: var(--section-padding);
}

.solution .section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.solution-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-number-negative {
    color: var(--error-color) !important;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.analysis-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: var(--background-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    min-width: 120px;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.flow-arrow {
    font-size: var(--font-size-2xl);
    color: var(--text-light);
    font-weight: bold;
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background: var(--background-alt);
}

.features .section-title {
    text-align: center;
    margin-bottom: 4rem;
}

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

.feature-item {
    padding: 3rem 2rem;
    background: var(--background-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 2rem;
    padding: 1rem;
    background: var(--accent-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.feature-icon svg {
    width: 2rem;
    height: 2rem;
}

.feature-item h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Use Cases Section */
.use-cases {
    padding: var(--section-padding);
    background: var(--background);
}

.use-cases .section-content {
    text-align: center;
}

.use-cases .section-title {
    margin-bottom: 1rem;
}

.use-cases .section-description {
    margin: 0 auto 4rem;
    max-width: 600px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.use-case-item {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.use-case-item .metric {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.use-case-item .description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.use-case-item .insight {
    font-size: var(--font-size-sm);
    font-weight: 600;
    
    background: var(--background-alt);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    display: inline-block;
}

/* Smart Detection Integration in Use Cases */
.smart-detection-integration {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.integration-title {
    text-align: center;
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.integration-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.smart-detection-integration .detection-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.smart-detection-integration .detection-category {
    background: var(--background-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.smart-detection-integration .detection-category h4,
.smart-detection-integration .detection-category h5 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.smart-detection-integration .detection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.smart-detection-integration .detection-item {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.smart-detection-integration .detection-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.smart-detection-integration .detection-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.smart-detection-integration .detection-icon {
    font-size: 1.5rem;
}

.smart-detection-integration .detection-header h5,
.smart-detection-integration .detection-header h6 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.smart-detection-integration .detection-method {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.smart-detection-integration .detection-benefit {
    font-size: var(--font-size-sm);
    color: var(--accent-color);
    font-weight: 500;
}

.smart-detection-integration .analytics-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.smart-detection-integration .insight-card {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.smart-detection-integration .insight-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.smart-detection-integration .insight-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.smart-detection-integration .insight-icon {
    font-size: 1.5rem;
}

.smart-detection-integration .insight-header h5,
.smart-detection-integration .insight-header h6 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.smart-detection-integration .insight-method {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.smart-detection-integration .insight-value {
    font-size: var(--font-size-sm);
    color: var(--success-color);
    font-weight: 500;
}

.smart-detection-integration .detection-demo {
    margin-top: 3rem;
    background: var(--background-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.smart-detection-integration .detection-demo h4,
.smart-detection-integration .detection-demo h5 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.smart-detection-integration .demo-alerts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.smart-detection-integration .alert-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid;
    animation: slideIn 0.5s ease-out;
}

.smart-detection-integration .alert-item.spam {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: var(--error-color);
}

.smart-detection-integration .alert-item.clip {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--success-color);
}

.smart-detection-integration .alert-item.insight {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: var(--primary-color);
}

.smart-detection-integration .alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.smart-detection-integration .alert-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.smart-detection-integration .alert-type {
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.smart-detection-integration .alert-message {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.smart-detection-integration .alert-time {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

/* Advanced Features Section */
.advanced-features {
    padding: var(--section-padding);
    background: var(--background-alt);
}

.advanced-features .section-content {
    text-align: center;
}

.advanced-features .section-title {
    margin-bottom: 1rem;
}

.advanced-features .section-description {
    margin: 0 auto 4rem;
    max-width: 600px;
}

.advanced-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.advanced-item {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.advanced-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.advanced-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.advanced-item h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.advanced-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.tech-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Final CTA Section */
.final-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    text-align: center;
}

.cta-title {
    color: white;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: 3rem;
}

.final-cta .email-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.final-cta .email-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.final-cta .email-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.final-cta .suggestions-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(10px);
}

.final-cta .suggestions-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.final-cta .suggestions-input:focus {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
}

.final-cta .cta-button {
    background: white;
    color: var(--primary-color);
}

.final-cta .form-disclaimer {
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.social-proof {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.proof-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
}

.proof-avatars {
    display: flex;
    gap: -0.5rem;
}

.avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #f97316, #ef4444, #ec4899, #8b5cf6);
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: white;
    margin-left: -0.5rem;
}

.avatar:first-child {
    margin-left: 0;
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--primary-color);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-logo p {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.divider {
    opacity: 0.5;
}

.footer-bottom {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: var(--font-size-xs);
    opacity: 0.7;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: var(--background-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal-body p:last-child {
    margin-bottom: 0;
}

/* Sentiment Analysis Example Section */
.sentiment-example {
    padding: var(--section-padding);
    background: var(--background);
}

.sentiment-example .section-content {
    text-align: center;
}

.sentiment-example .section-title {
    margin-bottom: 1rem;
}

.sentiment-example .section-description {
    margin: 0 auto 4rem;
    max-width: 600px;
}

.example-dashboard {
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    
    margin: 0 auto;
    text-align: left;
}

/* Stream Header */
.stream-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
}

.stream-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stream-avatar {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stream-details h3 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: var(--font-size-lg);
}

.stream-details p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    margin: 0;
}

.stream-stats {
    display: flex;
    gap: 2rem;
}

.stream-stats .stat {
    text-align: center;
}

.stream-stats .stat-number .negative {
    color:red;
}

.stream-stats .stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--accent-color);
}

.stream-stats .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Sentiment Timeline */
.sentiment-chart-section {
    margin-bottom: 3rem;
}

.sentiment-chart-section h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: var(--font-size-lg);
}

.chart-mock {
    background: var(--background-alt);
    border-radius: var(--border-radius-sm);
    padding: 2rem;
    display: flex;
    align-items: stretch;
    position: relative;
}

.chart-y-axis {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding-right: 1rem;
    font-size: var(--font-size-sm);
    color: var(--text-light);
    height: 120px;
}

.chart-area {
    flex: 1;
    position: relative;
    height: 340px;
}

.sentiment-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-labels {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.chart-legend {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 4rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.legend-color {
    width: 20px;
    height: 3px;
    border-radius: 2px;
}

.legend-item.positive .legend-color {
    background: #10b981;
}

.legend-item.negative .legend-color {
    background: #ef4444;
}

/* Analytics Grid */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analytics-card {
    background: var(--background-alt);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

.analytics-card.toxic {
    border-left-color: var(--error-color);
}

.analytics-card.negative {
    border-left-color: var(--error-color);
}

.analytics-card h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: var(--font-size-base);
}

/* Message Lists */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--background-card);
    border-radius: var(--border-radius-sm);
    
}

.message-list.positive .message-item {
    border-left-color: var(--success-color);
}

.message-list.negative .message-item {
    border-left: 4px solid var(--error-color);
}



.message-user {
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: var(--accent-color);
}

.message-text {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    line-height: 1.4;
}

.message-sentiment {
    font-size: var(--font-size-xs);
    font-weight: 600;
    align-self: flex-end;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    background: var(--background-alt);
}

.message-list.positive .message-sentiment {
    color: var(--success-color);
}

.message-list.negative .message-sentiment {
    color: var(--error-color);
}

/* User Lists */
.user-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--background-card);
    border-radius: var(--border-radius-sm);
}

.user-avatar {
    font-size: 1.5rem;
    min-width: 2rem;
    text-align: center;
}

.user-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.user-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.user-stats {
    font-size: var(--font-size-xs);
    color: var(--text-light);
}

.user-list.toxic .user-item {
    border-left: 3px solid var(--error-color);
}

.user-list.toxic .user-name {
    color: var(--error-color);
}

/* Advanced AI Features */
.advanced-ai-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.advanced-ai-section h4 {
    color: var(--text-primary);
    font-size: var(--font-size-xl);
    margin-bottom: 2rem;
    text-align: center;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: var(--background-alt);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-card.audience-card {
    border-left-color: var(--accent-color);
}

.feature-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
    min-width: 2rem;
}

.feature-header h5 {
    color: var(--text-primary);
    margin: 0;
    font-size: var(--font-size-base);
    font-weight: 600;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-desc {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    margin: 0;
    font-style: italic;
}

/* Classification Results */
.classification-result {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.classification-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    background: var(--background-card);
}

.classification-item.positive {
    border-left: 3px solid var(--success-color);
}

.classification-item.neutral {
    border-left: 3px solid var(--warning-color);
}

.classification-item.negative {
    border-left: 3px solid var(--error-color);
}

.class-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 600;
}

.class-value {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--text-primary);
}

/* Timestamp Events */
.timestamp-events {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.timestamp-event {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--background-card);
    border-radius: var(--border-radius-sm);
}

.timestamp-event.peak {
    border-left: 4px solid var(--success-color);
}

.timestamp-event.low {
    border-left: 4px solid var(--error-color);
}

.timestamp-event.high {
    border-left: 4px solid var(--accent-color);
}

.timestamp-event .time {
    font-family: monospace;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 3rem;
}

.timestamp-event .event {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Emotion Tags */
.emotion-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.emotion-tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.emotion-tag.joy {
    background: linear-gradient(45deg, #f59e0b, #fbbf24);
}

.emotion-tag.excitement {
    background: linear-gradient(45deg, #10b981, #34d399);
}

.emotion-tag.surprise {
    background: linear-gradient(45deg, #8b5cf6, #a78bfa);
}

.emotion-tag.anger {
    background: linear-gradient(45deg, #ef4444, #f87171);
}

.emotion-tag.sarcasm {
    background: linear-gradient(45deg, #6b7280, #9ca3af);
}

/* Comment Peaks Chart */
.peaks-chart {
    display: flex;
    justify-content: space-around;
    align-items: end;
    height: 80px;
    padding: 1rem 0;
}

.peak-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.peak-time {
    font-size: var(--font-size-xs);
    color: var(--text-light);
    font-family: monospace;
}

.peak-bar {
    width: 20px;
    background: linear-gradient(to top, var(--primary-color), var(--accent-color));
    border-radius: 10px 10px 0 0;
    transition: all 0.3s ease;
}

.peak-bar:hover {
    transform: scale(1.1);
}

.peak-value {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    font-weight: 600;
}

/* Topic Clusters */
.topic-clusters {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.topic-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--background-card);
    border-radius: var(--border-radius-sm);
}

.topic-name {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 600;
}

.topic-percentage {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--accent-color);
}

/* Engagement Metrics */
.engagement-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--background-card);
    border-radius: var(--border-radius-sm);
}

.metric-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.metric-value {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--success-color);
}

/* Audience Segments */
.audience-segments {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.segment-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-card);
    border-radius: var(--border-radius-sm);
}

.segment-icon {
    font-size: 1.5rem;
    min-width: 2rem;
}

.segment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.segment-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.segment-desc {
    font-size: var(--font-size-xs);
    color: var(--text-light);
}

/* Trending Terms */
.trending-terms {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trend-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--background-card);
    border-radius: var(--border-radius-sm);
}

.trend-item.hot {
    border-left: 4px solid #ef4444;
}

.trend-item.rising {
    border-left: 4px solid var(--warning-color);
}

.trend-item.new {
    border-left: 4px solid var(--accent-color);
}

.trend-term {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 600;
}

.trend-growth {
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--success-color);
}

/* Social Network */
.social-network {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.network-node {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: var(--background-card);
    border-radius: var(--border-radius-sm);
}

.network-node.influencer {
    border-left: 4px solid var(--accent-color);
}

.node-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-primary);
}

.node-connections {
    font-size: var(--font-size-xs);
    color: var(--text-light);
}

/* Insights Grid */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.insight-card {
    background: var(--background-alt);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.insight-card.positive {
    border-left-color: var(--success-color);
}

.insight-card.neutral {
    border-left-color: var(--warning-color);
}

.insight-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.insight-emoji {
    font-size: 1.5rem;
}

.insight-header h4 {
    color: var(--text-primary);
    margin: 0;
    font-size: var(--font-size-base);
}

.insight-time {
    color: var(--accent-color);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.insight-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: var(--font-size-sm);
}

.insight-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.negative {
    background: var(--error-color);
}

/* AI Summary */
.ai-summary {
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    padding: 2rem;
    color: white;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ai-icon {
    font-size: 1.5rem;
}

.summary-header h4 {
    color: white;
    margin: 0;
    font-size: var(--font-size-lg);
}

.summary-content p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin: 0;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --font-size-6xl: 3rem;
        --font-size-4xl: 2rem;
        --section-padding: 4rem 0;
    }
    
    .hero .container,
    .solution .section-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .solution-stats {
        justify-content: center;
    }
    
    .analysis-flow {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .flow-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-6xl: 2.5rem;
        --font-size-4xl: 1.75rem;
        --section-padding: 3rem 0;
        --container-padding: 0 1rem;
    }
    
    .mobile-controls {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .suggestions-input {
        min-height: 80px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .problem-grid,
    .features-grid,
    .use-cases-grid,
    .advanced-grid,
    .analytics-grid,
    .features-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
    }
    
    .problem-item {
        width: 100%;
        max-width: 100%;
        min-height: 220px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .feature-card {
        width: 100%;
        max-width: 100%;
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .feature-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .analytics-card {
        width: 100%;
        max-width: 100%;
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .advanced-item {
        width: 100%;
        max-width: 100%;
        min-height: 240px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .analytics-card .message-list,
    .analytics-card .user-list {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.75rem;
    }
    
    .stream-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .stream-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .example-dashboard {
        padding: 1.5rem 1rem;
    }
    
    .chart-mock {
        flex-direction: column;
        align-items: center;
        padding: 1rem;
    }
    
    .chart-area {
        height: 180px;
    }
    
    .chart-y-axis {
        display: none;
    }
    
    .chart-legend {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .emotion-tags {
        justify-content: center;
    }
    
    .peaks-chart {
        height: 60px;
    }
    
    .peak-bar {
        width: 15px;
    }
    
    .solution-stats {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dashboard-mockup {
        max-width: 300px;
    }
    
    .mockup-content {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-6xl: 2rem;
        --font-size-4xl: 1.5rem;
        --font-size-3xl: 1.25rem;
        --section-padding: 2rem 0;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-cta {
        text-align: center;
    }
    
    .hero-title {
        font-size: var(--font-size-4xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
    }
    
    .hero-audience {
        font-size: var(--font-size-sm);
        padding: 0.75rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    .problem-item,
    .feature-item {
        padding: 2rem 1rem;
    }
    
    .analysis-flow {
        gap: 0.5rem;
    }
    
    .flow-step {
        min-width: 100px;
        padding: 1rem;
    }
    
    .step-icon {
        font-size: 2rem;
    }
    
    .dashboard-mockup {
        max-width: 280px;
    }
}

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Loading States */
.loading {
    opacity: 0.8;
    pointer-events: none;
    position: relative;
}

.loading::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--primary-color) 0%, 
        var(--accent-color) 25%, 
        var(--primary-color) 50%, 
        var(--accent-color) 75%, 
        var(--primary-color) 100%);
    background-size: 200% 200%;
    border-radius: calc(var(--border-radius) + 2px);
    animation: shimmer 1.5s ease-in-out infinite;
    opacity: 0.3;
    z-index: -1;
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.loading .cta-button {
    cursor: not-allowed;
    background: var(--gradient-secondary);
    transform: none !important;
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
}

.loading .cta-button:hover {
    transform: none !important;
    box-shadow: none !important;
}

.loading .cta-button .arrow-icon {
    display: none;
}

.loading .cta-button::after {
    content: '';
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.loading .email-input {
    cursor: not-allowed;
    opacity: 0.6;
    background: var(--background-alt);
}

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

/* Focus Styles */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.cta-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
}

/* Print Styles */
@media print {
    .hero,
    .problem,
    .solution,
    .features {
        break-inside: avoid;
    }
    
    .cta-button,
    .email-form,
    .final-cta,
    .footer {
        display: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --accent-color: #ff6600;
        --text-primary: #000000;
        --text-secondary: #333333;
        --border-color: #666666;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Animações extras para novos recursos */
.use-case-item .metric::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

.tech-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.advanced-item:hover .tech-badge::before {
    left: 100%;
}

/* Smart Detection Section */
.smart-detection {
    padding: var(--section-padding);
    background: var(--background-primary);
}

.detection-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.detection-category {
    background: var(--background-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.detection-category h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.detection-item {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.detection-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.detection-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detection-icon {
    font-size: 1.5rem;
}

.detection-header h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.detection-method {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.detection-benefit {
    font-size: var(--font-size-sm);
    color: var(--accent-color);
    font-weight: 500;
}

/* Analytics Insights */
.analytics-insights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.insight-card {
    background: var(--background-alt);
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.insight-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.insight-icon {
    font-size: 1.5rem;
}

.insight-header h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.insight-method {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.insight-value {
    font-size: var(--font-size-sm);
    color: var(--success-color);
    font-weight: 500;
}

/* Detection Demo */
.detection-demo {
    margin-top: 3rem;
    background: var(--background-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.detection-demo h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.demo-alerts {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.alert-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    border-left: 4px solid;
    animation: slideIn 0.5s ease-out;
}

.alert-item.spam {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: var(--error-color);
}

.alert-item.clip {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--success-color);
}

.alert-item.insight {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: var(--primary-color);
}

.alert-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.alert-type {
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    letter-spacing: 0.5px;
}

.alert-message {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.4;
}

.alert-time {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

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

/* Responsive Design for Smart Detection */
@media (max-width: 768px) {
    .detection-categories {
        gap: 2rem;
    }
    
    .detection-category {
        padding: 1.5rem;
    }
    
    .detection-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .analytics-insights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .detection-demo {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .alert-item {
        padding: 0.75rem;
    }

    /* Responsive for Smart Detection Integration in Use Cases */
    .smart-detection-integration {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .integration-title {
        font-size: 1.5rem;
    }
    
    .smart-detection-integration .detection-categories {
        gap: 2rem;
    }
    
    .smart-detection-integration .detection-category {
        padding: 1.5rem;
    }
    
    .smart-detection-integration .detection-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .smart-detection-integration .analytics-insights {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .smart-detection-integration .detection-demo {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .smart-detection-integration .alert-item {
        padding: 0.75rem;
    }
}

/* Melhoria visual para dashboard mockup */
.chart-positive, .chart-neutral, .chart-negative {
    font-size: var(--font-size-xs);
    font-weight: 600;
}

/* Live Examples Dashboard */
.live-examples-dashboard {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--background-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.live-examples-dashboard h4 {
    color: var(--text-primary);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.examples-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2rem;
    font-size: var(--font-size-base);
}

.example-section {
    margin: 2rem 0;
}

.example-section h5 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.example-card {
    background: var(--background-alt);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.example-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.example-card.wide {
    grid-column: 1 / -1;
}

.example-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--background-card);
    border-bottom: 1px solid var(--border-color);
}

.example-header h6 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.live-indicator {
    background: #ef4444;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.confidence-badge {
    background: var(--success-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.clip-ready {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.processing-indicator {
    background: var(--warning-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.recommendation-badge {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Spam Detection Chart */
.spam-detection-chart {
    padding: 1.5rem;
}

.chart-container {
    background: var(--background-primary);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}

.detection-graph {
    width: 100%;
    height: auto;
    max-height: 200px;
}

.pulse-alert {
    animation: pulseAlert 2s infinite;
}

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

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

.stat-item {
    text-align: center;
    padding: 0.75rem;
    background: var(--background-card);
    border-radius: var(--border-radius-sm);
}

.stat-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;   
}

.stat-value.danger { color: var(--error-color); }
.stat-value.success { color: var(--success-color); }

/* Bot Detection Analysis */
.bot-analysis {
    padding: 1.5rem;
}

.bot-patterns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pattern-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-primary);
    border-radius: var(--border-radius-sm);
}

.pattern-icon {
    font-size: 1.5rem;
}

.pattern-data {
    flex: 1;
}

.pattern-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.timing-bar {
    width: 100%;
    height: 8px;
    background: var(--background-card);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.timing-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.timing-fill.suspicious { background: var(--warning-color); }
.timing-fill.danger { background: var(--error-color); }

.pattern-value {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
}

.bot-verdict {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error-color);
    border-radius: var(--border-radius-sm);
    color: var(--error-color);
    font-weight: 600;
}

/* Hype Detection */
.hype-detection {
    padding: 1.5rem;
}

.hype-timeline {
    background: var(--background-primary);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
}

.hype-graph {
    width: 100%;
    height: auto;
    max-height: 150px;
}

.pulse-clip {
    animation: pulseClip 2s infinite;
}

@keyframes pulseClip {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}

.hype-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.metric-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background-card);
    border-radius: var(--border-radius-sm);
}

.metric-icon {
    font-size: 3.5rem;
}

.metric-info {
    flex: 1;
}

.metric-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.metric-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Multi-Modal Detection */
.multimodal-detection {
    padding: 1.5rem;
}

.detection-sources {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.source-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--background-primary);
    border-radius: var(--border-radius-sm);
}

.source-icon {
    font-size: 1.5rem;
}

.source-data {
    flex: 1;
}

.source-label {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.audio-waveform {
    display: flex;
    align-items: end;
    gap: 2px;
    height: 30px;
    margin-bottom: 0.5rem;
}

.wave-bar {
    background: var(--primary-color);
    width: 4px;
    min-height: 4px;
    border-radius: 2px;
    animation: waveform 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(2) { animation-delay: 0.1s; }
.wave-bar:nth-child(3) { animation-delay: 0.2s; }
.wave-bar:nth-child(4) { animation-delay: 0.3s; }
.wave-bar:nth-child(5) { animation-delay: 0.4s; }
.wave-bar:nth-child(6) { animation-delay: 0.5s; }

@keyframes waveform {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.video-frames {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.frame {
    width: 30px;
    height: 20px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.frame.normal {
    background: var(--background-card);
}

.frame.highlight {
    background: var(--warning-color);
    animation: frameHighlight 1s ease-in-out infinite;
}

@keyframes frameHighlight {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.chat-intensity {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 0.5rem;
}

.intensity-line {
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    animation: intensityGrow 2s ease-in-out infinite;
}

@keyframes intensityGrow {
    0% { width: 20%; }
    50% { width: var(--final-width, 100%); }
    100% { width: var(--final-width, 100%); }
}

.source-result {
    font-size: var(--font-size-sm);
    color: var(--success-color);
    font-weight: 500;
}

.detection-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--background-card);
    border-radius: var(--border-radius-sm);
}

.result-score {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.score-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.confidence-circle {
    width: 60px;
    height: 60px;
}

.circular-chart {
    display: block;
    margin: 0 auto;
}

.circle-bg {
    fill: none;
    stroke: var(--background-alt);
    stroke-width: 3.8;
}

.circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 2.8;
    stroke-linecap: round;
    animation: progress 1s ease-out forwards;
}

.percentage {
    fill: var(--text-primary);
    font-family: var(--font-family);
    font-size: 0.5em;
    text-anchor: middle;
    font-weight: 600;
}

@keyframes progress {
    0% { stroke-dasharray: 0 100; }
}

.clip-button {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.clip-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Performance Analytics */
.comparison-chart {
    padding: 1.5rem;
    
}

.time-selector {
    display: flex;
    gap: 0.5rem;
}

.time-btn {
    background: var(--background-alt);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-btn.active,
.time-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.chart-area {
    background: var(--background-primary);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    margin: 1rem 0;
}

.performance-graph {
    width: 100%;
    height: auto;
    max-height: 400px;
}

.performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.perf-metric {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background-card);
    border-radius: var(--border-radius-sm);
}

.perf-icon {
    font-size: 2.5rem;
}

.perf-data {
    flex: 1;
}

.perf-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 0.25rem;
}

.perf-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* Schedule Heatmap */
.schedule-heatmap {
    padding: 1.5rem;
}

.heatmap-header {
    display: grid;
    grid-template-columns: 60px repeat(5, 1fr);
    gap: 4px;
    margin-bottom: 4px;
}

.hour-label {
    text-align: center;
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    padding: 0.25rem;
}

.heatmap-grid {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.heatmap-row {
    display: grid;
    grid-template-columns: 60px repeat(5, 1fr);
    gap: 4px;
    align-items: center;
}

.day-name {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.heat-cell {
    height: 24px;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.heat-cell:hover {
    transform: scale(1.1);
}

.heat-cell.low { background: rgba(59, 130, 246, 0.2); }
.heat-cell.medium { background: rgba(59, 130, 246, 0.4); }
.heat-cell.high { background: rgba(59, 130, 246, 0.6); }
.heat-cell.very-high { background: rgba(59, 130, 246, 0.8); }

.heat-cell.optimal::after {
    content: '⭐';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
}

.heatmap-legend {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.legend-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 3px;
}

.legend-color.low { background: rgba(59, 130, 246, 0.2); }
.legend-color.medium { background: rgba(59, 130, 246, 0.4); }
.legend-color.high { background: rgba(59, 130, 246, 0.6); }
.legend-color.very-high { background: rgba(59, 130, 246, 0.8); }

.schedule-recommendation {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--success-color);
    border-radius: var(--border-radius-sm);
}

.rec-icon {
    font-size: 1.25rem;
}

.rec-text {
    color: var(--success-color);
    font-weight: 500;
}

/* Responsive Design for Examples */
@media (max-width: 768px) {
    .live-examples-dashboard {
        padding: 1rem;
    }

    .example-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .chart-stats,
    .hype-metrics,
    .performance-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detection-sources {
        gap: 0.5rem;
    }

    .detection-result {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .heatmap-header,
    .heatmap-row {
        grid-template-columns: 40px repeat(5, 1fr);
    }

    .heatmap-legend {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Clips Table Styles */
.clips-table-container {
    overflow-x: auto;
    background: var(--background-card);
    box-shadow: var(--shadow-sm);
}

.clips-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
    background: var(--background-card);
}

.clips-table th {
    background: var(--background-alt);
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clips-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: middle;
}

.clip-row {
    transition: all 0.2s ease;
    position: relative;
}

.clip-row:hover {
    background: var(--background-alt);
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.clip-row.viral {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.02));
    border-left: 3px solid var(--danger-color);
}

.clip-row.viral:hover {
    background: linear-gradient(90deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
}

.clip-type {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clip-type.clutch {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.clip-type.funny {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.3);
}

.clip-type.educational {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.clip-type.skill {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.3);
}

.clip-type.teamwork {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.clip-type.reaction {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    box-shadow: 0 2px 4px rgba(236, 72, 153, 0.3);
}

.clip-type.emotional {
    background: linear-gradient(135deg, #f43f5e, #e11d48);
    color: white;
    box-shadow: 0 2px 4px rgba(244, 63, 94, 0.3);
}

.clip-type.fail {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.3);
}

.clip-type.interaction {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: white;
    box-shadow: 0 2px 4px rgba(6, 182, 212, 0.3);
}

.hype-score {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

.hype-score.max {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

.hype-score.high {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.3);
}

.hype-score.medium {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.hype-score.low {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.3);
}

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

.clip-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: var(--border-radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.clip-btn.create {
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    color: white;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.clip-btn.create:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, var(--primary-color));
}

.clip-btn.create:active {
    transform: translateY(0);
}

.clip-btn.create::before {
    content: "📹";
    margin-right: 0.25rem;
}

.clips-count {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: var(--background-alt);
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    font-size: 11px;
    font-weight: 600;
}

.clips-count::before {
    content: "🎬";
}

.table-summary {
    background: var(--background-alt);
    border-top: 2px solid var(--border-color);
    padding: 1rem;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.summary-stats .stat-item {
    text-align: center;
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    background: var(--background-card);
    border: 1px solid var(--border-color);
}

.summary-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    
    margin-bottom: 0.25rem;
}

.summary-stats .stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsividade da tabela */
@media (max-width: 768px) {
    .clips-table-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .clips-table {
        font-size: 11px;
    }
    
    .clips-table th,
    .clips-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .clip-type,
    .hype-score {
        font-size: 10px;
        padding: 0.2rem 0.4rem;
    }
    
    .clip-btn {
        padding: 0.4rem 0.6rem;
        font-size: 10px;
    }
    
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* Sentiments Table Styles */
.sentiments-table-section {
    margin: 2rem 0;
    background: var(--background-card);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.sentiments-table-section h4 {
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sentiments-table-section h4::before {
    content: "🎭";
    font-size: 1.4rem;
}

.sentiments-table-container {
    overflow-x: auto;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background: var(--background-card);
    box-shadow: var(--shadow-sm);
}

.sentiments-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--font-size-sm);
    background: var(--background-card);
}

.sentiments-table th {
    background: var(--background-alt);
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sentiments-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: middle;
}

.sentiment-row {
    transition: all 0.2s ease;
    position: relative;
}

.sentiment-row:hover {
    background: var(--background-alt);
    transform: translateX(2px);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.sentiment-row.rank-1,
.sentiment-row.rank-2,
.sentiment-row.rank-3 {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05), transparent);
}

.sentiment-row.rank-1:hover,
.sentiment-row.rank-2:hover,
.sentiment-row.rank-3:hover {
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.02));
}

.emotion-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.emotion-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.emotion-name {
    font-weight: 500;
    color: var(--text-primary);
}

.percentage {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap;
}

.percentage.high {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.percentage.medium {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

.percentage.low {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.3);
}

.trend {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.4rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
}

.trend.up {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.trend.up::before {
    content: "↗️ ";
}

.trend.down {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.trend.down::before {
    content: "↘️ ";
}

.trend.stable {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
}

.trend.stable::before {
    content: "➡️ ";
}

.sentiments-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--background-alt);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.summary-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.summary-icon {
    font-size: 1.5rem;
    opacity: 0.8;
}

.summary-data {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.summary-value {
    font-size: 1.2rem;
    font-weight: 700;
    
}

.summary-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

/* Responsividade da tabela de sentimentos */
@media (max-width: 768px) {
    .sentiments-table-section {
        margin: 1rem 0;
        padding: 1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .sentiments-table-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .sentiments-table {
        font-size: 11px;
    }
    
    .sentiments-table th,
    .sentiments-table td {
        padding: 0.5rem 0.25rem;
    }
    
    .emotion-cell {
        gap: 0.25rem;
    }
    
    .emotion-icon {
        font-size: 1rem;
        width: 20px;
    }
    
    .percentage,
    .trend {
        font-size: 10px;
        padding: 0.2rem 0.3rem;
    }
    
    .sentiments-summary {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 1rem;
        padding-top: 1rem;
    }
    
    .summary-item {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        padding: 0.75rem;
    }
    
    .summary-icon {
        font-size: 1.2rem;
    }
    
    .summary-value {
        font-size: 1rem;
        text-align: start ;
    }
}