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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.logo i {
    font-size: 2.5rem;
    color: #667eea;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.subtitle {
    text-align: right;
    color: #666;
}

.subtitle p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Navigation Styles */
.nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 80px;
    z-index: 999;
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 40px;
    padding: 15px 0;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-link:hover::before {
    left: 0;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Main Content */
.main {
    padding: 40px 0;
}

.section {
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-header h2 i {
    color: #667eea;
    font-size: 2rem;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.metric-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.metric-icon i {
    font-size: 1.5rem;
    color: white;
}

.metric-content h3 {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 600;
}

.metric-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.metric-change {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.metric-change.positive {
    color: #27ae60;
}

.metric-change i {
    font-size: 0.9rem;
}

.metric-chart {
    margin-top: 20px;
    height: 100px;
}

/* Posts Section */
.posts-section {
    margin-top: 40px;
}

.posts-section h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

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

.post-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.post-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.post-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-icon i {
    color: white;
    font-size: 1.2rem;
}

.post-info h4 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.post-date {
    color: #666;
    font-size: 0.9rem;
}

.post-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

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

.metric i {
    color: #667eea;
    width: 16px;
}

/* Event Overview */
.event-overview {
    margin-bottom: 40px;
}

.overview-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.overview-card h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
}

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

.stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
}

.stat i {
    font-size: 1.3rem;
}

/* Video Analytics */
.video-analytics {
    margin-bottom: 40px;
}

.video-analytics h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

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

.video-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.video-card.featured {
    border: 2px solid #f39c12;
    background: linear-gradient(135deg, #fff9e6, #ffffff);
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

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

.video-header i {
    color: #f39c12;
    font-size: 1.2rem;
}

.video-header h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
}

.video-info h5 {
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 5px;
}

.video-info p {
    color: #666;
    font-size: 0.9rem;
}

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

/* Collaborators Section */
.collaborators-section {
    margin-bottom: 40px;
}

.collaborators-section h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.collaborators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.collaborator-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.collaborator-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.collaborator-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.collaborator-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collaborator-avatar i {
    color: white;
    font-size: 1.2rem;
}

.collaborator-info h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.collaborator-info p {
    color: #666;
    font-size: 0.9rem;
}

.collaborator-metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

/* Improvements Section */
.improvements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.improvement-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.improvement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.improvement-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.improvement-header i {
    color: #667eea;
    font-size: 1.5rem;
}

.improvement-header h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Accordion Styles */
.accordion {
    width: 100%;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-button {
    width: 100%;
    background: none;
    border: none;
    padding: 15px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.accordion-button:hover {
    color: #667eea;
}

.accordion-button i {
    transition: transform 0.3s ease;
    color: #667eea;
}

.accordion-button.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.active {
    max-height: 200px;
}

.accordion-content p {
    padding: 0 0 15px 0;
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 40px 0;
    margin-top: 60px;
}

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

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.footer-info p {
    margin: 5px 0;
    opacity: 0.9;
}

.footer-date {
    text-align: right;
}

.footer-date p {
    margin: 5px 0;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-list {
        flex-direction: column;
        gap: 10px;
        padding: 20px 0;
    }

    .section {
        padding: 20px;
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .video-cards {
        grid-template-columns: 1fr;
    }

    .collaborators-grid {
        grid-template-columns: 1fr;
    }

    .improvements-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .overview-stats {
        grid-template-columns: 1fr;
    }

    .post-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .metric-value {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .post-card,
    .video-card,
    .collaborator-card,
    .improvement-card {
        padding: 20px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section {
    animation: fadeInUp 0.6s ease-out;
}

/* Chart Container Styling */
canvas {
    border-radius: 8px;
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
}

/* Métricas Adicionales Styles */
.analysis-section {
    margin-bottom: 3rem;
}

.analysis-section h3 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.followers-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.followers-card:hover {
    transform: translateY(-5px);
}

.followers-card.instagram {
    border-left: 4px solid #E4405F;
}

.followers-card.facebook {
    border-left: 4px solid #1877F2;
}

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

.platform-header i {
    font-size: 1.5rem;
}

.platform-header h4 {
    margin: 0;
    color: #fff;
}

.followers-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.followers-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.followers-metric:last-child {
    border-bottom: none;
}

.metric-label {
    color: #ccc;
    font-size: 0.9rem;
}

.metric-value {
    font-weight: bold;
    font-size: 1.1rem;
}

.followers-metric.positive .metric-value {
    color: #4CAF50;
}

.followers-metric.negative .metric-value {
    color: #f44336;
}

.followers-metric.net .metric-value {
    color: #2196F3;
    font-size: 1.2rem;
}

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

.highlight-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

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

.highlight-header i {
    font-size: 1.5rem;
    color: #FFD700;
}

.highlight-header h4 {
    margin: 0;
    color: #fff;
}

.highlight-title {
    color: #ccc;
    margin-bottom: 1rem;
    font-style: italic;
}

.highlight-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.highlight-metric {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.highlight-metric i {
    color: #667eea;
    width: 20px;
}

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

.engagement-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.engagement-card:hover {
    transform: translateY(-5px);
}

.engagement-platform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.engagement-platform i {
    font-size: 1.5rem;
}

.engagement-platform h4 {
    margin: 0;
    color: #fff;
}

.engagement-rate {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rate-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.rate-label {
    color: #ccc;
    font-size: 0.9rem;
}

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

.summary-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
}

.summary-card i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.summary-card h4 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.summary-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4CAF50;
}

/* Gráficos Circulares Styles */
.highlight-chart {
    margin-top: 1rem;
    height: 200px;
}

.engagement-breakdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.breakdown-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.breakdown-card:hover {
    transform: translateY(-5px);
}

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

.breakdown-header i {
    font-size: 1.5rem;
}

.breakdown-header h4 {
    margin: 0;
    color: #fff;
}

.breakdown-chart {
    height: 250px;
    margin-bottom: 1rem;
}

.breakdown-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.breakdown-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.stat-label {
    color: #ccc;
    font-size: 0.9rem;
}

.stat-value {
    font-weight: bold;
    color: #4CAF50;
    font-size: 1.1rem;
}

/* Responsive para gráficos */
@media (max-width: 768px) {
    .engagement-breakdown {
        grid-template-columns: 1fr;
    }
    
    .breakdown-stats {
        grid-template-columns: 1fr;
    }
    
    .highlight-chart,
    .breakdown-chart {
        height: 200px;
    }
}

/* JEEPFEST2025 Styles */
.jeepfest-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-5px);
}

.kpi-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.kpi-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.campaign-contribution {
    margin-bottom: 3rem;
}

.contribution-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contribution-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.contribution-header i {
    font-size: 1.5rem;
    color: #e74c3c;
}

.contribution-header h3 {
    color: #333;
    margin: 0;
}

.contribution-legend {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

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

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

.legend-color.jeepfest {
    background: #e74c3c;
}

.legend-color.other {
    background: #bdc3c7;
}

.contribution-chart {
    height: 300px;
}

/* Content Pillars Analysis */
.content-pillars-analysis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pillars-card,
.retention-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.pillars-header,
.retention-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.pillars-header i {
    font-size: 1.5rem;
    color: #3498db;
}

.retention-header i {
    font-size: 1.5rem;
    color: #27ae60;
}

.pillars-header h3,
.retention-header h3 {
    color: #333;
    margin: 0;
}

.pillars-list {
    margin-bottom: 1.5rem;
}

.pillar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.pillar-item:last-child {
    border-bottom: none;
}

.pillar-name {
    color: #333;
    font-weight: 500;
}

.pillar-percentage {
    color: #3498db;
    font-weight: bold;
    font-size: 1.1rem;
}

.pillars-insight {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.pillars-insight p {
    margin: 0;
    color: #666;
    font-style: italic;
}

.retention-sections {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.retention-section {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 8px;
    background: #f8f9fa;
}

.retention-section.viral {
    border-left: 4px solid #3498db;
}

.retention-section.service {
    border-left: 4px solid #f39c12;
}

.retention-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.retention-section.viral .retention-icon {
    background: #3498db;
}

.retention-section.service .retention-icon {
    background: #f39c12;
}

.retention-content h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
}

.retention-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Conclusions Section */
.conclusions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.findings-section,
.imperatives-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.findings-section h3,
.imperatives-section h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.finding-card,
.imperative-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.finding-card:hover,
.imperative-card:hover {
    transform: translateY(-3px);
}

.finding-icon,
.imperative-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.finding-icon {
    background: #3498db;
}

.imperative-icon {
    background: #27ae60;
}

.finding-content h4,
.imperative-content h4 {
    margin: 0 0 0.5rem 0;
    color: #333;
    font-size: 1.1rem;
}

.finding-content p,
.imperative-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Performance Dashboard */
.performance-dashboard {
    margin-bottom: 3rem;
}

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

/* Full width for format duel section */
.format-duel-clean {
    grid-column: 1 / -1;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.card-header i {
    font-size: 1.5rem;
    color: #1877F2;
}

.card-header h3 {
    color: #333;
    margin: 0;
    font-size: 1.2rem;
}

/* Performance Evolution Card */
.performance-evolution {
    grid-column: span 2;
}

.performance-chart {
    height: 300px;
    margin-bottom: 1rem;
}

.chart-insight {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #1877F2;
}

.chart-insight p {
    margin: 0;
    color: #666;
    font-style: italic;
}

/* Viral Content Card */
.viral-content {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #E4405F;
}

.viral-content .card-header i {
    color: #E4405F;
}

.viral-content .card-header h3 {
    color: #333;
    font-weight: 700;
}

.viral-description {
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #333;
    font-weight: 500;
}

.viral-metrics {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.viral-metrics-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.viral-metrics-bottom {
    width: 100%;
}

.viral-metric {
    text-align: center;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.viral-metric.full-width {
    width: 100%;
}

.metric-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #E4405F;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.metric-label {
    font-size: 0.8rem;
    color: #333;
    font-weight: 600;
    text-align: center;
    margin: 0;
}


/* Format Duel Full Width */
.format-duel-fullwidth {
    width: 100%;
    margin-bottom: 2rem;
}

.duel-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.duel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    justify-content: center;
}

.duel-header i {
    font-size: 1.5rem;
    color: #E4405F;
}

.duel-header h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.duel-main-content {
    display: flex;
    gap: 2rem;
    width: 100%;
}

/* Left Side - Duel */
.duel-left-side {
    width: 50%;
}

.duel-content {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
}

.format-contender {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: white;
    border: 2px solid;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
}

.format-contender:hover {
    transform: translateY(-3px);
}

.format-contender.reels {
    background: white;
    color: #333;
    border-color: #E4405F;
    box-shadow: 0 4px 12px rgba(228, 64, 95, 0.2);
}

.format-contender.photos {
    background: white;
    color: #333;
    border-color: #1877F2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.2);
}

.format-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.format-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.format-percentage,
.format-reach {
    font-size: 2.5rem;
    font-weight: bold;
    color: #E4405F;
}

.format-contender.photos .format-reach {
    color: #1877F2;
}

.format-description {
    font-size: 0.9rem;
    color: #333;
    font-weight: 600;
}

.vs-divider {
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #333;
    flex-shrink: 0;
}

/* Right Side - Analysis */
.duel-right-side {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.analysis-section,
.metrics-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.analysis-section h4,
.metrics-section h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

.performance-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.performance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.performance-label {
    font-weight: 600;
    color: #333;
    min-width: 120px;
    font-size: 0.9rem;
}

.performance-bar {
    flex: 1;
    height: 20px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

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

.reels-bar {
    background: linear-gradient(90deg, #E4405F, #f093fb);
}

.photos-bar {
    background: linear-gradient(90deg, #1877F2, #42A5F5);
}

.performance-value {
    font-weight: bold;
    color: #333;
    min-width: 40px;
    text-align: right;
    font-size: 0.9rem;
}

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.metric-item:hover {
    transform: translateY(-2px);
}

.metric-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.metric-content {
    flex: 1;
}

.metric-title {
    display: block;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.metric-value {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
}

/* Format Duel Clean Styles - Full Width Grid */
.format-duel-clean {
    width: 100%;
    margin: 2rem 0;
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    max-width: none;
}

.duel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.duel-header i {
    font-size: 1.5rem;
    color: #ff6b6b;
}

.duel-header h3 {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
}

.duel-container-clean {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    width: 100%;
    align-items: start;
    min-height: 200px;
    margin-bottom: 2rem;
}

.duel-section {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: center;
    justify-items: center;
    width: 100%;
}

.analysis-section-clean {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
}

.metrics-section-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    width: 100%;
}

.format-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.format-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.photos-card {
    background: linear-gradient(135deg, #E4405F, #f093fb);
    box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.photos-card:hover {
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.4);
}

.format-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.format-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.metric-value {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
}

.metric-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
}

.vs-separator {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    background: #f8f9fa;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.analysis-card, .metrics-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.analysis-card h4, .metrics-card h4 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.performance-bars {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.performance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.performance-label {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 100px;
}

.performance-bar {
    flex: 1;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

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

.reels-bar {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.photos-bar {
    background: linear-gradient(90deg, #E4405F, #f093fb);
}

.performance-value {
    color: #333;
    font-size: 0.9rem;
    font-weight: 600;
    min-width: 40px;
    text-align: right;
}

.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.metric-item:hover {
    background: #f8f9fa;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

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

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

.metric-title {
    color: #666;
    font-size: 0.8rem;
    font-weight: 500;
}

.metric-value {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive Design for Format Duel Clean */
@media (max-width: 1024px) {
    .duel-container-clean {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .duel-section {
        grid-template-columns: 1fr auto 1fr;
        gap: 1.5rem;
    }
    
    .metrics-section-bottom {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .duel-container-clean {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .duel-section {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem;
        justify-items: center;
    }
    
    .vs-separator {
        transform: rotate(90deg);
        margin: 1rem 0;
    }
    
    .analysis-section-clean {
        flex-direction: column;
        gap: 1rem;
    }
    
    .metrics-section-bottom {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Content Summary Dashboard */
.content-summary-dashboard {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-info i {
    font-size: 2rem;
    color: #E4405F;
}

.platform-info h2 {
    color: #333;
    margin: 0;
    font-size: 1.8rem;
}

.export-button {
    position: relative;
}

.export-btn {
    background: #1877F2;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.export-btn:hover {
    background: #166FE5;
}

.summary-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tab {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-weight: 500;
}

.tab.active {
    background: #1877F2;
    color: white;
}

.tab:hover:not(.active) {
    background: #f8f9fa;
}

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

.kpi-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-2px);
}

.kpi-card.highlighted {
    border: 2px solid #1877F2;
    background: rgba(24, 119, 242, 0.05);
}

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

.kpi-title {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.kpi-header i {
    color: #999;
    font-size: 0.8rem;
}

.kpi-value {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.kpi-change {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.kpi-change.positive {
    color: #4CAF50;
}

.summary-chart {
    height: 300px;
    margin-bottom: 2rem;
}

.breakdown-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
}

.breakdown-section h3 {
    color: #333;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.breakdown-period {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

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

.breakdown-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
}

.breakdown-label {
    color: #666;
    font-size: 0.9rem;
}

.breakdown-value {
    font-weight: bold;
    color: #333;
}

.breakdown-change {
    font-size: 0.8rem;
    font-weight: 500;
}

.breakdown-change.positive {
    color: #4CAF50;
}

/* Tab Content */
.tab-content {
    margin-top: 2rem;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Posts Analysis */
.posts-analysis h3,
.stories-analysis h3 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.posts-stats,
.stories-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #E4405F, #f093fb);
    border-radius: 50%;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

.posts-chart,
.stories-chart {
    height: 300px;
    margin-bottom: 2rem;
}

.top-posts h4,
.stories-insights h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.post-item:hover {
    transform: translateX(5px);
}

.post-rank {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #E4405F, #f093fb);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.post-info {
    flex: 1;
}

.post-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.post-metrics {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
}

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

.insight-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-3px);
}

.insight-title {
    color: #666;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.insight-value {
    font-size: 2rem;
    font-weight: bold;
    color: #E4405F;
    margin-bottom: 0.5rem;
}

.insight-desc {
    color: #666;
    font-weight: 500;
    font-size: 0.8rem;
}

/* Fix text styles - make gray texts bold/semi-bold */
.kpi-title,
.breakdown-label,
.breakdown-period,
.format-description,
.duel-conclusion p,
.chart-insight p,
.insight-text,
.stories-insight p {
    font-weight: 600 !important;
    color: #333 !important;
}

/* Fix cut-off sections */
.dashboard-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.viral-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    min-width: 0;
}



/* Responsive fixes */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-evolution {
        grid-column: span 1;
    }
    
    .duel-main-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .duel-left-side {
        width: 100%;
    }
    
    .duel-right-side {
        width: 100%;
    }
    
    .duel-content {
        flex-direction: row;
        gap: 1rem;
    }
    
    .format-contender {
        flex: 1;
        max-width: 300px;
    }
    
    .vs-divider {
        order: 2;
        margin: 0 1rem;
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .reels {
        order: 1;
    }
    
    .photos {
        order: 3;
    }
}

@media (max-width: 768px) {
    .viral-metrics-top {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .viral-metric {
        padding: 0.75rem;
        min-height: 70px;
    }
    
    .metric-number {
        font-size: 1.2rem;
    }
    
    .metric-label {
        font-size: 0.7rem;
    }
}
    
    
    .format-name {
        font-size: 1rem;
    }
    
    .format-percentage,
    .format-reach {
        font-size: 1.4rem;
    }
    
    .format-description {
        font-size: 0.8rem;
    }
    
    .duel-conclusion {
        padding: 1rem;
    }
    
    .duel-conclusion p {
        font-size: 0.9rem;
    }
}

/* Content Formats Analysis */
.content-formats-analysis {
    margin-bottom: 3rem;
}

.formats-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.formats-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.formats-header i {
    font-size: 1.5rem;
    color: #1877F2;
}

.formats-header h3 {
    color: #333;
    margin: 0;
}

.formats-section {
    margin-bottom: 2rem;
}

.formats-section h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

.format-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.format-item:hover {
    transform: translateY(-2px);
}

.format-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1877F2, #42A5F5);
    border-radius: 50%;
}

.format-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.format-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.format-count {
    font-size: 1.5rem;
    font-weight: bold;
    color: #1877F2;
}

.format-percentage {
    font-size: 0.9rem;
    color: #666;
}

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

.performer-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    border-left: 4px solid;
}

.performer-card:hover {
    transform: translateY(-3px);
}

.performer-card.views {
    border-left-color: #4CAF50;
}

.performer-card.interactions {
    border-left-color: #E91E63;
}

.performer-card.published {
    border-left-color: #FF9800;
}

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

.performer-header i {
    font-size: 1.2rem;
}

.performer-header h4 {
    margin: 0;
    color: #333;
    font-size: 1rem;
}

.performer-content {
    text-align: center;
}

.performer-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.performer-metric {
    font-size: 1.1rem;
    color: #1877F2;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.performer-percentage {
    font-size: 0.9rem;
    color: #666;
}

.formats-insights {
    background: linear-gradient(135deg, #1877F2, #42A5F5);
    color: white;
    padding: 2rem;
    border-radius: 15px;
}

.formats-insights h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.insight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.insight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.insight-text {
    line-height: 1.5;
}

.insight-text strong {
    font-weight: 600;
}

/* Instagram Stories Analysis */
.stories-analysis {
    margin-bottom: 3rem;
}

.stories-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stories-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.stories-header i {
    font-size: 1.5rem;
    color: #E4405F;
}

.stories-header h3 {
    color: #333;
    margin: 0;
}

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

.stories-metric {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stories-metric:hover {
    transform: translateY(-2px);
}

.stories-metric .metric-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E4405F, #f093fb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.stories-metric .metric-content {
    display: flex;
    flex-direction: column;
}

.stories-metric .metric-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    line-height: 1;
}

.stories-metric .metric-label {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
}

.stories-insight {
    background: linear-gradient(135deg, #E4405F, #f093fb);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.stories-insight p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

.stories-insight strong {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .jeepfest-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-pillars-analysis {
        grid-template-columns: 1fr;
    }
    
    .conclusions-grid {
        grid-template-columns: 1fr;
    }
    
    .retention-section {
        flex-direction: column;
        text-align: center;
    }
    
    .finding-card,
    .imperative-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stories-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stories-metric {
        flex-direction: column;
        text-align: center;
    }
}
