/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', sans-serif;
}
html { scroll-behavior: smooth; }
body { overflow-x: hidden; background-color: white; }

/* 弹窗样式 */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.popup-overlay.active { opacity: 1; }
.popup-container {
    background-color: white;
    width: 90%;
    max-width: 550px;
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}
.popup-overlay.active .popup-container {
    transform: scale(1) translateY(0);
    opacity: 1;
    animation: popupBounce 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.popup-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #FF69B4, #C71585);
}
.popup-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.3);
    transform: translateY(20px) scale(0.8);
    opacity: 0;
}
.popup-icon i {
    font-size: 2.5rem;
    color: white;
    animation: spin 8s linear infinite 0.8s;
}
.popup-header {
    margin-bottom: 1.5rem;
    transform: translateY(10px);
    opacity: 0;
}
.popup-header h3 {
    font-size: 1.8rem;
    color: #C71585;
    text-align: center;
    font-weight: 700;
}
.popup-content {
    margin-bottom: 2.5rem;
    transform: translateY(10px);
    opacity: 0;
}
.popup-content p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #333;
    text-align: center;
}
.popup-footer {
    display: flex;
    justify-content: center;
    transform: translateY(10px);
    opacity: 0;
}
.popup-btn {
    padding: 0.9rem 3rem;
    background: linear-gradient(135deg, #FF69B4, #C71585);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(199, 21, 133, 0.3);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
}
.popup-btn i { transition: transform 0.3s ease; }
.popup-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(30deg);
    transition: all 0.6s ease;
}
.popup-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(199, 21, 133, 0.4);
}
.popup-btn:hover i { transform: rotate(15deg) translateX(3px); }
.popup-btn:hover::before { left: 150%; }

/* 进度条 */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, #FF69B4, #C71585, #FFB6C1);
    width: 0%;
    z-index: 1001;
    transition: width 0.3s ease;
}

/* 导航栏 */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}
nav.scrolled {
    background: linear-gradient(135deg, #FF69B4, #C71585);
    padding: 1rem 5%;
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
}
.logo {
    color: white;
    font-size: 1.35rem;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.logo i {
    font-size: 1.6rem;
    transform: rotate(0deg);
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
nav:hover .logo i { transform: rotate(360deg) scale(1.2); }
.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: width 0.3s ease;
}
.nav-links a:hover { transform: translateY(-3px); }
.nav-links a:hover::after { width: 100%; }

/* 英雄区域 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #F2994A, #E67E22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12rem 5% 8rem;
    color: white;
    overflow: hidden;
    position: relative;
}
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    filter: blur(100px);
    animation: float 12s ease-in-out infinite;
}
.hero::before {
    width: 700px;
    height: 700px;
    top: -300px;
    right: -200px;
}
.hero::after {
    width: 600px;
    height: 600px;
    bottom: -250px;
    left: -200px;
    animation-delay: 6s;
}
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    filter: blur(20px);
    animation: float 10s ease-in-out infinite;
}
.floating-element:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 25%;
    left: 15%;
    animation-delay: 0s;
}
.floating-element:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 65%;
    right: 10%;
    animation-delay: 3s;
}
.floating-element:nth-child(3) {
    width: 100px;
    height: 100px;
    bottom: 35%;
    left: 25%;
    animation-delay: 6s;
}
.hero-content {
    max-width: 700px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 3rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(30px);
    opacity: 0;
}
.hero-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.hero-title span {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.5s ease forwards;
    animation-delay: calc(var(--i) * 0.1s);
}
.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3.5rem;
    text-shadow: 0 3px 10px rgba(0,0,0,0.2);
    opacity: 0;
}
.buttons-container {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    opacity: 0;
}

/* 下载按钮 */
.download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.download-btn i {
    margin-right: 1rem;
    font-size: 1.3rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.7s ease;
    transform: skewX(-20deg);
}
.download-btn::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 10px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    filter: blur(5px);
    transition: all 0.4s ease;
    z-index: -1;
}
.download-btn:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.download-btn:hover::before { left: 100%; }
.download-btn:hover::after {
    width: 90%;
    height: 15px;
    bottom: -8px;
    background: rgba(0, 0, 0, 0.15);
}
.download-btn:hover i { transform: rotate(15deg) scale(1.3); }
.download-btn:active { transform: translateY(-5px) scale(0.98); }

/* 按钮渐变色 */
.btn-primary { background: linear-gradient(135deg, #4361EE, #3A0CA3); }
.btn-secondary { background: linear-gradient(135deg, #38B000, #70E000); }
.btn-tertiary { background: linear-gradient(135deg, #FF6B6B, #E63946); }

/* 特性展示 */
.features {
    padding: 8rem 5% 10rem;
    background: white;
    position: relative;
    overflow: hidden;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 1.5rem;
    color: #C71585;
    text-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, #FF69B4, #C71585);
    border-radius: 3px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3.5rem;
    margin-top: 2rem;
}
.feature-card {
    background: rgba(248, 249, 250, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3.5rem 3rem;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #FF69B4, #C71585);
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.9);
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card h3 {
    margin-bottom: 1.8rem;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: #212529;
    text-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.feature-card h3 i {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 182, 193, 0.2);
    color: #C71585;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
}
.feature-card:hover h3 i { transform: rotate(15deg) scale(1.3); }
.feature-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #2d3436;
}

/* 客服区域 */
.support-section {
    margin-top: 7rem;
    text-align: center;
    padding: 4rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease;
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.support-title {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    color: #C71585;
    text-shadow: 0 3px 10px rgba(0,0,0,0.05);
}
.support-title i {
    color: #FF69B4;
    font-size: 2rem;
    animation: pulse 2s ease infinite;
    text-shadow: 0 5px 15px rgba(255, 105, 180, 0.2);
}
.support-desc {
    font-size: 1rem;
    color: #2d3436;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}
.support-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, #FF69B4, #C71585);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(199, 21, 133, 0.3);
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}
.support-btn::before {
    content: '';
    position: absolute;
    top:0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.7s ease;
}
.support-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 35px rgba(199, 21, 133, 0.4);
}
.support-btn:hover::before { left: 100%; }
.support-btn:hover i { transform: rotate(15deg) scale(1.2); }
.support-btn:active { transform: translateY(-3px) scale(0.98); }

/* 页脚 */
footer {
    padding: 6rem 5% 4rem;
    background: linear-gradient(135deg, #FFB6C1, #FF69B4);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, #4361EE, #38B000, #FF6B6B);
}
.footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.footer-logo {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    text-shadow: 0 3px 10px rgba(0,0,0,0.2);
}
.footer-logo i { animation: spin 8s linear infinite; }
.footer-copyright {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.footer-beian {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.15);
}
.footer-beian:hover { color: white; }
.footer-beian img {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* 动画定义 */
@keyframes fadeIn {
    to { opacity: 1; }
}
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(10deg); }
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes popupBounce {
    0% { transform: scale(0.9) translateY(50px); opacity: 0; }
    70% { transform: scale(1.05) translateY(-10px); }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
@keyframes popupIconFade {
    0% { transform: translateY(20px) scale(0.8); opacity: 0; }
    70% { transform: translateY(-5px) scale(1.1); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}
@keyframes popupFadeUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2rem; }
    .hero-content {
        padding: 2rem;
        border-radius: 25px;
    }
    .download-btn {
        padding: 1.1rem 2rem;
        font-size: 0.95rem;
        border-radius: 40px;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 4rem;
    }
    .features { padding: 8rem 5% 8rem; }
    .feature-card {
        padding: 2.5rem 2rem;
        border-radius: 25px;
    }
    .support-section {
        border-radius: 25px;
        padding: 3rem 2rem;
        margin-top: 5rem;
    }
    .footer-content { padding: 2rem 1rem; }
}
@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .hero-desc { font-size: 1rem; }
    .buttons-container { padding: 0 0.5rem; }
    .feature-card { padding: 2rem 1.5rem; }
}

