/* ===================================
   SITUATIONAL LEADERSHIP ASSESSMENT
   Modern Game Interface Styling
   =================================== */

/* ===== ROOT VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    
    /* Secondary Colors */
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Leadership Style Colors */
    --directing: #ef4444;
    --coaching: #f59e0b;
    --supporting: #10b981;
    --delegating: #3b82f6;
    
    /* Neutral Colors */
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-card: #1e293b;
    --bg-hover: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border: #334155;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-danger: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    --gradient-warning: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-info: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.5);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ===== ANIMATED BACKGROUND ===== */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    z-index: -1;
    overflow: hidden;
}

.particles-bg::before,
.particles-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 15s ease-in-out infinite;
}

.particles-bg::before {
    background: var(--primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.particles-bg::after {
    background: var(--secondary);
    bottom: -100px;
    right: -100px;
    animation-delay: 7s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* ===== MAIN CONTAINER ===== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* ===== SCREENS ===== */
.screen {
    display: none;
    animation: fadeIn 0.5s ease;
}

.screen.active {
    display: block;
}

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

/* ===== WELCOME SCREEN ===== */
.welcome-content {
    text-align: center;
    padding: 60px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.logo-badge {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 60px;
    color: white;
    box-shadow: var(--shadow-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.welcome-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    line-height: 1.2;
}

.welcome-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-weight: 300;
}

/* ===== FEATURE GRID ===== */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 50px 0;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
    background: linear-gradient(135deg, #1e293b 0%, #2d3748 100%);
}

.feature-card i {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-secondary,
.btn-back {
    padding: 15px 35px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    margin: 10px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-lg {
    padding: 18px 45px;
    font-size: 1.2rem;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid var(--border);
    margin: 10px;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: var(--bg-hover);
    transform: translateY(-3px);
}

.btn-back {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 10px 20px;
    font-size: 0.95rem;
}

.btn-back:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

/* ===== SCREEN HEADER ===== */
.screen-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border);
}

.screen-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

/* ===== INTRO CONTENT ===== */
.intro-content {
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card h3 i {
    color: var(--primary);
}

.info-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* ===== LEADERSHIP STYLES GRID ===== */
.leadership-model {
    margin: 40px 0;
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-primary);
    font-weight: 700;
}

.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.style-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

.style-card.style-directing::before {
    background: var(--gradient-danger);
}

.style-card.style-coaching::before {
    background: var(--gradient-warning);
}

.style-card.style-supporting::before {
    background: var(--gradient-success);
}

.style-card.style-delegating::before {
    background: var(--gradient-info);
}

.style-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.style-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    background: var(--gradient-primary);
    color: white;
}

.style-directing .style-icon {
    background: var(--gradient-danger);
}

.style-coaching .style-icon {
    background: var(--gradient-warning);
}

.style-supporting .style-icon {
    background: var(--gradient-success);
}

.style-delegating .style-icon {
    background: var(--gradient-info);
}

.style-card h4 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.style-badge {
    display: block;
    text-align: center;
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.style-card ul li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 25px;
}

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

/* ===== MATRIX VISUAL ===== */
.matrix-card {
    background: linear-gradient(135deg, #1e293b 0%, #2d3748 100%);
    border: 2px solid var(--primary);
}

.matrix-visual {
    position: relative;
    max-width: 700px;
    margin: 30px auto;
}

.matrix-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.matrix-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    border: 2px solid var(--border);
    transition: all var(--transition-normal);
}

.matrix-cell:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.matrix-cell strong {
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

.matrix-cell small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.cell-directing {
    background: rgba(239, 68, 68, 0.15);
    border-color: var(--directing);
    color: #fca5a5;
}

.cell-coaching {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--coaching);
    color: #fcd34d;
}

.cell-supporting {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--supporting);
    color: #6ee7b7;
}

.cell-delegating {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--delegating);
    color: #93c5fd;
}

.matrix-labels {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.matrix-labels div {
    margin: 10px 0;
}

/* ===== PROGRESS HEADER ===== */
.progress-header {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.level-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: var(--shadow-md);
}

.question-counter {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.progress-bar-container {
    width: 100%;
    height: 12px;
    background: var(--bg-darker);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 20px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-darker);
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
}

.stat-item i {
    font-size: 1.3rem;
}

.stat-item:nth-child(1) i {
    color: var(--warning);
}

.stat-item:nth-child(2) i {
    color: var(--success);
}

.stat-item:nth-child(3) i {
    color: var(--danger);
}

/* ===== QUESTION CONTAINER ===== */
.question-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-lg);
    min-height: 400px;
}

.question-header {
    margin-bottom: 30px;
}

.question-type {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: var(--secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.question-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.4;
}

.question-scenario {
    background: var(--bg-darker);
    border-left: 4px solid var(--primary);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 35px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.scenario-highlight {
    background: rgba(99, 102, 241, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary-light);
    font-weight: 600;
}

/* ===== OPTIONS ===== */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-card {
    background: var(--bg-darker);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px 25px;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.option-card:hover {
    border-color: var(--primary);
    background: var(--bg-hover);
    transform: translateX(5px);
}

.option-letter {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    color: white;
}

.option-text {
    flex: 1;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

.option-card.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.15);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.option-card.selected .option-letter {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
}

.option-card.correct {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.15);
    animation: correctPulse 0.6s ease;
}

.option-card.correct .option-letter {
    background: var(--gradient-success);
}

.option-card.incorrect {
    border-color: var(--danger);
    background: rgba(239, 68, 68, 0.15);
    animation: shake 0.5s ease;
}

.option-card.incorrect .option-letter {
    background: var(--gradient-danger);
}

.option-card.disabled {
    pointer-events: none;
    opacity: 0.6;
}

@keyframes correctPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* ===== FEEDBACK ===== */
.feedback-container {
    margin-top: 30px;
    padding: 25px;
    border-radius: 12px;
    animation: slideDown 0.4s ease;
}

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

.feedback-container.correct {
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid var(--success);
}

.feedback-container.incorrect {
    background: rgba(239, 68, 68, 0.1);
    border: 2px solid var(--danger);
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.feedback-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feedback-container.correct .feedback-icon {
    background: var(--gradient-success);
    color: white;
}

.feedback-container.incorrect .feedback-icon {
    background: var(--gradient-danger);
    color: white;
}

.feedback-title {
    font-size: 1.4rem;
    font-weight: 700;
}

.feedback-container.correct .feedback-title {
    color: var(--success);
}

.feedback-container.incorrect .feedback-title {
    color: var(--danger);
}

.feedback-explanation {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 15px;
}

.feedback-why {
    background: var(--bg-darker);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin-top: 15px;
}

.feedback-why h4 {
    color: var(--primary-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-why p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.correct-answer-highlight {
    background: rgba(16, 185, 129, 0.2);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid var(--success);
}

.correct-answer-highlight strong {
    color: var(--success);
    display: block;
    margin-bottom: 8px;
}

/* ===== NAVIGATION ===== */
.question-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ===== RESULTS SCREEN ===== */
.results-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.results-header {
    text-align: center;
    margin-bottom: 50px;
}

.achievement-badge {
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: white;
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
    animation: bounceIn 0.8s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.results-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.results-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

/* ===== SCORE CIRCLE ===== */
.score-display-large {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.score-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.score-circle svg {
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: var(--bg-darker);
    stroke-width: 12;
}

.score-fill {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 1.5s ease;
}

.score-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.score-total {
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* ===== RESULTS GRID ===== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition-normal);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.result-card i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.result-card:nth-child(1) i {
    color: var(--success);
}

.result-card:nth-child(2) i {
    color: var(--danger);
}

.result-card:nth-child(3) i {
    color: var(--warning);
}

.result-card:nth-child(4) i {
    color: var(--info);
}

.result-card h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.result-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== PERFORMANCE ANALYSIS ===== */
.performance-analysis,
.growth-path {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
}

.performance-analysis h3,
.growth-path h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.analysis-content,
.path-content {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.analysis-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 5px;
}

.badge-excellent {
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.badge-good {
    background: rgba(59, 130, 246, 0.2);
    color: var(--info);
}

.badge-average {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.badge-needs-improvement {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 40px;
}

/* ===== REVISION SCREEN ===== */
.revision-content {
    max-width: 1200px;
    margin: 0 auto;
}

.revision-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: var(--bg-card);
    padding: 10px;
    border-radius: 12px;
}

.tab-btn {
    flex: 1;
    min-width: 150px;
    padding: 15px 25px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1rem;
}

.tab-btn:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary);
}

.revision-tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

.revision-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
}

.revision-card h3,
.revision-card h4 {
    color: var(--text-primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.revision-card h3 {
    font-size: 1.5rem;
}

.revision-card h4 {
    font-size: 1.2rem;
}

.highlight-text {
    background: rgba(99, 102, 241, 0.15);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 20px 0;
}

.key-points ul {
    list-style: none;
    padding: 0;
}

.key-points li {
    padding: 12px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 30px;
    line-height: 1.7;
}

.key-points li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.key-points strong {
    color: var(--text-primary);
}

/* ===== READINESS GRID ===== */
.readiness-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.readiness-item {
    background: var(--bg-darker);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all var(--transition-normal);
}

.readiness-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.readiness-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.readiness-badge.r1 {
    background: var(--gradient-danger);
}

.readiness-badge.r2 {
    background: var(--gradient-warning);
}

.readiness-badge.r3 {
    background: var(--gradient-success);
}

.readiness-badge.r4 {
    background: var(--gradient-info);
}

.readiness-item h4 {
    font-size: 1rem;
    margin: 15px 0 10px;
    color: var(--text-primary);
}

.readiness-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.arrow-down {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 10px 0;
}

.style-match {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ===== STYLES COMPARISON ===== */
.styles-comparison {
    display: grid;
    gap: 25px;
}

.comparison-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
}

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

.card-header {
    padding: 25px;
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.card-directing .card-header {
    background: var(--gradient-danger);
}

.card-coaching .card-header {
    background: var(--gradient-warning);
}

.card-supporting .card-header {
    background: var(--gradient-success);
}

.card-delegating .card-header {
    background: var(--gradient-info);
}

.card-header i {
    font-size: 2rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.card-body {
    padding: 25px;
}

.characteristic {
    margin-bottom: 20px;
}

.characteristic strong {
    color: var(--primary-light);
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.characteristic p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.characteristic li {
    padding: 6px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.characteristic li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.example-box {
    background: var(--bg-darker);
    border-left: 4px solid var(--primary);
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.example-box strong {
    color: var(--primary-light);
    display: block;
    margin-bottom: 8px;
}

.example-box p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.6;
}

/* ===== DECISION TREE ===== */
.decision-tree {
    background: var(--bg-darker);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    overflow-x: auto;
}

.tree-node {
    margin: 20px 0;
}

.node-question {
    background: var(--gradient-primary);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: inline-block;
}

.branches {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.branch {
    border-left: 3px solid var(--primary);
    padding-left: 20px;
}

.branch-label {
    background: rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
    padding: 8px 16px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 600;
    margin-bottom: 15px;
}

.sub-branches {
    display: grid;
    gap: 20px;
    margin-top: 15px;
}

.sub-branch {
    border-left: 2px solid var(--border);
    padding-left: 15px;
}

.final-answer {
    background: var(--bg-card);
    border: 2px solid;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin-top: 10px;
}

.final-answer i {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.final-answer strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.final-answer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.answer-directing {
    border-color: var(--directing);
}

.answer-directing i,
.answer-directing strong {
    color: var(--directing);
}

.answer-coaching {
    border-color: var(--coaching);
}

.answer-coaching i,
.answer-coaching strong {
    color: var(--coaching);
}

.answer-supporting {
    border-color: var(--supporting);
}

.answer-supporting i,
.answer-supporting strong {
    color: var(--supporting);
}

.answer-delegating {
    border-color: var(--delegating);
}

.answer-delegating i,
.answer-delegating strong {
    color: var(--delegating);
}

/* ===== COMMON SCENARIOS ===== */
.common-scenarios {
    margin: 30px 0;
}

.scenario-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.scenario-ex {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all var(--transition-normal);
}

.scenario-ex:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.scenario-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 1.5rem;
}

.scenario-ex h5 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.scenario-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.scenario-solution {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary-light);
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== TIP CARDS ===== */
.tips-content {
    display: grid;
    gap: 25px;
}

.tip-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
}

.tip-important::before {
    background: var(--gradient-danger);
}

.tip-success::before {
    background: var(--gradient-success);
}

.tip-interview::before {
    background: var(--gradient-info);
}

.tip-remember::before {
    background: var(--gradient-warning);
}

.tip-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: white;
}

.tip-important .tip-icon {
    background: var(--gradient-danger);
}

.tip-success .tip-icon {
    background: var(--gradient-success);
}

.tip-interview .tip-icon {
    background: var(--gradient-info);
}

.tip-remember .tip-icon {
    background: var(--gradient-warning);
}

.tip-card h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

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

.tip-card li {
    padding: 12px 0;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    padding-left: 25px;
}

.tip-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.tip-card strong {
    color: var(--text-primary);
}

/* ===== MEMORY AIDS ===== */
.memory-aids {
    margin-top: 20px;
}

.memory-item {
    background: var(--bg-darker);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.memory-item strong {
    color: var(--primary-light);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.memory-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 5px 0;
}

.memory-item u {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== CHEAT SHEET TABLE ===== */
.cheat-sheet {
    background: var(--bg-darker);
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.cheat-sheet h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cheat-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
}

.cheat-table thead {
    background: var(--gradient-primary);
}

.cheat-table th {
    padding: 15px;
    text-align: left;
    color: white;
    font-weight: 600;
}

.cheat-table td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.cheat-table tr:last-child td {
    border-bottom: none;
}

.cheat-table strong {
    color: var(--text-primary);
}

/* ===== REVISION ACTIONS ===== */
.revision-actions {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .welcome-title {
        font-size: 2.5rem;
    }

    .welcome-subtitle {
        font-size: 1.2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .styles-grid {
        grid-template-columns: 1fr;
    }

    .matrix-grid {
        grid-template-columns: 1fr;
    }

    .branches {
        grid-template-columns: 1fr;
    }

    .question-title {
        font-size: 1.4rem;
    }

    .question-container {
        padding: 25px;
    }

    .results-title {
        font-size: 2rem;
    }

    .score-number {
        font-size: 2.5rem;
    }

    .revision-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }

    .decision-tree {
        padding: 15px;
    }

    .cheat-table {
        font-size: 0.85rem;
    }

    .cheat-table th,
    .cheat-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 2rem;
    }

    .btn-lg {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .question-title {
        font-size: 1.2rem;
    }

    .option-card {
        padding: 15px;
    }

    .option-letter {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }

/* ===== SCROLLBAR STYLING ===== */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-hover);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ===== PRINT STYLES ===== */
@media print {
    .particles-bg,
    .btn-primary,
    .btn-secondary,
    .btn-back {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .main-container {
        max-width: 100%;
    }
}