/* Layout & Typography */
.result-body {
    background-color: var(--bg-soft);
    color: var(--text);
    padding: 60px 20px;
    font-family: 'Inter', sans-serif;
}

.result-container {
    max-width: 850px;
    margin: 0 auto;
    animation: fadeIn 0.8s ease-out;
}

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

/* Header Section */
.result-header {
    text-align: center;
    margin-bottom: 3rem;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.result-title { font-size: 2.5rem; margin-bottom: 0.5rem; }
.result-subtitle { color: var(--muted); font-size: 1.1rem; }

/* Score Card */
.score-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.score-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

/* Circular Chart */
.score-circle {
    width: 120px;
    height: 120px;
    position: relative;
}

.circular-chart { display: block; margin: 0 auto; width: 100%; height: 100%; }
.circle-bg { fill: none; stroke: var(--border); stroke-width: 2.8; }
.circle {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.8;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease 0.5s;
}

.percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.score-number { font-size: 3rem; font-weight: 800; color: var(--text); line-height: 1; }
.score-number .divider { color: var(--border); margin: 0 5px; }
.score-number .total { font-size: 1.5rem; color: var(--muted); }
.score-label { margin-top: 8px; color: var(--muted); font-weight: 500; }

.score-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.meta-box { font-size: 0.85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }

/* Level Card */
.level-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    padding: 3rem;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.level-badge { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.9; margin-bottom: 1rem; }
.level-title { font-size: 4rem; font-weight: 900; line-height: 1; margin-bottom: 1.5rem; }

.level-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.level-progress-fill { height: 100%; background: white; border-radius: 10px; }
.recommendation-text { font-size: 1.1rem; line-height: 1.6; opacity: 0.95; max-width: 600px; margin: 0 auto; }

/* Skill Breakdown */
.skills-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-bottom: 3rem;
}

.section-label { font-size: 0.9rem; text-transform: uppercase; color: var(--primary); font-weight: 700; margin-bottom: 2rem; }

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

.skill-info { display: flex; justify-content: space-between; margin-bottom: 8px; }
.skill-name { font-weight: 600; font-size: 0.95rem; }
.skill-count { font-size: 0.85rem; color: var(--muted); }

.skill-progress { height: 6px; background: var(--bg-soft); border-radius: 10px; overflow: hidden; }
.skill-bar-fill { height: 100%; background: var(--primary); border-radius: 10px; }

/* Footer Actions */
.footer-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-primary { background: var(--primary); color: white; }
.btn-secondary { color: var(--text); border: 1px solid var(--border); }

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2); }

/* Print Handling */
@media print {
    .no-print { display: none; }
    .result-body { padding: 0; background: white; }
    .score-card, .skills-section { border: none; box-shadow: none; }
}

@media (max-width: 768px) {
    .score-main { flex-direction: column; text-align: center; }
    .skills-grid { grid-template-columns: 1fr; }
    .level-title { font-size: 3rem; }
}