/* 狐蒂云主题 - 首页样式 */

/* Banner区域 */
.hdy-banner {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
}

.banner-swiper {
    width: 100%;
    height: 100%;
}

.banner-bg {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf3 100%);
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 100px;
    color: #333;
}

.banner-tag {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 20px;
    font-weight: 500;
}

.banner-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a2e;
    letter-spacing: 2px;
}

.banner-subtitle {
    font-size: 15px;
    margin-bottom: 8px;
    color: #555;
    line-height: 1.8;
}

.banner-desc {
    font-size: 14px;
    line-height: 2;
    color: #666;
    margin-bottom: 30px;
    max-width: 500px;
}

.banner-btn {
    display: inline-block;
    padding: 14px 48px;
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}

/* Swiper分页和箭头 */
.banner-swiper .swiper-pagination {
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%);
    max-width: 1400px;
    padding: 0 100px;
    box-sizing: border-box;
    width: 100% !important;
    display: flex !important;
    justify-content: flex-start;
    z-index: 10;
}

.banner-swiper .swiper-pagination-bullet {
    width: 50px;
    height: 3px;
    border-radius: 2px;
    background: rgba(0,0,0,0.15) !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    position: relative;
    overflow: hidden;
}

.banner-swiper .swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: #1e88e5;
}

.banner-swiper .swiper-pagination-bullet-active::before {
    animation: progressBar 5s linear forwards;
}

@keyframes progressBar {
    from { width: 0; }
    to { width: 100%; }
}

.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.banner-swiper .swiper-button-prev:after,
.banner-swiper .swiper-button-next:after {
    font-size: 16px;
    font-weight: 600;
}

/* 快捷入口 */
.hdy-quick-entry {
    background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
    padding: 40px 0;
}

.quick-entry-list {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.quick-entry-item {
    display: flex;
    align-items: center;
    padding: 24px 28px;
    background: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    text-decoration: none;
}

.quick-entry-item:hover {
    box-shadow: 0 8px 24px rgba(24, 144, 255, 0.15);
    transform: translateY(-4px);
}

.entry-icon {
    width: 56px;
    height: 56px;
    margin-right: 16px;
    flex-shrink: 0;
}

.entry-icon img {
    width: 100%;
    height: 100%;
}

.entry-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.entry-desc {
    font-size: 13px;
    color: #999;
}

/* 产品展示区域 */
.hdy-products {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
}

/* 产品Tab */
.product-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.product-tab {
    padding: 12px 24px;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.product-tab:hover {
    color: var(--primary-color);
}

.product-tab.active {
    background: var(--primary-color);
    color: #fff;
}

/* 产品内容 */
.product-content {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.product-panel {
    display: none;
}

.product-panel.active {
    display: block;
}

/* 子区域列表 */
.sub-area-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    background: #f8f9fc;
    border-bottom: 1px solid var(--border-color);
}

.sub-area-item {
    padding: 10px 24px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.sub-area-item:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.sub-area-item.active {
    background: #1890ff;
    border-color: #1890ff;
    color: #fff;
}

.area-tag {
    font-size: 12px;
    padding: 2px 6px;
    background: #ff9800;
    color: #fff;
    border-radius: 2px;
    margin-left: 4px;
}

/* 产品卡片 */
.product-cards {
    padding: 20px;
}

/* 分组描述标题条 */
.group-desc-banner {
    background: linear-gradient(90deg, #1890ff 0%, #40a9ff 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.card-group {
    display: none;
}

.card-group.active {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-card {
    width: calc(33.333% - 14px);
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    border-color: #1890ff;
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    background: #f5f7fa;
    border-bottom: 1px solid #eee;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.card-body {
    padding: 20px;
}

.config-row {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 13px;
}

.config-row:last-child {
    border-bottom: none;
}

.config-label {
    color: var(--text-secondary);
    width: 90px;
    flex-shrink: 0;
}

.config-value {
    color: var(--text-color);
}

.config-value.highlight {
    color: var(--primary-color);
    font-weight: 500;
}

.config-note {
    margin-left: 8px;
    color: var(--text-light);
    font-size: 12px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    background: #fff;
}

.card-price {
    color: #ff6a00;
}

.price-symbol {
    font-size: 14px;
}

.price-value {
    font-size: 26px;
    font-weight: 700;
}

.price-unit {
    font-size: 12px;
    color: #999;
}

.card-btn {
    display: inline-block;
    padding: 8px 32px;
    background: #1890ff;
    color: #fff;
    border-radius: 4px;
    transition: all 0.3s;
}

.card-btn:hover {
    background: #40a9ff;
    color: #fff;
}

/* 禁止声明 */
.hdy-notice {
    padding: 30px 0;
}

.notice-box {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: #fff3e0;
    border: 1px solid #ffe0b2;
    border-radius: 8px;
}

.notice-icon {
    width: 24px;
    height: 24px;
    background: #ff9800;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
}

.notice-content {
    font-size: 13px;
    color: #e65100;
    line-height: 1.8;
}

.notice-content strong {
    color: #bf360c;
}

.no-product {
    text-align: center;
    padding: 60px;
    color: var(--text-light);
}

/* 响应式 */
@media (max-width: 1200px) {
    .product-card {
        width: calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .hdy-banner {
        height: 300px;
    }
    
    .banner-title {
        font-size: 28px;
    }
    
    .quick-entry-list {
        flex-wrap: wrap;
    }
    
    .quick-entry-item {
        width: 50%;
    }
    
    .product-card {
        width: 100%;
    }
}
