/* LLM Implementation Framework Styles */

/* Variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-accent: linear-gradient(135deg, #f0f0ff 0%, #e0e0ff 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
    margin: 0;
    padding: 0;
}

/* Header */
.header {
    background: var(--gradient-primary);
    color: white;
    padding: 6rem 0 3rem 0;
    margin-top: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='white' fill-opacity='0.05'%3E%3Cpath d='M20 20c0 11.046-8.954 20-20 20s-20-8.954-20-20 8.954-20 20-20 20 8.954 20 20z'/%3E%3C/g%3E%3C/svg%3E");
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
}

/* Navigation Tabs */
.nav-tabs {
    background: white;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 60px; /* Account for site navigation */
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.nav-tabs-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-tabs-container::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    padding: 1.25rem 1.75rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--gray);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 8px 8px 0 0;
}

.nav-tab span {
    font-size: 1.1rem;
}

.nav-tab:hover {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: translateY(-2px);
}

.nav-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: var(--gradient-accent);
    box-shadow: var(--shadow-sm);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Section */
.section {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.section h2 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section h3 {
    color: var(--primary);
    margin: 2rem 0 1.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Subsections */
.subsection {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--gradient-accent);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.subsection h3 {
    color: var(--primary-dark);
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* LLM Readiness Assessment Styles */
.llm-readiness-questions {
    margin: 2rem 0;
}

.dimension-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.dimension-section h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.questions-grid {
    display: grid;
    gap: 1.5rem;
}

.question-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.question-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.question-item label {
    font-weight: 500;
    color: var(--dark);
    line-height: 1.4;
}

.question-item select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    min-width: 160px;
    transition: all 0.2s ease;
    background: white;
}

.question-item select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.score-indicator {
    background: var(--border);
    color: var(--dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.score-indicator.score-excellent { background: var(--success); color: white; }
.score-indicator.score-good { background: #3b82f6; color: white; }
.score-indicator.score-fair { background: var(--warning); color: white; }
.score-indicator.score-poor { background: var(--danger); color: white; }
.score-indicator.score-critical { background: #991b1b; color: white; }

.dimension-score {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.dimension-score .score-value {
    font-size: 1.75rem;
    color: var(--primary);
    font-weight: 700;
}

/* Overall Readiness Score */
.overall-readiness-score {
    background: var(--gradient-accent);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.overall-readiness-score h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.score-gauge {
    width: 100%;
    height: 80px;
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.1);
    margin: 1.5rem 0;
    position: relative;
}

.score-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 40px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.75rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.readiness-level {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background: white;
    border-radius: 30px;
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

/* Assessment Tables */
.assessment-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.assessment-table th {
    background: var(--gradient-primary);
    color: white;
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.assessment-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.assessment-table tr:nth-child(even) {
    background: rgba(99, 102, 241, 0.02);
}

.assessment-table tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

.assessment-table input,
.assessment-table select,
.assessment-table textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: white;
}

.assessment-table input:focus,
.assessment-table select:focus,
.assessment-table textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.assessment-table input[type="range"] {
    width: 120px;
    padding: 0;
}

.assessment-table textarea {
    min-height: 80px;
    resize: vertical;
}

.range-value {
    display: inline-block;
    margin-left: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--gradient-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    min-width: 30px;
    text-align: center;
}

/* Score Values */
.model-score,
.vectordb-score,
.vendor-score {
    font-weight: 700;
    color: var(--primary);
    background: var(--gradient-accent);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-align: center;
}

.annual-cost,
.monthly-cost,
.resource-total-cost {
    font-weight: 700;
    color: var(--success);
}

/* Form Elements */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group select[multiple] {
    min-height: 120px;
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

.remove-btn {
    background: var(--danger);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.remove-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Score Displays */
.score-display {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.score-card {
    background: var(--gradient-accent);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all 0.3s ease;
}

.score-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.score-label {
    font-size: 1rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.score-value {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* ROI Colors */
.roi-positive { color: var(--success); }
.roi-neutral { color: var(--warning); }
.roi-negative { color: var(--danger); }

/* Button Group */
.button-group {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 3rem;
    flex-wrap: wrap;
}

/* Alert */
.alert {
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border: 1px solid;
    background: white;
}

.alert-info {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    color: #0e7490;
    border-left: 4px solid var(--accent);
}

/* Feature Grid (for documentation) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.6;
}

/* Pattern Grid */
.pattern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.pattern-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.pattern-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pattern-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.pattern-card p {
    margin-bottom: 1rem;
    color: var(--gray);
}

.pattern-card ul {
    list-style: none;
    padding: 0;
}

.pattern-card li {
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.pattern-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Comparison Tables */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table th {
    background: var(--primary-dark);
    color: white;
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.comparison-table tr:nth-child(even) {
    background: var(--light);
}

.comparison-table ul {
    margin: 0;
    padding-left: 1.25rem;
}

.comparison-table li {
    margin: 0.25rem 0;
}

/* Architecture Diagram */
.architecture-diagram {
    background: var(--light);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border: 1px solid var(--border);
}

.component-flow,
.retrieval-flow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.component {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    min-width: 150px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.component:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.component h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.component p {
    color: var(--gray);
    font-size: 0.9rem;
}

.arrow {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: bold;
}

/* Technique Grid */
.technique-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.technique-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.technique-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.technique-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.example-box {
    background: var(--light);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

/* Security Risk Cards */
.security-risks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.risk-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.risk-card.high-risk {
    border-color: var(--danger);
    border-left-width: 4px;
}

.risk-card.medium-risk {
    border-color: var(--warning);
    border-left-width: 4px;
}

.risk-card h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.mitigation {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

/* Security Checklist */
.security-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.checklist-section h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.checklist li::before {
    content: '☐';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

/* Checklist Grid for Compliance */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.checkbox-item:hover {
    background: var(--light);
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    transform: scale(1.2);
}

/* Workflow Steps */
.workflow-steps,
.framework-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
}

.workflow-step,
.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.workflow-step:hover,
.step:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.workflow-step .step-number,
.step .step-number {
    background: var(--gradient-primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.workflow-step h4,
.step h4 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.workflow-step p,
.step p {
    color: var(--gray);
    margin: 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: var(--gradient-accent);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.cta-section h2 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 1.5rem;
    }
    
    .nav-tabs-container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1.1rem;
    }
    
    .nav-tabs-container {
        gap: 0.5rem;
        padding: 0 1rem;
    }
    
    .nav-tab {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .nav-tab span {
        font-size: 1rem;
    }
    
    .container {
        padding: 1rem;
    }
    
    .section {
        padding: 1.5rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .question-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .score-display {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-grid,
    .pattern-grid,
    .technique-grid {
        grid-template-columns: 1fr;
    }
    
    .component-flow,
    .retrieval-flow {
        flex-direction: column;
        align-items: center;
    }
    
    .workflow-steps,
    .framework-steps {
        gap: 1.5rem;
    }
    
    .workflow-step,
    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .button-group {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .assessment-table {
        font-size: 0.9rem;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 2rem 0;
    }
    
    .header h1 {
        font-size: 1.75rem;
    }
    
    .section h2 {
        font-size: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .score-value {
        font-size: 2rem;
    }
    
    .nav-tab {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
}