:root {
    --xy-blue: #00a0e9;
    --xy-dark: #0077b3;
    --bg-color: #f0f8ff;
    --text-color: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.5;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn {
    border: none;
    border-radius: 30px;
    padding: 10px 24px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
}

.btn-primary {
    background-color: var(--xy-blue);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 160, 233, 0.3);
}

.btn-primary:hover {
    background-color: var(--xy-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-large {
    padding: 14px 40px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Header */
.top-header {
    height: 64px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.top-header .container {
    max-width: 100%; /* 让导航栏撑满全屏宽度 */
    padding: 0 24px; /* 增加一点左右内边距 */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.app-logo {
    height: 32px;
}

.logo-group h1 {
    font-size: 18px;
    font-weight: 700;
}

/* Banner */
.banner {
    padding: 60px 0;
    background: linear-gradient(180deg, #f0f8ff 0%, #ffffff 100%);
    overflow: hidden;
}

.banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.banner-txt h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.banner-txt span {
    color: var(--xy-blue);
}

.banner-txt p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.banner-img {
    position: relative;
    width: 300px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mockup-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mockup {
    width: 260px; /* 稍微加宽 */
    height: 462px; /* 按照 9:16 比例: 260 * 1.777 ≈ 462 */
    background: #000;
    border-radius: 30px;
    border: 8px solid #333;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* 强制填满容器 */
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots .dot.active {
    background-color: var(--xy-blue);
    transform: scale(1.2);
}
.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dots .dot.active {
    background-color: var(--xy-blue);
    transform: scale(1.2);
}

.decor-circle {
    position: absolute;
    width: 400px;
    height: 400px;
    background: #e0f2ff;
    border-radius: 50%;
    z-index: 1;
}

/* Features */
.features {
    padding: 60px 0;
}

.title-box {
    text-align: center;
    margin-bottom: 50px;
}

.title-box h3 {
    font-size: 30px;
    margin-bottom: 10px;
}

.line {
    width: 40px;
    height: 4px;
    background: var(--xy-blue);
    margin: 0 auto;
    border-radius: 2px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 1px solid #f5f5f5;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 160, 233, 0.15);
}

.card-icon {
    font-size: 32px;
    color: var(--xy-blue);
    margin-bottom: 16px;
    background: #eef9ff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.card p {
    font-size: 13px;
    color: var(--text-light);
}

/* Showcase */
.showcase {
    padding: 20px 0 60px; /* Reduced top padding */
    background: #fafafa;
}

.showcase-box {
    display: flex;
    align-items: center;
    gap: 60px;
}

.showcase-info {
    flex: 1;
}

.showcase-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.showcase-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.pros {
    list-style: none;
}

.pros li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.pros i {
    color: var(--xy-blue);
}

.showcase-pic {
    flex: 1;
    position: relative;
    height: 350px;
}

.showcase-pic img {
    position: absolute;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.pic-1 {
    width: 180px;
    left: 20px;
    top: 0;
    z-index: 2;
}

.pic-2 {
    width: 180px;
    right: 40px;
    bottom: 0;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--xy-blue);
    color: var(--white);
    padding: 40px 0;
}

.center-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.copyright {
    opacity: 0.8;
    font-size: 12px;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .banner-inner {
        flex-direction: column;
        text-align: center;
    }

    .banner-img {
        margin-top: 40px;
        height: auto;
        width: 100%;
    }

    .mockup {
        width: 240px;
        height: 426px; /* 手机端 9:16 */
        margin: 0 auto;
    }

    .decor-circle {
        width: 300px;
        height: 300px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .card {
        padding: 20px 10px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .card h4 {
        font-size: 15px;
    }
    
    .card p {
        font-size: 12px;
    }

    .showcase-box {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }
    
    .showcase-info .pros li {
        justify-content: center;
    }
}
