/* === 基础重置与变量 === */
:root {
    --primary: #00d4ff;
    --primary-dark: #0099cc;
    --secondary: #7b2fff;
    --bg-dark: #0a0e1a;
    --bg-card: #111827;
    --bg-section: #0d1220;
    --text: #e0e7ff;
    --text-muted: #8892b0;
    --gradient: linear-gradient(135deg, #00d4ff, #7b2fff);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === 导航栏 === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.logo-icon {
    font-size: 1.8rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* === Hero 区域 === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(123, 47, 255, 0.08) 0%, transparent 60%),
        var(--bg-dark);
}

.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero-content {
    text-align: center;
    z-index: 10;
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .line1 {
    display: block;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .line2 {
    display: block;
    color: #fff;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

/* 电路装饰线 */
.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.circuit-line {
    position: absolute;
    background: var(--gradient);
    opacity: 0.08;
}

.circuit-line.line1 {
    width: 2px;
    height: 60%;
    left: 15%;
    top: 20%;
}

.circuit-line.line2 {
    width: 40%;
    height: 2px;
    right: 10%;
    top: 40%;
}

.circuit-line.line3 {
    width: 2px;
    height: 40%;
    right: 25%;
    bottom: 10%;
}

/* === 通用区块 === */
.section {
    padding: 100px 0;
    position: relative;
}

.section:nth-child(odd) {
    background: var(--bg-section);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--gradient);
    margin: 0 auto 60px;
    border-radius: 2px;
}

/* === 关于我们 === */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.9;
}

.about-lead {
    font-size: 1.2rem !important;
    color: var(--text) !important;
}

.about-text strong {
    color: var(--primary);
    font-weight: 500;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* === 主营业务 === */
.business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.business-card {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 16px;
    padding: 36px 28px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    opacity: 0;
    transition: opacity 0.3s;
}

.business-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.business-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.business-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 10px;
}

.business-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === 团队优势 === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.team-item {
    background: var(--bg-card);
    border: 1px solid rgba(123, 47, 255, 0.15);
    border-radius: 16px;
    padding: 36px 32px;
    transition: transform 0.3s, border-color 0.3s;
}

.team-item:hover {
    transform: translateY(-4px);
    border-color: rgba(123, 47, 255, 0.4);
}

.team-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.team-item h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 12px;
}

.team-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* === 联系我们 === */
.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 6px;
}

.contact-item p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.map-placeholder {
    background: var(--bg-card);
    border: 1px solid rgba(0, 212, 255, 0.15);
    border-radius: 16px;
    padding: 60px 32px;
    text-align: center;
}

.map-pin {
    font-size: 3rem;
    margin-bottom: 12px;
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.map-placeholder p {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 6px;
}

.map-placeholder span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* === 页脚 === */
.footer {
    background: #060a14;
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding: 36px 0;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 12px;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.footer-icp a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.83rem;
    transition: color 0.3s;
}

.footer-icp a:hover {
    color: var(--primary);
}

/* === 响应式 === */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 26, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .business-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}