/* ========================================
   行云信息 新版官网样式
   设计风格: 浅色专业商务风，适合国内市场
   ======================================== */

:root {
    --primary: #2563EB;
    --primary-dark: #1D4ED8;
    --primary-light: #3B82F6;
    --accent: #10B981;
    --bg: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-tertiary: #F1F5F9;
    --text: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --border: #E2E8F0;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

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

/* ========================================
   Header
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all 0.3s ease;
}
.header.scrolled {
    background: rgba(255,255,255,0.98);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo { display: flex; align-items: center; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-link {
    font-size: 15px;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.nav-link:hover { color: var(--primary); }
.nav-link.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
}
.nav-link.btn-primary:hover { background: var(--primary-dark); }
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

/* ========================================
   Hero
   ======================================== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(180deg, #EFF6FF 0%, #fff 100%);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37,99,235,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16,185,129,0.06) 0%, transparent 40%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}
.hero-tag {
    display: inline-block;
    background: linear-gradient(135deg, #DBEAFE, #E0E7FF);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}
.hero-title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 600px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; }
.hero-stats {
    display: flex;
    gap: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.stat { text-align: left; }
.stat-num {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); }

/* ========================================
   Sections
   ======================================== */
.section { padding: 80px 0; }
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}
.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
}

/* ========================================
   Value Section
   ======================================== */
.value-section { background: var(--bg-secondary); }
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.value-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all 0.3s;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.value-icon { font-size: 40px; margin-bottom: 16px; }
.value-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}
.value-card p { color: var(--text-secondary); font-size: 15px; }

/* ========================================
   Services Section
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--bg-secondary);
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.service-icon { font-size: 32px; margin-bottom: 16px; }
.service-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}
.service-card p { color: var(--text-secondary); font-size: 14px; margin-bottom: 16px; }
.service-link {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
}

/* ========================================
   Products Section
   ======================================== */
.products-section { background: var(--bg); }
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s;
}
.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.product-badge {
    display: inline-block;
    background: linear-gradient(135deg, #DBEAFE, #E0E7FF);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
}
.product-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}
.product-card p { color: var(--text-secondary); font-size: 15px; margin-bottom: 16px; }
.product-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
}

/* ========================================
   About Section
   ======================================== */
.about-section { background: var(--bg-secondary); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-text {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.8;
}
.about-features { display: flex; flex-direction: column; gap: 20px; }
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.feature-icon { font-size: 28px; }
.feature-item strong { display: block; font-size: 16px; color: var(--text); margin-bottom: 4px; }
.feature-item p { font-size: 14px; color: var(--text-secondary); }
.about-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.visual-card {
    background: #fff;
    padding: 28px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}
.visual-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}
.visual-label { font-size: 14px; color: var(--text-secondary); }

/* ========================================
   CTA Section
   ======================================== */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, #1D4ED8 100%); }
.cta-card { text-align: center; color: #fff; }
.cta-card h2 { font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.cta-card p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; }

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--text);
    color: #fff;
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}
.footer-brand p { color: #94A3B8; font-size: 14px; margin-top: 12px; line-height: 1.6; }
.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}
.footer-links a, .footer-links p {
    display: block;
    color: #94A3B8;
    font-size: 14px;
    margin-bottom: 10px;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #64748B;
}
.footer-bottom a { color: #64748B; }

/* ========================================
   主力产品 Hero (火旺MES)
   ======================================== */
.mes-hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, #EFF6FF 0%, #fff 100%);
}
.mes-hero .hero-bg {
    background:
        radial-gradient(circle at 20% 50%, rgba(37,99,235,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16,185,129,0.06) 0%, transparent 40%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-tag.mes-tag {
    background: linear-gradient(135deg, #FEE2E2, #FECACA);
    color: #DC2626;
}
.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}
.hero-subtitle {
    font-size: 20px;
    color: #6B7280;
    margin-bottom: 24px;
}
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}
.feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pill-icon { font-size: 16px; }
.hero-value {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.value-item {
    display: flex;
    align-items: baseline;
    gap: 2px;
}
.value-num {
    font-size: 40px;
    font-weight: 700;
    color: #DC2626;
}
.value-suffix {
    font-size: 24px;
    font-weight: 700;
    color: #DC2626;
}
.value-label {
    font-size: 13px;
    color: #6B7280;
    margin-left: 8px;
}

/* MES Hero 视觉区域 */
.hero-visual {
    display: flex;
    justify-content: center;
}
.mes-dashboard {
    background: #1F2937;
    border-radius: 16px;
    padding: 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.dashboard-title {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}
.dashboard-status {
    color: #10B981;
    font-size: 12px;
}
.dashboard-content { display: flex; flex-direction: column; gap: 12px; }
.dash-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dash-card {
    background: #374151;
    padding: 16px;
    border-radius: 8px;
}
.dash-card-label { font-size: 11px; color: #9CA3AF; margin-bottom: 4px; }
.dash-card-value { font-size: 24px; font-weight: 700; color: #fff; }
.dash-card-trend { font-size: 11px; margin-top: 4px; }
.dash-card-trend.up { color: #10B981; }
.dash-card-trend.down { color: #EF4444; }
.dash-card-value.highlight { color: #F97316; }

/* ========================================
   主力产品专区
   ======================================== */
.flagship-products { background: var(--bg-secondary); }
.products-showcase {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
}

/* 产品主卡片 */
.product-hero-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.product-hero-card.mes-card { border-top: 4px solid #EF4444; }
.product-hero-card.spms-card { border-top: 4px solid #10B981; }
.product-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
}
.mes-badge { background: #FEE2E2; color: #DC2626; }
.spms-badge { background: #D1FAE5; color: #059669; }
.product-hero-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}
.product-hero-subtitle {
    font-size: 16px;
    color: #6B7280;
    margin-bottom: 16px;
}
.product-hero-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* 核心能力列表 */
.product-capabilities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.capability {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.cap-icon { font-size: 24px; }
.capability strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.capability p { font-size: 13px; color: var(--text-secondary); }

/* 客户案例 */
.product-cases h4,
.product-industries h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}
.case-list { display: flex; flex-direction: column; gap: 12px; }
.case-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border-radius: 8px;
}
.case-icon { font-size: 20px; }
.case-item strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); }
.case-item p { font-size: 12px; color: #10B981; }

/* 行业标签 */
.industry-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ind-tag {
    background: #D1FAE5;
    color: #059669;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
}

/* CTA按钮 */
.product-actions { display: flex; gap: 12px; }
.btn-mes {
    background: linear-gradient(135deg, #EF4444, #F97316);
    color: #fff;
}
.btn-mes:hover {
    background: linear-gradient(135deg, #DC2626, #EA580C);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239,68,68,0.4);
}
.btn-spms {
    background: #10B981;
    color: #fff;
}
.btn-spms:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16,185,129,0.4);
}
.btn-outline-dark {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border);
}
.btn-outline-dark:hover {
    border-color: var(--text);
    background: var(--bg-secondary);
}

/* 产品Mockup */
.product-hero-visual { width: 100%; }
.mes-mockup, .spms-mockup {
    background: #1F2937;
    border-radius: 12px;
    padding: 20px;
    height: 200px;
}
.mockup-header {
    color: #9CA3AF;
    font-size: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #374151;
}
.mockup-content { padding: 8px 0; }
.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    padding: 0 8px;
}
.chart-bar {
    flex: 1;
    background: #4B5563;
    border-radius: 4px 4px 0 0;
    transition: height 0.3s;
}
.chart-bar.active { background: linear-gradient(180deg, #EF4444, #F97316); }
.mockup-legend {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    font-size: 11px;
    color: #9CA3AF;
}
.spms-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 20px;
}
.spms-stat { text-align: center; }
.spms-stat-num {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}
.spms-stat-num.safe { color: #10B981; }
.spms-stat-label { font-size: 12px; color: #9CA3AF; }

/* Cases Section */
.cases-section {
    background: var(--bg-light);
}
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.case-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
    border: 1px solid #E5E7EB;
}
.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.case-industry {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}
.case-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.case-client {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.case-results {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.result-tag {
    font-size: 12px;
    padding: 4px 10px;
    background: #F3F4F6;
    border-radius: 20px;
    color: var(--text-secondary);
}
.case-metric {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid #E5E7EB;
}
.metric-num {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}
.metric-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Demo CTA */
.demo-cta {
    margin-top: 40px;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
}
.demo-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-secondary);
}
.demo-icon { font-size: 24px; }
.demo-info a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .products-showcase { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero { padding: 120px 0 60px; }
    .hero-title { font-size: 36px; }
    .hero-value { gap: 16px; padding: 16px; }
    .value-num { font-size: 28px; }
    .section { padding: 60px 0; }
    .section-title { font-size: 28px; }
    .value-grid, .products-grid, .about-grid { grid-template-columns: 1fr; }
    .product-capabilities { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .cta-actions { flex-direction: column; }
    .cases-grid { grid-template-columns: 1fr; }
}
