/* 首页特定样式（从 index.php 提取） */
.hero-section {
    background: transparent;
    padding: 0;
    margin-top: 56px;
}

.hero-section::before,
.hero-section::after { content: none; }

.hero-viewport {
    position: relative;
    width: 100%;
    height: 460px;
    border-radius: 0;
    overflow: hidden;
    background: #000;
    box-shadow: none;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity .8s ease, transform 1.6s ease;
    will-change: opacity, transform;
    backface-visibility: hidden;
    z-index: 1;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(0) !important;
    z-index: 2 !important;
    animation: none;
}

.hero-slide.prev,
.hero-slide.next { opacity: 0; visibility: hidden; transform: scale(1.05); }

.hero-overlay { display: none; }

/* 背景增强：为每张幻灯片叠加柔光与霓虹边缘 */
.hero-slide::before,
.hero-slide::after { content: none; }

.hero-slide .container {
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0) 72%);
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    position: absolute;
    left: clamp(16px, 6vw, 84px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    color: #fff;
    text-align: left;
    max-width: 560px;
    margin: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.15;
    position: relative;
    text-shadow: none;
    animation: slideInUp 0.6s ease-out 0.1s both;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 10px rgba(255,255,255,0.3)); }
    100% { filter: drop-shadow(0 0 20px rgba(255,255,255,0.6)); }
}

.hero-subtitle {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.86);
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: 0;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.hero-btn {
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow: none;
    transition: background-color .2s ease, transform .2s ease, color .2s ease, border-color .2s ease;
    text-transform: none;
    letter-spacing: 0;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out 0.3s both;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.92);
    border-color: rgba(255,255,255,0.92);
    color: #0b1220;
}

.hero-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* 装饰元素 */
.hero-decoration { display: none; }
.decoration-circle { display: none; }

/* 粒子效果 */
.hero-particles { display: none; }
.particle { display: none; }

@keyframes kenburnsSoft { from { transform: scale(1.02); } to { transform: scale(1.08); } }

/* 轮播图控制 */
.carousel-dots-container { position: static; margin: 0 auto 12px; transform: none; width: fit-content; z-index: 10; }
.carousel-dots { display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: rgba(0, 0, 0, 0.22); backdrop-filter: blur(10px); border-radius: 0; border: 1px solid rgba(255, 255, 255, 0.18); }

/* 侧边箭头按钮 */
.carousel-side-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.10); background: rgba(255,255,255,0.85); color: #111827; cursor: pointer; transition: opacity .18s ease, transform .18s ease, background-color .18s ease, box-shadow .18s ease; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; backdrop-filter: blur(10px); opacity: 0; box-shadow: 0 6px 18px rgba(0,0,0,0.10); }
.hero-viewport:hover .carousel-side-arrow { opacity: 1; }
.carousel-side-arrow:hover { background: rgba(255,255,255,0.95); transform: translateY(-50%) scale(1.04); box-shadow: 0 10px 22px rgba(0,0,0,0.14); }
.carousel-side-arrow.carousel-prev { left: 14px; }
.carousel-side-arrow.carousel-next { right: 14px; }

.carousel-dot { width: 8px; height: 8px; border-radius: 999px; border: 1px solid rgba(0,0,0,0.18); background: rgba(0,0,0,0.10); cursor: pointer; transition: transform .18s ease, background-color .18s ease, border-color .18s ease; position: relative; overflow: hidden; }
.carousel-dot::before { content: none; }
.carousel-dot:hover { border-color: rgba(0,0,0,0.35); transform: scale(1.15); }
.carousel-dot.active { background: #ff6900; border-color: #ff6900; box-shadow: 0 0 0 4px rgba(255,105,0,0.16); transform: scale(1.1); }
.carousel-dot.active::after { content: none; }
@keyframes ripple { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

/* 滚动提示已移除 */

/* section-title moved to header.php for global consistency */

.feature-card { text-align: center; padding: 40px 20px; border-radius: 15px; background: white; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: all 0.3s ease; height: 100%; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.feature-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary-color), #1e3a8a); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: white; font-size: 2rem; }

/* 生产流程图片排版模块 */
.process-section {
    padding: 62px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    overflow: hidden;
}
.process-section.py-5 {
    padding-top: 8px !important;
    padding-bottom: 18px !important;
}
.process-container {
    max-width: 100%;
}
.process-grid-4x2 {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 248, 255, 0.95));
    border: 1px solid rgba(13, 110, 253, 0.08);
    border-radius: 18px;
    padding: 10px 12px;
    box-shadow: 0 14px 40px rgba(13, 110, 253, 0.06);
}
.process-item-wrapper {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    opacity: 0;
    transform: translateY(12px);
    animation: processFadeIn .55s ease forwards;
}
.process-item-wrapper:nth-child(1) { animation-delay: .05s; }
.process-item-wrapper:nth-child(2) { animation-delay: .1s; }
.process-item-wrapper:nth-child(3) { animation-delay: .15s; }
.process-item-wrapper:nth-child(4) { animation-delay: .2s; }
.process-item-wrapper:nth-child(5) { animation-delay: .25s; }
.process-item-wrapper:nth-child(6) { animation-delay: .3s; }
.process-item-wrapper:nth-child(7) { animation-delay: .35s; }
.process-item-wrapper:nth-child(8) { animation-delay: .4s; }
.process-card-v2 {
    width: 100%;
    min-width: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.07);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    position: relative;
    border: 1px solid rgba(13, 110, 253, 0.1);
}
.process-card-v2::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d6efd, #7fb2ff);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 3;
}
.process-card-v2:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 32px rgba(13, 110, 253, 0.16);
    border-color: rgba(13, 110, 253, 0.26);
}
.process-card-v2:hover::before {
    opacity: 1;
}
.process-arrow-v2 {
    width: 26px;
    min-width: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #95a5bd;
    animation: processArrowFlow 1.6s ease-in-out infinite;
}
.process-thumb {
    position: relative;
    height: 145px;
    background: #f8f9fa;
    overflow: hidden;
}
.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #eef2f7 0%, #e7edf5 100%);
    transition: background .3s ease;
    position: relative;
}
.thumb-placeholder::before {
    content: "";
    position: absolute;
    top: 0;
    left: -130%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0));
    animation: processShimmer 3.2s ease-in-out infinite;
}
.process-card-v2:hover .thumb-placeholder {
    background: linear-gradient(120deg, rgba(13, 110, 253, 0.08) 0%, rgba(13, 110, 253, 0.16) 100%);
}
.thumb-placeholder i {
    font-size: 2.8rem;
    color: #ef4444;
    transition: color .3s ease, transform .3s ease;
    animation: processIconFloat 2.6s ease-in-out infinite;
}
.process-card-v2:hover .thumb-placeholder i {
    color: #dc2626;
    transform: scale(1.08);
}
.step-number {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #0d6efd, #2f80ed);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    box-shadow: 0 6px 14px rgba(13, 110, 253, 0.34);
    z-index: 2;
    transition: transform .3s ease;
}
.process-card-v2:hover .step-number {
    transform: scale(1.08);
}
.process-content {
    padding: 16px 14px 14px;
    text-align: center;
    position: relative;
    background: #fff;
}
.process-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    transition: color .3s ease;
}
.process-card-v2:hover .process-title {
    color: #0d6efd;
}
.process-line {
    height: 2px;
    width: 30px;
    background: #d9e1eb;
    margin: 11px auto 0;
    border-radius: 2px;
    transition: width .3s ease, background .3s ease;
}
.process-card-v2:hover .process-line {
    width: 62px;
    background: #0d6efd;
}
@keyframes processFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes processArrowFlow {
    0% { transform: translateX(0); opacity: .45; }
    50% { transform: translateX(6px); opacity: 1; }
    100% { transform: translateX(0); opacity: .45; }
}
@keyframes processShimmer {
    0% { left: -130%; }
    100% { left: 160%; }
}
@keyframes processIconFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}
@media (max-width: 1199px) {
    .process-grid-4x2 {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 10px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    .process-item-wrapper {
        flex-direction: column;
        flex: 0 0 auto;
        animation: none;
        opacity: 1;
        transform: none;
    }
    .process-arrow-v2 {
        display: none !important;
    }
    .process-card-v2 {
        width: 218px;
    }
}
@media (max-width: 991px) {
    .process-section.py-5 {
        padding-top: 8px !important;
        padding-bottom: 14px !important;
    }
    .process-card-v2 {
        width: calc(33.333% - 20px);
        min-width: 198px;
    }
}
@media (max-width: 767px) {
    .process-card-v2 {
        width: calc(50% - 14px);
        min-width: 160px;
    }
    .process-thumb {
        height: 120px;
    }
    .thumb-placeholder i {
        font-size: 2.2rem;
    }
}
@media (max-width: 480px) {
    .process-card-v2 {
        width: 100%;
    }
}
.process-section + .square-section.py-5 {
    padding-top: 1.2rem !important;
}

@keyframes statsGlow { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes shine { 0%, 60% { opacity: 0; transform: translateX(-120%) skewX(-20deg); } 70% { opacity: .8; } 100% { opacity: 0; transform: translateX(220%) skewX(-20deg); } }

.hero-section + .square-section.py-5 { padding-top: .25rem !important; }

@media (min-width: 769px) {
    .hero-viewport { height: auto; background: transparent; --hero-media-height: 560px; }
    .hero-slide { position: relative; inset: auto; transform: none; transition: none; opacity: 1; visibility: visible; display: none; background: #ffffff; }
    .hero-slide.active { display: block; }
    .hero-slide::before { content: none; }
    .hero-media { position: relative; inset: auto; height: var(--hero-media-height); width: 100%; background-size: 100% auto; background-position: center top; }
    .hero-slide .container { height: auto; padding: 0; max-width: none; width: 100%; position: static; }
    .hero-content { position: static; left: auto; right: auto; top: auto; transform: none; max-width: none; text-align: center; color: #111827; background: transparent; border-radius: 0; padding: 10px 20px 4px; box-shadow: none; display: flex; flex-direction: column; align-items: center; }
    .hero-title { color: #111827; margin-bottom: 10px; font-size: 2.1rem; line-height: 1.2; text-shadow: none; animation: none; }
    .hero-subtitle { color: #6b7280; margin-bottom: 4px; font-size: 1.15rem; line-height: 1.6; letter-spacing: 0; animation: none; }
    .hero-btn { position: absolute; left: 50%; top: var(--hero-media-height); bottom: auto; transform: translateX(-50%) translateY(calc(-100% - 66px)); z-index: 10; background: rgba(255,255,255,0.92); border-color: rgba(17,24,39,0.22); color: #111827; align-self: center; margin-top: 0; animation: none; }
    .hero-btn:hover { transform: translateX(-50%) translateY(calc(-100% - 67px)); }
    .hero-btn:active { transform: translateX(-50%) translateY(calc(-100% - 68px)) scale(1.02); }
    .carousel-dots { background: rgba(255,255,255,0.92); border-color: rgba(0,0,0,0.08); }
    .carousel-side-arrow { top: calc(var(--hero-media-height) / 2); }
}

@media (max-width: 768px) {
    .hero-section { padding: 0; }
    .hero-viewport { height: auto; border-radius: 0; margin: 0; padding: 0; background: transparent; --hero-media-height: 40vw; }
    .hero-slide { position: relative; inset: auto; transform: none; transition: none; opacity: 1; visibility: visible; display: none; border-radius: 0; overflow: hidden; background: #ffffff; box-shadow: none; width: 100%; }
    .hero-slide.active { display: block; }
    .hero-slide::before { content: none; }
    .hero-media { position: relative; inset: auto; height: var(--hero-media-height); border-radius: 0; width: 100%; background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }
    .hero-slide .container { height: auto; padding: 0; max-width: none; width: 100%; position: static; }
    .hero-content { position: static; left: auto; right: auto; top: auto; transform: none; max-width: none; text-align: center; background: transparent; border-radius: 0; padding: 10px 16px 4px; box-shadow: none; display: flex; flex-direction: column; }
    .hero-title { font-size: 1.6rem; color: #111827; margin-bottom: 8px; line-height: 1.25; }
    .hero-subtitle { font-size: 1.05rem; color: #6b7280; margin-bottom: 4px; text-align: center; line-height: 1.6; }
    .hero-btn { position: static; left: auto; top: auto; bottom: auto; transform: none; z-index: auto; padding: 9px 16px; font-size: .95rem; background: #ffffff; border-color: rgba(17,24,39,0.22); color: #111827; border-radius: 999px; align-self: center; margin-top: 6px; }
    .hero-btn:hover { background: #111827; border-color: #111827; color: #ffffff; transform: translateY(-1px); }
    .hero-btn:active { transform: translateY(-2px) scale(1.02); }
    .carousel-dots-container { margin: 0 auto 10px; }
    .carousel-dots { background: rgba(255,255,255,0.92); border-color: rgba(0,0,0,0.08); }
    .carousel-side-arrow { display: none; }
    .decoration-circle-1 { width: 120px; height: 120px; }
    .decoration-circle-2 { width: 100px; height: 100px; }
    .decoration-circle-3 { width: 80px; height: 80px; }
    .carousel-controls { bottom: 20px; gap: 15px; }
    .carousel-arrow { width: 40px; height: 40px; font-size: 1rem; }
    /* 滚动提示已移除 */
}
