/* ==================== 全局样式 ==================== */
:root {
    --primary: #00f0ff;
    --secondary: #b026ff;
    --accent: #00ff88;
    --dark-bg: #0a0a0f;
    --darker-bg: #050508;
    --card-bg: #121218;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient-primary: linear-gradient(135deg, #00f0ff 0%, #b026ff 100%);
    --gradient-secondary: linear-gradient(135deg, #b026ff 0%, #ff006e 100%);
    --glow-primary: 0 0 30px rgba(0, 240, 255, 0.3);
    --glow-secondary: 0 0 30px rgba(176, 38, 255, 0.3);
    /* 字体变量 - 使用国内可访问的系统字体 */
    --font-display: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "Heiti SC", Arial, sans-serif;
    --font-body: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Hiragino Sans GB", "STHeiti", Arial, sans-serif;
    --font-tech: "Consolas", "Monaco", "Courier New", monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 8, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.logo-sub {
    font-family: var(--font-tech);
    font-size: 10px;
    color: var(--text-secondary);
    letter-spacing: 4px;
    margin-top: -5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* ==================== Hero区域 ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(176, 38, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
    animation: bgPulse 8s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    top: 40%;
    right: 10%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    top: 70%;
    right: 20%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 0.5;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: 3px;
}

.title-line {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
    transform: translateY(50px);
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(16px, 3vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 50px;
    letter-spacing: 5px;
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeIn 1s ease 0.9s forwards;
    opacity: 0;
}

.btn {
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--darker-bg);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.5);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--darker-bg);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease 1.2s forwards;
    opacity: 0;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s ease infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ==================== 通用Section样式 ==================== */
section {
    padding: 100px 0;
    position: relative;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.title-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== 关于我们 ==================== */
.about {
    background: var(--darker-bg);
}

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

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

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    font-size: 40px;
}

.feature span {
    font-size: 14px;
    color: var(--text-secondary);
}

.about-visual {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tech-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.tech-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.tech-card h4 {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--primary);
}

/* ==================== AI业务 ==================== */
.ai-services {
    background: var(--dark-bg);
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.ai-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(0, 240, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.ai-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--glow-primary);
    border-color: rgba(0, 240, 255, 0.3);
}

.ai-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.ai-icon svg {
    width: 30px;
    height: 30px;
    color: var(--darker-bg);
}

.ai-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary);
}

.ai-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.ai-features {
    list-style: none;
    padding-left: 0;
}

.ai-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.ai-features li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ==================== 服务范围 ==================== */
.services {
    background: var(--darker-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    border-left: 3px solid var(--secondary);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateX(10px);
    border-left-color: var(--primary);
    box-shadow: var(--glow-secondary);
}

.service-item h4 {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-item ul {
    list-style: none;
}

.service-item li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

.service-item li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

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

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

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--glow-primary);
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background: var(--card-bg);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 240, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.map-placeholder svg {
    width: 80%;
    height: 80%;
    color: var(--primary);
    opacity: 0.5;
}

.map-placeholder p {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--primary);
    margin-top: 20px;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--darker-bg);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 240, 255, 0.1);
}

.footer-content {
    text-align: center;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 5px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--darker-bg);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        gap: 30px;
    }

    .about-visual {
        grid-template-columns: 1fr;
    }

    .about-features {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

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

    .btn {
        width: 100%;
        max-width: 280px;
    }

    .contact-visual {
        order: -1;
    }
}

/* ==================== 滚动动画 ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* ==================== 自定义滚动条 ==================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}



