@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* 全局重置与变量 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #f3fbf9;
    --text-dark: #14302b;
    --text-gray: #5c6b67;
    --text-light: #9aa8a4;
    --border-color: #d7efe9;
    --primary-pink: #10b3a3;
    --primary-purple: #ff7a59;
    --btn-pink: #ff7a59;
    --btn-pink-hover: #ff5c34;
    --story-purple: #0b6b5f;
    --title-light-blue: #10b3a3;
    --max-width: 1100px;
    --nav-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
    padding-top: var(--nav-height);
}

a {
    text-decoration: none;
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 顶部导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: #ffffff;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
    box-shadow: 0 2px 12px rgba(255, 107, 157, 0.08);
}
.nav-container {
    max-width: var(--max-width);
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-size: 32px;
    font-weight: 600;
    background: linear-gradient(90deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex;
    gap: 28px;
    font-size: 15px;
}
.nav-links a {
    color: #555;
}
.nav-links a:hover {
    color: var(--primary-pink);
}

/* 主容器 */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* 滚动渐入动画 */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 气泡弹出动画 */
.bubble-in {
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.bubble-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Hero 首屏区域 */
.hero-section {
    background: linear-gradient(135deg, #14b8a6 0%, #0e7490 100%);
    color: white;
    padding: 70px 24px 90px;
    position: relative;
    overflow: hidden;
}
.hero-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
}
.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 440px;
    opacity: 0.95;
}
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-visual img {
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    object-fit: contain;
}
.download-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--btn-pink);
    color: white;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.35);
}
.download-btn-main:hover {
    background: var(--btn-pink-hover);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(255, 107, 157, 0.45);
}
.download-btn-main::before {
    content: "📱";
    font-size: 20px;
}

/* 核心功能板块 */
.features-grid {
    padding: 80px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}
.feature-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}
.feature-item p {
    color: var(--text-gray);
    font-size: 16px;
}

/* 成功故事板块 Badoo风格 */
.success-stories {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 40px 0;
    background: #ffffff;
}
.stories-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
}
.stories-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 0;
}
.story-card {
    display: flex;
    flex-direction: column;
}
.story-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.story-img {
    position: relative;
    border-radius: 20px;
    overflow: visible;
    margin-bottom: 24px;
}
.story-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}
.story-link:hover .story-img img {
    transform: scale(1.02);
}
.story-tag {
    position: absolute;
    background: var(--story-purple);
    color: white;
    font-size: 20px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    white-space: nowrap;
    z-index: 2;
}
.tag-top-left {
    top: -14px;
    left: -14px;
}
.tag-bottom-right {
    bottom: -14px;
    right: -14px;
}
.story-quote {
    font-size: 17px;
    color: #333;
    line-height: 1.6;
    padding-left: 4px;
}

/* 功能详情板块 */
.detail-section {
    padding: 60px 0;
}
.detail-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
}
.detail-intro {
    color: var(--text-gray);
    margin-bottom: 40px;
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.detail-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}
.detail-list {
    display: grid;
    gap: 28px;
}
.detail-item h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}
.detail-item p {
    color: var(--text-gray);
    font-size: 15px;
}
.detail-screenshot {
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    max-height: 420px;
    position: sticky;
    top: 100px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.detail-screenshot:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* 下载区域 */
.download-section {
    padding: 70px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 40px 0;
    background: linear-gradient(135deg, #e7faf5 0%, #fff1ec 100%);
}
.download-wrap {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 40px;
    align-items: center;
}
.download-content {
    padding-left: 40px;
}
.download-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
}
.download-desc {
    color: var(--text-gray);
    font-size: 16px;
    margin-bottom: 36px;
    line-height: 2;
}
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.store-btn {
    display: inline-block;
    width: 150px;
    height: 54px;
    transition: transform 0.2s ease;
}
.store-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.store-btn:hover {
    transform: translateY(-2px);
}
.download-visual {
    display: flex;
    justify-content: center;
}
.download-visual img {
    max-width: 100%;
    height: 290px;
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    object-fit: cover;
}

/* 帮助区域 */
.help-section {
    padding: 50px 0 60px;
    text-align: center;
}
.help-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}
.help-desc {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 32px;
    font-size: 15px;
    line-height: 1.8;
}
.help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    font-size: 15px;
}
.help-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s ease;
}
.help-links a:hover {
    color: var(--primary-pink);
}

/* 社交媒体（4个图标 + 下方文字） */
.social-section {
    padding: 20px 0 40px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}
.social-section h2 {
    font-size: 28px;
    font-weight: 300;
    color: var(--title-light-blue);
    margin-bottom: 24px;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.social-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    transition: transform 0.2s ease;
}
.social-icon-item:hover {
    transform: translateY(-2px);
}
.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.social-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
}
.social-name {
    font-size: 15px;
    color: var(--text-dark);
}

/* 页脚 */
.footer {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 13px;
    color: var(--text-light);
    background: #ffffff;
}

/* 平板与手机适配 */
@media (max-width: 900px) {
    .hero-container,
    .detail-wrap,
    .download-wrap,
    .stories-cards {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        order: -1;
    }
    .hero-visual img {
        max-width: 420px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .download-visual {
        order: -1;
    }
    .download-visual img {
        height: 240px;
    }
    .download-content {
        padding-left: 0;
        text-align: center;
    }
}

@media (max-width: 640px) {
    :root {
        --nav-height: 60px;
    }
    .nav-logo {
        font-size: 24px;
    }
    .nav-links {
        gap: 14px;
        font-size: 13px;
    }
    .hero-content h1 {
        font-size: 40px;
    }
    .features-grid {
        padding: 50px 0;
        gap: 28px;
    }
    .stories-cards {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .story-img img {
        height: 280px;
    }
    .download-buttons {
        justify-content: center;
    }
    .social-section h2 {
        font-size: 22px;
    }
    .social-icons {
        gap: 24px;
    }
    .social-icon {
        width: 42px;
        height: 42px;
    }
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    .social-name {
        font-size: 14px;
    }
}