* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at 10% 20%, #0a0f1f, #03060c);
    color: #eef5ff;
    line-height: 1.5;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #101520;
}
::-webkit-scrollbar-thumb {
    background: #2c6e9e;
    border-radius: 8px;
}

/* 科技网格背景 */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* 主容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ========= 头部区域 (固定吸顶) ========= */
.hero-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 18, 30, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    padding: 16px 0 12px 0;
    margin-bottom: 0;
    transition: all 0.2s;
}
/* 内部内容宽度对齐容器 */
.hero-header .container {
    padding: 0 24px;
}
/* 调整内部布局 */
.brand-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0, 114, 255, 0.3);
}
.logo-icon i {
    font-size: 26px;
    color: white;
}
.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(120deg, #ffffff, #88ccff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
}
.vision-tagline {
    background: rgba(0, 30, 50, 0.7);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: 60px;
    border-left: 3px solid #00a6ff;
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
}
.vision-tagline i {
    margin-right: 6px;
    color: #2ad4ff;
}

/* 导航区域 (桌面默认横向) */
.nav-wrapper {
    margin-top: 12px;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
/* 桌面端横向导航样式 */
.nav-links-desktop {
    display: flex;
    gap: 8px;
    background: rgba(15, 25, 45, 0.6);
    backdrop-filter: blur(12px);
    padding: 6px 16px;
    border-radius: 60px;
    border: 1px solid rgba(0, 200, 255, 0.25);
}
.nav-links-desktop a {
    color: #ccdeff;
    text-decoration: none;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 40px;
    transition: all 0.25s ease;
    font-size: 0.85rem;
    display: inline-block;
}
.nav-links-desktop a:hover, .nav-links-desktop a:active {
    background: rgba(0, 160, 255, 0.3);
    color: white;
    box-shadow: 0 0 8px rgba(0, 160, 255, 0.5);
}

/* 移动端汉堡菜单按钮 (默认隐藏) */
.hamburger-btn {
    display: none;
    background: rgba(15, 25, 45, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 200, 255, 0.4);
    border-radius: 40px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 1.4rem;
    color: #ccdeff;
    transition: 0.2s;
    z-index: 120;
}
.hamburger-btn:hover {
    background: rgba(0, 160, 255, 0.3);
    border-color: #00a6ff;
}

/* 移动端侧滑菜单面板 */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 280px;
    height: 100%;
    background: rgba(6, 14, 24, 0.98);
    backdrop-filter: blur(24px);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border-right: 1px solid rgba(0, 212, 255, 0.5);
    box-shadow: 8px 0 30px rgba(0,0,0,0.6);
    padding: 90px 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.mobile-menu-panel.open {
    transform: translateX(0);
}
.mobile-menu-panel a {
    color: #e0f0ff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 200, 255, 0.2);
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 14px;
}
.mobile-menu-panel a i {
    width: 28px;
    font-size: 1.2rem;
    color: #2ad4ff;
}
.mobile-menu-panel a:active {
    color: white;
    padding-left: 8px;
    border-bottom-color: #00a6ff;
}
.close-menu {
    position: absolute;
    top: 28px;
    right: 24px;
    font-size: 1.8rem;
    color: #88ccff;
    background: none;
    border: none;
    cursor: pointer;
}
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: none;
}
.menu-overlay.show {
    display: block;
}

/* 通用板块样式 (增加偏移避免被固定头部遮挡) */
section {
    margin: 80px 0;
    scroll-margin-top: 90px;  /* 备用，与js偏移协调 */
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}
.section-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #00c6ff, #6e45e2);
    border-radius: 4px;
}
.title-center {
    text-align: center;
    display: block;
}
.title-center:after {
    left: 20%;
    width: 60%;
}

/* 关于我们卡片 */
.about-card {
    background: rgba(12, 20, 32, 0.55);
    backdrop-filter: blur(12px);
    border-radius: 36px;
    padding: 40px 36px;
    border: 1px solid rgba(0, 200, 255, 0.25);
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.4);
}
.about-card p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #e0edff;
}
.tech-badge {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}
.tech-badge span {
    background: rgba(0, 180, 255, 0.15);
    border-radius: 60px;
    padding: 6px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.4);
}

/* 产品卡片网格 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 30px;
}
.product-card {
    background: rgba(8, 18, 28, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 28px 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 190, 255, 0.2);
    text-align: center;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: #2a9eff;
    box-shadow: 0 15px 30px -8px rgba(0,150,255,0.3);
}
.product-icon {
    font-size: 2.8rem;
    background: linear-gradient(145deg, #1c4e80, #0e2a44);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    margin: 0 auto 20px;
    color: #a0e0ff;
}
.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}
.product-card p {
    color: #bdd4ff;
    font-size: 0.9rem;
}

/* APP下载区 */
.download-section {
    background: linear-gradient(135deg, rgba(0, 30, 60, 0.7), rgba(0, 10, 25, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 48px;
    padding: 48px 32px;
    border: 1px solid rgba(0, 200, 255, 0.4);
}
.download-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.download-info {
    flex: 1;
}
.download-info h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.app-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 24px 0;
}
.btn-store {
    background: #0a1929;
    border: 1px solid #2c7cb6;
    padding: 10px 24px;
    border-radius: 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: 0.2s;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}
.btn-store i {
    font-size: 1.5rem;
}
.btn-store:hover {
    background: #1c3e5c;
    border-color: #3e9eff;
    transform: scale(1.02);
}
.qr-placeholder {
    background: #0f212f;
    padding: 16px;
    border-radius: 28px;
    width: 130px;
    text-align: center;
    border: 1px solid cyan;
}
.qr-placeholder i {
    font-size: 60px;
    color: #00c8ff;
}
.qr-placeholder p {
    font-size: 11px;
    margin-top: 8px;
}

/* 联系我们区域 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}
.contact-info {
    background: rgba(10, 20, 35, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 32px;
    border: 1px solid rgba(0, 212, 255, 0.25);
}
.contact-info i {
    width: 38px;
    color: #2ad4ff;
    font-size: 1.3rem;
}
.info-item {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 24px;
}
.contact-form {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 32px;
    padding: 32px;
    border: 1px solid rgba(0, 180, 255, 0.4);
}
.form-group {
    margin-bottom: 20px;
}
input, textarea {
    width: 100%;
    background: rgba(20, 30, 50, 0.7);
    border: 1px solid #2c5f8a;
    padding: 12px 18px;
    border-radius: 28px;
    font-family: 'Inter', sans-serif;
    color: #fff;
    font-size: 0.95rem;
    transition: 0.2s;
}
input:focus, textarea:focus {
    outline: none;
    border-color: #00a6ff;
    box-shadow: 0 0 12px rgba(0,166,255,0.3);
}
.btn-submit {
    background: linear-gradient(95deg, #0072ff, #00c6ff);
    border: none;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: bold;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,150,255,0.4);
}

footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(0, 150, 200, 0.3);
    margin-top: 40px;
    font-size: 0.8rem;
    color: #8aa9d6;
}

/* 响应式移动端适配 */
@media (max-width: 860px) {
    .container {
        padding: 0 20px;
    }
    .hero-header .container {
        padding: 0 20px;
    }
    .brand-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .vision-tagline {
        white-space: normal;
        font-size: 0.8rem;
    }
    .section-title {
        font-size: 1.7rem;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .download-flex {
        flex-direction: column;
        text-align: center;
    }
    .app-buttons {
        justify-content: center;
    }
    .qr-placeholder {
        margin: 0 auto;
    }
    .about-card {
        padding: 28px 20px;
    }
    /* 移动端：隐藏桌面导航，显示汉堡按钮 */
    .nav-links-desktop {
        display: none;
    }
    .hamburger-btn {
        display: flex;
        align-items: center;
        gap: 6px;
        margin-left: auto;
    }
    .nav-wrapper {
        justify-content: flex-end;
    }
}

@media (max-width: 540px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .logo-text h1 {
        font-size: 1.3rem;
    }
    .logo-icon {
        width: 38px;
        height: 38px;
    }
    .logo-icon i {
        font-size: 22px;
    }
}

/* 动画 */
@keyframes fadeUp {
    0% { opacity: 0; transform: translateY(20px);}
    100% { opacity: 1; transform: translateY(0);}
}
section {
    animation: fadeUp 0.5s ease-out;
}
.glow-text {
    text-shadow: 0 0 6px rgba(0,180,255,0.5);
}


/* APP下载 - 二维码区域交互 */
.qr-placeholder {
    transition: transform 0.2s, box-shadow 0.2s;
    background: #0f212f;
    padding: 12px;
    border-radius: 28px;
    width: 130px;
    height: 130px;
    text-align: center;
    border: 1px solid cyan;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    overflow: hidden;
}
.qr-placeholder:active {
    transform: scale(0.96);
}
#browserGuideOverlay button {
    transition: 0.2s;
}
#browserGuideOverlay button:hover {
    background: #88ddff;
}

/* 确保内部 canvas 或 img 不超出 */
.qr-placeholder canvas,
.qr-placeholder img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}