/* 图片压缩网站 - 主样式文件 */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 无障碍访问 */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: var(--border-radius);
    z-index: 1000;
    transition: var(--transition);
}

.skip-link:focus {
    top: 6px;
}

/* 通知栏 */
.notification-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: #ffffff;
    padding: 12px 0;
    z-index: 1000;
    transform: translateY(-100%);
    transition: var(--transition);
}

.notification-bar.show {
    transform: translateY(0);
}

.notification-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-close {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    opacity: 0.8;
    transition: var(--transition);
}

.notification-close:hover {
    opacity: 1;
}

/* 头部导航 */
.header {
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.nav-brand .brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.25rem;
    transition: var(--transition);
}

.nav-brand .brand-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-secondary);
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: var(--primary-hover-bg);
    font-weight: 600;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 移动端中心网站名称 */
.mobile-brand-center {
    display: none;
}

.mobile-brand-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* 主题切换 */
.theme-toggle {
    background: none;
    border: none;
    padding: 8px;
    border-radius: var(--border-radius);
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary-hover-bg);
    color: var(--primary-color);
}

/* 用户菜单 */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.user-menu-trigger:hover {
    border-color: var(--primary-color);
}

.user-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.user-menu.open .user-menu-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.user-menu-item:hover {
    background: var(--primary-hover-bg);
    color: var(--primary-color);
}

.user-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 4px 0;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}

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

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

.btn-secondary {
    background: var(--surface-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

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

/* 移动端菜单 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1.25rem;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--background-color);
    border-left: 1px solid var(--border-color);
    transition: var(--transition);
    z-index: 1000;
    display: none; /* 默认在桌面端隐藏 */
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-secondary);
}

.mobile-menu-content {
    padding: 16px 0;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background: var(--primary-hover-bg);
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-divider {
    height: 1px;
    background: var(--border-color);
    margin: 8px 20px;
}

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

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

.section {
    padding: 80px 0;
}

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

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: #ffffff;
    padding: 120px 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 功能卡片 */
.features {
    background: var(--surface-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background: var(--background-color);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

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

/* 压缩工具 */
.compression-tool {
    background: var(--background-color);
}

.tool-container {
    max-width: 800px;
    margin: 0 auto;
}

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    margin-bottom: 32px;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--primary-color);
    background: var(--primary-hover-bg);
}

.upload-icon {
    font-size: 3rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.upload-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.upload-hint {
    font-size: 0.875rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

.upload-options {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

.upload-option {
    padding: 12px 24px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
}

.upload-option:hover {
    border-color: var(--primary-color);
    background: var(--primary-hover-bg);
    color: var(--primary-color);
}

.upload-option.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.compression-settings {
    background: var(--surface-color);
    padding: 24px;
    border-radius: var(--border-radius-lg);
    margin-bottom: 32px;
}

.settings-group {
    margin-bottom: 20px;
}

.settings-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.settings-input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
}

.settings-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.compression-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.compression-mode {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.compression-mode:hover {
    border-color: var(--primary-color);
    background: var(--primary-hover-bg);
}

.compression-mode.active {
    border-color: var(--primary-color);
    background: var(--primary-active-bg);
}

.mode-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.mode-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* 进度条 */
.progress-container {
    margin-bottom: 32px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--surface-color);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--success-color));
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* 结果展示 */
.results-container {
    background: var(--surface-color);
    padding: 32px;
    border-radius: var(--border-radius-lg);
    margin-top: 32px;
}

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

.result-item {
    background: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.result-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.result-info {
    padding: 16px;
}

.result-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.stat {
    text-align: center;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

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

.result-actions {
    display: flex;
    gap: 8px;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--footer-text, rgba(255, 255, 255, 0.9));
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 20px 32px;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
    /* 确保在日间和夜间模式下都能正常显示（footer背景始终是深色） */
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, transparent);
    border-radius: 2px;
}

.footer-links-section .footer-title::after {
    width: 35px;
}

.footer-stats-section .footer-title::after {
    width: 35px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    position: relative;
}

.footer-links a i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(59, 130, 246, 0.8);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 1);
    transform: translateX(4px);
}

.footer-links a:hover i {
    color: #3b82f6;
    transform: scale(1.1);
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.footer-description p {
    margin: 0;
}

/* 核心卖点 */
.footer-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 8px;
}

.footer-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-feature-item i {
    color: #60a5fa;
    font-size: 0.9rem;
}

.footer-feature-item:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

/* 访问统计卡片 */
.footer-stats-section {
    display: flex;
    flex-direction: column;
}

.footer-stats-card {
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    padding: 20px;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.footer-stats-card:hover {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--footer-text-secondary, rgba(255, 255, 255, 0.1));
    color: var(--footer-text, white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 0;
    padding-top: 32px;
    position: relative;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
}

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

.footer-copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.copyright-text {
    margin: 0;
    /* 确保在日间和夜间模式下都能正常显示（footer背景始终是深色） */
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-links-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links-inline a {
    /* 确保在日间和夜间模式下都能正常显示（footer背景始终是深色） */
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    padding: 4px 0;
}

.footer-links-inline a:hover {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: underline;
}

.footer-links-inline .separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
}

.footer-stats {
    display: flex;
    gap: 32px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-stats-card:hover .stat-icon-wrapper {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.3));
    transform: scale(1.05);
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    /* 确保在日间和夜间模式下都能正常显示（footer背景始终是深色） */
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.stat-label {
    font-size: 0.8125rem;
    /* 确保在日间和夜间模式下都能正常显示（footer背景始终是深色） */
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 核心卖点标识 - 科技感高端设计 */
.selling-points {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    margin: 1rem 0;
    flex-wrap: wrap;
    padding: 0.5rem 0.875rem;
    background: linear-gradient(135deg, 
        rgba(37, 99, 235, 0.08) 0%, 
        rgba(139, 92, 246, 0.06) 50%,
        rgba(37, 99, 235, 0.08) 100%);
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 
        0 8px 32px rgba(37, 99, 235, 0.12),
        0 4px 16px rgba(139, 92, 246, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(16px) saturate(180%);
    position: relative;
    overflow: hidden;
    animation: sellingPointsFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* 科技感背景光效 */
.selling-points::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.1) 0%,
        rgba(139, 92, 246, 0.08) 30%,
        transparent 70%
    );
    animation: sellingPointsRotate 8s linear infinite;
    pointer-events: none;
}

.selling-points::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    animation: sellingPointsShine 4s ease-in-out infinite;
}

@keyframes sellingPointsFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.96) translateZ(-30px);
        filter: blur(3px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) translateZ(0);
        filter: blur(0);
    }
}

@keyframes sellingPointsRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes sellingPointsShine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.selling-point-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.75rem;
    /* background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.85) 0%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 255, 255, 0.75) 100%); */
    border-radius: 25px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(37, 99, 235, 0.12),
        0 1px 4px rgba(139, 92, 246, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(37, 99, 235, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px) saturate(180%);
    animation: sellingPointItemFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    transform-style: preserve-3d;
    will-change: transform;
}

.selling-point-item:nth-child(1) {
    animation-delay: 0.15s;
}

.selling-point-item:nth-child(2) {
    animation-delay: 0.3s;
}

.selling-point-item:nth-child(3) {
    animation-delay: 0.45s;
}

@keyframes sellingPointItemFadeIn {
    from {
        opacity: 0;
        transform: scale(0.75) translateY(12px) rotateX(75deg) translateZ(-20px);
        filter: blur(4px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0) rotateX(0deg) translateZ(0);
        filter: blur(0);
    }
}

/* 科技感光晕效果 */
.selling-point-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(37, 99, 235, 0.3) 0%,
        rgba(139, 92, 246, 0.2) 50%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

.selling-point-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    transition: left 0.6s ease;
}

.selling-point-item:hover {
    transform: translateY(-3px) scale(1.06) translateZ(10px);
    box-shadow: 
        0 12px 40px rgba(37, 99, 235, 0.25),
        0 6px 20px rgba(139, 92, 246, 0.18),
        0 2px 8px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(37, 99, 235, 0.25),
        inset 0 2px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.08);
    border-color: rgba(37, 99, 235, 0.35);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 255, 255, 0.95) 100%);
}

.selling-point-item:hover::before {
    width: 180px;
    height: 180px;
    opacity: 0.8;
}

.selling-point-item:hover::after {
    left: 100%;
}

.selling-point-item i {
    font-size: 0.95rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
    will-change: transform;
}

.selling-point-item:hover i {
    transform: scale(1.25) rotate(8deg) translateZ(5px);
    filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.35));
}

/* 图标科技感渐变 */
.selling-point-item:first-child i {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.selling-point-item:first-child i::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: iconGlow1 2s ease-in-out infinite;
}

.selling-point-item:nth-child(2) i {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2563eb 50%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.selling-point-item:nth-child(2) i::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: iconGlow2 2s ease-in-out infinite 0.3s;
}

.selling-point-item:nth-child(3) i {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.selling-point-item:nth-child(3) i::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    animation: iconGlow3 2s ease-in-out infinite 0.6s;
}

@keyframes iconGlow1 {
    0%, 100% {
        opacity: 0;
        filter: blur(0);
    }
    50% {
        opacity: 0.6;
        filter: blur(2px);
    }
}

@keyframes iconGlow2 {
    0%, 100% {
        opacity: 0;
        filter: blur(0);
    }
    50% {
        opacity: 0.6;
        filter: blur(2px);
    }
}

@keyframes iconGlow3 {
    0%, 100% {
        opacity: 0;
        filter: blur(0);
    }
    50% {
        opacity: 0.6;
        filter: blur(2px);
    }
}

.selling-point-item .selling-point-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    position: relative;
    z-index: 2;
    letter-spacing: 0.4px;
    background: linear-gradient(135deg, 
        var(--text-primary) 0%,
        var(--text-secondary) 50%,
        var(--text-primary) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    will-change: background-position;
}

.selling-point-item:hover .selling-point-text {
    background: linear-gradient(135deg, 
        var(--primary-color) 0%,
        #8b5cf6 50%,
        var(--primary-color) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 2s ease-in-out infinite;
    letter-spacing: 0.8px;
}

@keyframes textShimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 图标脉冲动画 - 科技感 */
@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
        filter: drop-shadow(0 4px 12px rgba(37, 99, 235, 0.4));
    }
}

.selling-point-item:first-child:hover i {
    animation: iconPulse 1.8s ease-in-out infinite, iconGlow1 2s ease-in-out infinite;
}

.selling-point-item:nth-child(2):hover i {
    animation: iconPulse 1.8s ease-in-out infinite 0.3s, iconGlow2 2s ease-in-out infinite 0.3s;
}

.selling-point-item:nth-child(3):hover i {
    animation: iconPulse 1.8s ease-in-out infinite 0.6s, iconGlow3 2s ease-in-out infinite 0.6s;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 1;
}

.back-to-top i {
    font-size: 1.25rem;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.back-to-top:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 576px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-stats {
        justify-content: center;
    }
}

/* 动画类 */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

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

/* 工具提示 */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip-text {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-primary);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text-primary);
}

.tooltip:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
}
