* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Microsoft YaHei", system-ui, sans-serif;
    background: #080a12;
    color: #e2e2e2;
    overflow-x: hidden;
    line-height: 1.7;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section {
    padding: 100px 0;
}
.bg-dark {
    background: #0c0f1a;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h2 {
    font-size: 2.4rem;
    font-weight: 600;
    color: #fff;
}
.line {
    width: 60px;
    height: 2px;
    background: #3684ff;
    margin: 14px auto 0;
}

/* 鼠标跟随光晕 */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(54,132,255,0.18), transparent 65%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
}
#particles {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index: 0;
    opacity: 0.35;
}

/* 导航 */
.navbar {
    position: fixed;
    width:100%;
    top:0;
    z-index: 999;
    padding: 20px 0;
    transition: all 0.4s ease;
}
.navbar.scrolled {
    background: rgba(8,10,18,0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 14px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:0 24px;
    max-width:1200px;
    margin:0 auto;
}
.logo {
    font-size:1.4rem;
    font-weight:700;
    color:#3684ff;
}
.nav-menu {
    display:flex;
    gap:32px;
}
.nav-link {
    font-size:0.95rem;
    opacity:0.82;
    transition: 0.3s;
}
.nav-link:hover {
    opacity:1;
    color:#3684ff;
}
.hamburger {
    display:none;
    flex-direction:column;
    gap:6px;
}
.hamburger span {
    width:24px;
    height:2px;
    background:#fff;
}

/* Hero首屏 */
.hero {
    min-height: 100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    position:relative;
    z-index:1;
    padding-top:80px;
}
.hero-title {
    font-size: clamp(2.6rem, 8vw, 5rem);
    font-weight:700;
    margin-bottom:18px;
}
.hero-title .char {
    display:inline-block;
    opacity:0;
    transform: translateY(40px);
}
.hero-sub {
    font-size:1.1rem;
    opacity:0.7;
    margin-bottom:40px;
}
.hero-btn {
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:14px 34px;
    border:1px solid #3684ff;
    color:#3684ff;
    border-radius:999px;
    transition:0.4s;
}
.hero-btn:hover {
    background:#3684ff;
    color:#fff;
}
.scroll-hint {
    position:absolute;
    bottom:40px;
    left:50%;
    transform:translateX(-50%);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    opacity:0.6;
    animation: bounce 2.2s infinite;
}
@keyframes bounce {
    0%,100%{transform:translateX(-50%) translateY(0);}
    50%{transform:translateX(-50%) translateY(10px);}
}

/* 滚动渐入 */
.reveal {
    opacity:0;
    transform: translateY(36px);
    transition: all 0.7s ease;
}
.reveal.active {
    opacity:1;
    transform: translateY(0);
}

/* 关于 */
.about-wrap {
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:50px;
    align-items:center;
}
.stats-grid {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap:24px;
}
.stat-item {
    background:rgba(255,255,255,0.04);
    padding:30px;
    border-radius:16px;
    text-align:center;
    border:1px solid rgba(54,132,255,0.12);
}
.stat-num {
    font-size:2.4rem;
    font-weight:bold;
    color:#3684ff;
}
.stat-label {
    font-size:0.9rem;
    opacity:0.65;
}

/* 服务卡片 */
.service-grid {
    display:grid;
    grid-template-columns: repeat(4,1fr);
    gap:24px;
}
.service-card {
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(54,132,255,0.12);
    padding:34px 26px;
    border-radius:16px;
    transition:0.4s;
}
.service-card:hover {
    transform: translateY(-10px);
    border-color:#3684ff;
    box-shadow:0 12px 30px rgba(54,132,255,0.12);
}
.card-icon {
    font-size:2rem;
    color:#3684ff;
    margin-bottom:16px;
}
.service-card h3 {
    margin-bottom:10px;
}
.service-card p {
    font-size:0.9rem;
    opacity:0.7;
}

/* 案例 */
.works-grid {
    display:grid;
    grid-template-columns: repeat(3,1fr);
    gap:24px;
}
.work-item {
    border-radius:16px;
    overflow:hidden;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(54,132,255,0.12);
    transition:0.4s;
}
.work-item:hover {
    transform: translateY(-8px);
}
.work-thumb {
    height:180px;
    background: linear-gradient(135deg, #152846, #0c1424);
}
.work-info {
    padding:20px;
}
.work-info span {
    font-size:0.8rem;
    color:#3684ff;
    opacity:0.8;
}

/* 联系 */
.contact-wrap {
    display:flex;
    justify-content:center;
    gap:40px;
    text-align:center;
    flex-wrap:wrap;
}
.contact-item {
    padding:24px;
}
.contact-item i {
    font-size:2rem;
    color:#3684ff;
    margin-bottom:12px;
}

.footer {
    text-align:center;
    padding:30px;
    background:#05070c;
    font-size:0.9rem;
    opacity:0.6;
}

@media(max-width:900px){
    .nav-menu { display:none; }
    .hamburger { display:flex; }
    .about-wrap, .service-grid, .works-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }
}
