/* LLM Interface Benchmark Gallery Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

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

header {
    text-align: center;
    margin-bottom: 60px;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Application Section */
.app-section {
    margin-bottom: 80px;
}

.app-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e0e0e0;
}

/* Prompt Box */
.prompt-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 40px;
}

.prompt-text {
    font-family: "SF Mono", "Monaco", "Inconsolata", "Fira Mono", "Droid Sans Mono", "Source Code Pro", monospace;
    font-size: 1rem;
    color: #1e40af;
    background: #eff6ff;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.reference-screenshot {
    width: 100%;
}

.reference-screenshot h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.reference-screenshot a {
    display: block;
}

.reference-screenshot img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.reference-screenshot img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Model Outputs Gallery */
.model-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.model-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.model-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.model-screenshot {
    display: block;
    padding: 16px;
}

.model-screenshot img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.model-screenshot img.placeholder {
    background: #f1f5f9;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Placeholder for missing screenshots */
.placeholder-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: #f8fafc;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 1rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: 60px;
    color: #64748b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 20px 16px;
    }

    header h1 {
        font-size: 1.75rem;
    }

    header p {
        font-size: 1rem;
    }

    .app-section h2 {
        font-size: 1.5rem;
    }

    .prompt-box {
        padding: 16px;
    }

    .prompt-text {
        font-size: 0.875rem;
        padding: 12px;
    }

    .model-label {
        font-size: 0.875rem;
        padding: 12px 16px;
    }

    .model-screenshot {
        padding: 12px;
    }
}

/* Two column layout for very wide screens */
@media (min-width: 1400px) {
    .model-gallery {
        grid-template-columns: 1fr;
    }
}
