/* 主页专用样式 - 不影响其他页面 */

/* 顶部标语横幅 */
.home-page .top-banner {
    background: #ffffff;
    padding: 35px 2%;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #e2e8f0;
}

.home-page .top-banner-content {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-page .top-banner-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.home-page .banner-title {
    font-size: 44px;
    font-weight: 900;
    color: #1e293b;
    margin: 0;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-page .banner-features {
    display: flex;
    gap: 30px;
    margin-left: 80px;
}

.home-page .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.home-page .feature-icon {
    width: 280px;
    height: 96px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.home-page .feature-item:hover .feature-icon {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.home-page .feature-icon svg {
    width: 52px;
    height: 26px;
}

.home-page .feature-icon.blue {
    color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-color: rgba(59, 130, 246, 0.2);
}

.home-page .feature-icon.orange {
    color: #f97316;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.15) 0%, rgba(249, 115, 22, 0.05) 100%);
    border-color: rgba(249, 115, 22, 0.2);
}

.home-page .feature-icon.cyan {
    color: #06b6d4;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-color: rgba(6, 182, 212, 0.2);
}

.home-page .feature-icon.red {
    color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-color: rgba(239, 68, 68, 0.2);
}

.home-page .top-banner-right {
    display: flex;
    align-items: center;
}

.home-page .banner-btn {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
    transition: all 0.3s ease;
}

.home-page .banner-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 35px rgba(249, 115, 22, 0.5);
    text-decoration: none;
    color: #ffffff;
}

.home-page .full-width-banner {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-page .full-width-banner .hp-slide-promotion {
    width: 100% !important;
    max-width: 1800px;
    height: auto !important;
    margin: 0 auto !important;
    overflow: hidden;
}

.home-page .full-width-banner .hp-slide-promotion .j-sw-clip {
    width: 100% !important;
    max-width: 1800px;
    height: auto !important;
    border: none;
}

.home-page .full-width-banner .hp-slide-promotion .j-sw-c li {
    width: 100% !important;
    height: auto !important;
}

.home-page .full-width-banner .hp-slide-promotion .j-sw-c li img {
    width: 100% !important;
    height: 320px !important;
    object-fit: cover;
}

/* 功能特性区域 */
.home-page .feature-section {
    background: linear-gradient(to right, #1a365d, #2c5282);
    padding: 20px 0;
    margin-bottom: 25px;
}

.home-page .feature-container {
    width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}

.home-page .feature-section .feature-item-inner {
    flex: 1;
    display: flex;
    align-items: flex-start;
    padding: 0 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.home-page .feature-section .feature-item-inner:last-child {
    border-right: none;
}

.home-page .feature-section .feature-icon-inner {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.home-page .feature-icon-inner img {
    width: 28px;
    height: 28px;
}

.home-page .feature-content {
    flex: 1;
}

.home-page .feature-title {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 6px;
}

.home-page .feature-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* 产品套餐区域 */
.home-page .product-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.home-page .product-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
}

.home-page .product-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.home-page .product-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.home-page .product-subtitle {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.home-page .product-container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    padding: 0 2%;
    position: relative;
    z-index: 1;
}

.home-page .product-card {
    padding: 30px;
    border-radius: 16px;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-page .product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.3);
}

.home-page .product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    transform: rotate(45deg);
    transition: all 0.4s ease;
}

.home-page .product-card:hover::before {
    right: -20%;
}

.home-page .product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.home-page .product-card.blue {
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #1e1b4b 100%);
}

.home-page .product-card.purple {
    background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 50%, #4c1d95 100%);
}

.home-page .product-card.green {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #047857 100%);
}

.home-page .product-card.orange {
    background: linear-gradient(135deg, #b45309 0%, #d97706 50%, #92400e 100%);
}

.home-page .product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.home-page .product-card-title {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.home-page .product-card-duration {
    font-size: 12px;
    opacity: 0.85;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
}

.home-page .product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.home-page .product-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    font-size: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-page .product-card-actions {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.home-page .product-btn {
    width: 110px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.home-page .product-btn.primary {
    background-image: linear-gradient(to right, #f44336, #e57373);
    color: #fff;
}

.home-page .product-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}

.home-page .product-btn.secondary {
    background-image: linear-gradient(to right, #3c90ff, #54b6ff);
    color: #fff;
}

/* 网络节点区域 */
.home-page .network-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.home-page .network-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23e8f0fe' d='M0,64L60,69.3C120,75,240,85,360,80C480,75,600,53,720,48C840,43,960,53,1080,58.7C1200,64,1320,64,1380,64L1440,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;
}

.home-page .network-container {
    width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.home-page .network-content {
    flex: 1;
    padding-right: 40px;
}

.home-page .network-header {
    text-align: center;
    margin-bottom: 35px;
}

.home-page .network-title {
    font-size: 26px;
    font-weight: bold;
    color: #1a365d;
    margin-bottom: 12px;
}

.home-page .network-subtitle {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.home-page .network-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.home-page .network-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.home-page .network-icon.blue {
    background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
}

.home-page .network-icon.green {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%);
}

.home-page .network-icon.pink {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.home-page .network-icon.orange {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.home-page .network-icon img {
    width: 24px;
    height: 24px;
}

.home-page .network-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.home-page .network-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.home-page .network-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-page .network-list li::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.home-page .network-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home-page .network-visual img {
    max-width: 420px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* 应用场景区域 */
.home-page .scenarios-section {
    background: linear-gradient(135deg, #ccfbf1 0%, #e0f2fe 100%);
    padding: 60px 2%;
    width: 100%;
    box-sizing: border-box;
}

.home-page .scenarios-header {
    text-align: center;
    margin-bottom: 50px;
}

.home-page .scenarios-header h2 {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 15px;
}

.home-page .scenarios-header p {
    font-size: 18px;
    color: #64748b;
    margin: 0;
}

.home-page .scenarios-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.home-page .scenario-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.home-page .scenario-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
}

.home-page .scenario-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 249, 255, 0.9) 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.15);
}

.home-page .scenario-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 15px;
}

.home-page .scenario-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

/* ===== 首页专用布局样式 ===== */
/* 注：基础布局样式由全局样式和响应式媒体查询控制，此处仅保留首页特有样式 */
/* 首页body和html宽度 - 不再使用:has()选择器，避免影响其他页面 */
/* 移除这些全局样式，通过JavaScript在首页动态设置 */

/* ========== 首页响应式适配 - 平板端 ========== */
@media (max-width: 1024px) {
    .home-page .top-banner {
        padding: 25px 2%;
    }

    .home-page .top-banner-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .home-page .banner-features {
        margin-left: 0;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .home-page .feature-item {
        font-size: 14px;
    }

    .home-page .feature-icon {
        width: 140px;
        height: 60px;
    }

    .home-page .banner-title {
        font-size: 32px;
    }

    .home-page .feature-container {
        width: 100%;
        flex-wrap: wrap;
    }

    .home-page .feature-section .feature-item-inner {
        flex: 1 1 50%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding: 15px;
        box-sizing: border-box;
    }

    .home-page .feature-section .feature-item-inner:nth-child(2n) {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }

    .home-page .feature-section .feature-item-inner:last-child {
        border-bottom: none;
    }

    .home-page .product-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .network-container {
        width: 100%;
        flex-direction: column;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .home-page .network-content {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .home-page .network-visual img {
        max-width: 100%;
    }

    .home-page .scenarios-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .home-page .scenarios-header h2 {
        font-size: 28px;
    }
}

/* ========== 首页响应式适配 - 手机端 ========== */
@media (max-width: 768px) {
    .home-page .top-banner {
        padding: 20px 15px;
    }

    .home-page .banner-title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .home-page .banner-features {
        gap: 10px;
    }

    .home-page .feature-item {
        font-size: 12px;
        gap: 8px;
    }

    .home-page .feature-icon {
        width: 80px;
        height: 50px;
        border-radius: 12px;
    }

    .home-page .feature-icon svg {
        width: 36px;
        height: 18px;
    }

    .home-page .banner-btn {
        font-size: 16px;
        padding: 12px 36px;
    }

    .home-page .feature-section {
        padding: 15px 0;
        margin-bottom: 15px;
    }

    .home-page .feature-section .feature-item-inner {
        flex: 1 1 100%;
        border-left: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .home-page .feature-section .feature-item-inner:last-child {
        border-bottom: none;
    }

    .home-page .feature-section .feature-icon-inner {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .home-page .feature-icon-inner img {
        width: 22px;
        height: 22px;
    }

    .home-page .feature-title {
        font-size: 14px;
    }

    .home-page .feature-desc {
        font-size: 11px;
    }

    .home-page .product-section {
        padding: 30px 0;
        margin-bottom: 15px;
    }

    .home-page .product-header {
        margin-bottom: 25px;
        padding: 0 15px;
    }

    .home-page .product-title {
        font-size: 22px;
        letter-spacing: 1px;
    }

    .home-page .product-subtitle {
        font-size: 13px;
    }

    .home-page .product-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 15px;
    }

    .home-page .product-card {
        padding: 20px;
    }

    .home-page .product-card-title {
        font-size: 18px;
    }

    .home-page .product-tags {
        gap: 8px;
        margin-bottom: 18px;
    }

    .home-page .product-tag {
        font-size: 11px;
        padding: 5px 10px;
    }

    .home-page .product-btn {
        width: 100px;
        height: 34px;
        line-height: 34px;
        font-size: 13px;
    }

    .home-page .network-section {
        padding: 30px 0;
        margin-bottom: 15px;
    }

    .home-page .network-container {
        padding: 0 15px;
    }

    .home-page .network-header {
        margin-bottom: 25px;
    }

    .home-page .network-title {
        font-size: 20px;
    }

    .home-page .network-subtitle {
        font-size: 13px;
    }

    .home-page .network-icons {
        gap: 12px;
        margin-bottom: 20px;
    }

    .home-page .network-icon {
        width: 40px;
        height: 40px;
    }

    .home-page .network-icon img {
        width: 20px;
        height: 20px;
    }

    .home-page .network-list li {
        font-size: 13px;
        padding: 8px 0 8px 25px;
    }

    .home-page .network-list li::before {
        width: 16px;
        height: 16px;
    }

    .home-page .network-list li::after {
        left: 4px;
        width: 5px;
        height: 5px;
    }

    .home-page .scenarios-section {
        padding: 30px 15px;
    }

    .home-page .scenarios-header {
        margin-bottom: 30px;
    }

    .home-page .scenarios-header h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .home-page .scenarios-header p {
        font-size: 14px;
    }

    .home-page .scenarios-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .home-page .scenario-card {
        padding: 25px 20px;
        border-radius: 16px;
    }

    .home-page .scenario-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 18px;
    }

    .home-page .scenario-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .home-page .scenario-card p {
        font-size: 13px;
        line-height: 1.6;
    }

    .home-page #hd {
        min-width: auto !important;
    }

    .home-page .container,
    .home-page .w980,
    .home-page .hd-qbar-inner,
    .home-page .hd-main,
    .home-page .hd-menu-con,
    .home-page .main-content,
    .home-page .promotionGoodsCont,
    .home-page .flashSaleWrap {
        padding: 0 12px !important;
    }
}

/* ========== 小屏手机适配 ========== */
@media (max-width: 480px) {
    .home-page .banner-title {
        font-size: 20px;
    }

    .home-page .feature-icon {
        width: 65px;
        height: 42px;
    }

    .home-page .feature-icon svg {
        width: 28px;
        height: 14px;
    }

    .home-page .banner-btn {
        font-size: 14px;
        padding: 10px 28px;
    }

    .home-page .product-title {
        font-size: 20px;
    }

    .home-page .product-card {
        padding: 16px;
    }

    .home-page .product-card-title {
        font-size: 16px;
    }

    .home-page .scenarios-header h2 {
        font-size: 20px;
    }
}

