/* 首页样式 - 独立样式，不依赖主题变量 */

/* 覆盖主题的所有父级容器 - 强制全宽 */
body.page-template-aerocore_child_page_homepage {
    overflow-x: hidden !important;
}

body.page-template-aerocore_child_page_homepage .site,
body.page-template-aerocore_child_page_homepage .site-wrapper,
body.page-template-aerocore_child_page_homepage .site-content-wrapper,
body.page-template-aerocore_child_page_homepage .site-content,
body.page-template-aerocore_child_page_homepage .page-container,
body.page-template-aerocore_child_page_homepage .child-page,
body.page-template-aerocore_child_page_homepage .child-page__body,
body.page-template-aerocore_child_page_homepage .child-page__main,
body.page-template-aerocore_child_page_homepage .entry-content,
body.page-template-aerocore_child_page_homepage .page-content {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* 全宽容器 */
#homepage-fullwidth {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    left: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Reset */
.homepage-page {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background: transparent !important;
}

.homepage-page *,
.homepage-page *::before,
.homepage-page *::after {
    box-sizing: border-box;
}

/* 全局容器 */
.homepage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 隐藏主题的 footer */
.homepage-page ~ .site-footer,
body.page-template-homepage .site-footer {
    display: none !important;
}

/* Hero 区域 */
.homepage-hero {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* 幻灯片容器 */
.homepage-hero__slides {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.homepage-hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.homepage-hero__slide.active {
    opacity: 1;
    z-index: 1;
}

.homepage-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 58, 95, 0.8);
    z-index: 2;
}

.homepage-hero__content {
    position: absolute;
    z-index: 3;
    left: 20%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 550px;
    text-align: left;
}

/* 幻灯片指示器 */
.homepage-hero__indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 4;
}

.homepage-hero__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.homepage-hero__indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* 导航按钮 */
.homepage-hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s ease;
}

.homepage-hero__nav:hover {
    background: rgba(255, 255, 255, 0.4);
}

.homepage-hero__nav--prev {
    left: 20px;
}

.homepage-hero__nav--next {
    right: 20px;
}

.homepage-hero__title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.homepage-hero__subtitle {
    font-size: 18px;
    margin: 0 0 24px;
    opacity: 0.9;
    line-height: 1.6;
}

.homepage-hero__btns {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.homepage-hero__btn {
    display: inline-block;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.homepage-hero__btn--primary {
    background: #fff;
    color: #1e3a5f;
}

.homepage-hero__btn--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.homepage-hero__btn:hover {
    transform: translateY(-2px);
}

/* 配送行业难点 */
.homepage-painpoints {
    padding: 80px 0;
    background: #f8f9fa;
}

.homepage-painpoints__title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 12px;
}

.homepage-painpoints__subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 48px;
}

.homepage-painpoints__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.homepage-painpoints__item {
    background: #fff;
    padding: 32px 24px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.homepage-painpoints__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #2d5a87;
}

.homepage-painpoints__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #2d5a87 0%, #1e3a5f 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.homepage-painpoints__icon svg {
    width: 32px;
    height: 32px;
}

/* 彩色图标 */
.homepage-painpoints__icon--orange {
    background: linear-gradient(135deg, #ff9a56 0%, #ff6b35 100%);
}

.homepage-painpoints__icon--green {
    background: linear-gradient(135deg, #56c596 0%, #2ecc71 100%);
}

.homepage-painpoints__icon--blue {
    background: linear-gradient(135deg, #5da4e6 0%, #3498db 100%);
}

.homepage-painpoints__icon--purple {
    background: linear-gradient(135deg, #a855f7 0%, #7c3aed 100%);
}

.homepage-painpoints__icon--red {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.homepage-painpoints__icon--teal {
    background: linear-gradient(135deg, #4ecdc4 0%, #26a69a 100%);
}

.homepage-painpoints__item-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a5f;
    margin-bottom: 12px;
}

.homepage-painpoints__item-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .homepage-painpoints__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .homepage-painpoints__grid {
        grid-template-columns: 1fr;
    }

    .homepage-painpoints__title {
        font-size: 24px;
    }
}

/* 数据统计区域 */
.homepage-stats {
    padding: 40px 0;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 0;
    width: 100%;
}

.homepage-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.homepage-stats__item {
    text-align: center;
}

.homepage-stats__number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 8px;
}

.homepage-stats__label {
    font-size: 14px;
    color: #666;
}

/* 业务流程展示 - 全宽 */
.homepage-process,
.liucheng {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    text-align: center;
    color: #fff;
    margin: 0;
    width: 100%;
}

.homepage-process__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.liucheng .liucheng--show {
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: inline-block;
}

.liucheng .liucheng--show p {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    white-space: nowrap;
}

.homepage-process__desc {
    font-size: 18px;
    margin: 0 0 50px;
    opacity: 0.9;
}

.homepage-process__steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.homepage-process__step {
    flex: 1;
    max-width: 220px;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.homepage-process__step:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
}

.homepage-process__icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.homepage-process__num {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
}

.homepage-process__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.homepage-process__text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 0;
}

.homepage-process__arrow {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.5);
    padding-top: 60px;
    flex-shrink: 0;
}

/* 流程展示文字 */
.homepage-process__show {
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    display: inline-block;
}

.homepage-process__show p {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin: 0;
    white-space: nowrap;
}

/* 通用标题样式 */
.homepage-section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 16px;
    color: #1e3a5f;
}

.homepage-section-title--light {
    color: #fff;
}

.homepage-section-desc {
    font-size: 16px;
    color: #666;
    text-align: center;
    margin: 0 0 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 为什么选择我们 */
.homepage-reasons {
    padding: 80px 0;
    background: #f8f9fa;
    margin: 0;
    width: 100%;
}

.homepage-reasons__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.homepage-reasons__card {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.homepage-reasons__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.homepage-reasons__icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.homepage-reasons__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1e3a5f;
}

.homepage-reasons__desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 功能亮点区域 */
.homepage-highlights {
    padding: 80px 0;
    margin: 0;
    width: 100%;
    background: linear-gradient(135deg, #2d5a87 0%, #1e3a5f 100%);
}

.homepage-highlights__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.homepage-highlights__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.homepage-highlights__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    color: #fff;
    backdrop-filter: blur(10px);
}

.homepage-highlights__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4CAF50;
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    flex-shrink: 0;
}

.homepage-highlights__text {
    font-size: 14px;
    font-weight: 500;
}

/* 核心功能区域 */
.homepage-features {
    padding: 80px 0;
    margin: 0;
    width: 100%;
}

.homepage-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.homepage-features__card {
    text-align: center;
    padding: 32px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.homepage-features__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.homepage-features__icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d5a87, #1e3a5f);
    color: #fff;
    border-radius: 18px;
    font-size: 32px;
}

.homepage-features__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1e3a5f;
}

.homepage-features__desc {
    font-size: 15px;
    color: #666;
    margin: 0 0 12px;
    line-height: 1.6;
}

.homepage-features__detail {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.5;
}

/* 适用场景区域 */
.homepage-scenarios {
    padding: 80px 0;
    background: #f8f9fa;
    margin: 0;
    width: 100%;
}

.homepage-scenarios__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.homepage-scenarios__card {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.homepage-scenarios__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.homepage-scenarios__icon {
    font-size: 48px;
    display: block;
    margin-bottom: 20px;
}

.homepage-scenarios__title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    color: #1e3a5f;
}

.homepage-scenarios__desc {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* 客户评价区域 */
/* 产品解决方案区域 - 标签切换模式 */
.homepage-solutions {
    padding: 80px 0;
    margin: 0;
    width: 100%;
    background: #fff;
}

/* 标签导航 */
.homepage-solutions__tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.homepage-solutions__tab {
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    background: #f5f5f5;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.homepage-solutions__tab:hover {
    background: #e8e8e8;
    color: #333;
}

.homepage-solutions__tab.active {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    color: #fff;
}

/* 内容区域 */
.homepage-solutions__content {
    position: relative;
    min-height: 320px;
}

.homepage-solutions__item {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transition: opacity 0.3s ease;
}

.homepage-solutions__item.active {
    display: flex;
    opacity: 1;
}

/* 图片区域 - 16:9比例 */
.homepage-solutions__image {
    flex: 0 0 40%;
    max-width: 40%;
    position: relative;
}

.homepage-solutions__image::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 比例 */
}

.homepage-solutions__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* 信息区域 */
.homepage-solutions__info {
    flex: 1;
    max-width: 50%;
}

.homepage-solutions__title {
    font-size: 28px;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 20px;
    line-height: 1.3;
}

.homepage-solutions__desc {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

/* 底部波浪效果 */
.homepage-footer-wave {
    position: relative;
    height: 80px;
    margin-top: -20px;
    animation: wave-animation 8s ease-in-out infinite;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' d='M0,0L60,10.7C120,21,240,43,360,48C480,53,600,43,720,37.3C840,32,960,32,1080,37.3C1200,43,1320,53,1380,58.7L1440,64L1440,120L1380,120C1320,120,1200,120,1080,120C960,120,840,120,720,120C600,120,480,120,360,120C240,120,120,120,60,120L0,120Z'%3E%3C/path%3E%3C/svg%3E") no-repeat bottom center;
    background-size: cover;
}

@keyframes wave-animation {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-15px);
        opacity: 0.85;
    }
}

/* 全站 CTA 样式 - 用于主题 footer */
.site-footer-cta {
    background: #22292d;
    text-align: center;
    color: #fff;
    padding: 80px 0;
}

.site-footer-cta__inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-footer-cta__title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 16px;
    color: #fff;
}

.site-footer-cta__desc {
    font-size: 18px;
    margin: 0 0 32px;
    opacity: 0.9;
}

.site-footer-cta__btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.site-footer-cta__btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-footer-cta__btn--primary {
    background: #fff;
    color: #1e3a5f;
}

.site-footer-cta__btn--secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.site-footer-cta__btn:hover {
    transform: translateY(-2px);
}

.site-footer-cta__contact {
    font-size: 14px;
    opacity: 0.9;
}

.site-footer-cta__contact p {
    margin: 6px 0;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .homepage-stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .homepage-reasons__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .homepage-highlights__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .homepage-features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .homepage-scenarios__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .homepage-solutions__item {
        flex-direction: column;
        gap: 20px;
    }
    
    .homepage-solutions__image,
    .homepage-solutions__info {
        max-width: 100%;
    }
    
    .homepage-solutions__title {
        font-size: 22px;
    }
    
    .homepage-partners__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .homepage-hero {
        min-height: 70vh;
    }
    
    .homepage-hero__title {
        font-size: 36px;
    }
    
    .homepage-hero__subtitle {
        font-size: 16px;
    }
    
    .homepage-section-title {
        font-size: 28px;
    }
    
    .homepage-stats {
        padding: 30px 0;
    }
    
    .homepage-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .homepage-stats__number {
        font-size: 28px;
    }
    
    .homepage-reasons,
    .homepage-highlights,
    .homepage-features,
    .homepage-scenarios,
    .homepage-testimonials {
        padding: 60px 0;
    }
    
    .homepage-reasons__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .homepage-highlights__grid {
        grid-template-columns: 1fr;
    }
    
    .homepage-features__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .homepage-scenarios__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .homepage-testimonials__grid {
        grid-template-columns: 1fr;
    }
    
    .homepage-partners {
        padding: 40px 0;
    }
    
    .homepage-partners__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .homepage-cta {
        padding: 60px 0;
    }
    
    .homepage-cta__title {
        font-size: 28px;
    }
    
    .homepage-footer {
        padding: 40px 0;
    }
}
