/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* shadcn/ui minimalist color palette */
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --primary: 240 5.9% 10%;
    --primary-foreground: 0 0% 98%;
    --muted: 240 4.8% 95.9%;
    --muted-foreground: 240 3.8% 46.1%;
    --border: 240 5.9% 90%;
    --radius: 0.5rem;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.7;
    min-height: 100vh;
    font-size: 15px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

/* Header */
.header {
    margin-bottom: 3rem;
}

.header h1 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: hsl(var(--foreground));
    letter-spacing: -0.025em;
}

.subtitle {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
    font-weight: 400;
}

/* Tabs */
.tabs {
    display: inline-flex;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: hsl(var(--muted));
    padding: 0.25rem;
    margin-bottom: 2rem;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: calc(var(--radius) - 0.125rem);
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: transparent;
    border: none;
    color: hsl(var(--muted-foreground));
    cursor: pointer;
    transition: all 0.15s ease;
}

.tab-btn:hover {
    color: hsl(var(--foreground));
}

.tab-btn.active {
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Person Header */
.person-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.person-header h2 {
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

/* Section */
.section {
    margin-bottom: 1.25rem;
}

/* Card */
.card {
    background: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
    margin-bottom: 0.5rem;
    transition: border-color 0.15s ease;
}

.card:hover {
    border-color: hsl(var(--foreground));
}

.question {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--foreground));
    line-height: 1.5;
    margin-bottom: 0;
}

/* Answer */
.answer {
    margin-top: 0.75rem;
    padding: 0.875rem;
    background: hsl(var(--muted));
    border-radius: calc(var(--radius) - 0.125rem);
    font-size: 0.875rem;
    line-height: 1.6;
    color: hsl(var(--foreground));
}


/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .tabs {
        width: 100%;
        flex-direction: column;
        height: auto;
    }

    .tab-btn {
        width: 100%;
        justify-content: flex-start;
    }

    .person-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .card {
        padding: 1rem;
    }
}