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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* 导航栏 */
header {
    background-color: rgba(255, 255, 255, 0);
    box-shadow: 0 2px 10px rgba(0,0,0,0);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: 80px;
    display: flex;
    align-items: center;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    width: 100%;
}

.logo img {
    width: 101px;
    height: 44px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-left: 64px;
    margin-right: 64px;
    flex-grow: 1;
    justify-content: flex-end;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.1s, box-shadow 0.1s;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    position: relative;
    padding-bottom: 10px;
}

.nav-links a:hover {
    color: #2d70ee;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #2d70ee;
    transition: width 0.1s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* 滚动后的导航栏样式 */
.nav-scrolled .nav-links a {
    color: #333 !important;
    text-shadow: none !important;
}

.nav-scrolled .nav-links a:hover {
    color: #2d70ee !important;
}

.contact-info {
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* 英雄区域 */
.hero {
    height: 680px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
    padding-top: calc(4rem + 178px);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 680px;
    object-fit: cover;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
    display: inline-block;
}

.hero p {
    font-size: 32px;
    margin-bottom: 0;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    white-space: nowrap;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(to bottom, #27BBFF 0%, #0846D4 100%);
    color: #fff;
    border: none;
    width: 200px;
    height: 48px;
    border-radius: 24px;
    font-size: 24px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    z-index: 1;
    margin-top: 32px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary:hover {
    background: linear-gradient(to bottom, #27BBFF 0%, #0846D4 100%);
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0px 2.5rem;
    background-color: transparent;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
    padding: 0px 8px;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.4);
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0;
}

.stat-label {
    display: block;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-top: 6px;
}

/* 专注物流场景 */
.focus-section {
    padding: 64px 0 64px;
    text-align: center;
}

.focus-subtitle {
    color: #909399;
    font-size: 24px;
    font-weight: normal;
    margin-top: 4px;
    margin-bottom: 56px;
}

.focus-section h2 {
    font-size: 40px;
    margin-bottom: 0;
    color: #333;
}

.focus-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.focus-card {
    background: #EFF6FF;
    border-radius: 10px;
    padding: 0;
    box-shadow: none;
    transition: transform 0.3s;
    width: 282px;
    height: 417px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: none !important;
}

.card-detail {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(45, 112, 238, 0.9), rgba(45, 112, 238, 0.7));
    padding: 1rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.focus-card:hover .card-detail {
    transform: translateY(0);
}

.detail-button {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 500;
    display: block;
    width: 100%;
    padding: 0.5rem 0;
    border-radius: 4px;
    transition: none;
}

.detail-button:hover {
    background-color: transparent;
}

.card-icon {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    margin-top: auto;
    padding-bottom: 0;
    margin-bottom: 0;
}

.card-icon img {
    width: 240px;
    height: 224px;
    margin: 0;
    padding: 0;
    display: block;
    transition: transform 0.3s ease;
}

.focus-card:hover .card-icon img {
    transform: scale(1.2);
}

.focus-card h3 {
    font-size: 32px;
    font-weight: bold;
    margin-top: 38px;
    margin-bottom: 14px;
    color: #333;
}

.focus-card p {
    color: #606266;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
    width: 220px;
    margin-left: auto;
    margin-right: auto;
}

/* 我们的平台 */
.platform-section {
    background: url('picture/platform.png') no-repeat center center;
    background-size: cover;
    padding: 64px 0 64px;
    color: #fff;
    text-align: center;
    height: 600px;
}

.platform-section h2 {
    font-size: 40px;
    margin-bottom: 4px;
    color: #303133;
}

.platform-subtitle {
    font-size: 24px;
    color: #909399;
    margin-bottom: 64px;
    text-align: center;
}

.platform-features {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    width: 1200px;
    margin: -6px auto 0;
    padding: 0;
    gap: 1rem;
}

.platform-feature {
    width: 160px;
    min-width: 160px;
    height: 320px;
    border-radius: 16px;
    padding: 1.5rem 24px;
    transition: width 0.3s;
    background: #ffffff;
    position: relative;
    overflow: hidden;
    color: #333;
}

.platform-feature:first-child {
    width: 360px;
    color: #333;
}



.platform-feature h3 {
    font-size: 28px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    color: #303133;
}

.platform-feature p {
    font-size: 20px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    color: #666;
}

.platform-feature-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    z-index: 0;
}



/* 我们的优势 */
.advantages-section {
    padding-top: 3rem;
    padding-bottom: 64px;
    text-align: center;
}

.advantages-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.advantages-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.advantages-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 88px;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
    position: relative;
}

.advantages-grid::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 4px;
    background-color: #EBEEF4;
    z-index: 1;
}

.advantage-item {
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2;
}

.advantage-item:hover .advantage-icon img {
    animation: bounce 1s cubic-bezier(0.28, 0.84, 0.42, 1);
}

@keyframes bounce {
    0% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-15px);
    }
    45% {
        transform: translateY(3px);
    }
    65% {
        transform: translateY(-8px);
    }
    80% {
        transform: translateY(2px);
    }
    90% {
        transform: translateY(-4px);
    }
    100% {
        transform: translateY(0);
    }
}

.advantage-item.active {
    color: #0066cc;
}

.advantage-item.active::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background-color: #2d70ee;
    z-index: 3;
    animation: growFromLeft 0.5s ease forwards;
}

@keyframes growFromLeft {
    0% {
        width: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    100% {
        width: 200px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.advantage-icon {
    margin-bottom: 12px;
}

.advantage-icon img {
    width: 59px;
    height: 57px;
}

.advantage-item h3 {
    color: #333;
    font-size: 28px;
    font-weight: 500;
    transform: translateY(-4px);
    margin: 0;
}

.advantage-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 26px 1rem 0;
}

.advantage-content {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 1000px;
    margin: 0 auto;
}

.advantage-content.active {
    display: flex;
}

.advantage-list {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.advantage-list ul {
    list-style: none;
    padding: 0;
    padding-bottom: 0;
    display: inline-block;
    text-align: left;
    height: auto;
    max-width: 100%;
}

.advantage-list li {
    margin-bottom: 12px;
    position: relative;
    color: #2d70ee;
    font-weight: bold;
    font-size: 24px;
    display: flex;
    align-items: center;
    line-height: 35px;
}

.advantage-list li.advantage-description {
    font-weight: normal;
    color: #606266;
    font-size: 20px;
    margin-left: 40px;
    margin-bottom: 40px;
    line-height: 35px;
}

.advantage-list li.advantage-description:last-child {
    margin-bottom: 0;
}

.checkmark {
    width: 28px;
    height: 28px;
    margin-right: 12px;
    vertical-align: middle;
    display: inline-block;
}

.advantage-image {
    width: 515px;
    height: 330px;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 4px solid transparent;
    background: linear-gradient(white, white) padding-box, linear-gradient(180deg, rgba(0, 174, 255, 0.5) 0%, #2D70EE 54%, rgba(0, 174, 255, 0.5) 100%) border-box;
}

/* 关于我们 */
.about-section {
    padding: 64px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: #ffffff;
}

.about-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    color: #333;
    position: relative;
    z-index: 3;
    padding: 0 2rem;
}

.about-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 0;
    position: relative;
    z-index: 3;
    padding: 0 2rem;
}

.about-container {
    max-width: 1200px;
    margin: -30px auto 0;
    padding: 3rem 432px 30px 32px;
    position: relative;
    background-image: url('picture/aboutus.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    overflow: hidden;
    height: 544px;
}

.about-text {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 22px;
    box-shadow: 0 4px 20px rgba(0, 102, 204, 0.1);
    position: absolute;
    bottom: 30px;
    left: 32px;
    z-index: 2;
    max-width: 748px;
    height: auto;
    display: inline-block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.about-text p {
    margin: 0;
    line-height: 36px;
    font-size: 20px;
    color: #333;
    text-align: left;
    width: 656px;
}



/* 合作伙伴 */
.partners-section {
    padding: 64px 0;
    text-align: center;
    background-color: #F3F6FA;
}

.partners-section h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.partners-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(224px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.partner-logo {
    background: #ffffff;
    border-radius: 8px;
    padding: 0;
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-2px);
}

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

/* 页脚 */
footer {
    background: #333;
    color: #fff;
    padding: 1rem 0;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #ccc;
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    color: #ccc;
    font-size: 0.9rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    height: calc(100% - 4px);
}

.footer-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.footer-info p {
    margin: 0;
    position: relative;
    color: #ccc;
}

.footer-info p:not(:last-child)::after {
    content: '|';
    margin-left: 20px;
    margin-right: 20px;
    color: #ccc;
}

.footer-address {
    margin: 0;
    color: #ccc;
}

/* 悬浮侧边栏 */
.floating-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background-color: #fff;
    border-radius: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 80px;
    height: 240px;
    overflow: hidden;
}

.sidebar-item {
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    width: 80px;
    height: 80px;
}

.sidebar-item:hover {
    color: white;
    background-color: #2d70ee;
}

.sidebar-item:hover .sidebar-icon img[src="picture/service.png"] {
    content: url('picture/whiteservice.png');
}

.sidebar-item:hover .sidebar-icon img[src="picture/mini.png"] {
    content: url('picture/whitemini.png');
}

.sidebar-item:hover .sidebar-icon img[src="picture/woa.png"] {
    content: url('picture/whitewoa.png');
}

.sidebar-icon {
    font-size: 24px;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-label {
    font-size: 14px;
    text-align: center;
    font-weight: 500;
}

/* 弹窗内容 */
.sidebar-popups {
    position: fixed;
    right: 116px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.popup {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px;
    position: absolute;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.popup::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.popup h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.popup p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.popup-qr img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.popup-qr p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* 显示弹窗 */
/* 由JavaScript控制弹窗显示/隐藏 */

/* 定位各个弹窗 */
#customer-service {
    padding: 0;
    width: auto;
    height: auto;
}

#customer-service .popup-qr img {
    width: 90%;
    height: 90%;
    display: block;
    margin: 5% auto;
}

#mini-program {
    padding: 0;
    width: auto;
    height: auto;
}

#mini-program .popup-qr img {
    width: 90%;
    height: 90%;
    display: block;
    margin: 5% auto;
}

#wechat {
    padding: 0;
    width: auto;
    height: auto;
}

#wechat .popup-qr img {
    width: 90%;
    height: 90%;
    display: block;
    margin: 5% auto;
}

/* 咨询模态弹窗 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #2d70ee;
    border-radius: 20px;
    width: 458px;
    height: 758px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.modal-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 0;
}

.modal-header {
    text-align: center;
    background-color: transparent;
    color: white;
    position: relative;
    z-index: 2;
    display: block;
    padding: 0;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
}

.modal-header-image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
}

.modal-body {
    background-color: rgba(240, 248, 255, 0.85);
    padding: 30px 20px;
    border-radius: 16px;
    position: relative;
    width: 418px;
    height: 560px;
    margin: 0 auto 20px;
    z-index: 2;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-header h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.modal-badge {
    background-color: #ff9900;
    color: white;
    padding: 10px 30px;
    border-radius: 25px;
    display: inline-block;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
    transform: rotate(-2deg);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.modal-close:hover {
    background-color: rgba(255,255,255,0.2);
}



.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    color: #303133;
    transition: border-color 0.3s;
    background-color: white;
}

.form-group textarea {
    font-weight: 500;
    color: #303133;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    font-weight: normal;
    color: #909399;
}

.form-group.required label::before {
    content: '*';
    color: #ff0000;
    margin-right: 5px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 2px rgba(0,102,204,0.2);
}

.form-group textarea {
    resize: none;
    height: 100px;
}

.error-message {
    color: #ff0000;
    font-size: 12px;
    display: none;
    position: absolute;
    left: 104px;
    top: 3px;
    white-space: nowrap;
}

.submit-btn {
    width: 100%;
    background-color: #ff9900;
    color: white;
    border: none;
    padding: 11px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

.submit-btn:hover {
    background-color: #e68a00;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .advantage-details {
        flex-direction: column;
        text-align: center;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}