@charset "UTF-8";

.home-page {
    --bg: #0d0d1a;
    --bg2: #10102b;
    --fg: #f0f4ff;
    --primary: #8b5cf6;
    --primary-glow: rgba(139, 92, 246, 0.35);
    --accent: #06b6d4;
    --accent-glow: rgba(6, 182, 212, 0.3);
    --gold: #f59e0b;
    --border: rgba(139, 92, 246, 0.25);
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --radius: 1rem;
    --font-heading: "AlibabaPuHuiTi", "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-body: "AlibabaPuHuiTi", "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.home-page {
    background: #0d0d1a;
    overflow-x: hidden;
    color: #f0f4ff;
    line-height: 1.6;
    overflow-y: auto;
}

.home-page .news-info .glass-card {
    background: rgba(13, 34, 64, 0.6);
    border: 1px solid rgba(14, 165, 233, 0.35);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    padding: 28px;
}

.home-page .news-info .glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(14, 165, 233, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(14, 165, 233, 0.55);
}

.home-page .news-info .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-page .news-info .news-card {
    cursor: pointer;
}

.home-page .news-info .news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.home-page .news-info .news-type {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(14, 165, 233, 0.12);
    color: #0ea5e9;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.home-page .news-info .news-date {
    font-size: 12px;
    color: #7fb8d8;
}

.home-page .news-info .news-title {
    font-size: 15px;
    font-weight: 700;
    color: #e2f0ff;
    margin-bottom: 10px;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-page .news-info .news-excerpt {
    font-size: 13px;
    color: rgba(200, 210, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    word-break: break-word;
}

/* ===== 装饰线条 ===== */
.neon-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #8b5cf6, #06b6d4, transparent);
    margin: 0;
    opacity: 0.5;
}

.hero {
    position: relative;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem 1.5rem 3rem;
    z-index: 1;
    /* 英雄区底部渐变过渡 */
    /* ===== 通用按钮 ===== */
}

.hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    pointer-events: none;
}

.hero .hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 5vh;
}

.hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.4);
    padding: 0.4rem 1.1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #c4b5fd;
    margin-bottom: 1.75rem;
    letter-spacing: 0.05em;
}

.hero .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
    animation: blink 1.8s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero .hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: #f0f4ff;
}

.hero .hero-title .grad {
    background: linear-gradient(90deg, #a78bfa, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .hero-desc {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(rgba(200, 210, 255, 0.6));
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero .hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom, transparent, var(--bg));
    z-index: 5;
    pointer-events: none;
}

.hero .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: #fff;
    padding: 0.7rem 1.75rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 24px rgba(139, 92, 246, 0.4);
    transition: transform 150ms ease, box-shadow 150ms ease;
    will-change: transform;
}

.hero .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(139, 92, 246, 0.6);
}

.hero .btn-primary:active {
    transform: scale(0.97);
}

.hero .btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(200, 210, 255, 0.85);
    padding: 0.7rem 1.75rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.08);
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
    will-change: transform;
}

.hero .btn-ghost:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: rgba(139, 92, 246, 0.7);
    transform: translateY(-2px);
}

/* ===== 通用 Section ===== */
section {
    position: relative;
    z-index: 2;
    padding: 5.5rem 1.5rem;
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    padding: 0.3rem 0.875rem;
    border-radius: 2rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: var(--fg);
}

.section-title .hl {
    background: linear-gradient(90deg, #a78bfa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 0.75rem;
}

.section-desc {
    font-size: 1rem;
    color: var(rgba(200, 210, 255, 0.6));
    line-height: 1.8;
    max-width: 560px;
}

/* ===== 星空背景 ===== */
#stars-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ===== 数字指标区 ===== */
.stats-section {
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, #0d0d1a 0%, #10102b 100%);
    padding: 4rem 1.5rem;
    border-top: 1px solid rgba(139, 92, 246, 0.15);
    border-bottom: 1px solid rgba(6, 182, 212, 0.15);
}

.stats-section .stats-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stats-section .stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

.stats-section .stat-item:last-child {
    border-right: none;
}

.stats-section .stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.stats-section .stat-num {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 0.4rem;
}

.stats-section .stat-unit {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.stats-section .stat-label {
    font-size: 0.875rem;
    color: var(rgba(200, 210, 255, 0.6));
    letter-spacing: 0.04em;
}

/* ===== 关于我们 ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-grid .about-img-wrap {
    position: relative;
}

.about-grid .about-img {
    width: 100%;
    border-radius: 1.25rem;
    object-fit: cover;
    height: 420px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.12);
}

.about-grid .about-badge-float {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    /* background: linear-gradient(135deg, #8b5cf6, #6366f1); */
    color: #fff;
    /* padding: 1.1rem 1.5rem; */
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45);
    text-align: center;
}

.about-badge-float img {
    width: 5rem;
    height: 5rem;
}

.about-grid .about-badge-float .big {
    font-size: 1.75rem;
    font-weight: 800;
}

.about-grid .about-badge-float .label {
    font-size: 0.72rem;
    opacity: 0.8;
}

.about-grid .about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.about-grid .about-feat {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 0.75rem;
    padding: 1rem;
}

.about-grid .about-feat-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 9px;
    background: rgba(139, 92, 246, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4b5fd;
}

.about-grid .about-feat-text h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 0.2rem;
}

.about-grid .about-feat-text p {
    font-size: 0.78rem;
    color: var(rgba(200, 210, 255, 0.6));
    line-height: 1.5;
}

.video-box video {
    display: block;
    margin: 0 auto;
    width: 80%;
    height: auto;
}

/* ===== 产品服务 ===== */
.products-bg {
    background: linear-gradient(180deg, #10102b 0%, #0a0a1e 100%);
}

.products-bg .products-header {
    text-align: center;
    margin-bottom: 3rem;
}

.products-bg .products-header .section-desc {
    margin: 0 auto;
}

.products-bg .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.products-bg .product-card {
    padding: 2rem;
}

.products-bg .product-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.products-bg .product-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fg);
    margin-bottom: 0.6rem;
}

.products-bg .product-card p {
    font-size: 0.85rem;
    color: var(rgba(200, 210, 255, 0.6));
    line-height: 1.7;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    word-break: break-word;
}

.products-bg .product-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.products-bg .product-tag {
    font-size: 0.72rem;
    padding: 0.2rem 0.625rem;
    background: rgba(139, 92, 246, 0.12);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 2rem;
    font-weight: 500;
}

.products-bg .featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: linear-gradient(135deg, #8b5cf6, #38bdf8);
    color: #fff;
    padding: 0.2rem 0.7rem;
    border-radius: 2rem;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}

/* ===== "芯-脑-云"战略板块 ===== */
#strategy {
    background: linear-gradient(180deg, #0d0d1a 0%, #10102b 100%);
}

#strategy .section-desc {
    max-width: 660px;
}

#strategy .strategy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

#strategy .strategy-card {
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#strategy .strategy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.25);
}

#strategy .strategy-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

#strategy .strategy-card h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--fg);
    margin-bottom: 0.5rem;
}

#strategy .strategy-subtitle {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

#strategy .strategy-desc {
    font-size: 0.85rem;
    color: rgba(200, 210, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    word-break: break-word;
}

#strategy .strategy-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

#strategy .strategy-tag {
    font-size: 0.72rem;
    padding: 0.25rem 0.7rem;
    background: rgba(6, 182, 212, 0.12);
    color: #67e8f9;
    border: 1px solid rgba(6, 182, 212, 0.25);
    border-radius: 2rem;
    font-weight: 500;
}

/* ===== 客户评价 ===== */
.section-inner .testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-inner .testimonials-header .section-desc {
    margin: 0 auto;
}

.section-inner .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.section-inner .testimonial-card {
    padding: 1.75rem;
}

.section-inner .stars {
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--gold);
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.section-inner .testimonial-text {
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(200, 210, 255, 0.8);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.section-inner .testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-inner .author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(139, 92, 246, 0.4);
}

.section-inner .author-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--fg);
}

.section-inner .author-role {
    font-size: 0.75rem;
    color: var(rgba(200, 210, 255, 0.6));
}

.footer {
    background: #07071a;
    color: rgba(200, 210, 255, 0.5);
    padding: 0 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 2;
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer .footer-bottom p {
    font-size: 0.78rem;
}

/* ===== 响应式 ===== */
@media (max-width: 900px) {
    .stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }

    .stat-item:nth-child(2n) {
        border-right: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-badge-float {
        bottom: -1rem;
        right: 1rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    #strategy .strategy-grid {
        grid-template-columns: 1fr;
    }

    .products-bg .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .products-bg .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .hero .hero-title {
        font-size: 2rem;
    }

    .stats-section .stat-label {
        font-size: 0.7rem;
    }

    #strategy .strategy-desc {
        min-height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== 滚动动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-d1 {
    transition-delay: 100ms;
}

.reveal-d2 {
    transition-delay: 200ms;
}

.reveal-d3 {
    transition-delay: 300ms;
}

.reveal-d4 {
    transition-delay: 400ms;
}

/* ===== 通用动画 ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}