:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 10px 25px rgba(0,0,0,0.05);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

/* 主区域 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 英雄区域 */
.hero {
    padding: 10rem 0 5rem;
    text-align: center;
    background: var(--gradient);
    color: var(--white);
    border-radius: 0 0 30px 30px;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 0,100 0,0 500,50 1000,0"></polygon></svg>');
    background-size: cover;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 1s 0.2s forwards;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0;
    animation: fadeInUp 1s 0.4s forwards;
}

.cta-button {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    animation: fadeInUp 1s 0.6s forwards;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* 特性区域 */
.section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s, transform 0.6s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
}

/* 效果展示区域样式 - 适配正方形图片 */
.screenshot-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.screenshot-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px; /* 控制卡片最大宽度 */
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.screenshot-image {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 关键：创建1:1正方形比例 */
    position: relative;
    overflow: hidden;
}

.screenshot-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片覆盖整个容器 */
    transition: transform 0.3s;
}

.screenshot-card:hover .screenshot-image img {
    transform: scale(1.05);
}

.screenshot-info {
    padding: 1.5rem;
    text-align: center;
}

.screenshot-info h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.screenshot-info p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .screenshot-card {
        min-width: 280px;
        max-width: 100%;
    }

    .screenshot-info {
        padding: 1.2rem;
    }
}

/* 步骤区域 */
.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 3rem;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--gradient);
    z-index: 0;
}

.step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s, transform 0.6s;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow);
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* 平台区域 */
.platforms-section {
    background: var(--white);
    border-radius: 20px;
    padding: 4rem 2rem;
    box-shadow: var(--shadow);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.platform-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(20px);
}

.platform-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s, transform 0.6s;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.platform-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}
/* 平台图标颜色 */
.douyin { color: #69C5F0; }
.kuaishou { color: #FF5001; }
.xiaohongshu { color: #FF2442; }
.tiktok { color: #000000; }
.xigua { color: #F85959; }
.weishi { color: #12B7F5; }
.pipixia { color: #F8B100; }
.huoshan { color: #FF6B00; }
.douyin { color: #69C5F0; }
.kuaishou { color: #FF5001; }
.xiaohongshu { color: #FF2442; }
.weibo { color: #E6162D; }
.pipigaoxiao { color: #FF6B00; }
.jinritoutiao { color: #F85959; }
.weishi { color: #12B7F5; }
.xigua { color: #F85959; }
.haokan { color: #3875E6; }
.bilibili { color: #FB7299; }
.meipai { color: #FF3366; }
.zuiyou { color: #FFD100; }
.xinpianchang { color: #000000; }
.quanminkge { color: #31C27C; }
.momo { color: #00CC99; }
.meitu { color: #6DCBF7; }
.yingke { color: #FF6600; }
.huya { color: #FF6A00; }
.liufangjian { color: #FF3366; }
.caishi { color: #9C27B0; }
.qqvideo { color: #12B7F5; }
.lishipin { color: #E64A19; }
.kaiyan { color: #000000; }
.soul { color: #FF6BDA; }
.acfun { color: #FD4C5A; }
.zhihu { color: #0084FF; }
.dianping { color: #FF6B00; }
.yy { color: #FFCC00; }
.kuaikan { color: #00B0F0; }
.dewu { color: #000000; }
.peiyinxiu { color: #4CAF50; }
.tencentvideo { color: #12B7F5; }
.kuaiying { color: #FF9500; }
.tiktok { color: #000000; }
.huoshan { color: #FF6B00; }
.pipixia { color: #F8B100; }
/* CTA区域 */
.cta-section {
    background: var(--gradient);
    color: var(--white);
    padding: 5rem 2rem;
    border-radius: 30px;
    text-align: center;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(30deg);
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.qrcode-container {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    display: inline-block;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    position: relative;
}

.qrcode-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    display: block;
}

.search-tip {
    background: rgba(255,255,255,0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-top: 1rem;
    position: relative;
}

/* 页脚 */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    color: #9ca3af;
    margin-top: 2rem;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .steps-container::before {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .platforms-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }
}
