/* =====================================================
   PsyGenius 专业性格测试系统 - 全局样式
   ===================================================== */

/* CSS Variables */
:root {
    --primary: #6366F1;
    --primary-light: #818CF8;
    --primary-dark: #4F46E5;
    --secondary: #EC4899;
    --accent: #F59E0B;
    --bg-dark: #0F172A;
    --bg-dark-2: #1E293B;
    --bg-card: #1E293B;
    --bg-card-hover: #334155;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --border: #334155;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #EC4899 100%);
    --gradient-card: linear-gradient(145deg, #1E293B 0%, #0F172A 100%);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Noto Sans SC", "DM Sans", system-ui, -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 40px;
}

/* 策计划顶部导航 */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 8px 20px;
    text-align: center;
    color: #94A3B8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
    display: block;
}

.top-bar:hover {
    color: #818CF8;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 14px;
}

.nav-btn:hover {
    color: var(--text-primary);
}

.nav-btn.primary {
    background: var(--gradient-primary);
    color: white;
}

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

/* Particles Background */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    animation: heroGlow 15s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-5%, -5%) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: clamp(36px, 8vw, 72px);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
}

/* Section Titles */
.section-title {
    font-size: 32px;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tests Section */
.tests-section {
    padding: 80px 20px;
    position: relative;
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Test Card */
.test-card {
    position: relative;
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 32px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
    overflow: hidden;
}

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

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

.test-card:hover::before {
    opacity: 1;
}

.test-card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    transition: var(--transition);
}

.test-card:hover .test-card-icon {
    transform: scale(1.2) rotate(10deg);
}

.test-card-title {
    font-size: 22px;
    margin-bottom: 12px;
}

.test-card-desc {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.test-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-tag {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-light);
}

.test-card-hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    text-align: center;
    transform: translateY(100%);
    transition: var(--transition);
}

.test-card:hover .test-card-hover {
    transform: translateY(0);
}

/* Science Section */
.science-section {
    padding: 80px 20px;
    border-top: 1px solid var(--border);
}

.science-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.science-item {
    text-align: center;
    padding: 24px;
}

.science-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.science-item h4 {
    margin-bottom: 8px;
}

.science-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Footer */
.footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
}

.footer-note {
    margin-top: 8px;
    font-size: 12px;
}

/* =====================================================
   Test Page Styles
   ===================================================== */

.test-body {
    background: var(--bg-dark);
}

/* Test Header */
.test-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 100;
}

.test-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.back-btn {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

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

.test-title {
    font-size: 16px;
    font-weight: 600;
}

.test-header-center {
    flex: 1;
    max-width: 400px;
    margin: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.progress-container {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 0%;
}

.progress-text {
    font-size: 14px;
    color: var(--text-muted);
    font-family: "DM Sans", monospace;
    min-width: 60px;
    text-align: right;
}

.timer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border-radius: 8px;
    font-family: "DM Sans", monospace;
    font-size: 14px;
}

.timer-icon {
    font-size: 16px;
}

.timer.warning {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
}

/* Test Main */
.test-main {
    padding-top: 96px;
    padding-bottom: 120px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.question-container {
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
}

/* Question Card */
.question-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border);
    animation: fadeInUp 0.5s ease;
}

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

.question-number {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 20px;
}

.question-text {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* Options */
.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    text-align: left;
    width: 100%;
    font-size: 15px;
    color: var(--text-primary);
}

.option-btn:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

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

.option-btn.selected::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--primary);
    border-radius: 50%;
    font-size: 12px;
    color: white;
}

.option-letter {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border);
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.option-btn.selected .option-letter {
    background: var(--primary);
}

.option-text {
    flex: 1;
}

/* Question Dots */
.question-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    max-width: 400px;
    margin: 0 auto;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background: var(--text-muted);
}

.dot.answered {
    background: var(--primary);
}

.dot.current {
    background: var(--secondary);
    transform: scale(1.3);
}

/* Test Footer */
.test-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.test-footer .nav-btn {
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
}

.prev-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.prev-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

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

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    text-align: center;
    border: 1px solid var(--border);
    transform: scale(0.9);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.modal-content h3 {
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.modal-buttons {
    display: flex;
    gap: 12px;
}

.modal-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 14px;
}

.modal-btn.cancel {
    background: var(--bg-dark);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.modal-btn.confirm {
    background: var(--gradient-primary);
    color: white;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 24px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: var(--primary);
    animation-delay: 0s;
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-right-color: var(--secondary);
    animation-delay: 0.15s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-bottom-color: var(--accent);
    animation-delay: 0.3s;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.loading-subtext {
    color: var(--text-muted);
    font-size: 14px;
}

/* =====================================================
   Report Page Styles
   ===================================================== */

.report-main {
    padding-top: 96px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.report-header {
    text-align: center;
    padding: 60px 20px;
    position: relative;
}

.report-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 60%);
    z-index: -1;
}

.report-type-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--gradient-primary);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}

.report-title {
    font-size: 28px;
    margin-bottom: 8px;
}

.report-subtitle {
    font-size: 36px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.report-meta {
    color: var(--text-muted);
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

/* Report Grid */
.report-grid {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 1200px) {
    .report-grid {
        grid-template-columns: 1fr;
    }
    .report-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

/* Report Sidebar */
.report-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.radar-card, .type-match-card, .summary-card, .communication-card, .emotion-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border);
}

.card-title {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.chart-container {
    height: 250px;
}

/* Type Match */
.match-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.match-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: var(--bg-dark);
    border-radius: 8px;
}

.match-type {
    font-weight: 600;
}

.match-percent {
    font-size: 12px;
    color: var(--success);
}

/* Report Content */
.report-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.report-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border);
}

.report-section .section-title {
    text-align: left;
    font-size: 20px;
    margin-bottom: 24px;
}

/* Traits Grid */
.traits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.trait-item {
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.trait-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.trait-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.trait-score {
    font-size: 12px;
    color: var(--text-muted);
}

/* Dimensions List */
.dimensions-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dimension-item {
    background: var(--bg-dark);
    border-radius: 12px;
    padding: 20px;
}

.dimension-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.dimension-name {
    font-weight: 600;
}

.dimension-score {
    font-size: 14px;
    color: var(--primary-light);
}

.dimension-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.dimension-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease;
}

.dimension-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Lists */
.strengths-list, .challenges-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
}

.strengths-list li, .challenges-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-dark);
    border-radius: 8px;
}

.strengths-list li::before {
    content: '💪';
}

.challenges-list li::before {
    content: '⚠️';
}

/* Summary Text */
.summary-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Communication Tips */
.communication-tips {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tip-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-dark);
    border-radius: 8px;
    font-size: 14px;
}

.tip-icon {
    font-size: 16px;
}

/* Emotion Chart */
.emotion-chart {
    height: 150px;
}

/* Report Actions */
.report-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.action-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.action-btn.primary {
    background: var(--gradient-primary);
    border: none;
}

/* =====================================================
   History Page Styles
   ===================================================== */

.history-main {
    padding-top: 96px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.page-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 8px;
}

.page-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.history-item:hover {
    border-color: var(--primary);
    transform: translateX(8px);
}

.history-icon {
    font-size: 40px;
    width: 60px;
    text-align: center;
}

.history-info {
    flex: 1;
}

.history-type {
    font-weight: 600;
    margin-bottom: 4px;
}

.history-result {
    font-size: 20px;
    color: var(--primary-light);
    margin-bottom: 4px;
}

.history-date {
    font-size: 12px;
    color: var(--text-muted);
}

.history-arrow {
    color: var(--text-muted);
    font-size: 20px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.empty-state h3 {
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.empty-cta {
    display: inline-block;
    padding: 12px 32px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
}

.empty-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 40px;
    color: var(--text-muted);
}

.loading-spinner.small {
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
}

/* =====================================================
   Responsive Design
   ===================================================== */

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 60px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .tests-grid {
        grid-template-columns: 1fr;
    }
    
    .test-header {
        padding: 0 16px;
    }
    
    .test-title {
        display: none;
    }
    
    .test-header-center {
        margin: 0 12px;
    }
    
    .question-card {
        padding: 24px;
    }
    
    .question-text {
        font-size: 17px;
    }
    
    .test-footer {
        padding: 12px 16px;
    }
    
    .question-dots {
        display: none;
    }
    
    .report-header {
        padding: 40px 20px;
    }
    
    .report-subtitle {
        font-size: 28px;
    }
    
    .report-section {
        padding: 24px;
    }
    
    .report-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    .navbar, .test-header, .test-footer, .report-actions {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .report-section {
        break-inside: avoid;
    }
}
