/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
}



/* Main Container */
.main-container {
    margin-top: 80px;
    width: 100%;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 600px;
    background: #f8f9fa;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* 图片组合容器 */
.hero-image-composition {
    position: relative;
    width: 727px;
    height: 525px;
    margin-left: auto;
}

/* Rectangle 3: 浅粉色背景层 */
.hero-rectangle-3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 727px;
    height: 525px;
    background: #FFBCDA;
    border-radius: 28px;
    z-index: 1;
}

/* Rectangle 4: 深粉色背景层 */
.hero-rectangle-4 {
    position: absolute;
    top: 0;
    left: 0;
    width: 570px;
    background: #DE0A74;
    border-radius: 28px;
    z-index: 2;
}

/* image 12: 主要图片层 */
.hero-image-12 {
    position: absolute;
    top: 0;
    left: 0px;
    width: 570px;
    z-index: 3;
}

.hero-main-img {
    position: absolute; top: 70px; left: 0;
    width: 98%;
    height: 100%;
    object-fit: cover;
}

/* 位图层 */
.hero-bitmap {
    position: absolute;
    top: 20px;
    left: 0px;
    width: 570px;
    z-index: 4;
}

.hero-bitmap-img {
        position: absolute; top: 20px; left: 0;
    width: 100%;
    object-fit: fill;
}

/* 装饰性小圆圈容器 */
.hero-decorative-circles {
    position: absolute;
    top: 27px;
    left: -216px;
    /* width: 433px; */
    max-width: 430px;
    width: 100vw;
    overflow: hidden;
    height: 54px;
    z-index: 5;
}

/* 装饰性小圆圈通用样式 */
.decorative-circle {
    position: absolute;
    width: 55px;
    height: 54px;
    border-radius: 50%;
    overflow: hidden;
}

.decorative-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 各个小圆圈的具体位置 */
.circle-1 {
    left: 0px;
    top: 0px;
}

.circle-2 {
    left: 63px;
    top: 0px;
}

.circle-3 {
    left: 126px;
    top: 0px;
}

.circle-4 {
    left: 189px;
    top: 0px;
}

.circle-5 {
    left: 252px;
    top: 0px;
}

.circle-6 {
    left: 315px;
    top: 0px;
}

.circle-7 {
    left: 378px;
    top: 0px;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text {
    color: #18161f;
}

.hero-title {
    font-size: 48px;
    font-weight: 500;
    line-height: 48px;
    margin-bottom: 24px;
    font-family: 'Helvetica Neue', sans-serif;
    color: #18161f;
}

.hero-subtitle {
    font-size: 48px;
    font-weight: 500;
    line-height: 48px;
    margin-bottom: 32px;
    font-family: 'Helvetica Neue', sans-serif;
    color: #18161f;
}

.hero-amount {
    font-size: 28px;
    font-weight: 400;
    line-height: 30px;
    margin-bottom: 32px;
    color: #965cff;
    /* text-align: center; */
}

.cta-button {
    background: #965cff;
    color: white;
    border: none;
    padding: 16px 32px;
    font-size: 28px;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'PingFang SC', sans-serif;
}

.cta-button:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

.hero-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-image {
    position: absolute; 
    top: 0; 
    left: 0;
    max-width: 100%;
    height: 500px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* User Statistics Section */
.user-stats-section {
    padding: 60px 20px;
    background: #f8fafc;
    text-align: center;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-description {
    font-size: 24px;
    color: #4e5368;
    margin-bottom: 40px;
    text-align: center;
    font-family: 'Helvetica Neue', sans-serif;
}

.user-count {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.count-number {
    font-size: 128px;
    font-weight: 700;
    color: #965cff;
    font-family: 'D-DIN', sans-serif;
    line-height: 64px;
}

.user-avatars {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 20px;
}

.avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899, #f59e0b, #10b981, #14b8a6, #8b5cf6);
    border: 3px solid white;
    margin-left: -8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.avatar:first-child {
    margin-left: 0;
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background: white;
}

.section-title {
    font-size: 64px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 80px;
    color: #18161f;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 64px;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

.feature-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 32px;
    align-items: start;
    position: relative;
}

.feature-card:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1px;
    background: #e5e2ec;
}

.feature-icon {
    display: flex;
    justify-content: center;
}

.icon-circle {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-circle img {
    max-width: 60px;
    height: auto;
}

.feature-content h3 {
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #18161f;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 42px;
}

.feature-content p {
    font-size: 24px;
    color: #8c92ac;
    line-height: 32px;
    font-family: 'Helvetica Neue', sans-serif;
}

/* App Installation Section */
.app-section {
    padding: 80px 20px;
    background: white;
}

.app-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 24px;
    color: #8c92ac;
    text-align: center;
    margin-bottom: 0;
    font-family: 'Helvetica Neue', sans-serif;
}

.app-cards-grid {
    max-width: 1276px;
    margin: 0 auto;
    /* display: grid; */
    display: flex;
    max-width: 1200px;
    /* padding: 0 20px; */
    /* grid-template-columns: 252px 732px 252px; */
    /* grid-template-columns: 20% 60% 20%; */
    gap: 20px;  
    justify-content: center;
    transition: .5s all;
}

.app-card {
    border-radius: 28px;
    padding: 40px 48px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 442px;
    transition: all 0.3s ease;
    transition: .5s all;
    width: 20%;
}
.app-card p{
    display: none;
}
.app-card-active {
    flex-direction: row;
    align-items: flex-start;
    padding: 40px 48px;
    width: 60%;
}
.app-card-active .app-card-image {
    height: 388px;
    width: 388px;
    margin-top: 13px;
    margin-left: auto;
    margin-right: -40px;
    flex-shrink: 0;
}
.app-card-active p {
    display: block;
}
.app-card-2 {

}

.app-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.app-card-1 {
    background: #91B922;
    color: white;
}

.app-card-2 {
    background: #DE0A74;
    color: white;
}

.app-card-3 {
    background: #965CFF;
    color: white;
}

.app-card-content {
    margin-bottom: auto;
}


.app-card-2 .app-card-content {
    flex: 1;
    margin-bottom: 0;
    max-width: 295px;
}

.app-step {
    font-size: 42px;
    font-weight: 700;
    font-family: 'D-DIN', sans-serif;
    margin-bottom: 21px;
    line-height: 32px;
    color: white;
}

.app-card-title {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 28px;
    color: white;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 40px;
}

.app-card-2 .app-card-title {
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 28px;
}

.app-card-3 .app-card-title {
    font-size: 24px;
    line-height: 32px;
}

.app-card-description {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 24px;
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 500;
    max-width: 295px;
}

.app-card-image {
    flex-shrink: 0;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 200px;
    /* overflow: hidden;     */
}

/* .app-card-1 .app-card-image {
    height: 257px;
    margin-left: -20px;
} */

/* .app-card-2 .app-card-image {
    height: 388px;
    width: 388px;
    margin-top: 13px;
    margin-left: auto;
    margin-right: -40px;
    flex-shrink: 0;
} */

/* .app-card-3 .app-card-image {
    height: 242px;
    margin-left: -10px;
} */

.app-card-image img {
    max-width: none;
    height: 100%;
    object-fit: contain;
}

/* Products Section */
.products-section {
    padding: 80px 20px;
    background: white;
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.product-card {
    background: white;
    border: 1px solid #965cff;
    border-radius: 120px;
    padding: 32px 48px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    transition: all 0.3s ease;
    min-height: 220px;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(150, 92, 255, 0.15);
}

.product-icon {
    flex-shrink: 0;
}

.product-icon-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

.product-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-level {
    font-size: 32px;
    font-weight: 500;
    color: #965cff;
    font-family: 'Helvetica Neue', sans-serif;
    margin-bottom: 8px;
}

.product-description {
    font-size: 22px;
    color: #965cff;
    font-family: 'Helvetica Neue', sans-serif;
    margin-bottom: 12px;
}

.product-details {
    font-size: 16px;
    color: #8c92ac;
    line-height: 24px;
    font-family: 'Helvetica Neue', sans-serif;
}

.product-soon {
    font-size: 22px;
    color: #965cff;
    font-weight: 500;
    font-family: 'Helvetica Neue', sans-serif;
    margin-top: 8px;
}

.product-rate {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.rate-label {
    font-size: 20px;
    color: #18161f;
    font-family: 'Helvetica Neue', sans-serif;
    white-space: nowrap;
}

.rate-value {
    font-size: 42px;
    font-weight: 500;
    color: #18161f;
    font-family: 'Helvetica Neue', sans-serif;
    line-height: 24px;
}



/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
        line-height: 40px;
    }

    .hero-subtitle {
        font-size: 36px;
        line-height: 40px;
    }

    .hero-amount {
        font-size: 24px;
    }

    .count-number {
        font-size: 72px;
        line-height: 48px;
    }

    .section-title {
        font-size: 36px;
        line-height: 40px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .feature-card:not(:last-child)::after {
        width: 100%;
    }

    .app-cards-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .app-card {
        min-height: auto;
        padding: 24px;
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-card {
        grid-template-columns: 1fr;
        text-align: center;
        border-radius: 24px;
        padding: 24px;
        gap: 24px;
    }

    .product-rate {
        align-items: center;
    }

    .product-icon-img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .cta-button {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    .features-section,
    .app-section,
    .products-section {
        padding: 60px 16px;
    }
    
    .feature-card,
    .app-card,
    .product-card {
        padding: 24px;
    }
    
    .section-title {
        font-size: 24px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.app-card,
.product-card {
    animation: fadeInUp 0.6s ease-out;
}

.hero-title,
.hero-subtitle {
    animation: fadeInUp 0.8s ease-out;
}

.cta-button {
    animation: fadeInUp 1s ease-out;
}