/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 50%, #ffffff 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 头部导航 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo span {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #222 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ff6b9d;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b9d, #c44569);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 主视觉区域 */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at center top, rgba(255, 107, 157, 0.04) 0%, transparent 60%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #222 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
}

.hero-title img {
    max-width: 400px;
    margin-bottom: 30px;
}

.tagline {
    font-size: 24px;
    font-weight: 400;
    color: #333;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.hero-image {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 60px rgba(255, 107, 157, 0.3));
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.decoration-item {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
}

.decoration-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.4) 0%, transparent 70%);
    top: 20%;
    left: -5%;
    animation: float 6s ease-in-out infinite;
}

.decoration-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(196, 69, 105, 0.4) 0%, transparent 70%);
    top: 40%;
    right: -3%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* 功能介绍区块 */
.feature {
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.feature-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 100px;
}

.feature-content.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 1;
    max-width: 500px;
}

.feature-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    animation: bounce 2s ease-in-out infinite;
}

.feature-icon.icon-1 {
    animation-delay: 0s;
}

.feature-icon.icon-2 {
    animation-delay: 0.3s;
}

.feature-icon.icon-3 {
    animation-delay: 0.6s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.feature-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.4;
    background: linear-gradient(135deg, #222 0%, #444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-desc {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
}

.feature-phone {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.feature-phone img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.feature-phone:hover img {
    transform: scale(1.05);
}

.text-desc {
    margin-top: 30px;
}

.text-desc img {
    max-width: 200px;
}

/* 不同功能区块的背景 */
.feature-1 {
    background: linear-gradient(180deg, transparent 0%, rgba(200, 150, 160, 0.02) 50%, transparent 100%);
}

.feature-2 {
    background: linear-gradient(180deg, transparent 0%, rgba(180, 140, 150, 0.02) 50%, transparent 100%);
}

.feature-3 {
    background: linear-gradient(180deg, transparent 0%, rgba(200, 180, 140, 0.02) 50%, transparent 100%);
}

.feature-4 {
    background: linear-gradient(180deg, transparent 0%, rgba(190, 150, 160, 0.02) 50%, transparent 100%);
}

/* 页脚 */
.footer {
    background: linear-gradient(180deg, #fafafa 0%, #f8f8f8 100%);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(200, 150, 160, 0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.copyright {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 14px;
    color: #666;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b9d;
}

.footer-links .divider {
    color: #999;
}

.contact {
    font-size: 14px;
    color: #555;
}

.contact a {
    color: #ff6b9d;
    transition: color 0.3s ease;
}

.contact a:hover {
    color: #ff8fb3;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .feature-content,
    .feature-content.reverse {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .feature-text {
        max-width: 100%;
    }

    .feature-icons {
        justify-content: center;
    }

    .feature-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-title img {
        max-width: 300px;
    }

    .tagline {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .logo span {
        font-size: 18px;
    }

    .logo img {
        height: 32px;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero-title {
        font-size: 36px;
        letter-spacing: 2px;
    }

    .hero-title img {
        max-width: 250px;
    }

    .tagline {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .feature {
        padding: 60px 20px;
    }

    .feature-title {
        font-size: 24px;
    }

    .feature-desc {
        font-size: 16px;
    }

    .feature-phone {
        max-width: 450px;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }

    .footer-links .divider {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .hero-title img {
        max-width: 200px;
    }

    .tagline {
        font-size: 14px;
        padding: 0 10px;
    }

    .feature-title {
        font-size: 20px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }
}

/* 滚动动画 */
.feature-content {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.feature-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 背景粒子效果 */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 107, 157, 0.5);
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}
