/* 现代化白色主题 - 清爽简约风格 */
:root {
    --primary-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --primary-light: #d1fae5;
    --primary-dark: #047857;
    --secondary-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --grass-gradient: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    --dark-gradient: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    --emerald-gradient: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 50%, #6ee7b7 100%);
    --neon-green: #10b981;
    --neon-emerald: #059669;
    --neon-blue: #3b82f6;
    --neon-yellow: #f59e0b;
    --neon-gold: #fbbf24;
    --neon-pink: #ec4899;
    --primary-bg: #ffffff;
    --dark-bg: #ffffff;
    --card-bg: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-emerald: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(229, 231, 235, 1);
    --glass-emerald-border: rgba(209, 213, 219, 1);
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-base: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-md: 0 6px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-green: 0 8px 16px rgba(16, 185, 129, 0.15);
    --shadow-emerald: 0 10px 20px rgba(5, 150, 105, 0.12);
    --shadow-gold: 0 8px 16px rgba(245, 158, 11, 0.15);
    --shadow-neon: 0 12px 24px rgba(16, 185, 129, 0.18);
    --shadow-glow: 0 16px 32px rgba(59, 130, 246, 0.15);
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 
                 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #ffffff;
    color: var(--text-primary);
    line-height: 1.75;
    overflow-x: hidden;
    scroll-behavior: smooth;
    min-height: 100vh;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 标题样式优化 */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

/* 段落优化 */
p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* 全站文字清晰可读 */
body,
body p,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body li,
body span,
body small,
body label,
body input,
body textarea,
body select {
    text-shadow: none;
}

/* 图标对比度增强 */
i, .icon, .fa, .bi, .material-icons {
    color: inherit;
}



/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #f3f4f6;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #059669, #047857);
}

/* 现代按钮效果 */
.btn-primary {
    background: var(--primary-gradient);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
    padding: 14px 32px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-green);
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.25);
    color: #ffffff;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
}

/* 卡片样式优化 */
.glass-card, .modern-card, .card {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-base);
}

.glass-card:hover, .modern-card:hover, .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(16, 185, 129, 0.3);
}

.glass-card::before {
    display: none;
}

/* 导航栏优化 */
.navbar {
    background: #ffffff;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar .navbar-brand {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: var(--text-primary) !important;
    letter-spacing: -0.02em;
}

.navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.25s ease;
    position: relative;
}

.navbar .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--neon-green) !important;
    background: rgba(16, 185, 129, 0.05);
}

.navbar .nav-link:hover::before,
.navbar .nav-link.active::before {
    width: 60%;
}




/* 玻璃态卡片 */

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(34, 197, 94, 0.06) 0%, 
        rgba(59, 130, 246, 0.06) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}



.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(34, 197, 94, 0.35);
    box-shadow: var(--shadow-glow);
}



/* 霓虹文字效果 */
.neon-text {
    background: linear-gradient(135deg, #22c55e, #3b82f6, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: neonGlow 3s ease-in-out infinite;
    background-size: 200% 200%;
}

@keyframes neonGlow {
    0%, 100% {
        filter: brightness(1.05) drop-shadow(0 0 6px rgba(0, 0, 0, 0.08));
        background-position: 0% 50%;
    }
    50% {
        filter: brightness(1.1) drop-shadow(0 0 10px rgba(0, 0, 0, 0.12));
        background-position: 100% 50%;
    }
}


/* 超现代输入框 */
.form-control, .form-select {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    color: var(--text-primary);
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus, .form-select:focus {
    background: var(--glass-bg);
    border-color: var(--neon-green);
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.18);
    color: var(--text-primary);
    outline: none;
}



/* 现代化卡片网格 */
.card-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.modern-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.1) 0%, 
        rgba(0, 212, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modern-card:hover::before {
    opacity: 1;
}

.modern-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: 0 30px 60px rgba(0, 255, 136, 0.2);
}

.card-image {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card:hover .card-image img {
    transform: scale(1.1) rotate(2deg);
}

.card-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-align: center;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 价格标签 */
.price-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-gradient);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-green);
    backdrop-filter: blur(10px);
    z-index: 10;
}

/* 特色标签 */
.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.feature-tag {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--neon-green);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.feature-tag:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--neon-green);
    transform: translateY(-1px);
}


/* 评分系统 */
.rating-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.star {
    color: #ffc107;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.star:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px rgba(255, 193, 7, 0.5));
}

/* 特色标签 */
.feature-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.feature-tag {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: var(--neon-green);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(34, 197, 94, 0.18);
    border-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.25);
}



/* 现代化导航栏 */
.navbar {
    background: #ffffff;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    background: #ffffff;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}



.navbar .navbar-brand {
    font-weight: 800 !important;
    font-size: 1.5rem !important;
    letter-spacing: 0.02em;
    color: var(--text-primary) !important;
    background: none !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    text-decoration: none;
}

.navbar .navbar-brand:hover {
    color: var(--text-primary) !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    text-decoration: none;
}


.navbar .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.navbar .nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gold-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 3px;
}

.navbar .nav-link:hover::before,
.navbar .nav-link.active::before {
    width: 80%;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--neon-green) !important;
    text-shadow: none;
}




/* 英雄区域 - 现代清爽设计 */
.hero-enhanced {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.hero-enhanced::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(800px 500px at 20% 30%, rgba(16, 185, 129, 0.08), transparent 70%),
        radial-gradient(600px 400px at 80% 20%, rgba(59, 130, 246, 0.06), transparent 70%);
    pointer-events: none;
}

.hero-enhanced .container {
    position: relative;
    z-index: 10;
}

/* 英雄区文字样式 */
.hero-enhanced h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-enhanced p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .hero-enhanced h1 {
        font-size: 2.5rem;
    }
    .hero-enhanced p {
        font-size: 1.1rem;
    }
}


.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(34, 197, 94, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.35);
    animation: floatUp 8s linear infinite;
}


@keyframes floatUp {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* 现代化模态框 */
.modal-content {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


.modal-header {
    border-bottom: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.modal-footer {
    border-top: 1px solid var(--glass-border);
    background: var(--glass-bg);
}

.btn-close {
    filter: none;
}


/* 现代化表格 */
.modern-table {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.modern-table table {
    margin-bottom: 0;
}

.modern-table th {
    background: var(--primary-gradient);
    color: #ffffff;
    border: none;
    padding: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.modern-table td {
    padding: 15px 20px;
    vertical-align: middle;
    border-color: var(--glass-border);
    color: var(--text-primary);
}

/* 现代化时间轴 */
.timeline-modern {
    position: relative;
    padding: 60px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-gradient);
    transform: translateX(-50%);
    box-shadow: var(--shadow-neon);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    width: calc(50% - 40px);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: var(--shadow-glow);
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 30px;
    width: 20px;
    height: 20px;
    background: var(--neon-green);
    border: 4px solid #ffffff;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-neon);
    z-index: 2;
}


/* 现代化统计区域 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(0, 255, 136, 0.3);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* 现代化筛选器 */
.filter-modern {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 40px;
}

.filter-btn {
    background: #ffffff;
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: pointer;
    margin: 5px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gradient);
    color: #ffffff;
    border-color: transparent;
    box-shadow: var(--shadow-green);
    transform: translateY(-1px);
}


/* 响应式优化（移动端排版/触控/性能） */
@media (max-width: 991.98px) {
    /* 手机/平板：触控更舒适 */
    body {
        font-size: 15px;
        line-height: 1.65;
    }

    .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    /* 折叠菜单：更清晰、更像“面板” */
    .navbar {
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }

    .navbar .navbar-toggler {
        border: 1px solid rgba(74, 222, 128, 0.35);
        border-radius: 14px;
        padding: 10px 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }

    .navbar .navbar-collapse {
        background: rgba(2, 44, 34, 0.88);
        border: 1px solid rgba(74, 222, 128, 0.22);
        border-radius: 18px;
        padding: 12px;
        margin-top: 12px;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 18px 55px rgba(0, 0, 0, 0.38);

        /* 菜单过长时可滚动，避免被底部遮住 */
        max-height: calc(100svh - 90px);
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }

    .navbar .navbar-nav .nav-link {
        margin: 0 !important;
        padding: 0.9rem 1rem;
        border-radius: 14px;
    }

    .navbar .navbar-nav .nav-link::before {
        display: none;
    }

    .navbar .navbar-nav .nav-link:hover,
    .navbar .navbar-nav .nav-link.active {
        background: rgba(74, 222, 128, 0.12);
    }

    /* 统一触控目标尺寸 */
    .btn,
    .btn-primary,
    .filter-btn {
        min-height: 44px;
    }
}


@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 60px !important;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* 移动端：降低 blur/阴影强度，减少掉帧同时更“高级克制” */
    .glass-card,
    .stat-card,
    .filter-modern,
    .timeline-content,
    .modal-content {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .stat-card {
        padding: 28px 18px;
        border-radius: 22px;
    }

    .filter-modern {
        padding: 20px;
        border-radius: 22px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 14.5px;
    }

    .navbar .navbar-brand {
        font-size: 1.25rem !important;
    }

    .stat-number {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-tags {
        justify-content: center;
    }

    .btn-primary {
        padding: 12px 22px;
    }
}


/* 触摸设备：禁用“hover 抬升”造成的点击跳动 */
@media (hover: none) {
    .btn-primary:hover {
        transform: none !important;
    }

    .glass-card:hover,
    .modern-card:hover,
    .stat-card:hover,
    .timeline-content:hover,
    .filter-btn:hover,
    .route-guide-card:hover,
    .food-card:hover,
    .attraction-advanced-card:hover,
    .hotel-card:hover,
    .culture-card:hover,
    .feature-card:hover {
        transform: none !important;
    }
}

/* 降低动效：对低性能手机更友好 */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* 加载动画 */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass-border);
    border-top: 3px solid var(--neon-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 悬浮动画 */
.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* 渐入动画 */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* 滑入动画 */
.slide-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 工具提示 */
.tooltip {
    background: var(--glass-bg) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid var(--glass-border) !important;
    color: var(--text-primary) !important;
    border-radius: 10px !important;
}

/* 成功消息 */
.alert-success {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(16, 185, 129, 0.08)) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    color: var(--neon-green) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-radius: 15px !important;
}



/* 现代化页脚 */
.footer-modern {
    background: #fafafa;
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    position: relative;
}

.footer-modern h5 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.footer-modern p,
.footer-modern a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 0.95rem;
}

.footer-modern a:hover {
    color: var(--neon-green);
    padding-left: 4px;
}

.footer-modern .copyright {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}
    height: 1px;
    background: var(--primary-gradient);
    animation: footerGlow 3s linear infinite;
}

@keyframes footerGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.footer-modern h5 {
    color: var(--neon-green);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-modern a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-modern a:hover {
    color: var(--neon-green);
    text-shadow: none;
}



/* 社交链接 */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-gradient);
    color: #ffffff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-neon);
}

/* ========================================
   全局筛选按钮active状态强制样式
   ======================================== */
.filter-tab.active,
.filter-tab.active *,
.filter-tab.active span,
button.filter-tab.active {
    color: #ffffff !important;
}
