/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-pink: #E86AE8;
    --primary-purple: #C084FC;
    --dark-purple: #9333EA;
    --yellow: #FCD34D;
    --dark-yellow: #F59E0B;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --background: #FFFFFF;
    --background-light: #F9FAFB;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 106, 232, 0.3);
}

/* 主横幅区域 */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, #FDF4FF 0%, #FFFFFF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(232, 106, 232, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 106, 232, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    color: var(--primary-pink);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line-2 {
    color: var(--text-dark);
    font-size: 48px;
    margin-top: 8px;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.primary-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #000000;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.download-ios .download-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.download-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.download-label {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1;
    margin-bottom: 2px;
}

.download-store {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.hero-stats {
    display: flex;
    gap: 32px;
    align-items: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: #E5E7EB;
}

/* 手机模型 */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-3d {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    border-radius: 50%;
}

.shape-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.shape-3 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #C084FC, #9333EA);
    top: 30%;
    right: 10%;
    animation-delay: 4s;
    border-radius: 10px;
}

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

.phone-mockup {
    position: relative;
    z-index: 10;
}

.phone-screen {
    display: inline-block;
    line-height: 0;
}

.screen-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* 主横幅区域的大图 */
.phone-mockup:not(.small) .screen-image {
    max-width: 650px;
}

/* 功能展示区域的小图 */
.phone-mockup.small .screen-image {
    width: 380px;
    max-width: 380px;
}


/* 功能展示 */
.features {
    padding: 120px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-label {
    display: inline-block;
    background: linear-gradient(135deg, rgba(232, 106, 232, 0.1), rgba(192, 132, 252, 0.1));
    color: var(--primary-purple);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
}

.feature-subtitle {
    font-size: 18px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
}

.feature-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--text-dark);
}

.check-icon {
    width: 24px;
    height: 24px;
    stroke: var(--primary-purple);
    flex-shrink: 0;
}



/* 如何使用 */
.how-it-works {
    padding: 120px 0;
    background: linear-gradient(180deg, #FDF4FF 0%, #FFFFFF 100%);
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 60px;
}

.step-card {
    background: white;
    padding: 40px 32px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(232, 106, 232, 0.15);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--primary-purple);
    display: flex;
    justify-content: center;
    align-items: center;
}

.step-icon svg {
    stroke: var(--primary-purple);
}

.step-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.step-description {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.step-arrow {
    font-size: 32px;
    color: var(--primary-purple);
    font-weight: 700;
}

/* 下载CTA */
.download-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-pink), var(--primary-purple));
    position: relative;
    overflow: hidden;
}

.download-cta::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.download-cta::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 48px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.download-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 16px 32px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.download-button:hover {
    background: white;
    color: #000000;
    transform: translateY(-4px);
}

.download-button .download-icon {
    width: 32px;
    height: 32px;
}

.download-button:hover .download-icon {
    color: #000000;
}

.download-button .download-label {
    font-size: 12px;
    text-align: left;
    opacity: 0.9;
}

.download-button .download-store {
    font-size: 18px;
    font-weight: 700;
    text-align: left;
}

/* 页脚 */
.footer {
    background: #1F2937;
    color: white;
    padding: 80px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 80px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-tagline {
    color: #9CA3AF;
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary-purple);
    transform: translateY(-4px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #9CA3AF;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: white;
}

.footer-column a svg {
    flex-shrink: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9CA3AF;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .title-line-2 {
        font-size: 36px;
    }
    
    /* 平板端图片适配 */
    .phone-mockup:not(.small) .screen-image {
        max-width: 350px;
    }
    
    .phone-mockup.small .screen-image {
        width: 220px;
        max-width: 220px;
    }
    
    .feature-row {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .feature-row.reverse {
        direction: ltr;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .step-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .title-line-2 {
        font-size: 28px;
    }
    
    .hero-buttons {
        width: 100%;
    }
    
    .primary-button {
        width: 100%;
        justify-content: center;
    }
    
    /* 移动端图片适配 */
    .phone-mockup:not(.small) .screen-image {
        max-width: 100%;
        width: 100%;
    }
    
    .phone-mockup.small .screen-image {
        width: 200px;
        max-width: 200px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .feature-title {
        font-size: 32px;
    }
    
    .cta-title {
        font-size: 32px;
    }
    
    .cta-buttons {
        width: 100%;
    }
    
    .download-button {
        width: 100%;
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* 超小屏幕适配 */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .title-line-2 {
        font-size: 22px;
    }
    
    /* 小屏手机图片适配 */
    .phone-mockup.small .screen-image {
        width: 160px;
        max-width: 160px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .feature-title {
        font-size: 24px;
    }
    
    .cta-title {
        font-size: 24px;
    }
}

