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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.5;
}

/* Header Styles */
.header-wrapper {
    box-sizing: border-box;
    height: 62px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #151e45;
}

.header-content {
    box-sizing: border-box;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 62px;
    padding: 0 20px;
}

.logo-section {
    cursor: pointer;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo {
    width: 106px;
    height: auto;
    display: block;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Detail Section */
.detail-section {
    padding: 0 0 20px;
    padding-top: 65px; /* Add padding for fixed header */
}

.detail-section .container {
    display: flex;
    justify-content: center;
}

.card {
    background: #fff url('/detail/img/bgDetail.aadab695.png') no-repeat center top;
    background-size: 100% auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    margin-top: 20px;
}

.card-header {
    padding: 40px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.company-logo {
    width: 100px;
    height: 100px;
    margin-right: 15px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 防止在手机端被压缩导致头像变成椭圆 */
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4080ff;
    color: #fff;
    font-size: 50px;
    font-weight: 600;
    border-radius: 50%;
}

.company-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.company-name {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 36px;
}

.auth-badge {
    display: flex;
    align-items: center;
    color: #999;
    font-size: 12px;
    margin-top: 4px;
    line-height: 36px;
}

.auth-badge img {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: middle;
    flex-shrink: 0;
}

.auth-badge span {
    line-height: 1;
}

.card-body {
    padding: 0;
}

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

.info-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 30px;
    /* border-bottom: 1px dashed #f0f0f0; */
}

.info-item:last-child {
    border-bottom: none;
}

.info-icon-box {
    width: 36px;
    height: 36px;
    background-color: #eef4ff;
    color: #4080ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    cursor: pointer !important;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.info-icon-box:hover {
    background-color: #4080ff;
    color: #fff;
    transform: scale(1.1);
}

.info-icon-box:active {
    transform: scale(0.95);
}

.info-detail {
    display: flex;
    align-items: center;
    font-size: 16px;
    flex-wrap: wrap;
}

.info-number {
    font-weight: 500;
    color: #333;
    font-size: 18px;
}

.info-divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background-color: #ddd;
    margin: 0 15px;
}

.info-label {
    color: #999;
    font-size: 14px;
}

.toggle-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 30px;
    text-align: left;
    background: none;
    border: none;
    color: #4080ff;
    font-size: 14px;
    cursor: pointer;
}

.toggle-icon {
    width: 12px;
    height: 12px;
    margin-left: 5px;
    fill: currentColor;
    transition: transform 0.3s;
}

/* Hidden phone numbers */
.info-item.hidden {
    display: none;
}

.toggle-btn.expanded .toggle-icon {
    transform: rotate(180deg);
}

.website-link {
    color: #333;
    word-break: break-all;
}

/* Footer Styles */
.footer {
    background: url('/detail/img/footerBg.png') no-repeat center center;
    background-size: cover;
    color: white;
    /* padding: 62px 0 0; */
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-section {
    /* margin-bottom: 40px; */
    min-width: 180px;
    text-align: left; /* PC端默认左对齐 */
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 28px;
    font-weight: 600;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
}

.footer-section p {
    margin-bottom: 16px;
    cursor: pointer;
    transition: color 0.3s;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.footer-section p:hover {
    color: white;
}

.footer-section p:last-child {
    margin-bottom: 0;
}

.footer-logo {
    width: 160px;
    margin-bottom: 24px;
}

.footer-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.download-images {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.download-img {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.download-img:hover {
    transform: translateX(5px);
}

.download-img img {
    width: 140px;
    height: auto;
    display: block;
}

.qr-code {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    /* margin: 0 auto 12px; */
    overflow: hidden;
    background: white;
    padding: 8px;
    box-sizing: border-box;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-base {
    padding: 24px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-base a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    margin: 0 8px;
    transition: color 0.3s;
}

.footer-base a:hover {
    color: white;
    text-decoration: underline;
}

/* SVG Icons */
.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Responsive */
@media (max-width: 768px) {
    .detail-section {
        background-size: contain;
        background-position: center top;
        min-height: auto;
    }
    
    .detail-section {
        padding-top: 65px; /* 只保留顶部间距（为固定header留空间） */
        padding-bottom: 0; /* 取消底部间距 */
    }
    
    .detail-section .container {
        padding: 0; /* 手机端取消上下间距 */
    }

    .card {
        margin-top: 0; /* 手机端取消顶部间距 */
        box-shadow: none;
        border: 1px solid #f0f0f0;
    }

    .info-item {
        padding: 15px;
    }

    .company-logo {
        height: 100px;
    }

    .footer-content {
        flex-direction: column;
        text-align: left; /* 手机端整体左对齐 */
        display: flex;
        padding: 20px 20px 40px; /* 手机端padding */
    }
    
    .footer-section {
        text-align: left; /* 手机端section内容左对齐 */
        width: 100%;
        margin-top: 20px; /* 手机端上边距 */
    }
    
    .footer-section:first-child {
        margin-top: 0; /* 第一个section不需要上边距（PC端用） */
    }
    
    .footer-section h3 {
        text-align: left; /* 手机端标题左对齐 */
    }

    /* 手机端：隐藏友情链接 */
    .footer-links-section {
        display: none;
    }

    /* 手机端：调整section的顺序 */
    .footer-about-section {
        order: 1; /* 关于我们 - 第一个 */
        margin-top: 0; /* 手机端第一个显示的section不需要上边距 */
    }
    
    .footer-support-section {
        order: 2; /* 支持与服务 - 第二个 */
    }
    
    .footer-logo-section {
        order: 3; /* logo section - 第三个，放到支持与服务后面 */
        margin-top: 20px !important; /* 手机端上间距20px */
    }
    
    .footer-qrcode-section {
        order: 4; /* 关注羽乐科技 - 第四个 */
    }

    .footer-links-col {
        flex-direction: column;
        align-items: flex-start; /* 改为左对齐 */
    }

    .footer-col {
        margin-bottom: 30px;
    }

    .footer-logo-col {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* 改为左对齐 */
    }

    .app-downloads {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .app-btn {
        width: 130px;
    }
    
    .footer-copyright {
        padding-top: 15px;
        margin-top: 15px;
    }
    
    .footer-copyright p {
        font-size: 11px;
    }
}

