/* ===== 基础样式重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1e3a8a;
    --primary-purple: #4c1d95;
    --accent-cyan: #06b6d4;
    --accent-orange: #f97316;
    --accent-pink: #ec4899;
    --accent-yellow: #fbbf24;
    --accent-green: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #4c1d95 50%, #7c3aed 100%);
    --gradient-btn: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(30, 58, 138, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(30, 58, 138, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--white);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-btn);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
}

.logo-highlight {
    color: var(--accent-cyan);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-cyan);
}

.dropdown {
    position: relative;
}

.dropdown .arrow {
    font-size: 0.6rem;
    margin-left: 0.25rem;
    transition: var(--transition);
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 180px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    padding: 0.5rem 0;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    font-weight: 400;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.lang-toggle {
    background: transparent;
    border: 2px solid var(--accent-cyan);
    color: var(--accent-cyan);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-left: 1rem;
}

.lang-toggle:hover {
    background: var(--accent-cyan);
    color: var(--white);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero 区域 ===== */
.hero {
    min-height: 60vh;
    background: var(--gradient-hero);
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gear {
    position: absolute;
    border-radius: 50%;
    background: transparent;
}

/* 齿轮主体 */
.gear::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

/* 齿轮中心孔 */
.gear::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

/* 齿轮1 - 青色 */
.gear-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    right: 5%;
    animation: rotate 20s linear infinite;
    background: 
        conic-gradient(from 0deg, transparent 0deg, transparent 15deg, rgba(6,182,212,0.35) 15deg, rgba(6,182,212,0.35) 30deg, transparent 30deg, transparent 45deg, rgba(6,182,212,0.35) 45deg, rgba(6,182,212,0.35) 60deg, transparent 60deg, transparent 75deg, rgba(6,182,212,0.35) 75deg, rgba(6,182,212,0.35) 90deg, transparent 90deg, transparent 105deg, rgba(6,182,212,0.35) 105deg, rgba(6,182,212,0.35) 120deg, transparent 120deg, transparent 135deg, rgba(6,182,212,0.35) 135deg, rgba(6,182,212,0.35) 150deg, transparent 150deg, transparent 165deg, rgba(6,182,212,0.35) 165deg, rgba(6,182,212,0.35) 180deg, transparent 180deg, transparent 195deg, rgba(6,182,212,0.35) 195deg, rgba(6,182,212,0.35) 210deg, transparent 210deg, transparent 225deg, rgba(6,182,212,0.35) 225deg, rgba(6,182,212,0.35) 240deg, transparent 240deg, transparent 255deg, rgba(6,182,212,0.35) 255deg, rgba(6,182,212,0.35) 270deg, transparent 270deg, transparent 285deg, rgba(6,182,212,0.35) 285deg, rgba(6,182,212,0.35) 300deg, transparent 300deg, transparent 315deg, rgba(6,182,212,0.35) 315deg, rgba(6,182,212,0.35) 330deg, transparent 330deg, transparent 345deg, rgba(6,182,212,0.35) 345deg, rgba(6,182,212,0.35) 360deg);
    filter: drop-shadow(0 0 10px rgba(6,182,212,0.5));
}

.gear-1::before {
    width: 100px;
    height: 100px;
    border: 3px solid rgba(6,182,212,0.4);
    background: radial-gradient(circle, rgba(6,182,212,0.15) 0%, transparent 70%);
}

.gear-1::after {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(6,182,212,0.5);
    background: rgba(6,182,212,0.2);
}

/* 齿轮2 - 粉色 */
.gear-2 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 15%;
    animation: rotate 15s linear infinite reverse;
    background: 
        conic-gradient(from 0deg, transparent 0deg, transparent 20deg, rgba(236,72,153,0.35) 20deg, rgba(236,72,153,0.35) 40deg, transparent 40deg, transparent 60deg, rgba(236,72,153,0.35) 60deg, rgba(236,72,153,0.35) 80deg, transparent 80deg, transparent 100deg, rgba(236,72,153,0.35) 100deg, rgba(236,72,153,0.35) 120deg, transparent 120deg, transparent 140deg, rgba(236,72,153,0.35) 140deg, rgba(236,72,153,0.35) 160deg, transparent 160deg, transparent 180deg, rgba(236,72,153,0.35) 180deg, rgba(236,72,153,0.35) 200deg, transparent 200deg, transparent 220deg, rgba(236,72,153,0.35) 220deg, rgba(236,72,153,0.35) 240deg, transparent 240deg, transparent 260deg, rgba(236,72,153,0.35) 260deg, rgba(236,72,153,0.35) 280deg, transparent 280deg, transparent 300deg, rgba(236,72,153,0.35) 300deg, rgba(236,72,153,0.35) 320deg, transparent 320deg, transparent 340deg, rgba(236,72,153,0.35) 340deg, rgba(236,72,153,0.35) 360deg);
    filter: drop-shadow(0 0 8px rgba(236,72,153,0.5));
}

.gear-2::before {
    width: 65px;
    height: 65px;
    border: 3px solid rgba(236,72,153,0.4);
    background: radial-gradient(circle, rgba(236,72,153,0.15) 0%, transparent 70%);
}

.gear-2::after {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(236,72,153,0.5);
    background: rgba(236,72,153,0.2);
}

/* 齿轮3 - 黄色 */
.gear-3 {
    width: 80px;
    height: 80px;
    top: 5%;
    right: 20%;
    animation: rotate 12s linear infinite;
    background: 
        conic-gradient(from 0deg, transparent 0deg, transparent 22.5deg, rgba(251,191,36,0.4) 22.5deg, rgba(251,191,36,0.4) 45deg, transparent 45deg, transparent 67.5deg, rgba(251,191,36,0.4) 67.5deg, rgba(251,191,36,0.4) 90deg, transparent 90deg, transparent 112.5deg, rgba(251,191,36,0.4) 112.5deg, rgba(251,191,36,0.4) 135deg, transparent 135deg, transparent 157.5deg, rgba(251,191,36,0.4) 157.5deg, rgba(251,191,36,0.4) 180deg, transparent 180deg, transparent 202.5deg, rgba(251,191,36,0.4) 202.5deg, rgba(251,191,36,0.4) 225deg, transparent 225deg, transparent 247.5deg, rgba(251,191,36,0.4) 247.5deg, rgba(251,191,36,0.4) 270deg, transparent 270deg, transparent 292.5deg, rgba(251,191,36,0.4) 292.5deg, rgba(251,191,36,0.4) 315deg, transparent 315deg, transparent 337.5deg, rgba(251,191,36,0.4) 337.5deg, rgba(251,191,36,0.4) 360deg);
    filter: drop-shadow(0 0 8px rgba(251,191,36,0.5));
}

.gear-3::before {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(251,191,36,0.4);
    background: radial-gradient(circle, rgba(251,191,36,0.15) 0%, transparent 70%);
}

.gear-3::after {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(251,191,36,0.5);
    background: rgba(251,191,36,0.2);
}

.dotted-circle {
    display: none;  /* 隐藏虚线圆圈 */
    position: absolute;
    width: 400px;
    height: 400px;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    left: -100px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero 插图 */
.hero-illustration {
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.illustration-wrapper {
    position: relative;
    height: 350px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 2rem;
}

.person {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.person-body {
    width: 60px;
    height: 100px;
    background: linear-gradient(180deg, #ffd4a3 30%, var(--accent-cyan) 30%);
    border-radius: 30px 30px 0 0;
    position: relative;
}

.person-body::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background: #ffd4a3;
    border-radius: 50%;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
}

.chat-bubble {
    position: absolute;
    top: -60px;
    background: var(--accent-yellow);
    padding: 8px 15px;
    border-radius: 15px;
    color: var(--text-dark);
    font-size: 0.9rem;
    animation: float 3s ease-in-out infinite;
}

.bubble-2 {
    background: var(--accent-pink);
    color: var(--white);
}

.bubble-3 {
    background: var(--accent-orange);
    color: var(--white);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== 关于公司部分 ===== */
.about-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-illustration {
    position: relative;
}

.illustration-box {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-mockup {
    width: 280px;
    height: 200px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.screen-header {
    background: #f3f4f6;
    padding: 10px 15px;
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #fbbf24; }
.dot.green { background: #10b981; }

.screen-content {
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: calc(100% - 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.play-btn {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 10;
}

.play-btn::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    animation: playPulse 2s ease-in-out infinite;
}

@keyframes playPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.play-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
    background: var(--white);
}

.play-btn:active {
    transform: scale(1.05);
}

.code-lines span {
    display: block;
    width: 80px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin: 5px 0;
}

.code-lines span:nth-child(2) { width: 100px; }
.code-lines span:nth-child(3) { width: 60px; }

.floating-card {
    position: absolute;
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 15px;
    animation: float 4s ease-in-out infinite;
}

.card-1 {
    top: 20px;
    right: 20px;
    animation-delay: 0s;
}

.card-icon {
    font-size: 2rem;
}

.card-2 {
    bottom: 80px;
    left: 20px;
    animation-delay: 1s;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 60px;
}

.chart-bars span {
    width: 12px;
    background: var(--gradient-btn);
    border-radius: 3px;
}

.card-3 {
    bottom: 20px;
    right: 40px;
    animation-delay: 2s;
}

.world-map {
    width: 80px;
    height: 50px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(6, 182, 212, 0.3) 20%, 
        transparent 40%,
        rgba(6, 182, 212, 0.2) 60%,
        transparent 80%
    );
    border-radius: 5px;
    position: relative;
}

.world-map::before {
    content: '🌍';
    font-size: 2rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.worker {
    position: absolute;
    bottom: 0;
}

.worker-1 { left: 30px; }
.worker-2 { right: 60px; }

.worker-avatar {
    width: 70px;
    height: 90px;
    background: linear-gradient(180deg, #ffd4a3 25%, var(--primary-blue) 25%);
    border-radius: 35px 35px 0 0;
    position: relative;
}

.worker-avatar::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #ffd4a3;
    border-radius: 50%;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.deco-shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 30px;
    height: 30px;
    background: var(--accent-orange);
    top: 50px;
    left: 50px;
    opacity: 0.8;
}

.shape-2 {
    width: 20px;
    height: 20px;
    background: var(--accent-green);
    bottom: 100px;
    left: 80px;
}

.shape-3 {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid var(--accent-pink);
    border-radius: 0;
    top: 100px;
    right: 30px;
}

/* 关于内容 */
.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--accent-orange);
    border-radius: 2px;
    margin-bottom: 2rem;
}

.title-underline.center {
    margin: 0 auto 3rem;
}

.about-text {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.value-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-icon {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.value-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.value-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== 服务项目 ===== */
.services-section {
    padding: 6rem 2rem;
    background: var(--bg-light);
    perspective: 1000px;
}

.services-container {
    max-width: 1280px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(6, 182, 212, 0) 0%,
        rgba(6, 182, 212, 0.1) 50%,
        rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.service-card:hover::after {
    transform: translateX(100%) rotate(45deg);
}

.service-card .card-content {
    position: relative;
    z-index: 1;
    transform: translateZ(30px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(59, 130, 246, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: translateZ(50px) scale(1.1);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.3);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-card:hover h3 {
    transform: translateZ(40px);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.service-card:hover p {
    transform: translateZ(20px);
}

/* 3D 边框光效 */
.service-card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6, #8b5cf6, #ec4899);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(8px);
}

.service-card:hover .service-card-glow {
    opacity: 0.6;
}

/* ===== 动态动画区域 ===== */
.animation-section {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    overflow: hidden;
}

.animation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.animation-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    opacity: 0.5;
}

.bouncing-names {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bouncing-name {
    position: absolute;
    font-weight: 700;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: 0 0 20px currentColor, 0 0 40px currentColor, 0 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* ===== 联系我们 ===== */
.contact-section {
    padding: 6rem 2rem;
    background: var(--white);
}

.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-form {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 16px;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-cyan);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--gradient-btn);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(6, 182, 212, 0.3);
}

/* ===== 页脚 ===== */
.footer {
    background: #0f172a;
    color: var(--white);
    padding-top: 4rem;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.75rem;
}

.footer ul a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer ul a:hover {
    color: var(--accent-cyan);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.social-icon:hover {
    background: var(--accent-cyan);
    transform: translateY(-3px);
    color: var(--white);
}

.social-icon svg {
    transition: var(--transition);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

/* 复制弹窗 */
.copy-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.copy-popup.active {
    opacity: 1;
    visibility: visible;
}

.copy-popup-content {
    background: var(--white);
    padding: 2rem 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    max-width: 90%;
}

.copy-popup.active .copy-popup-content {
    transform: scale(1) translateY(0);
}

.copy-popup-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.copy-popup-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border-radius: 8px;
    user-select: all;
    word-break: break-all;
}

.copy-btn {
    background: var(--gradient-btn);
    color: var(--white);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
}

.copy-success {
    display: none;
    color: var(--accent-green);
    font-weight: 600;
    margin-left: 1rem;
}

.copy-success.show {
    display: inline;
    animation: fadeInScale 0.3s ease;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-illustration {
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--primary-blue);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateX(-100%);
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .hamburger {
        display: flex;
    }

    .lang-toggle {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .about-content h2,
    .section-title,
    .contact-info h2 {
        font-size: 2rem;
    }

    .illustration-wrapper {
        transform: scale(0.8);
    }

    .illustration-box {
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .animation-section {
        height: 180px;
    }
    
    .bouncing-name {
        text-shadow: 0 0 8px currentColor, 0 0 15px currentColor;
    }
    
    /* 齿轮响应式 - 手机 */
    .gear-1 {
        width: 70px;
        height: 70px;
        top: 3%;
        right: 0%;
    }
    .gear-1::before {
        width: 45px;
        height: 45px;
    }
    .gear-1::after {
        width: 14px;
        height: 14px;
    }
    
    .gear-2 {
        width: 50px;
        height: 50px;
        top: 18%;
        right: 8%;
    }
    .gear-2::before {
        width: 32px;
        height: 32px;
    }
    .gear-2::after {
        width: 10px;
        height: 10px;
    }
    
    .gear-3 {
        width: 40px;
        height: 40px;
        top: 0%;
        right: 15%;
    }
    .gear-3::before {
        width: 25px;
        height: 25px;
    }
    .gear-3::after {
        width: 8px;
        height: 8px;
    }
    
    .dotted-circle {
        width: 200px;
        height: 200px;
        left: -80px;
        top: 20%;
    }
    
    .animation-section {
        height: 200px;
    }
    
    .bouncing-name {
        text-shadow: 0 0 10px currentColor, 0 0 20px currentColor, 0 1px 5px rgba(0, 0, 0, 0.5);
    }
    
    /* 齿轮响应式 - 平板 */
    .gear-1 {
        width: 100px;
        height: 100px;
        top: 5%;
        right: 2%;
    }
    .gear-1::before {
        width: 65px;
        height: 65px;
    }
    .gear-1::after {
        width: 20px;
        height: 20px;
    }
    
    .gear-2 {
        width: 70px;
        height: 70px;
        top: 25%;
        right: 12%;
    }
    .gear-2::before {
        width: 45px;
        height: 45px;
    }
    .gear-2::after {
        width: 14px;
        height: 14px;
    }
    
    .gear-3 {
        width: 55px;
        height: 55px;
        top: 2%;
        right: 18%;
    }
    .gear-3::before {
        width: 35px;
        height: 35px;
    }
    .gear-3::after {
        width: 12px;
        height: 12px;
    }
    
    .dotted-circle {
        width: 280px;
        height: 280px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ===== 动画效果 ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-illustration {
    animation: slideInLeft 0.8s ease;
}

.about-content {
    animation: slideInRight 0.8s ease;
}

/* 滚动动画 */
.value-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}



.value-item:nth-child(1) { animation-delay: 0.1s; }
.value-item:nth-child(2) { animation-delay: 0.2s; }
.value-item:nth-child(3) { animation-delay: 0.3s; }

/* ===== 管理员登录按钮 ===== */
.admin-login-btn {
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    margin-left: 0.5rem;
}

.admin-login-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 管理员登录弹窗 */
.admin-login-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.admin-login-modal.show {
    opacity: 1;
    visibility: visible;
}

.admin-login-content {
    width: 90%;
    max-width: 400px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(20px);
    transition: var(--transition);
}

.admin-login-modal.show .admin-login-content {
    transform: translateY(0);
}

.admin-login-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.admin-login-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.close-admin-login {
    padding: 0.5rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    border-radius: 8px;
    transition: var(--transition);
}

.close-admin-login:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.admin-login-body {
    padding: 1.5rem;
}

.admin-input-group {
    margin-bottom: 1.25rem;
}

.admin-input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.admin-input-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.admin-input-group input:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

.admin-login-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    min-height: 1.2em;
}

.admin-login-submit {
    width: 100%;
    padding: 0.875rem;
    background: var(--gradient-btn);
    border: none;
    border-radius: 10px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.admin-login-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

/* ===== AI悬浮球样式 ===== */
.ai-float-btn {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: var(--gradient-btn);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
}

.ai-float-btn span {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
}

.ai-float-btn:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(6, 182, 212, 0.5);
}

.ai-float-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(0.8);
}

/* AI聊天框 */
.ai-chat-modal {
    position: fixed;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    width: 400px;
    max-width: 90vw;
    height: 500px;
    max-height: 70vh;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ai-chat-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.ai-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--gradient-btn);
    border-radius: 16px 16px 0 0;
}

.ai-chat-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

.ai-chat-header-btns {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.ai-chat-clear,
.ai-chat-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s;
}

.ai-chat-clear:hover,
.ai-chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ai-message {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.ai-message.user {
    align-self: flex-end;
    background: var(--gradient-btn);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.ai-message.assistant {
    align-self: flex-start;
    background: #f0f2f5;
    color: var(--text-dark);
    border-bottom-left-radius: 4px;
}

.ai-message.ai-welcome {
    align-self: flex-start;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    color: var(--text-dark);
    border-left: 3px solid var(--accent-cyan);
}

.ai-message.typing {
    background: #f0f2f5;
    color: var(--text-light);
}

.ai-message.typing::after {
    content: '...';
    animation: typing 1s infinite;
}

@keyframes typing {
    0%, 33% { content: '.'; }
    34%, 66% { content: '..'; }
    67%, 100% { content: '...'; }
}

.ai-chat-input-area {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

.ai-chat-input-area textarea {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    font-size: 0.9rem;
    resize: none;
    outline: none;
    font-family: inherit;
    max-height: 100px;
    transition: border-color 0.2s;
}

.ai-chat-input-area textarea:focus {
    border-color: var(--accent-cyan);
}

.ai-send-btn {
    width: 44px;
    height: 44px;
    background: var(--gradient-btn);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.ai-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.ai-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* 流式输出光标动画 */
.ai-message .streaming-cursor {
    display: inline-block;
    color: var(--accent-cyan);
    animation: blink 0.8s infinite;
    font-weight: normal;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* 响应式 */
@media (max-width: 480px) {
    .ai-float-btn {
        width: 60px;
        height: 60px;
        bottom: 20px;
    }
    
    .ai-float-btn span {
        font-size: 0.85rem;
    }
    
    .ai-chat-modal {
        bottom: 100px;
        width: 95vw;
        height: 60vh;
    }
}
