/* ===== 首页专用样式 ===== */

/* 首页禁止滚动 */
html.home-page,
body.home-page {
    height: 100%;
    overflow: hidden;
}

/* 透明导航（首页专用） */
.header-transparent {
    background: transparent;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    transition: background 0.4s, box-shadow 0.4s;
}

.header-transparent .container {
    padding: 18px 40px;
}

.header-transparent .logo {
    height: 48px;
}

.header-transparent .company-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

/* 导航字体加大 */
.header-transparent .nav-menu a {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    letter-spacing: 0.5px;
}

.header-transparent .nav-menu li {
    margin-left: 36px;
}

.header-transparent .nav-menu a:hover,
.header-transparent .nav-menu a.active {
    color: #fff;
}

.header-transparent .nav-menu a.active::after {
    background: #fff;
}

.header-transparent .mobile-menu-toggle span {
    background: #fff;
}

/* 全屏轮播容器 */
.fullscreen-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* 单张幻灯片 */
.fs-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background: linear-gradient(135deg, #0d2b5e 0%, #1a4a8a 100%); /* 兜底色 */
}

.fs-slide.active {
    opacity: 1;
}

/* 暗色遮罩 */
.fs-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(8, 18, 45, 0.82) 0%,
        rgba(15, 35, 80, 0.60) 55%,
        rgba(0, 0, 0, 0.30) 100%
    );
}

/* 内容区域 — 垂直居中，水平左对齐 */
.fs-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #fff;
    width: 52%;
    max-width: 700px;
    z-index: 2;
}

/* 标签 */
.fs-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-size: 14px;
    letter-spacing: 3px;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 22px;
    backdrop-filter: blur(4px);
}

/* 主标题 */
.fs-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.12;
    margin-bottom: 16px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
    letter-spacing: 3px;
}

/* 副标题 */
.fs-subtitle {
    font-size: 22px;
    font-weight: 400;
    opacity: 0.88;
    margin-bottom: 18px;
    letter-spacing: 1px;
}

/* 描述文字 */
.fs-desc {
    font-size: 16px;
    line-height: 1.85;
    opacity: 0.82;
    margin-bottom: 26px;
    max-width: 560px;
}

/* 特性列表 */
.fs-features {
    list-style: none;
    margin-bottom: 36px;
}

.fs-features li {
    font-size: 16px;
    margin-bottom: 12px;
    opacity: 0.88;
    display: flex;
    align-items: center;
    gap: 12px;
}

.fs-features li i {
    color: #5bc4f5;
    font-size: 17px;
    flex-shrink: 0;
}

/* 统计数据（第1张） */
.fs-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 40px;
}

.fs-stat {
    text-align: center;
}

.fs-stat-num {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #5bc4f5;
    line-height: 1;
    margin-bottom: 8px;
}

.fs-stat-label {
    font-size: 14px;
    opacity: 0.78;
    letter-spacing: 1px;
}

/* 按钮组 */
.fs-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.fs-btn-primary {
    display: inline-block;
    background: #2c5aa0;
    color: #fff;
    padding: 15px 36px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.2s;
}

.fs-btn-primary:hover {
    background: #1e3f73;
    transform: translateY(-2px);
}

.fs-btn-outline {
    display: inline-block;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    padding: 13px 34px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.fs-btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* 左右箭头 */
.fs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
    backdrop-filter: blur(4px);
}

.fs-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scale(1.1);
}

.fs-prev { left: 36px; }
.fs-next { right: 36px; }

/* 底部指示器 */
.fs-indicators {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 28px;
    z-index: 10;
}

.fs-dot {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.fs-dot::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    transition: background 0.3s, transform 0.3s;
}

.fs-dot.active::before {
    background: #fff;
    transform: scale(1.35);
}

.dot-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 1px;
    white-space: nowrap;
    transition: color 0.3s;
}

.fs-dot.active .dot-label {
    color: #fff;
}

/* 进度条 */
.fs-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.18);
    z-index: 10;
}

.fs-progress-bar {
    height: 100%;
    background: #5bc4f5;
    width: 0%;
    transition: width linear;
}

/* 首页底部版权 */
.home-footer {
    position: fixed;
    bottom: 16px;
    right: 36px;
    z-index: 20;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    letter-spacing: 0.5px;
    pointer-events: none;
}

/* 内容入场动画 */
.fs-slide.active .fs-tag,
.fs-slide.active .fs-title,
.fs-slide.active .fs-subtitle,
.fs-slide.active .fs-desc,
.fs-slide.active .fs-features,
.fs-slide.active .fs-stats,
.fs-slide.active .fs-actions {
    animation: slideUp 0.7s ease both;
}

.fs-slide.active .fs-tag      { animation-delay: 0.15s; }
.fs-slide.active .fs-title    { animation-delay: 0.28s; }
.fs-slide.active .fs-subtitle { animation-delay: 0.40s; }
.fs-slide.active .fs-desc     { animation-delay: 0.50s; }
.fs-slide.active .fs-features { animation-delay: 0.55s; }
.fs-slide.active .fs-stats    { animation-delay: 0.55s; }
.fs-slide.active .fs-actions  { animation-delay: 0.65s; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
    .fs-content {
        width: 65%;
    }
    .fs-title { font-size: 52px; }
}

@media (max-width: 900px) {
    .fs-content {
        left: 6%;
        width: 80%;
    }
    .fs-title    { font-size: 42px; }
    .fs-subtitle { font-size: 18px; }
    .fs-desc     { font-size: 15px; }
}

@media (max-width: 600px) {
    .header-transparent .container { padding: 16px 20px; }
    .header-transparent .nav-menu a { font-size: 15px; }

    .fs-content {
        left: 5%;
        right: 5%;
        width: auto;
        max-width: 100%;
    }

    .fs-title    { font-size: 32px; letter-spacing: 1px; }
    .fs-subtitle { font-size: 15px; }
    .fs-desc     { font-size: 13px; }
    .fs-features li { font-size: 13px; }

    .fs-stats { gap: 24px; }
    .fs-stat-num { font-size: 30px; }

    .fs-btn-primary,
    .fs-btn-outline { padding: 12px 24px; font-size: 14px; }

    .fs-arrow { width: 42px; height: 42px; font-size: 16px; }
    .fs-prev  { left: 12px; }
    .fs-next  { right: 12px; }

    .dot-label { display: none; }
    .fs-indicators { bottom: 28px; gap: 16px; }

    .home-footer {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        text-align: center;
        bottom: 10px;
    }
}
