/* 全局样式重置 */
:root {
    --primary-color: #1678FF;
    --primary-hover: #0056D3;
    --primary-light: #4A90FF;
    --primary-dark: #0043A8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
 
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 主要内容区域 */
.main {
    margin-top: 80px;
    flex: 1;
}

/* 页面整体布局 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-content {
    display: none;
    padding: 0rem 0;
}

.page-content.active {
    display: block;
}

/* 首页样式 */
.home-content {
    gap: 2rem;
    align-items: center;
    padding: 0 0 2rem 0;
}

/* 通用章节标题 */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 3rem 0 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* 数据统计区域 */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 3rem 0;
    margin: 2rem calc(50% - 50vw);
    width: 100vw;
    color: #fff;
}

.stats-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 核心优势区域 */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

.feature-icon.shield {
    background: linear-gradient(135deg, #FF6B6B, #EE5253);
}
.feature-icon.shield::after { content: '🛡️'; }

.feature-icon.rocket {
    background: linear-gradient(135deg, #48DBFB, #0ABDE3);
}
.feature-icon.rocket::after { content: '🚀'; }

.feature-icon.wallet {
    background: linear-gradient(135deg, #1DD1A1, #10AC84);
}
.feature-icon.wallet::after { content: '💰'; }

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* 服务流程区域 */
.process-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 1rem;
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(22, 120, 255, 0.1);
    margin-bottom: -1.5rem;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.process-step p {
    color: #666;
    font-size: 0.9rem;
}

/* Apps Section Styles */
.apps-section {
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 3rem;
}

.apps-carousel {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding: 1rem 0.5rem 2rem;
    justify-content: center; /* Dynamic via JS, but default here */
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) #f0f0f0;
}

.apps-carousel::-webkit-scrollbar {
    height: 8px;
}

.apps-carousel::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.apps-carousel::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.apps-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.app-card {
    flex: 0 0 280px;
    background: #fff;
    border-radius: 20px; /* Softer corners */
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.05);
    scroll-snap-align: center;
    position: relative;
    overflow: hidden;
}

.app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: transparent;
}

.app-card:hover::before {
    opacity: 1;
}

.app-icon-block {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 10px 20px rgba(22, 120, 255, 0.25);
}

.app-icon-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.app-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.2rem;
}

.app-desc {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8em; /* Adjusted for better spacing */
    opacity: 0.8;
}

.app-download {
    margin-top: auto;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(22, 120, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.app-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(22, 120, 255, 0.4);
}

/* Partners Section */
.partners-section {
    max-width: 1200px;
    margin: 3rem auto 5rem;
    padding: 0 20px;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-item {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 150px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.brand-section {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    position: relative;
}

.app-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
}

.app-icon::after {
    content: '';
    position: absolute;
    font-size: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-description {
    margin-bottom: 2rem;
}

.tagline {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.scope-list {
    list-style: none;
    text-align: left;
    margin-top: 1rem;
}
.scope-list li {
    color: #666;
    margin-bottom: 0.6rem;
    padding-left: 1.2rem;
    position: relative;
}
.scope-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.scope-group {
    margin-top: 1rem;
}
.scope-group h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.download-section {
    margin-top: 1.5rem;
}

.download-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.download-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(22, 120, 255, 0.3);
}

.download-icon {
    font-size: 1rem;
}

.version-info {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.8;
}

.terms {
    color: var(--primary-color);
    cursor: pointer;
}

.terms-link {
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 10px;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.terms-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* 手机展示区域 */
.phone-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 70vh;
    margin: 0 auto;
}

.phone-mockup img {
    width: 90%;
    height: 95%;
    object-fit: contain;
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border-radius: 35px;
    padding: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    position: relative;
    border: 3px solid #333;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #444;
    border-radius: 3px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-light), var(--primary-color));
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-light), var(--primary-color));
    position: relative;
}

.screen-content {
    position: absolute;
    top: 20px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    font-size: 0.85rem;
    color: #fff;
    line-height: 1.8;
    font-weight: 500;
}
.screen-content h4 {
    margin-bottom: 0.5rem;
}
.screen-content ul {
    list-style: none;
}
.screen-content li::before {
    content: '•';
    margin-right: 6px;
}

/* 关于我们页面 */
.about-content {
    padding-top: 1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    /* background: #f8f9fa; */
    padding: 2.5rem;
    border-radius: 15px;
    /* box-shadow: 0 5px 20px rgba(0,0,0,0.05); */
}

/* 服务中心页面 */
.service-content {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
}

.service-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
}

.service-intro {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-card {
    background: #fff;
    padding: 1.75rem 1.25rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-icon-1 {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
}

.service-icon-1::after {
    content: '📦';
}

.service-icon-2 {
    background: linear-gradient(135deg, #48dbfb, #0abde3);
}

.service-icon-2::after {
    content: '👥';
}

.service-icon-3 {
    background: linear-gradient(135deg, #ff9ff3, #f368e0);
}

.service-icon-3::after {
    content: '💼';
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    color: #666;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: '•';
    color: #ff4757;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 联系我们页面 */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.company-info {
    text-align: center;
    margin-bottom: 3rem;
}

.company-name {
    font-size: 1.1rem;
    color: #666;
    font-weight: 500;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.phone-icon {
    background: linear-gradient(135deg, #ff4757, #ff6b7a);
}

.phone-icon::after {
    content: '📞';
}

.time-icon {
    background: linear-gradient(135deg, #5352ed, #7bed9f);
}

.time-icon::after {
    content: '🕒';
}

.location-icon {
    background: linear-gradient(135deg, #70a1ff, #5352ed);
}

.location-icon::after {
    content: '📍';
}

/* 页脚样式 */
.footer {
    background: #f8f9fa;
    padding: 1.5rem 0;
    margin-top: auto;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.footer-left p {
    font-weight: 600;
    color: #333;
}

.footer-right {
    text-align: center;
}

.footer-right p {
    color: #666;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.copyright {
    font-size: 0.8rem !important;
    color: #999 !important;
}

.icp-link {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.icp-link:hover {
    color: #ff4757;
    border-bottom-color: #ff4757;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .nav-menu ul {
        gap: 1rem;
    }
    
    .nav-link {
        padding: 0.3rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .home-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        min-height: 70vh;
    }
    
    .phone-mockup {
        height: 60vh;
    }
    
    .phone-mockup img {
        width: 80%;
        height: 90%;
    }
    
    .brand-logo h2 {
        font-size: 2.5rem;
    }
    
    .phone-frame {
        width: 250px;
        height: 500px;
    }
    
    .phone-mockup {
        height: 55vh;
    }
    
    .phone-mockup img {
        width: 75%;
        height: 85%;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .main {
        margin-top: 120px;
    }
    
    .page-content {
        padding: 0rem 0;
    }
    
    .brand-logo {
        flex-direction: column;
        text-align: center;
    }
    
    .brand-logo h2 {
        font-size: 2rem;
    }
    
    .phone-frame {
        width: 200px;
        height: 400px;
    }
    
    .about-text,
    .service-card {
        padding: 2rem 1.5rem;
    }
}
.scope-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.company-intro {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}
.company-info-line {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}
.edge-image {
    display: block;
    margin: 0;
    width: calc(100% + 40px);
    margin-left: -20px;
    height: auto;
}

@media (max-width: 768px) {
    .edge-image {
        width: calc(100% + 30px);
        margin-left: -15px;
    }
}
.left-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
