/* ============================================
   智能多互动现代科技首页模板 - 样式文件
   ============================================ */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 颜色变量 */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #ec4899;
    --accent-color: #10b981;
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
    
    /* 字体 */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* 间距 */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* 边框半径 */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 加载动画 */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-tertiary);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.loader-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-brand i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* 移动端显示菜单切换按钮 */
@media (max-width: 1023px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
        gap: 0;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 0.75rem;
    }
    
    .nav-actions {
        display: none;
    }
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-ghost:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* 粒子背景 */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Hero区域 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 2rem 4rem;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* 移动端单列布局 */
@media (max-width: 1023px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

/* 移动端按钮垂直排列 */
@media (max-width: 767px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
}

/* 移动端统计信息单列显示 */
@media (max-width: 767px) {
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.hero-visual {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.floating-card {
    position: absolute;
    padding: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    min-width: 120px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.floating-card i {
    font-size: 2rem;
    color: var(--primary-color);
    display: block;
    width: 100%;
    text-align: center;
    flex-shrink: 0;
}

.floating-card span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    width: 100%;
    display: block;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 10%;
    animation-delay: 2s;
}

.card-3 {
    bottom: 10%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: 1;
    pointer-events: none;
}

/* 移动端隐藏或缩小圆形图案 */
@media (max-width: 1023px) {
    .hero-graphic {
        width: 200px;
        height: 200px;
        opacity: 0.5;
    }
}

@media (max-width: 767px) {
    .hero-graphic {
        width: 220px;
        height: 220px;
        opacity: 0.32;
    }
}

@media (max-width: 479px) {
    .hero-graphic {
        width: 180px !important;
        height: 180px !important;
        opacity: 0.25 !important;
    }
}

.graphic-circle {
    width: 100%;
    height: 100%;
    border: 2px solid rgba(99, 102, 241, 0.2);
    border-radius: 50%;
    position: relative;
    animation: rotate 20s linear infinite;
}

.graphic-circle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* 通用容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* 移动端容器内边距调整 */
@media (max-width: 767px) {
    .container {
        padding: 0 1rem;
    }
}

/* 区域标题 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* 功能特色 */
.features-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 确保在小屏幕上单列显示 */
@media (max-width: 767px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.feature-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-highlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-highlight {
    opacity: 1;
}

/* 支付方式 */
.payment-section {
    padding: var(--spacing-xl) 0;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

/* 确保在小屏幕上单列显示 */
@media (max-width: 640px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
}

.payment-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.payment-card:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-color);
}

.payment-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.payment-name {
    font-size: 1.125rem;
    font-weight: 600;
}

.payment-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.payment-card:hover .payment-glow {
    opacity: 1;
}

/* 数据统计 */
.stats-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* 确保在小屏幕上单列显示 */
@media (max-width: 767px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.stat-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.stat-chart {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    opacity: 0.1;
}

.chart-circle {
    fill: none;
    stroke: var(--primary-color);
    stroke-width: 4;
    stroke-dasharray: 251;
    stroke-dashoffset: 251;
    animation: drawCircle 2s ease forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

/* 关于我们 */
.about-section {
    padding: var(--spacing-xl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* 确保在小屏幕上单列显示 */
@media (max-width: 1023px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.about-text {
    z-index: 1;
}

.about-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

/* 移动端单列显示 */
@media (max-width: 767px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.about-feature-item i {
    color: var(--accent-color);
}

.about-visual {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.about-graphic {
    position: relative;
    width: 100%;
    height: 100%;
}

/* 添加连接点和线的容器 */
.about-graphic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(99, 102, 241, 0.4) 2px, transparent 2px),
        radial-gradient(circle, rgba(236, 72, 153, 0.4) 1.5px, transparent 1.5px),
        radial-gradient(circle, rgba(16, 185, 129, 0.4) 1px, transparent 1px);
    background-size: 80px 80px, 60px 60px, 40px 40px;
    background-position: 0 0, 40px 40px, 20px 20px;
    animation: gridMove 20s linear infinite;
    opacity: 0.6;
    z-index: 0;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

.graphic-element {
    position: absolute;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2),
                0 0 0 1px rgba(99, 102, 241, 0.1);
    z-index: 1;
}

.el-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(236, 72, 153, 0.2));
    top: 0;
    left: -20px;
    animation: floatRotate 8s ease-in-out infinite;
    animation-delay: 0s;
}

.el-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(99, 102, 241, 0.2));
    top: 40%;
    right: -30px;
    animation: floatRotate 10s ease-in-out infinite;
    animation-delay: 2s;
}

.el-3 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.25), rgba(16, 185, 129, 0.2));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    animation: floatRotate 12s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes floatRotate {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
        opacity: 0.8; 
    }
    25% { 
        transform: translateY(-15px) rotate(5deg) scale(1.05); 
        opacity: 0.9; 
    }
    50% { 
        transform: translateY(-25px) rotate(0deg) scale(1.1); 
        opacity: 1; 
    }
    75% { 
        transform: translateY(-15px) rotate(-5deg) scale(1.05); 
        opacity: 0.9; 
    }
}

/* 移动端优化动画效果 */
@media (max-width: 767px) {
    .about-graphic::before {
        background-size: 60px 60px, 45px 45px, 30px 30px;
        opacity: 0.4;
        animation: gridMove 15s linear infinite;
    }
    
    .el-1 {
        width: 150px;
        height: 150px;
        left: -30px;
        top: -10px;
    }
    
    .el-2 {
        width: 140px;
        height: 140px;
        right: -40px;
        top: 35%;
    }
    
    .el-3 {
        width: 100px;
        height: 100px;
        bottom: -20px;
    }
    
    .graphic-element {
        animation-duration: 6s;
    }
}

@media (max-width: 479px) {
    .about-graphic::before {
        background-size: 50px 50px, 35px 35px, 25px 25px;
        opacity: 0.3;
        animation: gridMove 12s linear infinite;
    }
    
    .el-1 {
        width: 120px;
        height: 120px;
        left: -40px;
        top: -15px;
    }
    
    .el-2 {
        width: 110px;
        height: 110px;
        right: -50px;
        top: 30%;
    }
    
    .el-3 {
        width: 80px;
        height: 80px;
        bottom: -25px;
    }
    
    .graphic-element {
        animation-duration: 5s;
        backdrop-filter: blur(15px);
    }
}

/* 联系我们 */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* 确保在小屏幕上单列显示 */
@media (max-width: 767px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.contact-card {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-value {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-link {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary-color);
    color: var(--text-primary);
}

/* 页脚 */
.footer {
    padding: 3rem 0 2rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-brand i {
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

/* ============================================
   响应式设计 - 三端适配优化
   ============================================ */

/* 桌面端大屏 (1440px+) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-container {
        gap: 5rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* 桌面端标准 (1200px - 1439px) */
@media (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1200px;
    }
}

/* 桌面端小屏 / 平板横屏 (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-container {
        gap: 3rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .payment-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* 平板端 (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }
    
    .nav-menu {
        gap: 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-actions {
        gap: 0.75rem;
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    .hero-section {
        padding: 7rem 1.5rem 3rem;
        min-height: 90vh;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-visual {
        height: 350px;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .payment-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-visual {
        height: 300px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

/* 移动端 (480px - 767px) */
@media (min-width: 480px) and (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
        gap: 0;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 0.75rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero-section {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
        line-height: 1.3;
    }
    
    .hero-description {
        font-size: 0.9375rem;
        line-height: 1.7;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .stat-item {
        width: 100%;
        padding: 1rem;
        background: rgba(99, 102, 241, 0.05);
        border-radius: var(--radius-md);
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-visual {
        height: 450px;
        min-height: 450px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 2rem 1rem;
    }
    
    .floating-card {
        padding: 1.5rem;
        font-size: 0.875rem;
        position: absolute;
        width: 130px;
        min-width: 130px;
        max-width: 130px;
        background: rgba(99, 102, 241, 0.12);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(99, 102, 241, 0.25);
        box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15), 
                    0 0 20px rgba(99, 102, 241, 0.1);
        transition: all 0.3s ease;
        box-sizing: border-box;
        text-align: center;
    }
    
    .floating-card:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 15px 50px rgba(99, 102, 241, 0.25), 
                    0 0 30px rgba(99, 102, 241, 0.15);
    }
    
    .floating-card i {
        font-size: 2rem;
        width: 100%;
        text-align: center;
    }
    
    .floating-card span {
        width: 100%;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* 移动端优化浮动卡片布局 - 保持美观的三角形排列 */
    .card-1 {
        top: 10% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        animation-delay: 0s;
        z-index: 3;
    }
    
    .card-2 {
        bottom: 20% !important;
        left: 8% !important;
        right: auto !important;
        animation-delay: 2s;
        z-index: 3;
    }
    
    .card-3 {
        bottom: 20% !important;
        right: 8% !important;
        left: auto !important;
        animation-delay: 4s;
        z-index: 3;
    }
    
    /* 圆形图案在移动端显示但更小更透明 */
    .hero-graphic {
        width: 280px !important;
        height: 280px !important;
        opacity: 0.35 !important;
    }
    
    /* 功能特色区域优化 */
    .features-section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .section-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        margin-bottom: 0.75rem;
        display: inline-block;
    }
    
    .section-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }
    
    .section-description {
        font-size: 0.9375rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 0 0.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        border-radius: var(--radius-md);
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    
    .feature-icon i {
        font-size: 1.25rem;
    }
    
    .feature-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .feature-description {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .payment-grid,
    .stats-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .payment-card,
    .stat-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .stat-icon,
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-icon i,
    .contact-icon i {
        font-size: 1.25rem;
    }
    
    .payment-name,
    .contact-title {
        font-size: 1.0625rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-visual {
        height: 250px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    .about-feature-item {
        font-size: 0.9375rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
        font-size: 1.125rem;
    }
}

/* 小屏移动端 (< 480px) */
@media (max-width: 479px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-brand {
        font-size: 1.25rem;
    }
    
    .nav-brand i {
        font-size: 1.5rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 1.5rem 1rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
        gap: 0;
        overflow-y: auto;
    }
    
    .nav-menu li {
        width: 100%;
        padding: 0.875rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 0.625rem;
        font-size: 0.9375rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
        padding: 0.375rem;
    }
    
    .nav-toggle span {
        width: 22px;
        height: 2px;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .nav-actions {
        display: none;
    }
    
    .hero-section {
        padding: 5rem 0.75rem 2rem;
        min-height: auto;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 0.875rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 0.625rem;
        margin-bottom: 2rem;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
    
    .btn-large {
        padding: 1rem 1.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.25rem;
    }
    
    .stat-item {
        width: 100%;
        padding: 0.875rem;
        background: rgba(99, 102, 241, 0.05);
        border-radius: var(--radius-md);
    }
    
    .stat-number {
        font-size: 1.375rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-visual {
        height: 400px;
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        padding: 2rem 0.75rem;
    }
    
    .floating-card {
        padding: 1.25rem;
        font-size: 0.8125rem;
        position: absolute;
        width: 115px;
        min-width: 115px;
        max-width: 115px;
        background: rgba(99, 102, 241, 0.14);
        backdrop-filter: blur(18px);
        border: 1px solid rgba(99, 102, 241, 0.28);
        box-shadow: 0 8px 30px rgba(99, 102, 241, 0.18), 
                    0 0 15px rgba(99, 102, 241, 0.12);
        animation: float 5s ease-in-out infinite;
        transition: all 0.3s ease;
        box-sizing: border-box;
        text-align: center;
    }
    
    .floating-card:active {
        transform: translateY(-3px) scale(1.03);
    }
    
    .floating-card i {
        font-size: 1.75rem;
        width: 100%;
        text-align: center;
        display: block;
    }
    
    .floating-card span {
        font-size: 0.75rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
        text-align: center;
        display: block;
    }
    
    /* 超小屏：优化卡片位置，形成美观的三角形 */
    .card-1 {
        top: 12% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        animation-delay: 0s;
        z-index: 3;
    }
    
    .card-2 {
        bottom: 18% !important;
        left: 5% !important;
        right: auto !important;
        animation-delay: 1.5s;
        z-index: 3;
    }
    
    .card-3 {
        bottom: 18% !important;
        right: 5% !important;
        left: auto !important;
        animation-delay: 3s;
        z-index: 3;
    }
    
    /* 圆形图案在超小屏也显示但更小 */
    .hero-graphic {
        width: 240px !important;
        height: 240px !important;
        opacity: 0.28 !important;
        display: block !important;
    }
    
    /* 功能特色区域优化 - 小屏移动端 */
    .features-section {
        padding: 2.5rem 0;
    }
    
    .section-header {
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        text-align: center;
    }
    
    .section-badge {
        font-size: 0.6875rem;
        padding: 0.5rem 1rem;
        margin-bottom: 0.75rem;
        display: inline-block;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
        font-weight: 700;
    }
    
    .section-description {
        font-size: 0.875rem;
        padding: 0;
        line-height: 1.6;
        color: var(--text-secondary);
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .features-grid,
    .payment-grid,
    .stats-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }
    
    .feature-card {
        padding: 1.25rem;
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.03);
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 0.875rem;
    }
    
    .feature-icon i {
        font-size: 1.125rem;
    }
    
    .feature-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        font-weight: 600;
    }
    
    .feature-description {
        font-size: 0.8125rem;
        line-height: 1.5;
        color: var(--text-secondary);
    }
    
    .payment-card,
    .stat-card,
    .contact-card {
        padding: 1.25rem;
    }
    
    .stat-icon,
    .contact-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }
    
    .stat-icon i,
    .contact-icon i {
        font-size: 1.125rem;
    }
    
    .payment-name,
    .contact-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-value {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
    
    .stat-content {
        flex: 1;
    }
    
    .stat-number {
        font-size: 1.375rem;
        margin-bottom: 0.1875rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .stat-chart {
        width: 80px;
        height: 80px;
        right: -15px;
        bottom: -15px;
    }
    
    .payment-section,
    .stats-section,
    .about-section,
    .contact-section {
        padding: 2.5rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-description {
        font-size: 0.9375rem;
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }
    
    .about-visual {
        height: 200px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .about-feature-item {
        font-size: 0.875rem;
    }
    
    .contact-link {
        padding: 0.4375rem 1.25rem;
        font-size: 0.8125rem;
    }
    
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-brand {
        font-size: 1.125rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.875rem;
        width: 100%;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.75rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 1.25rem;
        right: 1.25rem;
        font-size: 1rem;
    }
    
    .hero-scroll {
        bottom: 1rem;
        font-size: 0.875rem;
    }
}

/* 横屏移动端优化 */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 5rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-visual {
        height: 250px;
    }
}

/* 高DPI屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .floating-card,
    .feature-card,
    .payment-card {
        border-width: 0.5px;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .nav-link,
    .contact-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: rgba(99, 102, 241, 0.2);
        touch-action: manipulation;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .feature-card:hover,
    .payment-card:hover,
    .stat-card:hover,
    .contact-card:hover {
        transform: none;
    }
    
    .nav-toggle {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* 移除移动端的hover效果 */
    .feature-card:active,
    .payment-card:active,
    .stat-card:active,
    .contact-card:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .back-to-top,
    .loader,
    .particles-canvas {
        display: none;
    }
}

