/* 重置和基础样式 */
.optimize-animations {
    transform: translateZ(0);
    will-change: transform;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ffd700;
    --success-color: #4ade80;
    --danger-color: #ef4444;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #333;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 40px rgba(0, 0, 0, 0.15);
    --border-radius: 20px;
    --border-radius-small: 10px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-img {
    height: 32px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-logo i {
    margin-right: 10px;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.nav-menu {
    display: flex;
    gap: clamp(15px, 3vw, 30px);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    transition: var(--transition);
    padding: 8px 12px;
    border-radius: var(--border-radius-small);
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(102, 126, 234, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 主要横幅区域 */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow: hidden;
    padding: 80px 0 40px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.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 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.3)"><animate attributeName="opacity" values="0;1;0" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="40" r="1.5" fill="rgba(255,255,255,0.2)"><animate attributeName="opacity" values="0;1;0" dur="4s" repeatCount="indefinite"/></circle><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.4)"><animate attributeName="opacity" values="0;1;0" dur="2s" repeatCount="indefinite"/></circle></svg>');
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 8vw, 60px);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gradient-text {
    background: linear-gradient(45deg, var(--accent-color), #ffed4e, #ffa41b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0 5px;
    position: relative;
    display: inline-block;
}

.gradient-text::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, var(--accent-color), #ffed4e, #ffa41b);
    border-radius: 3px;
    opacity: 0.7;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 95%;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.hero-stats {
    display: flex;
    gap: clamp(25px, 5vw, 50px);
    margin-bottom: 40px;
    flex-wrap: wrap;
    position: relative;
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.stat-item {
    text-align: center;
    min-width: 90px;
    position: relative;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--accent-color);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 5px;
}

.stat-label {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    opacity: 0.9;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: clamp(12px, 2.5vw, 15px) clamp(20px, 4vw, 30px);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    transition: var(--transition);
    border: 2px solid transparent;
    min-width: 140px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 手机模型 */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-mockup {
    width: clamp(200px, 25vw, 300px);
    height: clamp(400px, 50vw, 600px);
    background: linear-gradient(145deg, #2c3e50, #34495e);
    border-radius: clamp(25px, 4vw, 40px);
    padding: clamp(15px, 2.5vw, 20px);
    box-shadow: var(--shadow-heavy);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1a1a1a, #2d2d2d);
    border-radius: clamp(20px, 3vw, 30px);
    overflow: hidden;
    position: relative;
}

.app-interface {
    padding: clamp(20px, 4vw, 40px) clamp(15px, 2.5vw, 20px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--success-color);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 500;
}

.status-dot {
    width: clamp(8px, 1.5vw, 12px);
    height: clamp(8px, 1.5vw, 12px);
    background: var(--success-color);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

.connection-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.connection-circle {
    width: clamp(80px, 12vw, 120px);
    height: clamp(80px, 12vw, 120px);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.connection-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wave {
    position: absolute;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: wave 2s linear infinite;
    will-change: transform, opacity;
}

.wave:nth-child(1) {
    width: clamp(100px, 15vw, 140px);
    height: clamp(100px, 15vw, 140px);
    margin: clamp(-50px, -7.5vw, -70px) 0 0 clamp(-50px, -7.5vw, -70px);
    animation-delay: 0s;
}

.wave:nth-child(2) {
    width: clamp(130px, 18vw, 180px);
    height: clamp(130px, 18vw, 180px);
    margin: clamp(-65px, -9vw, -90px) 0 0 clamp(-65px, -9vw, -90px);
    animation-delay: 0.5s;
}

.wave:nth-child(3) {
    width: clamp(160px, 22vw, 220px);
    height: clamp(160px, 22vw, 220px);
    margin: clamp(-80px, -11vw, -110px) 0 0 clamp(-80px, -11vw, -110px);
    animation-delay: 1s;
}

@keyframes wave {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 0;
    }
}

.server-info {
    text-align: center;
    color: #fff;
}

.server-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    color: var(--success-color);
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

.connection-speed {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    opacity: 0.8;
}

/* 功能特色 */
.features {
    padding: clamp(60px, 12vw, 100px) 0;
    background: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: clamp(50px, 10vw, 80px);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.1rem);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(25px, 5vw, 40px);
}

.feature-card {
    background: white;
    padding: clamp(25px, 5vw, 40px);
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: clamp(60px, 10vw, 80px);
    height: clamp(60px, 10vw, 80px);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.feature-card h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

/* 价格方案 */
.pricing {
    padding: clamp(60px, 12vw, 100px) 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(25px, 5vw, 40px);
    margin-top: clamp(40px, 8vw, 60px);
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: clamp(25px, 5vw, 40px);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: 600;
}

.pricing-header h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 30px;
}

.currency {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-light);
}

.amount {
    font-size: clamp(2.5rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--dark-color);
}

.period {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.pricing-features .fa-check {
    color: var(--success-color);
}

.pricing-features .fa-times {
    color: var(--danger-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* 下载区域 */
.download {
    padding: clamp(60px, 12vw, 100px) 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, #334155 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 8vw, 60px);
    align-items: center;
}

.download-info h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 20px;
}

.download-info p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    opacity: 0.9;
    margin-bottom: 40px;
}

.download-stats {
    display: flex;
    gap: clamp(20px, 5vw, 40px);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    min-width: 100px;
}

.stat-number {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.stars {
    color: var(--accent-color);
    margin: 5px 0;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.stat-label {
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    opacity: 0.8;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: clamp(20px, 4vw, 25px);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.primary-download {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border-color: var(--primary-color);
}

.primary-download:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    border-color: var(--accent-color);
}

.download-icon {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--accent-color);
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.platform {
    font-weight: 700;
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    color: white;
}

.version {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    opacity: 0.8;
    color: #e2e8f0;
}

.download-size {
    font-size: clamp(0.8rem, 1.6vw, 0.9rem);
    opacity: 0.7;
    color: var(--accent-color);
    font-weight: 500;
}

.download-arrow {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: var(--accent-color);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

.download-note {
    margin-top: 30px;
    text-align: center;
    grid-column: 1 / -1;
}

.download-note p {
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    opacity: 0.8;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.download-note i {
    color: var(--accent-color);
}

/* 页脚 */
.footer {
    background: #0f172a;
    color: white;
    padding: clamp(40px, 8vw, 60px) 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: clamp(25px, 5vw, 40px);
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-logo .logo-img {
    height: 24px;
    margin-right: 6px;
    transition: all 0.3s ease;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
}

.footer-logo:hover .logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(102, 126, 234, 0.4));
    background: rgba(255, 255, 255, 0.15);
}

/* 为logo添加发光效果 */
.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-logo:hover::after {
    opacity: 1;
}

.footer-logo .logo-img {
    height: 24px;
    margin-right: 6px;
    animation: logo-pulse 3s infinite;
}

.footer-logo i {
    margin-right: 10px;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
}

.footer-section p {
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-links a {
    width: clamp(35px, 6vw, 40px);
    height: clamp(35px, 6vw, 40px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-section h4 {
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.6;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
}

/* 响应式设计 - 大屏幕 */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-container {
        max-width: 1400px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
        margin: 60px auto 0;
    }
}

/* 响应式设计 - 平板横屏 */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero-container {
        gap: 40px;
        padding: 0 15px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

/* 响应式设计 - 平板竖屏 */
@keyframes logo-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(102, 126, 234, 0);
    }
}

@media (max-width: 768px) {
    .footer-logo .logo-img {
        animation: logo-pulse 4s infinite;
    }
    
    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
        display: flex;
    }
    
    .nav-link {
        font-size: 1.2rem;
        margin: 20px 0;
        padding: 15px 30px;
        width: 80%;
        text-align: center;
        border-radius: 15px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .download-stats {
        justify-content: center;
        gap: 30px;
    }
    
    .download-buttons {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .footer-logo {
        justify-content: center;
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
    
    .footer-logo .logo-img {
        height: 28px;
        margin-right: 8px;
        padding: 3px;
        background: rgba(102, 126, 234, 0.1);
        border-radius: 6px;
    }
    
    .footer-logo::after {
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
    }
    
    .footer-section:first-child {
        position: relative;
        padding-top: 20px;
        margin-bottom: 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 25px;
    }

    .footer-section:first-child::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        border-radius: 2px;
        opacity: 1;
        transition: opacity 0.3s ease;
    }
    
    .footer-section p {
        max-width: 300px;
        margin: 0 auto 20px;
    }
    
    .social-links {
        justify-content: center;
        gap: 20px;
    }
    
    .social-links a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* 响应式设计 - 大手机 */
@media (max-width: 480px) {
    .nav-container {
        padding: 0 10px;
        height: 60px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
    
    .hero-container {
        padding: 0 10px;
        gap: 30px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        min-width: auto;
    }
    
    .phone-mockup {
        width: clamp(180px, 45vw, 220px);
        height: clamp(360px, 90vw, 440px);
    }
    
    .features {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .feature-card {
        padding: 25px 15px;
    }
    
    .pricing {
        padding: 50px 0;
    }
    
    .pricing-card {
        padding: 25px 15px;
    }
    
    .download {
        padding: 50px 0;
    }
    
    .download-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .download-btn {
        padding: 20px 15px;
        gap: 15px;
    }
    
    .download-icon {
        min-width: 50px;
        font-size: 2rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-logo {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .footer-logo .logo-img {
        height: 26px;
        margin-right: 6px;
        padding: 2px;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        max-width: 280px;
        line-height: 1.5;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* 响应式设计 - 小手机 */
@media (max-width: 360px) {
    .nav-container {
        height: 55px;
    }
    
    .hero {
        padding: 75px 0 30px;
    }
    
    .hero-subtitle {
        max-width: 100%;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .phone-mockup {
        width: 160px;
        height: 320px;
    }
    
    .features,
    .pricing,
    .download {
        padding: 40px 0;
    }
    
    .feature-card,
    .pricing-card {
        padding: 20px 10px;
    }
    
    .download-btn {
        padding: 15px 10px;
        gap: 10px;
    }
    
    .download-icon {
        min-width: 40px;
        font-size: 1.8rem;
    }
    
    .footer-logo {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .footer-logo .logo-img {
        height: 24px;
        margin-right: 5px;
    }
    
    .footer-section p {
        font-size: 0.85rem;
        max-width: 260px;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

/* 超宽屏优化 */
@media (min-width: 1920px) {
    .container,
    .hero-container {
        max-width: 1600px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

/* 高度较小的设备优化 */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-container {
        gap: 30px;
    }
    
    .phone-mockup {
        width: 200px;
        height: 350px;
    }
}

/* 打印样式 */
@media print {
    .navbar,
    .hero-particles,
    .hero-background {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
        min-height: auto;
        padding: 20px 0;
    }
    
    .hero-content {
        color: black;
    }
    
    .gradient-text {
        color: black;
        background: none;
        -webkit-text-fill-color: initial;
    }
}

/* 减少动画的用户偏好 */
@media (prefers-reduced-motion: reduce) {
    .footer-logo .logo-img {
        animation: none;
    }
    
    .footer-logo:hover .logo-img {
        transform: none;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .phone-mockup {
        animation: none;
    }
    
    .wave {
        animation: none;
    }
    
    .status-dot {
        animation: none;
    }
    
    .download-arrow {
        animation: none;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --secondary-color: #000080;
        --text-color: #000000;
        --text-light: #333333;
        --border-color: #000000;
    }
    
    .btn-primary {
        background: #0000ff;
        border: 2px solid #000000;
    }
    
    .btn-secondary {
        background: transparent;
        border: 2px solid #ffffff;
        color: #ffffff;
    }
    
    .feature-card,
    .pricing-card {
        border: 2px solid #000000;
    }
}

/* 深色模式偏好 */
@media (prefers-color-scheme: dark) {
    :root {
        --text-color: #ffffff;
        --text-light: #cccccc;
        --light-color: #1a1a1a;
        --border-color: #333333;
    }
    
    body {
        background: #1a1a1a;
        color: #ffffff;
    }
    
    .navbar {
        background: rgba(26, 26, 26, 0.95);
    }
    
    .features {
        background: #1a1a1a;
    }
    
    .feature-card,
    .pricing-card {
        background: #2a2a2a;
        border-color: #333333;
    }
}