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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0a0f;
    color: #e0e0e0;
    min-height: 100vh;
}

.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.tagline {
    color: #888;
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

.card {
    background: #141420;
    border: 1px solid #2a2a3a;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #fff;
}

.subtitle {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.field {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 0.35rem;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 0.7rem 0.9rem;
    background: #0d0d15;
    border: 1px solid #2a2a3a;
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: #5b5bf0;
}

button {
    width: 100%;
    padding: 0.75rem;
    background: #5b5bf0;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

button:hover {
    background: #4a4ad0;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.error {
    color: #f06b6b;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.success {
    color: #6bf08b;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.score-display {
    text-align: center;
    margin: 2rem 0;
}

.score-number {
    font-size: 4rem;
    font-weight: 800;
    color: #5b5bf0;
    line-height: 1;
}

.score-label {
    color: #888;
    font-size: 0.9rem;
    margin-top: 0.25rem;
    margin-bottom: 1rem;
}

.score-bar {
    height: 8px;
    background: #1e1e30;
    border-radius: 4px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #f06b6b, #f0c56b, #6bf08b);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.results-table th {
    text-align: left;
    color: #888;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #2a2a3a;
}

.results-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #1e1e30;
}

.model-name {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.8rem;
    color: #aaa;
}

.snippet {
    font-size: 0.85rem;
    color: #ccc;
    max-width: 280px;
}

.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.yes {
    background: rgba(107, 240, 139, 0.15);
    color: #6bf08b;
}

.badge.no {
    background: rgba(240, 107, 107, 0.15);
    color: #f06b6b;
}

.actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-secondary {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    color: #5b5bf0;
    border: 1px solid #5b5bf0;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: rgba(91, 91, 240, 0.1);
}

footer {
    text-align: center;
    margin-top: 3rem;
    color: #555;
    font-size: 0.8rem;
}

footer a {
    color: #5b5bf0;
    text-decoration: none;
}

@media (max-width: 600px) {
    .container {
        padding: 1rem;
    }
    .card {
        padding: 1.25rem;
    }
    .score-number {
        font-size: 3rem;
    }
    .results-table {
        font-size: 0.8rem;
    }
    .snippet {
        max-width: 150px;
    }
}
