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

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --dark-bg: #0f172a;
    --darker-bg: #020617;
    --light-bg: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #cbd5e1;
    --accent-color: #10b981;
    --warning-color: #f59e0b;
    --border-color: #e2e8f0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: #fff;
}

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

/* Navigation */
.navbar {
    background: var(--darker-bg);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-brand h1 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.nav-brand .subtitle {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-right: 130px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-logo {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo svg {
    height: 26px;
    width: auto;
    display: block;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 100%);
    color: #fff;
    padding: 120px 20px 80px;
    margin-top: 72px;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 12px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.hero-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-fallback {
    background: rgba(99, 102, 241, 0.1);
    border: 2px dashed var(--primary-color);
    border-radius: 12px;
    padding: 4rem 2rem;
    text-align: center;
}

.image-fallback i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.image-fallback p {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* Section Styles */
.section {
    padding: 80px 20px;
}

.section-dark {
    background: var(--dark-bg);
    color: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-dark .section-description {
    color: var(--text-light);
}

/* Showcase Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.showcase-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
    height: 100%;
}

.showcase-text {
    flex: 1;
    width: auto;
}

.video-container {
    flex: 1;
    width: auto;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 8px;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 400px;
}

@media (max-width: 968px) {
    .showcase-item {
        flex-direction: column;
    }
    
    .video-container {
        width: 100%;
    }
}

.video-placeholder {
    background: rgba(99, 102, 241, 0.1);
    border: 2px dashed var(--primary-color);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.video-placeholder:hover {
    background: rgba(99, 102, 241, 0.2);
}

.video-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.video-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.video-placeholder span {
    font-size: 0.9rem;
    color: var(--text-light);
}

.showcase-item h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.showcase-item p {
    color: var(--text-light);
}

/* Code Section */
.code-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.code-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
}

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

.code-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.code-icon i {
    font-size: 1.8rem;
    color: #fff;
}

.code-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.code-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.resource-links {
    margin-bottom: 2rem;
}

.resource-links h3 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
}

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

.resource-link {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.resource-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.resource-link h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 1.2rem;
}

.resource-link p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.code-example {
    background: var(--darker-bg);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.code-example h3 {
    color: #fff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-example pre {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
}

.code-example code {
    color: #e2e8f0;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Benchmark Section */
.benchmark-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--primary-color);
    color: #fff;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.tab-btn:hover {
    background: rgba(99, 102, 241, 0.1);
}

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

.tab-content {
    display: none;
}

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

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

.benchmark-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
}

.benchmark-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.benchmark-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.metric {
    margin-bottom: 1.5rem;
}

.metric-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress-bar {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    height: 30px;
    overflow: hidden;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    font-weight: 700;
    transition: width 1s ease;
}

/* Task List */
.task-list {
    max-width: 900px;
    margin: 0 auto;
}

.task-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.task-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

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

.task-header h4 {
    font-size: 1.2rem;
}

.task-status {
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.task-status.success {
    background: var(--accent-color);
    color: #fff;
}

.task-status.partial {
    background: var(--warning-color);
    color: #fff;
}

.task-item p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.task-score {
    color: var(--primary-color);
    font-weight: 600;
}

/* Performance Table */
.table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.performance-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.performance-table thead {
    background: var(--dark-bg);
    color: #fff;
}

.performance-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.performance-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.performance-table tbody tr:hover {
    background: var(--light-bg);
}

.score-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.improvement {
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
}

.improvement.positive {
    background: #dcfce7;
    color: #166534;
}

.performance-notes {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
}

.performance-notes h3 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.performance-notes ul {
    list-style: none;
    padding-left: 1.5rem;
}

.performance-notes li {
    padding: 0.5rem 0;
    position: relative;
}

.performance-notes li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
}

/* Background Section */
.background-content {
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.8;
}

.background-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.feature-list-detailed {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
}

.feature-list-detailed li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.feature-list-detailed i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.capabilities-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    margin: 2rem 0;
    overflow-x: auto;
}

.capability-card {
    background: var(--light-bg);
    border-radius: 12px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s;
    flex: 0 0 calc(25% - 1.125rem);
    min-width: 250px;
}

.capability-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.capability-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.capability-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.capability-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Video Styles */
/* Video styles moved to Showcase section */

.demo-note {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border-left: 3px solid var(--primary-color);
    border-radius: 4px;
    font-size: 0.95rem;
}

.demo-note i {
    margin-right: 0.5rem;
}

/* Benchmark Specific Styles */
.benchmark-intro {
    max-width: 1000px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.benchmark-intro p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

.benchmark-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benchmark-stat {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 2px solid var(--primary-color);
}

.benchmark-stat i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benchmark-stat h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.benchmark-stat p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.benchmark-description {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 4px solid var(--secondary-color);
}

.benchmark-description h4 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.benchmark-description p {
    color: var(--text-light);
    line-height: 1.8;
}

.performance-highlight {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    padding: 2rem;
    margin-top: 2rem;
    border: 2px solid var(--primary-color);
}

.performance-highlight h4 {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.performance-highlight p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Action Distribution Styles */
.action-distribution {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
}

.action-distribution h4 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.5rem;
}

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

.action-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s;
}

.action-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.action-stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.action-stat-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 600;
}

.action-stat-card .action-count {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.25rem;
}

.action-stat-card .action-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* Scenario Distribution Styles */
.scenario-distribution {
    margin: 2rem 0;
}

.scenario-distribution h4 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    font-size: 1.5rem;
}

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

.scenario-stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.3);
    transition: all 0.3s;
}

.scenario-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.scenario-stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.scenario-stat-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 600;
}

.scenario-stat-card .scenario-count {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.scenario-stat-card .scenario-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
}

.action-chart,
.scenario-chart {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.action-chart h5,
.scenario-chart h5 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-bars {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.chart-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chart-bar-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.chart-bar-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.chart-bar-percentage {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
}

.chart-bar-container {
    width: 100%;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.chart-bar-fill {
    height: 100%;
    border-radius: 8px;
    transition: width 1s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

.chart-bar-fill:hover {
    opacity: 0.9;
    transform: scaleY(1.05);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    padding: 0.5rem 0;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .benchmark-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 968px) {
    .benchmark-charts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        margin-right: 0;
    }
    
    .nav-logo {
        position: static;
        transform: none;
        margin-top: 0.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .showcase-grid,
    .code-grid {
        grid-template-columns: 1fr;
    }
    
    .benchmark-charts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .chart-item {
        padding: 1.5rem;
    }
    
    .bar-label {
        min-width: 90px;
        font-size: 0.8rem;
    }
    
    .bar-wrapper {
        height: 32px;
    }
    
    .bar-value {
        font-size: 0.85rem;
    }
    
    .action-stats-grid,
    .scenario-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-chart,
    .scenario-chart {
        padding: 1.5rem;
    }
    
    .chart-bar-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .chart-bar-label {
        font-size: 0.85rem;
    }
    
    .chart-bar-percentage {
        font-size: 1rem;
    }
    
    .chart-bar-container {
        height: 28px;
    }
}

/* Benchmark Charts Styles */
.benchmark-charts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 3rem 0;
}

.chart-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.chart-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
}

.chart-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-title:before {
    content: "📊";
    font-size: 1.2rem;
}

.chart-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.8rem;
    padding-left: 1.8rem;
}

.chart-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.bar-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bar-label {
    min-width: 110px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-align: right;
}

.bar-wrapper {
    flex: 1;
    background: linear-gradient(90deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 10px;
    height: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bar {
    height: 100%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 14px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 10px 10px 0 0;
}

.bar-qwen {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.bar-uitars {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
}

.bar-gelab {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
}

.bar.highlight {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 6px 30px rgba(16, 185, 129, 0.6);
    }
}

.bar-value {
    font-weight: 700;
    color: #fff;
    font-size: 0.9rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

.benchmark-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 3rem;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

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

.findings-list {
    list-style: none;
    padding: 0;
}

.findings-list li {
    padding: 0.9rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.findings-list li:last-child {
    border-bottom: none;
}

.findings-list li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.3rem;
    background: rgba(16, 185, 129, 0.1);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.summary-conclusion {
    margin-top: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    color: var(--text-primary);
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Benchmark Results Styles */
.benchmark-results {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem 0;
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.benchmark-results h4 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
}

.benchmark-intro-text {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.model-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.model-result-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 2px solid rgba(99, 102, 241, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.model-result-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.25);
    border-color: var(--primary-color);
}

.model-result-card.champion {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(16, 185, 129, 0.05));
    border-color: var(--accent-color);
    border-width: 3px;
}

.model-result-card.champion:hover {
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.4);
    border-color: var(--accent-color);
}

.champion-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
    animation: rotate 3s linear infinite;
}

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

.champion-badge i {
    font-size: 1.2rem;
    color: #fff;
}

.model-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.model-result-card.champion .model-icon {
    background: linear-gradient(135deg, var(--accent-color), #34d399);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
}

.model-icon i {
    font-size: 2rem;
    color: #fff;
}

.model-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    min-height: 2.5em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accuracy-container {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
}

.accuracy-circle {
    position: relative;
    width: 120px;
    height: 120px;
}

.accuracy-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.circle-progress {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease-out;
}

.accuracy-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.accuracy-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.model-score {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 1rem;
}

.champion-label {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-block;
}

.champion-label i {
    margin-right: 0.3rem;
}

/* Comparison Chart Styles */
.comparison-chart {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 3rem;
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.comparison-chart h5 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-bars {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.comparison-bar-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.comparison-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comparison-model-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.comparison-accuracy {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-color);
}

.comparison-bar-bg {
    width: 100%;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
}

.comparison-bar-fill {
    height: 100%;
    border-radius: 12px;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.comparison-bar-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 12px 12px 0 0;
}

.comparison-bar-item.champion-bar .comparison-bar-bg {
    background: rgba(16, 185, 129, 0.15);
}

.champion-fill {
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
    }
    50% {
        box-shadow: 0 8px 35px rgba(16, 185, 129, 0.7);
    }
}

.comparison-model-name i {
    margin-right: 0.3rem;
    color: #fbbf24;
}

/* Benchmark Highlights */
.benchmark-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 16px;
    border: 2px solid var(--primary-color);
}

.highlight-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

.highlight-item i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.highlight-item p {
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.highlight-item strong {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    margin-bottom: 0.3rem;
}

/* Responsive Styles for Benchmark Results */
@media (max-width: 768px) {
    .model-results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benchmark-results {
        padding: 1.5rem;
    }
    
    .comparison-chart {
        padding: 1.5rem;
    }
    
    .comparison-bar-bg {
        height: 38px;
    }
    
    .comparison-model-name {
        font-size: 0.9rem;
    }
    
    .comparison-accuracy {
        font-size: 1.05rem;
    }
    
    .benchmark-highlights {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .accuracy-circle {
        width: 100px;
        height: 100px;
    }
    
    .accuracy-value {
        font-size: 1.5rem;
    }
}

/* Modern Action Chart Styles */
.action-chart-modern {
    margin-top: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.chart-bars-compact {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.chart-bar-item-modern {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.chart-bar-info-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.chart-bar-label-modern {
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chart-bar-label-modern i {
    color: #818cf8;
    font-size: 0.9rem;
}

.chart-bar-value-modern {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.bar-percentage-text {
    font-size: 0.9rem;
    color: #94a3b8;
    font-weight: 500;
}

.chart-bar-container-modern {
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.chart-bar-fill-modern {
    height: 100%;
    border-radius: 8px;
    transition: width 1s ease-out;
    display: flex;
    align-items: center;
    padding-left: 0.8rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Modern Comparison Chart Styles */
.comparison-chart-modern {
    margin-top: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.comparison-bars-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comparison-bar-item-modern {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.model-info-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.model-name-modern {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.model-name-modern i {
    color: #818cf8;
    font-size: 1rem;
}

.model-accuracy-modern {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.champion-accuracy {
    color: #10b981;
}

.comparison-bar-bg-modern {
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.comparison-bar-fill-modern {
    height: 100%;
    border-radius: 10px;
    transition: width 1.2s ease-out;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.bar-label-inside {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.champion-bar-modern {
    padding: 0.5rem;
    background: rgba(16, 185, 129, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.champion-fill-modern {
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

/* Responsive styles for modern charts */
@media (max-width: 768px) {
    .action-chart-modern,
    .comparison-chart-modern {
        padding: 1.5rem;
    }
    
    .chart-bar-label-modern,
    .model-name-modern {
        font-size: 0.9rem;
    }
    
    .chart-bar-value-modern,
    .model-accuracy-modern {
        font-size: 1rem;
    }
    
    .chart-bar-container-modern {
        height: 28px;
    }
    
    .comparison-bar-bg-modern {
        height: 35px;
    }
    
    .bar-label-inside {
        font-size: 0.85rem;
    }
}

/* Open Benchmark Grid Styles */
.open-benchmark-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    margin: 3rem 0;
    padding-bottom: 1.5rem;
    justify-content: flex-start;
    scrollbar-width: thin; /* Firefox */
}

.open-benchmark-grid::-webkit-scrollbar {
    height: 8px;
}

.open-benchmark-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.open-benchmark-grid::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.open-benchmark-grid::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.open-benchmark-item {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    flex: 0 0 340px; /* Fixed width for horizontal scrolling */
    min-width: 340px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.open-benchmark-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.open-benchmark-title {
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
}

.open-benchmark-bars {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-end;
    gap: 0.8rem;
    height: 320px; /* Increased height from 200px */
    padding: 0.5rem 0;
}

.open-bar-wrapper {
    flex: 0 0 45px;
    width: 45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    height: 100%;
}

.open-bar-wrapper.highlight-bar {
    position: relative;
}

.open-bar-container {
    width: 100%;
    flex: 1; /* Take remaining space */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.open-bar {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0.3rem 0.2rem;
    border-radius: 4px 4px 0 0;
    transition: height 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    transform-origin: bottom;
}

/* Flat Design & Colors */
.open-bar-gray {
    background: #e2e8f0; /* Light Gray */
    box-shadow: none;
}

.open-bar-gray .open-bar-value {
    color: var(--text-primary);
    text-shadow: none;
}

.open-bar-blue {
    background: #3b82f6; /* Flat Blue */
    box-shadow: none;
}

.open-bar:hover {
    filter: brightness(0.95); /* Subtle hover effect */
    transform: none; /* Disable scale transform on hover to keep flat look */
}

.open-bar-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    text-shadow: none;
    position: absolute;
    top: -20px;
    width: 100%;
    left: 0;
}

.open-bar-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-align: center;
    writing-mode: horizontal-tb;
    max-width: 100%;
    word-wrap: break-word;
    line-height: 1.2;
    height: 3.6em; /* Fixed height for labels */
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-weight: 600;
}

.highlight-bar .open-bar-label {
    color: #2563eb;
    font-weight: 700;
}

/* Responsive styles for open benchmark */
@media (max-width: 1400px) {
    /* Flexbox handles wrapping automatically, no need for grid columns */
}

@media (max-width: 968px) {
    .open-benchmark-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .open-benchmark-grid {
        gap: 1.5rem;
    }
    
    .open-benchmark-item {
        padding: 1rem;
        flex-basis: 100%; /* Full width on mobile */
    }
    
    .open-benchmark-bars {
        height: 180px;
        gap: 0.4rem;
    }
    
    .open-bar-wrapper {
        max-width: none; /* Allow flexibility or keep it constrained? */
        width: 16%; /* Distribute evenly */
    }
    
    .open-bar-value {
        font-size: 0.65rem;
    }
    
    .open-bar-label {
        font-size: 0.6rem;
    }
}

/* Benchmark Scroll Container */
.benchmark-scroll-container {
    position: relative;
    max-width: 100%;
}

.scroll-right-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 20;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.scroll-right-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    opacity: 1;
}

/* Ensure grid has padding for button visibility */
.open-benchmark-grid {
    padding-right: 4rem;
}
