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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #FAFAFA;
    min-height: 100vh;
    padding: 2rem 1rem;
}

.hero {
    max-width: 1200px;
    margin: 0 auto;
}

h1 {
    color: #111111;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    font-weight: 700;
}

.sub {
    color: #64748B;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.prompt {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: #111111;
    font-size: 1.1rem;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.prompt.hidden {
    opacity: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.card.updating {
    opacity: 0.6;
}

.brainbox-card {
    background: #FFFFFF;
}

.cardHead {
    background: #FFFFFF;
    color: #111111;
    padding: 1.25rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E5E7EB;
}

.latency {
    font-size: 0.75rem;
    color: #64748B;
    font-weight: 400;
}

.cardBody {
    padding: 2rem;
    list-style: none;
    min-height: 200px;
}

.cardBody li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #111111;
    line-height: 1.6;
    font-size: 0.95rem;
    max-width: 100%;
    overflow-wrap: break-word;
}

.cardBody li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #6D28D9;
    font-weight: bold;
    font-size: 1.2rem;
}


.cardBody.thinking {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6D28D9;
    font-style: italic;
}

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

.scenario-btn {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: #111111;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.scenario-btn:hover {
    background: #EDE9FE;
    color: #6D28D9;
    border-color: #6D28D9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(109, 40, 217, 0.15);
}

.scenario-btn:active {
    transform: translateY(0);
}

.scenario-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

.cta-button {
    display: inline-block;
    background: #6D28D9;
    color: #FFFFFF;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(109, 40, 217, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #5B21B6;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(109, 40, 217, 0.4);
}

.error-message {
    color: #dc2626;
    background: rgba(254, 215, 215, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}
