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

:root {
    --primary: #00d4aa;
    --primary-dark: #00a888;
    --primary-light: #4dffd9;
    --bg-dark: #0a0e1a;
    --bg-darker: #060914;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --text-white: #f0f4f8;
    --text-gray: #94a3b8;
    --text-dark: #475569;
    --accent-orange: #f59e0b;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --section-padding: 100px 0;
    --container-max: 1200px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Noto Sans CJK SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 212, 170, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(6, 9, 20, 0.95);
    border-bottom: 1px solid rgba(0, 212, 170, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 9px;
    color: var(--text-gray);
    letter-spacing: 2px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 8px 16px;
    font-size: 14px;
    color: var(--text-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(0, 212, 170, 0.08);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========== Hero 区域 ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #060914 0%, #0a0e1a 50%, #0d1525 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(0, 212, 170, 0.06) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.04) 0%, transparent 50%);
    animation: heroGlow 20s ease infinite;
    z-index: 0;
}

@keyframes heroGlow {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300d4aa' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.hero-logo {
    margin-bottom: 24px;
    animation: fadeInUp 1s ease 0.1s both;
}

.hero-logo-img {
    width: 90px;
    height: 90px;
    filter: drop-shadow(0 0 20px rgba(0, 212, 170, 0.4));
}

.hero-title {
    margin-bottom: 32px;
}

.hero-title-main {
    display: block;
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    animation: fadeInUp 1s ease;
}

.hero-title-sub {
    display: block;
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--primary);
    margin-top: 16px;
    letter-spacing: 6px;
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-desc {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 2;
    margin-bottom: 48px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.35s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.3);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(0, 212, 170, 0.1);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 5vw, 80px);
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.stat-unit {
    font-size: 0.6em;
}

.stat-label {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 4px;
    display: block;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hero-scroll span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--primary);
    border-radius: 12px;
    position: relative;
}

.hero-scroll span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollDot 2s ease infinite;
}

@keyframes scrollDot {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

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

/* ========== 通用 Section ========== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header.light .section-title,
.section-header.light .section-tag {
    color: #fff;
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    color: var(--primary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: 0 auto;
    border-radius: 2px;
}

/* ========== 公司概况 ========== */
.about {
    background: var(--bg-darker);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 70px;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.about-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: rgba(0, 212, 170, 0.2);
}

.about-card:hover::before {
    transform: scaleX(1);
}

.about-card-icon {
    font-size: 42px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: var(--text-white);
}

.about-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

.about-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-detail-text h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-detail-text p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 2;
    margin-bottom: 16px;
}

.about-detail-text strong {
    color: var(--primary);
}

.about-detail-image {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 212, 170, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.detail-img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.about-detail-image:hover .detail-img {
    transform: scale(1.05);
}

/* ========== 核心优势 ========== */
.advantages {
    background: linear-gradient(180deg, #0a0e1a 0%, #0d1525 100%);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.advantage-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.4s ease;
    position: relative;
}

.advantage-item:hover {
    background: rgba(0, 212, 170, 0.03);
    border-color: rgba(0, 212, 170, 0.2);
    transform: translateY(-4px);
}

.advantage-num {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.advantage-item h3 {
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--text-white);
}

.advantage-item ul li {
    font-size: 14px;
    color: var(--text-gray);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.advantage-item ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 12px;
}

/* ========== 资质专利 ========== */
.certifications {
    background: linear-gradient(135deg, #060914 0%, #0a1628 50%, #060914 100%);
    position: relative;
}

.certifications::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 212, 170, 0.03) 0%, transparent 70%);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    position: relative;
}

.cert-item {
    text-align: center;
    padding: 36px 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.cert-item:hover {
    background: rgba(0, 212, 170, 0.05);
    border-color: rgba(0, 212, 170, 0.2);
    transform: scale(1.05);
}

.cert-icon {
    font-size: 42px;
    margin-bottom: 14px;
}

.cert-item h4 {
    font-size: 15px;
    color: var(--text-white);
    font-weight: 600;
}

/* ========== 联系我们 ========== */
.contact {
    background: var(--bg-darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 28px;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 170, 0.08);
    border-radius: 14px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 6px;
}

.contact-item p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 380px;
    border: 1px solid rgba(0, 212, 170, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 9, 20, 0.7) 0%, rgba(10, 14, 26, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.map-content h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 12px;
}

.map-content p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.global-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.global-points span {
    padding: 8px 16px;
    background: rgba(0, 212, 170, 0.08);
    border: 1px solid rgba(0, 212, 170, 0.15);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-white);
}

/* ========== 页脚 ========== */
.footer {
    background: #03060c;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(0, 212, 170, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 6px;
}

.footer-brand .footer-en {
    font-size: 12px;
    color: var(--text-dark);
    margin-top: 8px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 15px;
    color: var(--text-white);
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-gray);
    padding: 6px 0;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.footer-bottom .icp a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}

.footer-bottom .icp a:hover {
    color: var(--primary);
}

/* ========== 响应式 ========== */
@media (max-width: 900px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(6, 9, 20, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 4px;
        border-bottom: 1px solid rgba(0, 212, 170, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .about-detail {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .hero-stats {
        gap: 30px;
    }
}

@media (max-width: 600px) {
    :root {
        --section-padding: 70px 0;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        justify-content: center;
    }

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

    .stat-num {
        font-size: 28px;
    }
}
