/* ============================================
   components.css — Shared Reusable Components
   Hero, Cards, CTA, Stats, Cases, Advantages
   ============================================ */

/* Hero Banner 轮播 */
.hero-section {
    position: relative;
    min-height: 700px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    background: linear-gradient(135deg, #fafbfc 0%, #f0f3f8 50%, #e8eef5 100%);
}

.banner-slide.active {
    opacity: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.diagonal-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.diagonal-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    display: block;
}

.diagonal-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(135deg, transparent 49.5%, rgba(200, 210, 225, 0.15) 49.5%, rgba(200, 210, 225, 0.15) 50.5%, transparent 50.5%),
        linear-gradient(225deg, transparent 49.5%, rgba(200, 210, 225, 0.1) 49.5%, rgba(200, 210, 225, 0.1) 50.5%, transparent 50.5%);
    background-size: 120px 120px;
    pointer-events: none;
}

.soft-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 30%, rgba(0, 102, 204, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 70%, rgba(0, 102, 204, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px 20px;
    text-align: center;
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle .highlight {
    color: var(--text-primary);
    font-weight: 600;
}

/* 产品展示区 - 独立板块 */
.products-section {
    padding: 100px 40px;
    background: var(--gray-light);
}

.products-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.product-module {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.4s ease;
    position: relative;
    min-height: 320px;
}

.product-module:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.product-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.product-content {
    position: relative;
    z-index: 10;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 精彩案例区 */
.cases-section {
    padding: 20px 40px;
    background: var(--gray-light);
}

.section-header {
    max-width: 1400px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

.cases-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.case-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.case-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--gray-medium) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-secondary);
}

.case-info {
    padding: 20px;
}

.case-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.case-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.cases-more {
    text-align: center;
    margin-top: 50px;
}

.more-link {
    display: inline-block;
    padding: 12px 40px;
    background: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.more-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* 行业领域 - 网格式模块化布局 */
.industries-section {
    padding: 20px 40px;
    background: var(--white);
}

.industries-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.industry-module {
    position: relative;
    overflow: hidden;
    min-height: 350px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.industry-module:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: var(--shadow-heavy);
}

.industry-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.industry-module:hover .industry-bg {
    transform: scale(1.1);
}

.industry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(0 102 204 / 10%) 0%, rgba(26, 26, 46, 0.75) 100%);
    transition: background 0.3s ease;
}

.industry-module:hover .industry-overlay {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.95) 0%, rgba(26, 26, 46, 0.85) 100%);
}

.industry-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    color: var(--white);
}

.industry-icon {
    font-size: 40px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.industry-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.industry-desc {
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    line-height: 1.6;
}

.industry-module:hover .industry-desc {
    opacity: 1;
    transform: translateY(0);
}

.industry-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 服务网点 */
.service-section {
    padding: 20px 40px;
    background: var(--gray-light);
}

.service-container {
    max-width: 1400px;
    margin: 0 auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.service-card.main {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
}

.service-card.main .service-title,
.service-card.main .service-phone,
.service-card.main .service-hours {
    color: var(--white);
}

.service-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.service-phone {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.service-hours {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.service-address {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-address-white {
    color: var(--white);
}

.branch-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.branch-card:hover {
    box-shadow: var(--shadow-medium);
}

.branch-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.branch-icon {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
}

.branch-address {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA 区域 */
.cta-section {
    padding: 80px 40px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #2d3748 100%);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-primary {
    background: var(--white);
    color: var(--primary-blue);
    padding: 16px 48px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cta-secondary {
    background: transparent;
    color: var(--white);
    padding: 16px 48px;
    border: 2px solid var(--white);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: var(--white);
    color: var(--dark-blue);
}

/* 友情链接 */
.links-section {
    padding: 40px 40px;
    background: var(--gray-light);
}

.links-container {
    max-width: 1400px;
    margin: 0 auto;
}

.links-header {
    text-align: left;
    margin-bottom: 24px;
}

.links-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.links-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.links-grid {
    display: flex;

        text-align: left;
    gap: 40px;
    flex-wrap: wrap;
}

.link-list {

        text-align: left;
    gap: 20px;
    list-style: none;
}

.link-list a {
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 4px;
}

.link-list a:hover {
    color: var(--primary-blue);
    background: var(--white);
}

/* 页脚 */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 80px 40px 40px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 24px;
    color: var(--white);
}

.footer-section p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

/* 企业愿景区 */
.vision-section {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
    padding: 120px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.vision-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vision-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.3;
}

.vision-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* 品牌介绍区 */
.about-section {
    padding: 100px 40px;
    background: var(--white);
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    padding-right: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 32px;
    position: relative;
    padding-bottom: 20px;
}



.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.about-highlight {
    font-size: 16px;
    line-height: 1.8;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-heavy);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--primary-blue);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.1;
}

/* 经营理念区 */
.values-section {
    padding: 100px 40px;
    background: var(--gray-light);
}

.values-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--gray-medium);
}

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--secondary-blue);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.value-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.value-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 公司环境区 */
.environment-section {
    padding: 100px 40px;
    background: var(--white);
}

.environment-container {
    max-width: 1400px;
    margin: 0 auto;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.environment-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.environment-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.environment-item:hover img {
    transform: scale(1.1);
}

.environment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 30px 20px 20px;
    color: var(--white);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.environment-item:hover .environment-overlay {
    opacity: 1;
}

.environment-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.environment-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

/* 服务网点区 */
.network-section {
    padding: 100px 40px;
    background: var(--gray-light);
}

.network-container {
    max-width: 1400px;
    margin: 0 auto;
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.network-card {
    background: var(--white);
    padding: 30px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-medium);
}

.network-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-blue);
}

.network-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.network-title {
    font-size: 18px;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.network-address {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 统计数据区 */
.stats-section {
    padding: 80px 40px;
    background: var(--dark-blue);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 56px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* ========== Pagination ========== */
.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    margin: 0 3px;
    border: 1px solid var(--border-color, #e0e0e0);
    border-radius: 6px;
    color: var(--text-secondary, #666);
    font-size: 14px;
    transition: all 0.2s ease;
}

.page-item:hover,
.page-item.active {
    background: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}

/* ========== Arrow Icon (nav dropdown) ========== */
.arrow-icon {
    font-size: 10px;
    margin-left: 4px;
    font-style: normal;
    transition: transform 0.2s ease;
}

/* ========== Banner Button (hero CTA) ========== */
.banner-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: #fff;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.banner-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 102, 204, 0.4);
    color: #fff;
}

/* Banner CTA wrapper */
.banner-cta {
    position: relative;
    z-index: 10;
}

/* ============================================
   新闻轮播 (3卡片一组)
   ============================================ */
.news-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s ease;
    cursor: grab;
    user-select: none;
}

.news-track:active {
    cursor: grabbing;
}

.news-track.dragging {
    transition: none;
}

.news-slider {
    flex: 0 0 calc((100% - 48px) / 3);
}

.news-slider-container {
    overflow: hidden;
}

/* news-slide 修复见 enhancements.css（加载顺序要求） */

.news-dot {
    transition: all 0.3s ease;
}

.news-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
}
