/* 全局变量 */
:root {
    --primary-color: #e63946;
    --secondary-color: #ff9e00;
    --primary-light: #f8d7da;
    --secondary-light: #fff3cd;
    --dark-color: #1d3557;
    --light-color: #f1faee;
    --grey-color: #a8a8a8;
    --text-color: #333;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
    --button-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --page-transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
    animation: pageTransitionIn 0.6s ease-out;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 动画类 */
.animated {
    opacity: 0;
    animation-duration: 1.2s;
    animation-fill-mode: both;
    will-change: transform, opacity;
}

.fadeIn {
    animation-name: fadeIn;
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

/* 新增页面过渡动画 */
@keyframes pageTransitionIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 辅助类 */
.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--dark-color);
    font-size: 2.2rem;
    position: relative;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    margin: 0.8rem auto 0;
    border-radius: 2px;
    transform: translateY(2px);
}

/* 结果页面标题样式 */
.result-page .section-title {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.result-page .section-title::after {
    width: 100px;
    height: 5px;
    background: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--button-transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

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

.btn-primary:hover {
    background-color: #d32f2f;
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

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

.btn-secondary:hover {
    background-color: #f57c00;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn[disabled]:hover {
    transform: none;
    box-shadow: var(--box-shadow);
}

/* 头部 */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    transition: var(--transition);
}

.logo h1:hover {
    transform: scale(1.03);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    padding: 0.5rem;
    transition: var(--transition);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* 英雄区域 */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #fff1f1 0%, #fffaf0 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image {
    flex: 1;
    position: relative;
    animation-delay: 0.3s;
}

/* 特性区域 */
.features {
    padding: 5rem 0;
    background-color: #fff;
}

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

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    transition: var(--transition);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card:nth-child(2) .feature-icon {
    color: var(--secondary-color);
}

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

/* 数据检测区域 */
.data-check, .political-check {
    padding: 5rem 0;
    background-color: #fafafa;
}

.political-check {
    background-color: #fff;
}

.upload-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.upload-area {
    border: 2px dashed var(--grey-color);
    padding: 3rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.upload-area:hover {
    border-color: var(--primary-color);
}

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

.results-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.result-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.result-header {
    background: var(--primary-light);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.political-check .result-header {
    background: var(--secondary-light);
}

.result-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.result-badge {
    background: #6c757d;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.result-badge.success {
    background: #28a745;
}

.result-badge.warning {
    background: #ffc107;
    color: #212529;
}

.result-badge.danger {
    background: #dc3545;
}

.result-details {
    padding: 1.5rem;
}

.charts-container {
    margin-top: 2rem;
}

.political-metrics {
    margin-bottom: 2rem;
}

.metric {
    margin-bottom: 1rem;
}

.metric-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.progress-container {
    background-color: #e9ecef;
    border-radius: 4px;
    height: 24px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    transition: width 0.6s ease;
}

.quote-analysis {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
}

.quote-analysis h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* 关于我们 */
.about {
    padding: 5rem 0;
    background-color: #fafafa;
}

.about-content {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* 页脚 */
footer {
    background-color: #f8f9fa;
    padding: 4rem 0 1rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.footer-logo h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-logo h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 1.2rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.footer-links h4::after, .footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul li {
    margin-bottom: 0.7rem;
    transition: var(--transition);
}

.footer-links ul li a {
    position: relative;
    padding-left: 15px;
}

.footer-links ul li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: var(--transition);
}

.footer-links ul li:hover a::before {
    left: 5px;
}

.footer-contact p {
    margin-bottom: 0.7rem;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 1.5rem;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .feature-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 0.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

/* 修改添加功能选择页面的样式 */
.mode-selection {
    padding: 9rem 0 5rem;
    background: linear-gradient(135deg, #fff1f1 0%, #fffaf0 100%);
    position: relative;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    color: #555;
    font-size: 1.1rem;
    line-height: 1.7;
    font-weight: 400;
    padding: 0 1rem;
}

.input-section .section-description {
    margin-bottom: 2rem;
    padding: 0;
}

.modes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.mode-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2);
    transition: var(--transition);
}

.mode-card:last-child .mode-icon {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    box-shadow: 0 10px 20px rgba(255, 158, 0, 0.2);
}

.mode-card:hover .mode-icon {
    transform: translateY(-10px) scale(1.05);
}

.back-to-home {
    text-align: center;
    margin-top: 3rem;
}

/* 修改链接样式 */
.logo a {
    color: var(--primary-color);
    text-decoration: none;
}

/* 修改在header中的logo样式 */
.logo h1 a {
    color: var(--primary-color);
    text-decoration: none;
}

/* 检测页面样式 */
.check-page {
    padding: 8rem 0 5rem;
    background-color: #fafafa;
    background-image: radial-gradient(#f1f1f1 1px, transparent 1px);
    background-size: 20px 20px;
}

.input-section {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.input-options {
    display: flex;
    margin-bottom: 2.2rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.input-option {
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-right: 1.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 4px 4px 0 0;
}

.input-option:hover {
    color: var(--primary-color);
    background-color: rgba(230, 57, 70, 0.05);
}

.input-option.active {
    border-bottom: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(230, 57, 70, 0.08);
}

.text-input, .file-input {
    display: none;
}

.text-input.active, .file-input.active {
    display: block;
}

.text-input textarea {
    width: 100%;
    min-height: 220px;
    padding: 1.25rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    resize: vertical;
    font-family: inherit;
    margin-bottom: 1.8rem;
    transition: all 0.2s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 15px;
}

.text-input textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.text-input textarea::placeholder {
    color: #aaa;
}

.file-input .upload-area {
    border: 2px dashed #d9d9d9;
    padding: 3.5rem 2rem;
    margin-bottom: 1.8rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.01);
}

.file-input .upload-area:hover {
    border-color: var(--primary-color);
    background-color: rgba(230, 57, 70, 0.03);
}

.file-input .upload-area i {
    font-size: 2.5rem;
    color: var(--grey-color);
    margin-bottom: 1rem;
    transition: all 0.25s ease;
}

.file-input .upload-area:hover i {
    color: var(--primary-color);
    transform: translateY(-5px);
}

.file-input .upload-area p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.file-input .upload-area small {
    display: block;
    color: #888;
    margin-top: 0.5rem;
}

.action-button {
    text-align: center;
}

.action-button .btn {
    padding: 14px 36px;
    font-size: 1rem;
    border-radius: 8px;
    min-width: 180px;
}

.results-section {
    max-width: 800px;
    margin: 3rem auto 0;
    display: none;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    position: relative;
}

.back-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.back-link:hover {
    color: var(--dark-color);
}

.back-link:hover::before {
    width: 100%;
}

.back-link i {
    margin-right: 6px;
    transition: transform 0.3s ease;
}

.back-link:hover i {
    transform: translateX(-4px);
}

/* 响应式设计修改 */
@media (max-width: 768px) {
    .modes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .mode-card, .mode-button {
        padding: 2rem;
    }
    
    .mode-button h3 {
        font-size: 1.5rem;
    }
    
    .mode-description {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
}

/* 按钮操作区域样式 */
.actions {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.actions .btn {
    min-width: 160px;
    text-align: center;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--grey-color);
    border-radius: 10px;
}

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

/* 添加焦点效果 */
button:focus, a:focus, input:focus, textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-color), 0.2);
}

/* 文本选择样式 */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* 特色功能链接 */
.feature-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 1rem;
    transition: var(--transition);
    position: relative;
}

.feature-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.feature-link:hover {
    color: var(--dark-color);
}

.feature-link:hover::before {
    width: 100%;
}

.feature-link i {
    margin-left: 6px;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.feature-link:hover i {
    transform: translateX(4px);
}

/* CTA 容器 */
.cta-container {
    text-align: center;
    margin-top: 3rem;
}

.cta-container .btn {
    padding: 14px 32px;
    font-size: 1.1rem;
    box-shadow: 0 8px 15px rgba(230, 57, 70, 0.2);
}

.cta-container .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(230, 57, 70, 0.3);
}

/* 功能选择卡片 */
.mode-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(var(--light-color), 0.1), transparent);
    transition: height 0.5s ease;
    z-index: -1;
}

.mode-card:hover::before {
    height: 100%;
}

.mode-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.mode-card p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    background-color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: center;
    line-height: 1.6;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1.02rem;
}

.mode-card .btn {
    margin-top: 1.5rem;
}

/* 功能选择指示器 */
.mode-selection-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mode-selection-indicator span {
    font-weight: 500;
    color: var(--dark-color);
    margin-right: 15px;
}

.switch-mode-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 6px;
    background-color: white;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid rgba(230, 57, 70, 0.2);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.switch-mode-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(230, 57, 70, 0.3);
}

.switch-mode-btn i {
    margin-right: 6px;
    font-size: 0.9rem;
}

/* 响应式改进 */
@media (max-width: 768px) {
    .input-section {
        padding: 1.8rem;
        border-radius: 10px;
    }
    
    .input-options {
        justify-content: center;
    }
    
    .input-option {
        padding: 0.6rem 1rem;
        margin-right: 1rem;
        font-size: 0.95rem;
    }
    
    .text-input textarea {
        min-height: 180px;
    }
    
    .file-input .upload-area {
        padding: 2.5rem 1.5rem;
    }
    
    .mode-selection-indicator {
        flex-direction: column;
        padding: 15px;
    }
    
    .mode-selection-indicator span {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* 文件上传拖放效果 */
.file-input .upload-area.drag-over {
    border-color: var(--primary-color);
    background-color: rgba(230, 57, 70, 0.08);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
    transform: scale(1.01);
}

.file-input .upload-area.drag-over i {
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
}

/* 功能选择按钮 */
.mode-button {
    background: #fff;
    border-radius: 12px;
    padding: 4rem 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--dark-color);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mode-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(to bottom, rgba(230, 57, 70, 0.05), transparent);
    transition: height 0.5s ease;
    z-index: -1;
}

.mode-button:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.mode-button:hover::before {
    height: 100%;
}

.mode-button h3 {
    font-size: 2rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.mode-button h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.mode-button:last-child h3::after {
    background: var(--secondary-color);
}

.mode-button:nth-child(2)::before {
    background: linear-gradient(to bottom, rgba(255, 158, 0, 0.05), transparent);
}

.mode-button:first-child .mode-icon {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2);
}

.mode-button:last-child .mode-icon {
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-color) 100%);
    box-shadow: 0 10px 20px rgba(255, 158, 0, 0.2);
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .mode-button {
        padding: 2rem;
    }
    
    .mode-button h3 {
        font-size: 1.5rem;
    }
}

.mode-description {
    margin-top: 0.5rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: normal;
    max-width: 90%;
}

@media (max-width: 768px) {
    .mode-button {
        padding: 2rem;
    }
    
    .mode-button h3 {
        font-size: 1.5rem;
    }
    
    .mode-description {
        font-size: 0.9rem;
        margin-top: 1rem;
    }
}

.mode-button::after {
    content: '选择此功能';
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    color: var(--primary-color);
    padding: 0.5rem 0;
    font-size: 0.9rem;
    opacity: 0;
    transition: all 0.3s ease;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    letter-spacing: 0.5px;
}

.mode-button:last-child::after {
    color: var(--secondary-color);
    background-color: transparent;
}

.mode-button:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
    text-decoration-thickness: 2px;
}

/* Text-only link style for less prominent buttons */
.text-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 500;
    padding: 10px 0;
    margin: 20px 0;
    transition: all 0.3s ease;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.text-link:hover {
    color: #d32f2f;
    text-decoration-thickness: 2px;
}

/* Less prominent button style */
.btn-subtle {
    background: none;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 10px 22px;
    box-shadow: none;
    font-weight: 500;
    letter-spacing: normal;
}

.btn-subtle:hover {
    background-color: rgba(230, 57, 70, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
} 