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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

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

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

header h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-size: 1.25rem;
    color: #aaaaaa;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.ethos {
    font-size: 0.95rem;
    color: #666666;
    font-style: italic;
}

.section {
    margin: 2rem 0;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

#brand-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 8px;
    color: #ffffff;
    transition: all 0.3s ease;
}

#brand-input:focus {
    outline: none;
    border-color: #ffffff;
    background: #222222;
}

#rate-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: #ffffff;
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#rate-button:hover {
    background: #dddddd;
    transform: translateY(-2px);
}

#rate-button:active {
    transform: translateY(0);
}

#rate-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.hint {
    text-align: center;
    color: #666666;
    font-size: 0.9rem;
}

.loading {
    text-align: center;
    padding: 3rem 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #333333;
    border-top-color: #ffffff;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

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

.loading p {
    color: #aaaaaa;
    font-size: 1.1rem;
}

.error {
    text-align: center;
    padding: 2rem;
    background: #2a1515;
    border: 2px solid #ff4444;
    border-radius: 8px;
    margin: 2rem 0;
}

.error p {
    color: #ff6666;
    margin-bottom: 1rem;
}

.error button {
    padding: 0.75rem 1.5rem;
    background: #ff4444;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.hidden {
    display: none;
}

.result-card {
    background: #1a1a1a;
    border: 2px solid #333333;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
}

.brand-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #333333;
}

.brand-header h2 {
    font-size: 2rem;
    font-weight: 800;
}

.badge {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    color: #0a0a0a;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.brand-overview {
    color: #aaaaaa;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.brand-website {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #ffffff;
    border: 2px solid #444444;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.brand-website:hover {
    background: #ffffff;
    color: #0a0a0a;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.pillars {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pillar {
    background: #0a0a0a;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid #333333;
}

.pillar-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

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

.pillar-name {
    flex: 1;
    font-weight: 700;
    font-size: 1.1rem;
}

.pillar-reasoning {
    color: #aaaaaa;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-left: 2.25rem;
}

.verdict {
    background: #0a0a0a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333333;
    margin-bottom: 1.5rem;
}

.verdict h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.verdict p {
    color: #cccccc;
    font-size: 1.05rem;
    line-height: 1.7;
}

.red-flags, .alternatives {
    background: #0a0a0a;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #333333;
    margin-bottom: 1.5rem;
}

.red-flags h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffa366;
}

.alternatives h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #88ccff;
}

.red-flags ul, .alternatives ul {
    list-style: none;
    padding-left: 0;
}

.red-flags li, .alternatives li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #cccccc;
}

.red-flags li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #ffa366;
    font-weight: bold;
}

.alternatives li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #88ccff;
    font-weight: bold;
}

.rate-another {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.rate-another:hover {
    background: #ffffff;
    color: #0a0a0a;
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #333333;
    color: #666666;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #1a1a1a;
    border: 1px solid #333333;
    border-radius: 8px;
    text-align: left;
}

.disclaimer p {
    font-size: 0.75rem;
    line-height: 1.6;
    color: #888888;
}

.disclaimer strong {
    color: #aaaaaa;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .brand-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .result-card {
        padding: 1.5rem;
    }
}
