/* 东方智投官网样式 - 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 股票投资主题色彩 */
    --primary-color: #ff4757;      /* 涨红 */
    --secondary-color: #00d4aa;    /* 跌绿 */
    --accent-color: #3742fa;       /* 强调蓝 */
    --background-color: #0a0e27;   /* 深蓝背景 */
    --surface-color: #1e1e2e;      /* 表面色 */
    --text-primary: #ffffff;       /* 主文本白色 */
    --text-secondary: #a0a0a0;     /* 次要文本灰色 */
    --text-muted: #666666;         /* 弱化文本 */
    --border-color: #2d2d3a;       /* 边框色 */
    --gradient-primary: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    --gradient-secondary: linear-gradient(135deg, #00d4aa 0%, #00a085 100%);
    --gradient-background: linear-gradient(135deg, #0a0e27 0%, #1e1e2e 100%);
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 15px rgba(0, 0, 0, 0.2);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--gradient-background);
    overflow-x: hidden;
}

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

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo h1 {
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero {
    padding: 120px 0 80px;
    background: var(--gradient-background);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-medium);
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--primary-color);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* 手机模型 */
.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 40px;
    padding: 20px;
    box-shadow: var(--shadow-heavy);
    margin: 0 auto;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--background-color);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.app-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--background-color) 0%, var(--surface-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stock-chart {
    width: 80%;
    height: 60%;
    background: rgba(255, 71, 87, 0.1);
    border-radius: 15px;
    border: 2px solid var(--primary-color);
}

#chart-canvas {
    width: 100%;
    height: 100%;
}

/* 统计数据 */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 80px;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 5px;
}

/* 功能特色 */
.features {
    padding: 100px 0;
    background: var(--surface-color);
}

.section-title {
    font-size: 42px;
    text-align: center;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-heavy);
}

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

.feature-icon svg {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

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

/* 下载区域 */
.download {
    padding: 100px 0;
    background: var(--gradient-background);
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.qr-codes {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 40px;
}

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

.qr-code {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: var(--shadow-medium);
}

.qr-placeholder {
    color: #333;
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 24px;
}

.btn-text small {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
}

.btn-text strong {
    font-size: 16px;
    color: var(--text-primary);
}

.web-version {
    text-align: center;
    padding: 30px;
    background: rgba(0, 212, 170, 0.1);
    border-radius: 15px;
    border: 1px solid var(--secondary-color);
}

.web-version h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.web-version p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.app-screenshots {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.screenshot {
    width: 120px;
    height: 240px;
    background: var(--surface-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    transition: transform 0.3s ease;
}

.screenshot:hover {
    transform: scale(1.05);
}

.screenshot-placeholder {
    color: var(--text-secondary);
    font-size: 14px;
    text-align: center;
}

/* 关于我们 */
.about {
    padding: 100px 0;
    background: var(--surface-color);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.about-text p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.about-feature strong {
    color: var(--text-primary);
    font-size: 18px;
    display: block;
    margin-bottom: 5px;
}

.about-feature p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

.about-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.visual-element {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    animation: float 3s ease-in-out infinite;
}

.visual-element:nth-child(2) {
    animation-delay: 1s;
}

.visual-element:nth-child(3) {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 页脚 */
.footer {
    background: var(--background-color);
    padding: 60px 0 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-section h3 {
    font-size: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    /* 导航优化 */
    .nav-container {
        height: 60px;
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 22px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 39, 0.98);
        backdrop-filter: blur(15px);
        padding: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        z-index: 999;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        gap: 15px;
        animation: slideDown 0.3s ease-out;
    }
    
    .nav-menu a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
        font-size: 16px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* 英雄区域优化 */
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn {
        min-width: 200px;
        justify-content: center;
    }
    
    .phone-mockup {
        width: 220px;
        height: 440px;
        margin: 20px auto 0;
    }
    
    /* 统计数据优化 */
    .hero-stats {
        flex-direction: column;
        gap: 25px;
        margin-top: 40px;
        padding: 30px 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 13px;
    }
    
    /* 功能特色优化 */
    .features {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .feature-card {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
    }
    
    .feature-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .feature-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .feature-card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* 下载区域优化 */
    .download {
        padding: 80px 0;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .qr-codes {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .qr-item {
        flex: 1;
        max-width: 130px;
    }
    
    .qr-code {
        width: 120px;
        height: 120px;
        margin: 0 auto 10px;
    }
    
    .qr-placeholder {
        font-size: 11px;
        padding: 10px;
    }
    
    .qr-item p {
        font-size: 12px;
        text-align: center;
    }
    
    .download-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        margin-bottom: 30px;
    }
    
    .download-btn {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
        justify-content: center;
    }
    
    .web-version {
        margin: 0 10px;
        padding: 25px 20px;
    }
    
    .web-version h3 {
        font-size: 18px;
    }
    
    .web-version p {
        font-size: 14px;
    }
    
    .app-screenshots {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        overflow-x: auto;
        padding: 10px 0;
    }
    
    .screenshot {
        width: 100px;
        height: 200px;
        flex-shrink: 0;
    }
    
    .screenshot-placeholder {
        font-size: 11px;
        padding: 5px;
    }
    
    /* 关于我们优化 */
    .about {
        padding: 80px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .about-text p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .about-features {
        gap: 15px;
    }
    
    .about-feature {
        padding: 15px;
    }
    
    .about-feature strong {
        font-size: 16px;
    }
    
    .about-feature p {
        font-size: 13px;
        margin: 0;
    }
    
    .about-visual {
        gap: 20px;
        flex-direction: row;
        justify-content: center;
    }
    
    .visual-element {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    /* 页脚优化 */
    .footer {
        padding: 50px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .footer-section h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-section p,
    .footer-section ul li {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .footer-section ul {
        margin-bottom: 20px;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom {
        padding-top: 30px;
        font-size: 12px;
        line-height: 1.5;
    }
}

/* 小屏手机优化 */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    /* 导航优化 */
    .nav-container {
        padding: 0 12px;
        height: 55px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .nav-menu {
        top: 55px;
        padding: 15px;
    }
    
    /* 英雄区域 */
    .hero {
        padding: 70px 0 50px;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 14px;
        margin-bottom: 25px;
        padding: 0 10px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        min-width: 180px;
    }
    
    .phone-mockup {
        width: 180px;
        height: 360px;
    }
    
    /* 统计数据 */
    .hero-stats {
        padding: 25px 10px;
        gap: 20px;
        margin-top: 30px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    /* 功能特色 */
    .features {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 14px;
        padding: 0 15px;
    }
    
    .feature-card {
        padding: 25px 15px;
        margin: 0 5px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon svg {
        width: 25px;
        height: 25px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 13px;
    }
    
    /* 下载区域 */
    .download {
        padding: 60px 0;
    }
    
    .qr-codes {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .qr-item {
        max-width: 140px;
    }
    
    .qr-code {
        width: 100px;
        height: 100px;
    }
    
    .download-btn {
        max-width: 100%;
        padding: 12px 15px;
    }
    
    .btn-icon {
        font-size: 20px;
    }
    
    .btn-text small {
        font-size: 10px;
    }
    
    .btn-text strong {
        font-size: 14px;
    }
    
    .web-version {
        margin: 0 5px;
        padding: 20px 15px;
    }
    
    .app-screenshots {
        gap: 10px;
        padding: 15px 10px;
    }
    
    .screenshot {
        width: 80px;
        height: 160px;
    }
    
    /* 关于我们 */
    .about {
        padding: 60px 0;
    }
    
    .about-text h2 {
        font-size: 24px;
    }
    
    .about-text p {
        font-size: 14px;
    }
    
    .about-feature {
        padding: 12px;
    }
    
    .about-feature strong {
        font-size: 15px;
    }
    
    .about-feature p {
        font-size: 12px;
    }
    
    .visual-element {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    /* 页脚 */
    .footer {
        padding: 40px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section h3 {
        font-size: 18px;
    }
    
    .footer-section h4 {
        font-size: 15px;
    }
    
    .footer-section p,
    .footer-section ul li {
        font-size: 13px;
    }
    
    .footer-bottom {
        font-size: 11px;
        padding-top: 25px;
    }
    
    .social-links a {
        font-size: 20px;
    }
}

/* 移动端专用动画 */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 触摸优化 */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
        box-shadow: var(--shadow-medium);
    }
    
    .feature-card:hover {
        transform: none;
    }
    
    .screenshot:hover {
        transform: none;
    }
    
    .download-btn:hover {
        transform: none;
    }
    
    /* 增加按钮点击反馈 */
    .btn:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
    
    .download-btn:active {
        transform: scale(0.98);
        transition: transform 0.1s;
    }
    
    .nav-menu a:active {
        background: rgba(255, 71, 87, 0.1);
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

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

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

::-webkit-scrollbar-thumb:hover {
    background: #ff3838;
}

/* 加载动画 */
@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* 焦点样式 */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

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