/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 移动端性能优化 */
*,
*::before,
*::after {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .nav-link:hover,
    .feature-card:hover,
    .plan-card:hover {
        transform: none;
    }
    
    .btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .feature-card:active,
    .plan-card:active {
        transform: scale(0.99);
        transition: transform 0.1s ease;
    }
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #1e40af;
    --accent-color: #0ea5e9;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #f59e0b 100%);
    --gradient-secondary: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* 移动端优化 */
    -webkit-overflow-scrolling: touch;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

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

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

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

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-logo i {
    font-size: 24px;
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-buttons {
    display: flex;
    gap: 12px;
}

.nav-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 主页横幅 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    overflow: hidden;
    padding-top: 100px; /* 为固定导航栏留出空间 */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad1" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:%23ff6b35;stop-opacity:0.1"/><stop offset="100%" style="stop-color:%23ff6b35;stop-opacity:0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23grad1)"/><circle cx="800" cy="300" r="150" fill="url(%23grad1)"/><circle cx="400" cy="700" r="120" fill="url(%23grad1)"/></svg>') no-repeat center center / cover;
    animation: float 20s ease-in-out infinite;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 800px;
}

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    justify-content: center;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

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

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

/* 能量可视化样式已移除 */

/* 2024年优秀平台奖项展示 */
.award-showcase {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.award-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 60px;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.15) 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(184, 134, 11, 0.15) 100%);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 2px solid rgba(255, 215, 0, 0.3);
    box-shadow: 
        0 20px 60px rgba(255, 215, 0, 0.2),
        0 0 100px rgba(255, 215, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.award-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.05) 50%, 
        transparent 70%
    );
    animation: luxuryShine 6s linear infinite;
    pointer-events: none;
}

.award-medal {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.medal-outer-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        #FFD700 0%, 
        #FFA500 25%, 
        #FFD700 50%, 
        #B8860B 75%, 
        #FFD700 100%);
    background-size: 200% 200%;
    animation: medalGlow 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.6),
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 4px 0 rgba(255, 255, 255, 0.4),
        inset 0 -4px 0 rgba(184, 134, 11, 0.4);
    position: relative;
}

/* 添加装饰性圆环 */
.medal-outer-ring::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        rgba(255, 215, 0, 0.3) 0%, 
        rgba(255, 165, 0, 0.2) 50%, 
        rgba(255, 215, 0, 0.3) 100%);
    animation: medalRingGlow 3s ease-in-out infinite;
    z-index: -1;
}

.medal-outer-ring::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.5);
    animation: medalRingPulse 2s ease-in-out infinite;
}

.medal-inner-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        #FFFFFF 0%, 
        #F5F5DC  50%, 
        #FFFFFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.medal-center {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        #FFD700 0%, 
        #FFA500 50%, 
        #FFD700 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 15px rgba(255, 215, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.medal-star {
    font-size: 2rem;
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: starPulse 2s ease-in-out infinite;
}

.award-content {
    flex: 1;
    text-align: left;
}

.award-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #FFFFFF;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.award-year {
    margin-right: 8px;
}

.award-title {
    margin-bottom: 20px;
}

.award-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #1f2937;
}

.award-title-highlight {
    background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem !important;
    text-shadow: none;
}

.award-features {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.feature-item i {
    color: #FFD700;
    font-size: 1rem;
}

.award-authority {
    text-align: center;
}

.award-authority p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0 0 12px 0;
    font-weight: 500;
}

.authority-logos {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.authority-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #FFD700;
    font-weight: 600;
    font-size: 0.75rem;
}

.authority-logo i {
    font-size: 1.2rem;
}

.award-glow {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(
        circle at center,
        rgba(255, 215, 0, 0.2) 0%,
        transparent 70%
    );
    border-radius: 50px;
    animation: awardGlow 3s ease-in-out infinite;
    pointer-events: none;
}

.award-particles {
    position: absolute;
    top: -30px;
    left: -30px;
    right: -30px;
    bottom: -30px;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    animation: particleFloat 4s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.8);
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    top: 15%;
    right: 15%;
    animation-delay: 0.8s;
}

.particle-3 {
    bottom: 25%;
    left: 20%;
    animation-delay: 1.6s;
}

.particle-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 2.4s;
}

.particle-5 {
    top: 40%;
    left: 5%;
    animation-delay: 3.2s;
}

.particle-6 {
    top: 35%;
    right: 5%;
    animation-delay: 1.2s;
}

/* 奖项展示动画 */
@keyframes luxuryShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes medalGlow {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 
            0 0 30px rgba(255, 215, 0, 0.6),
            0 8px 25px rgba(0, 0, 0, 0.3),
            inset 0 4px 0 rgba(255, 255, 255, 0.4),
            inset 0 -4px 0 rgba(184, 134, 11, 0.4);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 
            0 0 40px rgba(255, 215, 0, 0.8),
            0 8px 25px rgba(0, 0, 0, 0.3),
            inset 0 4px 0 rgba(255, 255, 255, 0.6),
            inset 0 -4px 0 rgba(184, 134, 11, 0.6);
    }
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

@keyframes awardGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }
    33% {
        transform: translateY(-15px) scale(1.2);
        opacity: 1;
    }
    66% {
        transform: translateY(-8px) scale(0.8);
        opacity: 0.8;
    }
}

@keyframes medalRingGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

@keyframes medalRingPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

/* 优势特色 */
.features {
    padding: 100px 0;
    background: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

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

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon i {
    font-size: 24px;
    color: white;
}

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

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

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-secondary);
    font-weight: 500;
}

.new-price {
    color: var(--success-color);
    font-weight: 600;
}

.highlight-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* 费用计算器 */
.calculator {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.calculator-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.calculator-card {
    background: var(--bg-primary);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

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

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 500;
    color: var(--text-primary);
}

.input-group input,
.input-group select {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    /* 防止iOS缩放 */
    font-size: max(16px, 1rem);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.result-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.result-item.highlight {
    background: var(--gradient-primary);
    color: white;
}

.result-label {
    font-size: 0.875rem;
    margin-bottom: 8px;
    opacity: 0.8;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.result-value.savings {
    color: var(--success-color);
}

/* 智能合约 */
.contract {
    padding: 100px 0;
    background: var(--bg-primary);
}

.contract-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contract-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.contract-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contract-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contract-feature i {
    color: var(--success-color);
    font-size: 20px;
    margin-top: 4px;
}

.contract-feature h4 {
    font-weight: 600;
    margin-bottom: 8px;
}

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

.form-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.form-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 24px;
}

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

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group .btn {
    margin-top: 8px;
}

.input-suffix {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

/* 授权信息 */
.authorization-info {
    margin-top: 40px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.authorization-info h4 {
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.auth-details p {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.auth-details strong {
    color: var(--text-primary);
}

/* 邀请码折扣系统 */
.invite-code-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.invite-code-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.invite-code-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
    font-size: 16px;
}

.invite-code-header i {
    margin-right: 8px;
    font-size: 18px;
    color: #ffd700;
}

.invite-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.invite-input-group input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
}

.invite-input-group input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.verify-btn {
    padding: 12px 20px;
    background: #ffd700;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.verify-btn:hover {
    background: #ffed4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.verify-btn i {
    font-size: 12px;
}

.discount-status {
    margin-top: 15px;
    animation: slideDown 0.4s ease-out;
}

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

.discount-success {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
    font-weight: 600;
    font-size: 14px;
}

.discount-success i {
    font-size: 16px;
}

/* 价格显示样式 */
.original-price {
    transition: all 0.3s ease;
    display: block;
}

.original-price.discounted {
    text-decoration: line-through;
    color: #999;
    font-size: 0.85em;
    margin-bottom: 4px;
}

.discounted-price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.1em;
    display: block;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

.discounted-price.show {
    opacity: 1;
    transform: translateY(0);
}

.plan-price {
    position: relative;
    min-height: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.plan-card.discounted {
    position: relative;
    overflow: hidden;
    border: 2px solid #e74c3c !important;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%) !important;
}

.plan-card.discounted::after {
    content: '30% OFF';
    position: absolute;
    top: 8px;
    right: -30px;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    padding: 6px 35px;
    font-size: 11px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    letter-spacing: 0.5px;
    z-index: 1;
}

/* 计划选择 */
.plan-selection {
    margin-bottom: 30px;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.plan-option {
    cursor: pointer;
}

.plan-option input[type="radio"] {
    display: none;
}

.plan-card {
    position: relative;
    padding: 24px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    overflow: hidden;
}

.plan-option input[type="radio"]:checked + .plan-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(245, 158, 11, 0.05) 100%);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.plan-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 12px;
}

.plan-icon i {
    font-size: 24px;
    color: white;
}

.plan-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.plan-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-primary);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* 二维码弹窗 */
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: modalFadeIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* 移动端滚动优化 */
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
}

.qr-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    max-width: 780px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 10px 25px -10px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    animation: modalSlideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.qr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 28px 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.qr-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(103, 126, 234, 0.05) 100%);
    border-radius: 20px 20px 0 0;
    z-index: -1;
}

.qr-header h3 {
    margin: 0;
    font-size: 1.375rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, #677eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.qr-close {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.6);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.qr-close:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.qr-body {
    padding: 28px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}

.qr-code-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: relative;
}

.qr-code-container::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(103, 126, 234, 0.1) 100%);
    border-radius: 16px;
    z-index: -1;
}



.qr-code {
    width: 220px;
    height: 220px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 25px -5px rgba(0, 0, 0, 0.15),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.qr-code:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.2),
        0 8px 16px -4px rgba(0, 0, 0, 0.1);
}

.qr-code img {
    max-width: 95%;
    max-height: 95%;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.qr-code img:hover {
    transform: scale(1.02);
}

.qr-code .fa-spinner {
    animation: simpleRotate 1s linear infinite;
    font-size: 48px;
    color: var(--primary-color);
}

.qr-code .loading-text {
    font-size: 14px;
    margin-top: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.qr-code::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23677eea"><path d="M3 3h18v18H3V3zm2 2v14h14V5H5zm2 2h10v10H7zm2 2v6h6V9H9zm2 2v2h2v-2h-2z"/></svg>') no-repeat center center;
    background-size: contain;
    transform: translate(-50%, -50%);
    opacity: 0.08;
    z-index: 0;
}

.qr-instruction {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
    opacity: 0.8;
}

.qr-info {
    background: rgba(255, 255, 255, 0.6);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: relative;
}

.qr-info::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 16px;
    z-index: -1;
}

/* 全新的倒计时器设计 */
.countdown-timer {
    text-align: center;
    margin-bottom: 32px;
    position: relative;
}

.timer-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 40px -10px rgba(0, 0, 0, 0.1),
        0 8px 20px -5px rgba(255, 107, 53, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.timer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(103, 126, 234, 0.05) 100%);
    z-index: -1;
}

.timer-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3), rgba(103, 126, 234, 0.3));
    border-radius: 24px;
    z-index: -2;
    opacity: 0.6;
    animation: timerGlow 3s ease-in-out infinite alternate;
}

.timer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.timer-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), #677eea);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    animation: iconPulse 2s ease-in-out infinite;
}

.timer-title {
    font-size: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, #677eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    letter-spacing: 0.5px;
}

.timer-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.time-value {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 12px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 6px;
    position: relative;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}



.time-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.time-separator {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 4px;
    animation: separatorBlink 1s ease-in-out infinite;
}

.timer-progress {
    width: 100%;
    height: 6px;
    background: rgba(226, 232, 240, 0.5);
    border-radius: 3px;
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, #677eea 100%);
    border-radius: 3px;
    transition: width 1s ease-out;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressGlow 2s ease-in-out infinite;
}

.timer-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-dot.warning {
    background: #f59e0b;
}

.status-dot.danger {
    background: #ef4444;
}

/* 动画效果 */
@keyframes timerGlow {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(255, 107, 53, 0);
    }
}





@keyframes progressGlow {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.qr-details {
    background: rgba(248, 250, 252, 0.8);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.875rem;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row .label {
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-row .value {
    color: var(--text-primary);
    font-weight: 700;
    word-break: break-all;
}

.qr-footer {
    padding: 24px 28px 28px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
    border-radius: 0 0 20px 20px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-align: center;
}

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

.qr-actions .btn {
    flex: 1;
    max-width: 160px;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1.5px solid transparent;
}

.qr-actions .btn-outline {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 107, 53, 0.4);
    color: var(--primary-color);
}

.qr-actions .btn-outline:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.25);
}

.qr-actions .btn-secondary {
    background: rgba(103, 126, 234, 0.1);
    border-color: rgba(103, 126, 234, 0.4);
    color: #677eea;
}

.qr-actions .btn-secondary:hover {
    background: rgba(103, 126, 234, 0.15);
    border-color: #677eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(103, 126, 234, 0.25);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    margin-bottom: 16px;
}

.status-indicator i {
    color: var(--primary-color);
    font-size: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.status-indicator.connected i {
    color: #22c55e;
    animation: none;
}

.status-indicator.error i {
    color: #ef4444;
    animation: none;
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary-color);
}

.contact-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat {
    padding: 20px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-secondary);
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 16px;
    color: white;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* 动画效果 */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

@keyframes simpleRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes modalFadeIn {
    from { 
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to { 
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

/* 中等屏幕优化 */
@media (min-width: 769px) and (max-width: 1199px) {
    .qr-content {
        max-width: 720px;
    }
    
    .qr-body {
        grid-template-columns: 1.1fr 1fr;
        gap: 24px;
    }
    
    .qr-code {
        width: 200px;
        height: 200px;
    }
}

/* 大屏幕优化 */
@media (min-width: 1200px) {
    .qr-content {
        max-width: 900px;
    }
    
    .qr-body {
        padding: 32px;
        gap: 40px;
        grid-template-columns: 1.3fr 1fr;
    }
    
    .qr-code {
        width: 240px;
        height: 240px;
    }
    
    .timer-container {
        padding: 32px 28px;
    }
    
    .qr-header {
        padding: 32px 32px 24px;
    }
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    /* 导航栏移动端适配 */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 10px;
    }
    
    /* 主页区域 */
    .hero {
        padding-top: 80px; /* 移动端稍微减少上边距 */
    }
    
    .hero .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    /* 功能区域 */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contract-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* 奖项展示优化 */
    .award-container {
        flex-direction: column;
        text-align: center;
        padding: 30px 24px;
        gap: 20px;
    }

    .award-medal {
        width: 100px;
        height: 100px;
        align-self: center;
    }

    .medal-outer-ring {
        width: 100px;
        height: 100px;
    }

    .medal-inner-ring {
        width: 75px;
        height: 75px;
    }

    .medal-center {
        width: 55px;
        height: 55px;
    }

    .medal-star {
        font-size: 1.5rem;
    }

    .award-content {
        text-align: center;
    }

    .award-badge {
        font-size: 0.7rem;
        margin-bottom: 16px;
    }

    .award-title h2 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .award-title-highlight {
        font-size: 1.8rem !important;
    }

    .award-features {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .feature-item {
        font-size: 0.85rem;
        width: fit-content;
    }

    .award-authority {
        text-align: center;
    }

    .authority-logos {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* 计划选择 */
    .plan-options {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .plan-card {
        padding: 20px;
    }
    
    /* 二维码弹窗 */
    .qr-body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 20px;
    }
    
    .qr-content {
        width: 95%;
        max-height: 90vh;
        margin: 2.5%;
        border-radius: 16px;
    }
    
    .qr-header {
        padding: 20px 20px 16px;
    }

    .qr-header h3 {
        font-size: 1.25rem;
    }

    .qr-header::before {
        height: 50px;
        border-radius: 16px 16px 0 0;
    }

    .qr-code-container, .qr-info {
        padding: 18px;
        border-radius: 12px;
    }
    
    .qr-footer {
        padding: 18px 20px 20px;
        border-radius: 0 0 16px 16px;
    }

    .qr-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .qr-actions .btn {
        max-width: 100%;
        width: 100%;
        padding: 14px 20px;
    }
    
    .qr-code {
        width: 190px;
        height: 190px;
        border-radius: 12px;
    }

    .timer-circle {
        width: 75px;
        height: 75px;
    }

    #countdown {
        font-size: 1.5rem;
    }

    .status-indicator {
        padding: 10px 16px;
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    

    
    /* 表单优化 */
    .form-card {
        padding: 20px;
    }
    
    .calculator-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    /* 导航栏 */
    .nav-container {
        padding: 12px 16px;
    }
    
    .nav-logo {
        font-size: 18px;
    }
    
    .nav-toggle {
        padding: 8px;
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu {
        padding: 16px;
    }
    
    /* 主页区域 */
    .hero {
        padding-top: 70px; /* 超小屏幕进一步减少上边距 */
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
        .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    /* 奖项展示移动端优化 */
    .award-showcase {
        margin-bottom: 20px;
    }

    .award-container {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 16px;
        min-height: auto;
    }

    .award-medal {
        width: 80px;
        height: 80px;
        align-self: center;
    }

    .medal-outer-ring {
        width: 80px;
        height: 80px;
    }

    .medal-inner-ring {
        width: 60px;
        height: 60px;
    }

    .medal-center {
        width: 45px;
        height: 45px;
    }

    .medal-star {
        font-size: 1.2rem;
    }

    .award-content {
        text-align: center;
    }

    .award-badge {
        font-size: 0.65rem;
        padding: 4px 12px;
        margin-bottom: 12px;
    }

    .award-title {
        margin-bottom: 12px;
    }

    .award-title h2 {
        font-size: 1.3rem;
        line-height: 1.3;
    }

    .award-title-highlight {
        font-size: 1.4rem !important;
    }

    .award-features {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
        align-items: center;
    }

    .feature-item {
        padding: 6px 12px;
        font-size: 0.75rem;
        width: fit-content;
    }

    .award-authority {
        text-align: center;
    }

    .award-authority p {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }

    .authority-logos {
        justify-content: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    .authority-logo {
        font-size: 0.7rem;
    }

    /* 减少特效强度 */
    .award-glow {
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
    }

    .award-particles {
        top: -12px;
        left: -12px;
        right: -12px;
        bottom: -12px;
    }

    .particle {
        width: 2px;
        height: 2px;
        box-shadow: 0 0 4px rgba(255, 215, 0, 0.6);
    }

    .btn-large {
        padding: 16px 24px;
        font-size: 16px;
        min-height: 48px;
    }
    
    .hero-stats {
        gap: 16px;
        margin-bottom: 30px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    /* 区块标题 */
    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* 功能卡片 */
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }
    
    .feature-icon i {
        font-size: 20px;
    }
    
    .feature-card h3 {
        font-size: 1.125rem;
        margin-bottom: 12px;
    }
    
    /* 表单和卡片 */
    .form-card,
    .calculator-card {
        padding: 20px;
    }
    
    .calculator-inputs {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .input-group input,
    .input-group select {
        padding: 14px 16px;
        font-size: 16px;
        min-height: 48px;
    }
    
    .btn {
        padding: 12px 20px;
        min-height: 44px;
        font-size: 14px;
    }
    
    /* 计划选择 */
    .plan-options {
        gap: 12px;
    }
    
    .plan-card {
        padding: 16px;
    }
    
    .plan-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .plan-icon i {
        font-size: 20px;
    }
    
    .plan-card h4 {
        font-size: 1rem;
        margin-bottom: 6px;
    }
    
        .plan-price {
        font-size: 1.1rem;
        margin-bottom: 6px;
        min-height: 3rem;
    }

    .plan-desc {
        font-size: 0.8rem;
    }

    .plan-badge {
        font-size: 0.7rem;
        padding: 3px 6px;
    }

    /* 移动端折扣样式优化 */
    .plan-card.discounted::after {
        top: 6px;
        right: -28px;
        padding: 4px 30px;
        font-size: 10px;
    }

    .original-price.discounted {
        font-size: 0.8em;
        margin-bottom: 2px;
    }

    .discounted-price {
        font-size: 1em;
        margin-top: 2px;
    }

    /* 邀请码区域移动端优化 */
    .invite-code-section {
        margin: 20px 0;
        padding: 16px;
    }

    .invite-input-group {
        flex-direction: column;
        gap: 12px;
    }

    .invite-input-group input {
        margin-bottom: 0;
    }

    .verify-btn {
        width: 100%;
        padding: 12px 20px;
    }
    
    /* 二维码弹窗 */
    .qr-content {
        width: 98%;
        margin: 1%;
        max-height: 95vh;
        border-radius: 12px;
    }
    
    .qr-header {
        padding: 16px 16px 12px;
    }
    
    .qr-header h3 {
        font-size: 1.125rem;
    }

    .qr-header::before {
        height: 40px;
        border-radius: 12px 12px 0 0;
    }

    .qr-close {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .qr-body {
        padding: 16px;
        gap: 20px;
    }

    .qr-code-container, .qr-info {
        padding: 16px;
        border-radius: 10px;
    }
    
    .qr-code {
        width: 170px;
        height: 170px;
        border-radius: 10px;
    }
    
    

    .qr-instruction {
        font-size: 0.85rem;
        font-weight: 500;
    }

    .timer-container {
        padding: 16px 12px;
        border-radius: 16px;
    }

    .timer-header {
        margin-bottom: 12px;
        gap: 6px;
    }

    .timer-icon {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }

    .timer-title {
        font-size: 0.85rem;
    }

    .timer-display {
        gap: 4px;
        margin-bottom: 10px;
    }

    .time-value {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        border-radius: 8px;
    }

    .time-label {
        font-size: 0.65rem;
    }

    .time-separator {
        font-size: 1.1rem;
        margin: 0 1px;
    }

    .timer-progress {
        height: 4px;
        margin-bottom: 10px;
    }

    .timer-status {
        font-size: 0.75rem;
        gap: 6px;
    }

    .status-dot {
        width: 6px;
        height: 6px;
    }
    

    
    .qr-details {
        padding: 16px;
        border-radius: 10px;
    }
    
    .detail-row {
        flex-direction: column;
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .detail-row .label {
        font-size: 0.8rem;
        font-weight: 500;
    }
    
    .detail-row .value {
        word-break: break-all;
        font-size: 0.85rem;
        font-weight: 700;
    }
    
    .qr-footer {
        padding: 16px 16px 20px;
        border-radius: 0 0 12px 12px;
    }

    .qr-actions {
        margin-top: 12px;
    }

    .qr-actions .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    .status-indicator {
        font-size: 0.8rem;
        justify-content: center;
        padding: 8px 14px;
        margin-bottom: 10px;
    }
    
    /* 联系我们 */
    .contact-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat {
        padding: 16px;
    }
    
    .contact-item {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* 页脚 */
    .footer {
        padding: 40px 0 16px;
    }
    
    .footer-content {
        gap: 24px;
        margin-bottom: 24px;
    }
    
    .footer-logo {
        font-size: 18px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .footer-section li {
        margin-bottom: 6px;
    }
    
    .footer-section a {
        font-size: 0.9rem;
    }
    
    /* 触摸优化 */
    .plan-option,
    .btn,
    .nav-link,
    .qr-close,
    .copy-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* 复选框和单选框 */
    .checkbox-group input[type="checkbox"],
    .plan-option input[type="radio"] {
        min-width: 20px;
        min-height: 20px;
    }
    
    .checkbox-group label {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* 钱包连接弹窗样式 */
.wallet-connect-container {
    text-align: center;
    max-width: 500px;
}

.connect-header {
    margin-bottom: 30px;
}

.connect-icon {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.connect-header h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.connect-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.wallet-status {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.wallet-status h4 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-align: center;
}

.status-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.status-item i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.status-item span {
    flex: 1;
}

#helpBtn {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
}

.auth-info {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.auth-info h4 {
    font-size: 1.125rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-align: center;
}

.auth-details .detail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.auth-details .detail-item:last-child {
    margin-bottom: 0;
}

.auth-details .label {
    color: var(--text-secondary);
    font-weight: 500;
}

.auth-details .value {
    color: var(--text-primary);
    font-weight: 600;
    word-break: break-all;
    max-width: 60%;
    text-align: right;
}

.connect-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.connect-tips {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
}

.connect-tips h4 {
    font-size: 1rem;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
}

.wallet-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wallet-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.wallet-item i {
    font-size: 20px;
    color: var(--primary-color);
    width: 24px;
    text-align: center;
}

.wallet-item span {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.connect-status {
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    margin-bottom: 16px;
}

.connect-status.connecting {
    background: #fef3c7;
    color: #92400e;
}

.connect-status.authorizing {
    background: #dbeafe;
    color: #1e40af;
}

.connect-status.success {
    background: #d1fae5;
    color: #065f46;
}

.connect-status.error {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 480px) {
    .wallet-connect-container {
        max-width: 100%;
    }
    
    .connect-icon {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .connect-header h3 {
        font-size: 1.25rem;
    }
    
    .connect-header p {
        font-size: 0.9rem;
    }
    
    .wallet-status {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .status-item {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .status-item i {
        font-size: 14px;
        width: 18px;
    }
    
    .auth-info {
        padding: 16px;
        margin-bottom: 20px;
    }
    
    .auth-details .detail-item {
        flex-direction: column;
        gap: 4px;
        text-align: left;
    }
    
    .auth-details .value {
        max-width: 100%;
        text-align: left;
        font-size: 0.85rem;
    }
    
    .connect-actions {
        margin-bottom: 20px;
    }
    
    .connect-tips {
        padding: 16px;
    }
    
    .wallet-item {
        padding: 10px;
    }
    
    .wallet-item span {
        font-size: 0.85rem;
    }
}

/* 钱包帮助弹窗样式 */
.wallet-help-container {
    max-width: 600px;
    text-align: left;
}

.help-header {
    text-align: center;
    margin-bottom: 30px;
}

.help-icon {
    font-size: 64px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.help-header h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.help-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

.help-steps {
    margin-bottom: 30px;
}

.help-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.browser-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.browser-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: all 0.3s ease;
}

.browser-link:hover {
    border-color: var(--primary-color);
    background: rgba(255, 107, 53, 0.05);
}

.browser-link i {
    font-size: 20px;
}

.mobile-alternative {
    background: var(--bg-light);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.mobile-alternative h4 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.mobile-alternative p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.mobile-wallets {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.mobile-wallet {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.mobile-wallet i {
    color: var(--primary-color);
}

.mobile-tip {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.help-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .wallet-help-container {
        max-width: 100%;
    }
    
    .help-icon {
        font-size: 48px;
        margin-bottom: 16px;
    }
    
    .help-header h3 {
        font-size: 1.25rem;
    }
    
    .help-header p {
        font-size: 0.9rem;
    }
    
    .help-step {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }
    
    .step-number {
        align-self: flex-start;
    }
    
    .browser-links {
        flex-direction: column;
    }
    
    .browser-link {
        justify-content: center;
    }
    
    .mobile-wallets {
        flex-direction: column;
    }
    
    .help-actions {
        flex-direction: column;
    }
}

/* 电报客服浮动按钮 */
.telegram-support {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    cursor: pointer;
    user-select: none;
}

.support-tooltip {
    position: absolute;
    bottom: 80px;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.support-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 20px;
    border: 8px solid transparent;
    border-top-color: #667eea;
}

.support-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0088cc 0%, #1DA1F2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.support-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.support-icon:hover::before {
    opacity: 1;
}

.support-icon i {
    font-size: 28px;
    color: white;
    z-index: 1;
    position: relative;
}

.telegram-support:hover .support-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(0, 136, 204, 0.6);
}

.telegram-support:hover .support-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}

.telegram-support:active .support-icon {
    transform: scale(0.95);
}

/* 脉冲动画 */
.support-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 136, 204, 0.6) 0%, transparent 70%);
    animation: telegramPulse 2s infinite;
    z-index: -1;
}

@keyframes telegramPulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* 移动端适配 */
@media (max-width: 768px) {
    .telegram-support {
        bottom: 20px;
        right: 20px;
    }
    
    .support-icon {
        width: 56px;
        height: 56px;
    }
    
    .support-icon i {
        font-size: 24px;
    }
    
    .support-tooltip {
        bottom: 70px;
        right: -10px;
        padding: 10px 14px;
        font-size: 13px;
        max-width: 200px;
        text-align: center;
        white-space: normal;
    }
    
    .support-tooltip::after {
        right: 25px;
        border-width: 6px;
    }
}

@media (max-width: 480px) {
    .telegram-support {
        bottom: 15px;
        right: 15px;
    }
    
    .support-icon {
        width: 50px;
        height: 50px;
    }
    
    .support-icon i {
        font-size: 22px;
    }
    
    .support-tooltip {
        bottom: 65px;
        right: -20px;
        padding: 8px 12px;
        font-size: 12px;
        max-width: 180px;
        border-radius: 10px;
    }
}

/* 提示文字展示动画 */
@keyframes tooltipShow {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 额外确保tooltip在所有设备上都能显示 */
.telegram-support .support-tooltip {
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.telegram-support:hover .support-tooltip,
.telegram-support:focus .support-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
    animation: tooltipShow 0.3s ease forwards;
}