/* EnterpriseBench Modern Styles */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    --text-color: #1e293b;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --border-color: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    background: var(--bg-gradient);
    color: white;
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.main-content {
    flex: 1;
    padding: 60px 0;
}

/* Author Section Styles */
.author-section {
    background: var(--bg-light);
    padding: 2rem 0;
    margin: 2rem 0;
    border-radius: 12px;
    text-align: center;
}

.author-list-formal {
    max-width: 800px;
    margin: 0 auto;
}

.author-names {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.affiliations {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.author-footnote {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.links-section {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.link-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.link-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.link-button.github:hover {
    background: #24292e;
    color: white;
}

.link-button.huggingface:hover {
    background: #ff9d00;
    color: white;
}

/* Navigation */
.nav-menu {
    background-color: var(--bg-light);
    padding: 20px 0;
    margin-bottom: 40px;
    border-radius: 8px;
    text-align: center;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

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

/* Content Styles */
.content {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 60px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.25rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

h2 {
    font-size: 1.875rem;
    color: var(--text-color);
    margin-top: 3rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

h4 {
    font-size: 1.25rem;
    color: var(--text-color);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Lists */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

th, td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-color);
}

tr:hover {
    background-color: var(--bg-light);
}

/* Code Blocks */
code {
    background-color: var(--bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: var(--primary-color);
}

pre {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

pre code {
    background: none;
    padding: 0;
    color: var(--text-color);
}

/* Blockquotes */
blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

/* Images and Videos */
img, video {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Figure captions */
img + em {
    display: block;
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

/* Performance Table Styling */
.performance-table {
    overflow-x: auto;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.performance-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
    background: white;
}

.performance-table th,
.performance-table td {
    padding: 8px 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.performance-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: var(--text-color);
}

.performance-table td strong {
    color: var(--primary-color);
}

/* Buttons and CTAs */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
    margin: 10px 10px 10px 0;
}

.btn:hover {
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--text-color);
}

/* Cards and Sections */
.card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    margin: 2rem 0;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.highlight-box {
    background: linear-gradient(135deg, var(--bg-light) 0%, #e0f2fe 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin: 2rem 0;
    position: relative;
}

.highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 12px 12px 0 0;
}

/* Domain Cards */
.domains-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.domain-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.domain-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.domain-card h3 {
    color: var(--text-color);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.domain-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.domain-features {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--primary-color);
}

/* Demo Videos Grid */
.demos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
    margin: 3rem 0;
}

.demo-card.task-generation {
    grid-column: 1 / -1; /* Span full width for first row */
}

.demo-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.demo-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-card .demo-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.demo-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.demo-card .video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.demo-card .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.demo-features {
    list-style: none;
    padding: 0;
}

.demo-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

.demo-features li:last-child {
    border-bottom: none;
}

.demo-features li strong {
    color: var(--text-color);
}

/* Footer */
.site-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

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

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section h4 {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .links-section {
        flex-direction: column;
        align-items: center;
    }
    
    .link-button {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    h1 {
        font-size: 1.875rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }
    
    table {
        font-size: 0.9rem;
    }
    
    th, td {
        padding: 8px 12px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .domains-grid {
        grid-template-columns: 1fr;
    }
    
    .domain-card {
        padding: 1.5rem;
    }
    
    .demos-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-card {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-large {
    font-size: 1.25rem;
}

.text-bold {
    font-weight: 600;
}

.mb-large {
    margin-bottom: 3rem;
}

.mt-large {
    margin-top: 3rem;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

