/* ===== 首页专属样式 ===== */

/* ---------- Hero 区 ---------- */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a1628 0%, #0f2550 40%, #1a3a70 70%, #0d4fa8 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(26, 110, 255, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(0, 180, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(100, 60, 255, 0.1) 0%, transparent 40%);
}

/* 动态网格背景 */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hero-grid {
        animation: none;
    }
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 110, 255, 0.2);
    border: 1px solid rgba(26, 110, 255, 0.4);
    border-radius: 100px;
    padding: 6px 16px;
    color: #60a5fa;
    font-size: 13px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge::before {
    content: '';
    width: 6px; height: 6px;
    background: #60a5fa;
    border-radius: 50%;
    box-shadow: 0 0 8px #60a5fa;
    animation: pulse 2s infinite;
}

@media (prefers-reduced-motion: reduce) {
    .hero-badge::before {
        animation: none;
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 文字渐变降级方案 */
@supports not (-webkit-background-clip: text) {
    .hero h1 .accent {
        color: #60a5fa;
        background: none;
        -webkit-text-fill-color: #60a5fa;
    }
}

.hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary-hero {
    background: linear-gradient(135deg, #1a6eff, #0050e6);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(26, 110, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(26, 110, 255, 0.7);
}

.btn-primary-hero:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 2px;
}

.btn-outline-hero {
    background: rgba(255,255,255,0.08);
    color: #fff;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-hero:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
}

.btn-outline-hero:focus-visible {
    outline: 3px solid #60a5fa;
    outline-offset: 2px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat { text-align: center; }

.hero-stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1;
}

.hero-stat-num span { color: #60a5fa; }

.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
    display: block;
}

/* 右侧屏幕展示区 */
.hero-right {
    position: relative;
}

.screen-showcase {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.1);
}

.screen-showcase-header {
    background: #1e2a3a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.screen-url {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 4px 12px;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    margin: 0 8px;
}

/* 截图轮播 */
.screenshot-slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #0f1923;
}

.screenshot-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: scale(1.02);
}

.screenshot-slide.active {
    opacity: 1;
    transform: scale(1);
}

.screenshot-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px 16px 14px;
    color: #fff;
}

.slide-caption-tag {
    font-size: 11px;
    color: #60a5fa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.slide-caption-title {
    font-size: 14px;
    font-weight: 600;
    margin-top: 2px;
}

.slide-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    background: #1e2a3a;
    padding: 10px;
}

.slide-dot {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.slide-dot.active {
    background: #1a6eff;
    width: 36px;
}

/* ---------- 功能亮点区 ---------- */
.features-section {
    padding: 100px 0;
    background: #f8faff;
}

.features-section .section-header {
    text-align: center;
    margin-bottom: 64px;
}

.features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.features-section .feature-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 30px;
    border: 1px solid #eaf0ff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.features-section .feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a6eff, #a78bfa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.features-section .feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(26, 110, 255, 0.12);
    border-color: transparent;
}

.features-section .feature-card:hover::before {
    transform: scaleX(1);
}

/* ---------- 行业解决方案 ---------- */
.industry-section {
    padding: 100px 0;
    background: #fff;
}

.industry-section .section-header {
    max-width: 820px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-kicker {
    margin-bottom: 12px;
    color: #0f766e;
    font-size: 13px;
    font-weight: 700;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid #dbe4ee;
    border-bottom: 1px solid #dbe4ee;
}

.industry-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 24px;
    padding: 44px 40px 44px 0;
}

.industry-item + .industry-item {
    border-left: 1px solid #dbe4ee;
    padding-right: 0;
    padding-left: 40px;
}

.industry-index {
    color: #0f766e;
    font-size: 14px;
    font-weight: 800;
}

.industry-item h3 {
    margin-bottom: 14px;
    color: #0f172a;
    font-size: 23px;
}

.industry-item p {
    color: #475569;
    font-size: 15px;
    line-height: 1.85;
}

.industry-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
    list-style: none;
}

.industry-keywords li {
    padding: 5px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #334155;
    background: #f8fafc;
    font-size: 12px;
}

.industry-summary {
    max-width: 900px;
    margin: 28px auto 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
    text-align: center;
}

.features-section .feature-card:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.features-section .feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.features-section .feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #0f1f3d;
    margin-bottom: 10px;
}

.features-section .feature-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.feature-num {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 48px;
    font-weight: 900;
    color: rgba(26, 110, 255, 0.06);
    line-height: 1;
}

/* ---------- 流程区 ---------- */
.workflow-section {
    padding: 100px 0;
    background: #fff;
}

.workflow-section .workflow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    position: relative;
}

.workflow-section .workflow-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, #1a6eff, #a78bfa, #34d399);
}

.workflow-section .workflow-step {
    text-align: center;
    padding: 0 16px;
    position: relative;
}

.step-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6eff, #0050e6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(26, 110, 255, 0.35);
}

.step-label {
    font-size: 14px;
    font-weight: 700;
    color: #0f1f3d;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
}

/* ---------- 截图展厅（产品演示区）---------- */
.demo-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f0f5ff 0%, #fff 100%);
}

.demo-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.demo-tab {
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border: 1.5px solid #e0e7ff;
    color: #555;
    background: #fff;
    transition: all 0.25s;
}

.demo-tab.active, .demo-tab:hover {
    background: #1a6eff;
    border-color: #1a6eff;
    color: #fff;
    box-shadow: 0 4px 16px rgba(26,110,255,0.3);
}

.demo-tab:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.demo-screen-wrap {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.demo-screen {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
    display: none;
    animation: fadeInUp 0.4s ease;
}

.demo-screen.show { display: block; }

@media (prefers-reduced-motion: reduce) {
    .demo-screen {
        animation: none;
    }
}

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

.demo-screen-bar {
    background: #1e2a3a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.demo-screen img {
    width: 100%;
    display: block;
}

.demo-caption {
    background: #f8faff;
    padding: 20px 28px;
    border-top: 1px solid #e8eeff;
}

.demo-caption h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0f1f3d;
    margin-bottom: 6px;
}

.demo-caption p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ---------- 数据 banner ---------- */
.stats-banner {
    background: linear-gradient(135deg, #0f2550, #1a6eff);
    padding: 70px 0;
}

.stats-banner .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stats-banner .stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 52px;
    font-weight: 900;
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}

.stat-number .unit { font-size: 24px; }

/* ---------- CTA ---------- */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: #fff;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, #0f2550, #1a3a70);
    border-radius: 28px;
    padding: 70px 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(26,110,255,0.3) 0%, transparent 70%);
}

.cta-card h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
}

.cta-card p {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 36px;
    position: relative;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    position: relative;
}

/* ---------- 客户案例 ---------- */
.customers-section {
    padding: 100px 0;
    background: #f8faff;
}

.customer-card {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    padding: 48px 56px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
}

.customer-logo {
    flex-shrink: 0;
}

.customer-logo img {
    width: 220px;
    height: auto;
    object-fit: contain;
}

.customer-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.customer-en {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.customer-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; }
    .hero-right { display: none; }
    .features-section .features-grid { grid-template-columns: repeat(2, 1fr); }
    .workflow-section .workflow-steps { grid-template-columns: repeat(3, 1fr); }
    .workflow-section .workflow-steps::before { display: none; }
    .stats-banner .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: clamp(28px, 8vw, 36px); }
    .features-section .features-grid { grid-template-columns: 1fr; }
    .stats-banner .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-card { padding: 48px 30px; }
    .cta-card h2 { font-size: 24px; }
    .customer-card { flex-direction: column; text-align: center; padding: 36px 24px; }
    .customer-logo img { width: 180px; }
    .industry-section { padding: 72px 0; }
    .industry-grid { grid-template-columns: 1fr; }
    .industry-item { padding: 32px 0; }
    .industry-item + .industry-item { border-top: 1px solid #dbe4ee; border-left: 0; padding: 32px 0; }
}
