/* 首页样式 */

/* 轮播区样式 */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    margin-top: 0;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 2;
}

/* 背景图片覆盖层 */
.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(98, 98, 99, 0.0), rgba(10, 25, 41, 0.0));
    z-index: 3;
}
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
    background: #FFD700;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider-arrow:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}
.slider-arrow.prev {
    left: 30px;
}
.slider-arrow.next {
    right: 30px;
}
.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.35s ease;
}
.dot.active {
    background: var(--accent-color);
    width: 28px;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}
/* 轮播文字内容 */
.slide-content {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 12% 0 12%;
}

.slide-title {
    font-size: clamp(26px, 3.5vw, 48px);
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 22px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    max-width: none;
}
.slide-title .accent { color: var(--accent-color); }
.slide-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: none;
}
.slide-bullets li {
    font-size: clamp(15px, 1.6vw, 19px);
    color: rgba(255,255,255,0.88);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.55;
}
.slide-bullets li::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-color);
    flex-shrink: 0;
    margin-top: 7px;
}
/* 第6张：两列部署 */
.slide-deploy-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    max-width: none;
    margin-bottom: 32px;
}
.slide-deploy-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 0 10px;
    letter-spacing: 0.04em;
}
.slide-deploy-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.slide-deploy-col li {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    gap: 8px;
}
.slide-deploy-col li::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-color);
    flex-shrink: 0;
}
/* 第7张：公司介绍段落 */
.slide-para {
    font-size: clamp(15px, 1.5vw, 18px);
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    max-width: none;
    margin-bottom: 12px;
}
/* 第3张：纯标题无子弹 */
.slide-subtitle {
    font-size: clamp(16px, 1.8vw, 22px);
    color: rgba(255,255,255,0.75);
    margin-top: -10px;
    margin-bottom: 32px;
    max-width: none;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .slide-content { padding: 0 16% 0 16%; }
    .slide-title { font-size: 22px; margin-bottom: 16px; }
    .slide-bullets li { font-size: 15px; }
    .slide-deploy-grid { gap: 20px; }
}

/* 第3、7张：完全居中 */
.slide-content-centered {
    align-items: center;
    justify-content: center;
    padding: 56px 12% 64px !important;
}

@media (max-width: 768px) {
    .slide-content-centered {
        padding: 56px 16% 64px !important;
    }
}


.features-vertical {
    padding: 110px 0;
    background: linear-gradient(180deg, #f0f4f9 0%, #e8edf4 100%);
}

[data-theme="dark"] .features-vertical {
    background: linear-gradient(180deg, #0f1e2e 0%, #0a1520 100%);
}

.features-vertical-grid {
    display: flex;
    flex-direction: column;
    gap: 56px;
    margin-top: 50px;
}

.feature-vertical-item {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 6px 40px rgba(26, 59, 93, 0.10);
    transition: all var(--transition-normal);
    border: 1px solid rgba(212, 175, 55, 0.08);
}

.feature-vertical-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 56px rgba(26, 59, 93, 0.18);
    border-color: rgba(212, 175, 55, 0.25);
}

/* 奇数行：图左文右；偶数行：文左图右 */
.feature-vertical-item:nth-child(even) {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 0 0 62%;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(270deg, rgba(10, 25, 41, 0.0) 60%, rgba(10, 25, 41, 0.15) 100%);
}

.feature-vertical-item:nth-child(even) .feature-image::after {
    background: linear-gradient(90deg, rgba(10, 25, 41, 0.0) 60%, rgba(10, 25, 41, 0.15) 100%);
}

.feature-text {
    flex: 1;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.feature-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.feature-vertical-item h3 {
    font-size: 26px;
    color: var(--primary-color);
    margin: 0 0 16px;
    letter-spacing: 0.02em;
}

.feature-vertical-item p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 28px;
}

.feature-tag {
    display: inline-block;
    padding: 7px 22px;
    background: var(--accent-color);
    color: white;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    align-self: flex-start;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .feature-vertical-item,
    .feature-vertical-item:nth-child(even) {
        flex-direction: column;
    }

    .feature-image {
        flex: none;
        width: 100%;
        min-height: 220px;
        aspect-ratio: 16 / 7;
    }

    .feature-text {
        padding: 32px 28px;
    }

    .feature-vertical-item h3 {
        font-size: 22px;
    }

    .feature-vertical-item p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .features-vertical {
        padding: 60px 0;
    }

    .features-vertical-grid {
        gap: 36px;
    }

    .feature-image {
        aspect-ratio: 2 / 1;
        min-height: unset;
    }

    .feature-text {
        padding: 24px 20px;
    }

    .feature-vertical-item h3 {
        font-size: 20px;
    }

    .feature-vertical-item p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .feature-text {
        padding: 20px 16px;
    }

    .feature-vertical-item h3 {
        font-size: 18px;
    }

    .feature-vertical-item p {
        font-size: 13px;
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        height: 250px;
    }
    
    .feature-content {
        padding: 20px;
    }
    
    .feature-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .feature-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .feature-card p {
        font-size: 14px;
        margin-bottom: 15px;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}


/* 响应式设计 */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (max-width: 768px) {
    .slide-bg {
        background-size: cover;
        background-position: right center;
        background-color: #0A1929;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 15px;
    }

    .slider-arrow.next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .slide-bg {
        background-size: cover;
        background-position: right center;
        background-color: #0A1929;
    }
}

@media (max-width: 480px) {
    .cta-btn {
        padding: 14px 32px;
        font-size: 16px;
    }
}

/* 动画延迟 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* 粒子效果 */
.particle {
    position: absolute;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: rotate 1s linear infinite;
    margin-right: 10px;
}

/* 工具提示增强 */
.tooltip-enhanced {
    position: relative;
}

.tooltip-enhanced:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 10px;
    box-shadow: var(--shadow-light);
}

.tooltip-enhanced:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--primary-color);
    margin-bottom: -2px;
    z-index: 1000;
}
