/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --secondary-color: #7C3AED;
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

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

/* 导航栏 */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-brand i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.1);
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮样式 */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

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

.btn-primary:hover {
    background: #4338CA;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-color);
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #DC2626;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-icon {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-icon:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.btn-recording {
    background: var(--danger-color);
    color: white;
    padding: 16px 32px;
}

.btn-recording:hover {
    background: #DC2626;
}

.btn-recording.active {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* 功能特色 */
.features {
    padding: 80px 0;
    background: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

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

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 使用流程 */
.process {
    padding: 80px 0;
    background: var(--bg-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

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

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

/* 统计数据 */
.stats {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section li {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-section i {
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* 主内容区 */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-header h1 i {
    color: var(--primary-color);
    margin-right: 12px;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* 卡片样式 */
.card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.card h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.card h2 i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* 步骤指示器 */
.steps-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.step.active {
    opacity: 1;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step.active .step-circle {
    background: var(--primary-color);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-light);
    white-space: nowrap;
}

.step.active .step-label {
    color: var(--text-dark);
    font-weight: 600;
}

.step-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
}

/* 步骤内容 */
.step-content {
    animation: fadeIn 0.5s;
}

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

.step-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* 上传区域 */
.upload-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.tab-content {
    display: none;
}

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

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.02);
}

.upload-area i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-area h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.upload-area p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.uploaded-file {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    margin-top: 1rem;
}

.uploaded-file i {
    font-size: 2rem;
    color: var(--primary-color);
}

.resume-textarea {
    width: 100%;
    min-height: 300px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.3s;
}

.resume-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.char-count {
    text-align: right;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* 表单样式 */
.job-form,
.generate-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* 评分显示 */
.score-section {
    margin-bottom: 3rem;
}

.score-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

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

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

.score-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.score-label {
    font-size: 1rem;
    color: var(--text-light);
}

.score-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.score-item {
    display: grid;
    grid-template-columns: 150px 1fr 60px;
    align-items: center;
    gap: 1rem;
}

.score-label-text {
    color: var(--text-dark);
    font-weight: 500;
}

.progress-bar {
    height: 10px;
    background: var(--bg-light);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    transition: width 0.8s ease;
}

.score-value {
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
}

/* 建议卡片 */
.suggestions-section {
    margin-bottom: 3rem;
}

.suggestions-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.suggestion-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-color);
}

.suggestion-card.highlight {
    background: rgba(79, 70, 229, 0.05);
    border-left-color: var(--warning-color);
}

.suggestion-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.suggestion-card.highlight .suggestion-icon {
    background: var(--warning-color);
}

.suggestion-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.suggestion-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 模板选择 */
.template-section {
    margin-bottom: 3rem;
}

.template-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.template-content {
    display: none;
}

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

.template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.template-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

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

.template-card.active {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
}

.template-preview {
    margin-bottom: 1rem;
}

.template-thumb {
    width: 100%;
    height: 200px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px;
    overflow: hidden;
}

.modern-thumb .thumb-header {
    height: 30px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    margin-bottom: 10px;
}

.thumb-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.thumb-line {
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
}

.thumb-line.short {
    width: 70%;
}

.professional-thumb {
    display: flex;
    gap: 10px;
}

.thumb-sidebar {
    width: 30%;
    background: var(--primary-color);
    border-radius: 4px;
}

.thumb-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.creative-thumb {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}

.thumb-circle {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 10px;
}

.classic-thumb .thumb-title {
    height: 20px;
    background: var(--text-dark);
    border-radius: 4px;
    margin-bottom: 10px;
}

.template-info {
    text-align: center;
}

.template-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.template-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.template-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--success-color);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: none;
}

.template-card.active .template-badge {
    display: block;
}

.upload-template-area {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
}

.upload-template-area i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 简历预览 */
.resume-preview-section {
    margin-bottom: 3rem;
}

.resume-preview-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.resume-preview {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: white;
    max-height: 600px;
    overflow-y: auto;
    box-shadow: var(--shadow);
}

.preview-content {
    padding: 3rem;
}

.preview-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 2rem;
}

.preview-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.preview-contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.preview-section {
    margin-bottom: 2rem;
}

.preview-section h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.preview-item {
    margin-bottom: 1.5rem;
}

.item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.item-header strong {
    color: var(--text-dark);
}

.item-header span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.preview-item ul {
    margin-left: 1.5rem;
    color: var(--text-light);
}

.preview-item li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    padding: 6px 12px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* 导出选项 */
.export-section {
    margin-bottom: 2rem;
}

.export-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.export-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.export-btn {
    flex: 1;
    min-width: 150px;
    padding: 1.5rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.export-btn:hover {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
    transform: translateY(-3px);
}

.export-btn i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.export-btn span {
    font-weight: 600;
    color: var(--text-dark);
}

/* 面试页面样式 */
.interview-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.interview-tab {
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.interview-tab:hover {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
}

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

.interview-tab i {
    font-size: 1.5rem;
}

.interview-content {
    display: none;
}

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

/* 筛选器 */
.filter-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 600;
    color: var(--text-dark);
}

.filter-group select {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    cursor: pointer;
}

/* 问题列表 */
.questions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.question-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.question-card:hover {
    box-shadow: var(--shadow-lg);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.question-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tag-position {
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary-color);
}

.tag-easy {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.tag-medium {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.tag-hard {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.tag-technical,
.tag-behavioral,
.tag-situation,
.tag-case {
    background: var(--bg-light);
    color: var(--text-light);
}

.question-title {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.question-answer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

.question-answer h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.question-answer ul,
.question-answer ol {
    margin-left: 1.5rem;
    margin-top: 0.5rem;
}

.question-answer li {
    margin-bottom: 0.5rem;
}

/* 生成表单 */
.upload-resume-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.difficulty-selector {
    display: flex;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 8px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s;
}

.radio-label:hover {
    border-color: var(--primary-color);
}

.radio-label input[type="radio"] {
    cursor: pointer;
}

.radio-label input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 600;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* 生成结果 */
.generated-questions {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.generated-questions h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--success-color);
}

.generated-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.generated-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 模拟面试 */
.mock-setup {
    max-width: 600px;
    margin: 0 auto;
}

.setup-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mock-session {
    max-width: 800px;
    margin: 0 auto;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.mock-progress {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.mock-timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mock-question-display {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

.mock-question-display h3 {
    font-size: 1.5rem;
    line-height: 1.6;
}

.mock-recording {
    text-align: center;
    margin-bottom: 2rem;
}

.recording-status {
    margin-bottom: 1.5rem;
}

.recording-indicator {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--text-light);
}

.recording-indicator.active {
    background: var(--danger-color);
    color: white;
    animation: pulse 1.5s infinite;
}

.mock-answer {
    margin-bottom: 2rem;
}

.mock-answer label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mock-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 面试结果 */
.mock-result {
    max-width: 800px;
    margin: 0 auto;
}

.result-header {
    text-align: center;
    margin-bottom: 3rem;
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1rem;
}

.result-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.result-score {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.result-score .score-item {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.result-score .score-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

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

.result-score .score-value span {
    font-size: 1rem;
    color: var(--text-light);
}

.result-analysis {
    margin-bottom: 3rem;
}

.result-analysis h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.analysis-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.analysis-section h5 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analysis-section ul {
    margin-left: 1.5rem;
    color: var(--text-light);
}

.analysis-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* 面试记录 */
.history-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.history-filters input {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.history-filters select {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.history-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.history-card:hover {
    box-shadow: var(--shadow-lg);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.history-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.history-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.history-score {
    text-align: center;
}

.score-circle-small {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.history-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--primary-color);
}

.history-actions {
    display: flex;
    gap: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .feature-grid,
    .template-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .score-display {
        flex-direction: column;
    }
    
    .steps-indicator {
        padding: 0;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
    
    .interview-tabs {
        grid-template-columns: 1fr;
    }
    
    .filter-section {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .history-details {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .result-score {
        grid-template-columns: 1fr;
    }
    
    .export-options {
        flex-direction: column;
    }
    
    .export-btn {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .card {
        padding: 1.5rem;
    }
    
    .hero {
        padding: 50px 0;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .step-actions {
        flex-direction: column;
    }
    
    .mock-controls {
        flex-direction: column;
    }
    
    .result-actions {
        flex-direction: column;
    }
}
