/* ===== 全局变量（深黑+蓝调色板 · Avenna 风格） ===== */
:root {
    --color-bg: #06080f;
    --color-bg-2: #0a0d18;
    --color-bg-3: #0e1322;
    --color-surface: rgba(255, 255, 255, 0.025);
    --color-surface-hover: rgba(255, 255, 255, 0.05);
    --color-border: rgba(120, 170, 255, 0.12);
    --color-border-strong: rgba(120, 170, 255, 0.25);
    --color-primary: #00d4ff;
    --color-primary-2: #4d9fff;
    --color-accent: #7c5cff;
    --color-text: #e8eef7;
    --color-text-2: #9aa6bd;
    --color-text-3: #6b7794;
    --color-glow: rgba(0, 212, 255, 0.4);
    --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-card-hover: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 32px rgba(0, 212, 255, 0.12);
    --radius: 14px;
    --radius-lg: 20px;
    --container-max: 1200px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #4d9fff 100%);
    --gradient-text: linear-gradient(135deg, #00d4ff 0%, #7c5cff 100%);
}

/* ===== 重置与基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: "Inter", "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    background: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 全局背景辉光层 */
body::before {
    content: "";
    position: fixed;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 600px;
    background: radial-gradient(ellipse at center, rgba(0, 100, 200, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ===== 容器 ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 28px;
    position: relative;
    z-index: 1;
}

/* ===== 通用按钮 ===== */
.btn {
    display: inline-block;
    padding: 14px 38px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #001020;
    font-weight: 600;
    box-shadow: 0 4px 24px rgba(0, 212, 255, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.5);
}

.btn-outline {
    background: var(--color-surface);
    color: var(--color-text);
    border: 1px solid var(--color-border-strong);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--color-surface-hover);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-block { width: 100%; display: block; }

/* ===== 头部导航（深色玻璃态） ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 8, 15, 0.72);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(6, 8, 15, 0.92);
    border-bottom-color: var(--color-border-strong);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo { display: flex; align-items: center; }

.logo-img {
    height: 44px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.nav {
    display: flex;
    gap: 4px;
}

.nav-link {
    padding: 8px 18px;
    font-size: 14px;
    color: var(--color-text-2);
    border-radius: 100px;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 50%;
}

/* 移动端菜单按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero 区（聚光灯 + AI 背景） ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    color: var(--color-text);
    overflow: hidden;
    margin-top: 72px;
}

.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    animation: heroZoom 30s ease-in-out infinite alternate;
}

.hero-slide.active { opacity: 1; z-index: 1; }

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.12); }
}

/* 聚光灯遮罩 */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse 80% 60% at 30% 50%, rgba(0, 80, 160, 0.35) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(124, 92, 255, 0.2) 0%, transparent 55%),
        linear-gradient(180deg, rgba(6, 8, 15, 0.75) 0%, rgba(6, 8, 15, 0.55) 50%, rgba(6, 8, 15, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 860px;
    animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    line-height: 1.15;
    background: linear-gradient(135deg, #ffffff 0%, #c0e0ff 60%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slogan {
    font-size: 24px;
    margin-bottom: 28px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--color-primary);
}

.hero-desc {
    font-size: 17px;
    margin-bottom: 40px;
    line-height: 2;
    opacity: 0.75;
    max-width: 760px;
    color: var(--color-text-2);
}

.hero-btns {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: var(--color-text-2);
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    animation: bounceDown 2.5s ease-in-out infinite;
}

.scroll-arrow {
    display: block;
    width: 18px;
    height: 18px;
    margin: 10px auto 0;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg);
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 1; }
}

/* ===== 通用 Section ===== */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--color-bg-2); }

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

.section-title h2 {
    font-size: 40px;
    color: var(--color-text);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 20px;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 0 16px var(--color-glow);
}

.section-sub {
    color: var(--color-text-2);
    font-size: 16px;
    letter-spacing: 1px;
}

/* ===== 产品简介 ===== */
.product-box {
    display: flex;
    gap: 56px;
    align-items: center;
    background: var(--color-surface);
    padding: 56px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.product-box:hover {
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-card-hover);
}

.product-img { flex: 1; min-width: 0; }

.product-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.product-text { flex: 1; min-width: 0; }

.product-text h3 {
    font-size: 32px;
    margin-bottom: 24px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.product-text p {
    margin-bottom: 18px;
    color: var(--color-text-2);
    line-height: 2;
}

.product-tags {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 7px 22px;
    background: var(--color-surface);
    color: var(--color-primary);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid var(--color-border-strong);
    letter-spacing: 0.5px;
}

/* ===== 分割线装饰（深色发光线） ===== */
.section-divider {
    height: 60px;
    background: transparent;
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-divider::before {
    content: "";
    width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    box-shadow: 0 0 12px var(--color-glow);
}

.section-divider::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    box-shadow: 0 0 12px var(--color-glow);
}

/* ===== 关于我们 ===== */
.about-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: var(--color-surface);
    padding: 56px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.about-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
    box-shadow: 0 0 20px var(--color-glow);
}

.about-wrap:hover {
    border-color: var(--color-border-strong);
    box-shadow: var(--shadow-card-hover);
}

.about-text h3 {
    font-size: 34px;
    color: var(--color-text);
    margin-bottom: 24px;
    font-weight: 700;
}

.about-lead {
    font-size: 18px;
    line-height: 2.2;
    color: var(--color-text);
    margin-bottom: 40px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.about-feature {
    text-align: center;
    padding: 28px 12px;
    background: var(--color-surface);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.about-feature:hover {
    transform: translateY(-4px);
    background: var(--color-surface-hover);
    border-color: var(--color-border-strong);
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.08);
}

.feature-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.feature-name {
    display: block;
    font-size: 13px;
    color: var(--color-text-2);
    letter-spacing: 1px;
}

/* ===== 解决方案 ===== */
.solution-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.solution-item {
    display: flex;
    gap: 56px;
    align-items: center;
}

.solution-item.reverse { flex-direction: row-reverse; }

.solution-img { flex: 1; min-width: 0; }

.solution-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 56px rgba(0, 0, 0, 0.6);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.solution-item:hover .solution-img img {
    transform: scale(1.03);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 212, 255, 0.1);
    border-color: var(--color-border-strong);
}

.solution-content { flex: 1; min-width: 0; }

.solution-no {
    display: inline-block;
    font-size: 56px;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.85;
}

.solution-content h3 {
    font-size: 28px;
    color: var(--color-text);
    margin-bottom: 20px;
    font-weight: 700;
}

.solution-content p {
    color: var(--color-text-2);
    line-height: 2;
    font-size: 15px;
}

/* ===== 六心服务 ===== */
.service-img-wrap {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.service-main-img {
    max-width: 960px;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
}

.service-sub-img {
    max-width: 520px;
    margin: 0 auto;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
}

/* ===== 联系我们 ===== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    background: var(--color-surface);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
}

.contact-logo { margin-bottom: 24px; }

.contact-logo img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

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

.contact-list { margin-bottom: 28px; }

.contact-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-2);
    display: flex;
    align-items: center;
    gap: 14px;
    line-height: 1.6;
}

.contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-primary);
    transition: var(--transition);
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.contact-list li:hover .contact-icon {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--color-primary);
    box-shadow: 0 0 16px var(--color-glow);
}

.contact-text {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    color: var(--color-text-2);
    word-break: break-all;
}

.partner-call {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(124, 92, 255, 0.06));
    padding: 28px;
    border-radius: var(--radius);
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 0 24px rgba(0, 212, 255, 0.05);
    margin-top: 28px;
}

.partner-call h4 {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 14px;
}

.partner-call p {
    color: var(--color-text-2);
    margin-bottom: 8px;
    font-size: 14px;
}

/* ===== 二维码区域 ===== */
.contact-qrcode {
    background: var(--color-surface);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
    text-align: center;
}

.contact-qrcode h3 {
    font-size: 22px;
    color: var(--color-text);
    margin-bottom: 28px;
    font-weight: 700;
}

.qrcode-wrap {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius);
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.qrcode-img {
    width: 240px;
    border-radius: 8px;
}

.qrcode-tip {
    color: var(--color-text);
    font-size: 16px;
    margin-top: 16px;
    font-weight: 500;
}

.qrcode-tip-sub {
    color: var(--color-text-3);
    font-size: 13px;
    margin-top: 6px;
}

.wechat-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(7, 193, 96, 0.1);
    border: 1px solid rgba(7, 193, 96, 0.3);
    border-radius: 100px;
    color: #07C160;
    font-size: 13px;
    font-weight: 500;
    margin-top: 8px;
}

/* ===== 页脚 ===== */
.footer {
    background: var(--color-bg-2);
    color: var(--color-text-2);
    padding: 56px 0 0;
    border-top: 1px solid var(--color-border);
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    box-shadow: 0 0 16px var(--color-glow);
}

.footer-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 36px;
}

.footer-info {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    height: 90px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.footer-addr,
.footer-contact {
    font-size: 14px;
    opacity: 0.75;
    margin-bottom: 4px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    max-width: 400px;
    justify-content: flex-end;
}

.footer-nav a {
    font-size: 14px;
    opacity: 0.75;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.footer-copyright {
    border-top: 1px solid var(--color-border);
    padding: 22px 0;
    text-align: center;
}

.footer-copyright p {
    font-size: 13px;
    opacity: 0.6;
}

/* ===== 返回顶部 ===== */
.back-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #001020;
    border: none;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(0, 212, 255, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    font-weight: 700;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.55);
}

/* ===== 滚动揭示动画 ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ===== 响应式 ===== */
@media (max-width: 992px) {
    .hero-title { font-size: 44px; }
    .hero-slogan { font-size: 20px; }
    .section-title h2 { font-size: 30px; }
    .product-box, .solution-item, .solution-item.reverse {
        flex-direction: column;
        gap: 28px;
    }
    .contact-wrap { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: repeat(2, 1fr); }
    .section-divider { height: 44px; }
    .product-box, .about-wrap, .contact-info, .contact-form { padding: 36px 24px; }
    .solution-no { font-size: 44px; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(6, 8, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-200%);
        transition: var(--transition);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }
    .nav.open { transform: translateY(0); }
    .nav-link { padding: 12px 16px; display: block; }
    .nav-link::after { display: none; }
    .menu-toggle { display: flex; }
    .hero-title { font-size: 32px; letter-spacing: 1px; }
    .hero-slogan { font-size: 16px; letter-spacing: 3px; }
    .hero-desc { font-size: 14px; }
    .hero-btns .btn { padding: 10px 24px; font-size: 14px; }
    .section { padding: 64px 0; }
    .section-title { margin-bottom: 44px; }
    .section-title h2 { font-size: 26px; }
    .product-text h3, .solution-content h3 { font-size: 22px; }
    .about-text h3 { font-size: 26px; }
    .about-lead { font-size: 16px; }
    .footer-wrap { flex-direction: column; }
    .footer-nav { justify-content: flex-start; max-width: 100%; }
    .section-divider { height: 36px; }
    .service-main-img { max-width: 100%; }
    .service-sub-img { max-width: 90%; }
    .scroll-hint { display: none; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 26px; }
    .logo-img { height: 36px; }
    .nav-wrap { height: 60px; }
    .hero { margin-top: 60px; min-height: 500px; }
    .nav { top: 60px; }
    .btn { padding: 10px 20px; font-size: 14px; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .about-features { grid-template-columns: repeat(2, 1fr); }
    .section-divider { height: 28px; }
    .solution-no { font-size: 36px; }
}
