/* ===== 变量与基础 */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #10b981;
    --accent: #8b5cf6;
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    --gradient-purple: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Alibaba PuHuiTi 3', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ===== 按钮 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; font-size: 15px; font-weight: 600; border-radius: 12px;
    border: none; cursor: pointer; transition: all 0.3s; white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: var(--white); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-block { width: 100%; }

/* ===== 头部导航 */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 44px; height: 44px; background: var(--gradient); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: white; font-size: 16px;
}
.logo-name { font-size: 18px; font-weight: 700; color: var(--dark); display: block; }
.logo-en { font-size: 10px; color: var(--gray); letter-spacing: 2px; }
.nav { display: flex; gap: 32px; }
.nav-link { font-size: 15px; font-weight: 500; color: var(--gray); position: relative; padding: 4px 0; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.header-cta { padding: 10px 20px; background: var(--primary); color: white; border-radius: 8px; font-weight: 600; font-size: 14px; }
.header-cta:hover { background: var(--primary-dark); }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; }
.mobile-nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); padding: 20px; box-shadow: var(--shadow); z-index: 999; }
.mobile-nav.show { display: block; }
.mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid #eee; font-weight: 500; }

/* ===== Hero区域 */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    padding: 120px 0 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-gradient {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(37,99,235,0.3) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 50%, rgba(16,185,129,0.2) 0%, transparent 50%);
}
.hero-particles { position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 10; max-width: 600px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; background: rgba(255,255,255,0.1); border-radius: 50px;
    color: rgba(255,255,255,0.9); font-size: 14px; margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; background: var(--secondary); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero-title { margin-bottom: 24px; }
.title-line { display: block; font-size: 56px; font-weight: 700; color: var(--white); line-height: 1.2; }
.title-line.accent { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 40px; line-height: 1.8; }
.hero-stats { display: flex; align-items: center; gap: 24px; margin-bottom: 40px; }
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 36px; font-weight: 700; color: var(--white); }
.stat-num::after { content: '+'; color: var(--secondary); }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.6); }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }
.hero-actions { display: flex; gap: 16px; }
.hero-visual { position: relative; flex: 1; display: flex; justify-content: center; align-items: center; min-height: 400px; }
.floating-card {
    position: absolute; display: flex; align-items: center; gap: 12px;
    padding: 16px 24px; background: rgba(255,255,255,0.1); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2); border-radius: 16px;
    animation: float 6s ease-in-out infinite;
}
.floating-card .card-icon { font-size: 32px; }
.floating-card .card-title { display: block; font-weight: 600; color: var(--white); font-size: 14px; }
.floating-card .card-desc { display: block; font-size: 12px; color: rgba(255,255,255,0.6); }
.card-1 { top: 10%; right: 10%; animation-delay: 0s; }
.card-2 { top: 40%; right: 5%; animation-delay: 2s; }
.card-3 { bottom: 15%; right: 15%; animation-delay: 4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* ===== 客户区域 */
.clients { background: var(--white); padding: 40px 0; border-bottom: 1px solid #eee; }
.clients-label { text-align: center; font-size: 14px; color: var(--gray); margin-bottom: 24px; }
.clients-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; }
.client-item { font-size: 16px; color: var(--dark); font-weight: 500; padding: 8px 20px; background: var(--light); border-radius: 8px; }

/* ===== 通用区块 */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; padding: 6px 16px; background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(16,185,129,0.1)); border-radius: 50px; font-size: 12px; font-weight: 600; color: var(--primary); letter-spacing: 2px; margin-bottom: 16px; }
.section-title { font-size: 40px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.section-subtitle { font-size: 18px; color: var(--gray); }

/* ===== 关于我们 */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.about-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); padding: 40px; border-radius: 20px;
    text-align: center; transition: all 0.3s; border: 1px solid transparent;
}
.about-card:hover { border-color: var(--primary); transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.about-num { font-size: 48px; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 16px; }
.about-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--dark); }
.about-card p { font-size: 14px; color: var(--gray); line-height: 1.8; }
.about-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature-item { padding: 24px; background: var(--light); border-radius: 16px; transition: all 0.3s; }
.feature-item:hover { background: var(--white); box-shadow: var(--shadow); }
.feature-icon { font-size: 32px; margin-bottom: 16px; }
.feature-item h4 { font-size: 16px; margin-bottom: 8px; color: var(--dark); }
.feature-item p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ===== 解决方案 */
.services { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    background: var(--white); padding: 36px; border-radius: 20px;
    transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient); transform: scaleX(0); transition: transform 0.3s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 64px; height: 64px; margin-bottom: 24px; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 20px; margin-bottom: 16px; color: var(--dark); }
.service-card > p { font-size: 14px; color: var(--gray); margin-bottom: 20px; line-height: 1.8; }
.service-list { margin-bottom: 20px; }
.service-list li { position: relative; padding-left: 20px; margin-bottom: 10px; font-size: 14px; color: var(--gray); }
.service-list li::before { content: '✓'; position: absolute; left: 0; color: var(--secondary); font-weight: bold; }
.service-link { font-size: 14px; font-weight: 600; color: var(--primary); }
.service-link:hover { color: var(--primary-dark); }

/* ===== 产品中心 */
.products { background: var(--white); }
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.product-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); padding: 40px;
    border-radius: 20px; position: relative; overflow: hidden; transition: all 0.3s;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card.main { grid-column: span 2; background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%); color: var(--white); }
.product-card.main h3, .product-card.main p { color: var(--white); }
.product-card.main .product-icon { font-size: 60px; }
.product-badge { position: absolute; top: 20px; right: 20px; padding: 6px 16px; background: var(--secondary); color: white; font-size: 12px; font-weight: 600; border-radius: 50px; }
.product-icon { font-size: 48px; margin-bottom: 20px; }
.product-card h3 { font-size: 20px; margin-bottom: 12px; }
.product-card p { font-size: 14px; color: var(--gray); line-height: 1.8; }
.product-tags { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.product-tags span { padding: 6px 16px; background: rgba(255,255,255,0.2); border-radius: 50px; font-size: 13px; color: rgba(255,255,255,0.9); }

/* ===== 成功案例 */
.cases { background: var(--light); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-item {
    display: flex; gap: 20px; padding: 30px; background: var(--white);
    border-radius: 16px; transition: all 0.3s;
}
.case-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-num { font-size: 32px; font-weight: 700; color: var(--primary); opacity: 0.3; line-height: 1; flex-shrink: 0; }
.case-content h4 { font-size: 16px; margin-bottom: 8px; color: var(--dark); }
.case-content p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ===== CTA */
.cta { background: var(--gradient); padding: 80px 0; }
.cta-content { text-align: center; }
.cta-content h2 { font-size: 36px; color: var(--white); margin-bottom: 16px; }
.cta-content p { font-size: 18px; color: rgba(255,255,255,0.9); margin-bottom: 32px; }

/* ===== 联系我们 */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; }
.info-item { display: flex; gap: 20px; margin-bottom: 30px; }
.info-icon { width: 56px; height: 56px; background: linear-gradient(135deg, rgba(37,99,235,0.1), rgba(16,185,129,0.1)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.info-content h4 { font-size: 16px; margin-bottom: 6px; color: var(--dark); }
.info-content p { font-size: 14px; color: var(--gray); }
.contact-form { background: var(--light); padding: 40px; border-radius: 24px; }
.contact-form h3 { font-size: 24px; margin-bottom: 24px; color: var(--dark); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px 18px; font-size: 15px; border: 2px solid #e2e8f0;
    border-radius: 12px; font-family: inherit; background: var(--white); transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== 页脚 */
.footer { background: var(--dark); color: var(--white); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 16px; line-height: 1.8; }
.footer-links h4 { font-size: 16px; margin-bottom: 20px; }
.footer-links a { display: block; padding: 6px 0; color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-links a:hover { color: var(--white); }
.footer-contact h4 { font-size: 16px; margin-bottom: 20px; }
.footer-contact p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 13px; }

/* ===== 响应式 */
@media (max-width: 1024px) {
    .hero-title .title-line { font-size: 42px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav, .header-cta { display: none; }
    .mobile-toggle { display: flex; }
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero-visual { display: none; }
    .hero-content { text-align: center; }
    .hero-title .title-line { font-size: 32px; }
    .hero-stats { justify-content: center; flex-wrap: wrap; }
    .hero-actions { justify-content: center; flex-wrap: wrap; }
    .section-title { font-size: 28px; }
    .about-features { grid-template-columns: 1fr; }
    .services-grid, .products-grid, .cases-grid { grid-template-columns: 1fr; }
    .product-card.main { grid-column: span 1; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}
