/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a6fb5;
    --primary-dark: #145a8c;
    --primary-light: #e8f4fd;
    --accent: #00a99d;
    --accent-light: #e0f7f5;
    --gold: #c9a84c;
    --text: #333;
    --text-light: #666;
    --bg: #fff;
    --bg-gray: #f5f7fa;
    --bg-dark: #1a1f2e;
    --shadow: 0 4px 20px rgba(0,0,0,.08);
    --radius: 12px;
    --max-width: 1200px;
    --transition: all .3s ease;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ===== Header & Nav ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0,0,0,.06);
    transition: var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.1); }

.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.nav-logo { font-size: 22px; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 40px; }

.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--text); font-weight: 500; position: relative; padding: 4px 0; transition: var(--transition); }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: var(--transition); }

/* ===== Hero ===== */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    background: linear-gradient(135deg, #0a2540 0%, #1a4a7a 50%, #0a3045 100%);
    position: relative; overflow: hidden; padding: 100px 0 60px;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(26,111,181,.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero::after {
    content: ''; position: absolute; bottom: -30%; left: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,169,157,.1) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-badge { display: inline-block; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: var(--accent); padding: 8px 20px; border-radius: 50px; font-size: 14px; margin-bottom: 28px; letter-spacing: 2px; }
.hero h1 { font-size: 48px; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 20px; }
.hero h1 span { color: var(--accent); }
.hero .hero-subtitle { font-size: 18px; color: rgba(255,255,255,.75); margin-bottom: 36px; line-height: 1.8; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-size: 16px; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(26,111,181,.35); }
.btn-outline { background: transparent; border: 2px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.hero-stats { display: flex; gap: 48px; margin-top: 48px; }
.hero-stats .stat h3 { font-size: 36px; font-weight: 800; color: #fff; }
.hero-stats .stat p { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 4px; }

.hero-image { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 45%; max-width: 600px; z-index: 1; opacity: .9; }
.hero-image img { width: 100%; border-radius: 16px; }

/* ===== Section Common ===== */
.section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-block; color: var(--primary); font-weight: 600; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: var(--text); margin-bottom: 16px; }
.section-header p { font-size: 16px; color: var(--text-light); max-width: 600px; margin: 0 auto; }

.bg-gray { background: var(--bg-gray); }

/* ===== About ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-text h3 { font-size: 28px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.about-text .vision { background: var(--primary-light); border-left: 4px solid var(--primary); padding: 20px 24px; border-radius: 0 var(--radius) var(--radius) 0; margin: 24px 0; }
.about-text .vision p { font-size: 15px; color: var(--primary-dark); line-height: 1.8; }

/* ===== Products ===== */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid transparent; position: relative; overflow: hidden; }
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.12); border-color: var(--primary-light); }
.product-card .icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.product-card .icon.blue { background: #e8f4fd; color: var(--primary); }
.product-card .icon.green { background: #e0f7f5; color: var(--accent); }
.product-card .icon.orange { background: #fff3e0; color: #e67e22; }
.product-card .icon.purple { background: #f3e5f5; color: #8e44ad; }
.product-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.product-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.product-card .tag { display: inline-block; font-size: 12px; padding: 4px 12px; border-radius: 50px; font-weight: 600; margin-top: 14px; }
.tag-blue { background: var(--primary-light); color: var(--primary); }
.tag-green { background: var(--accent-light); color: var(--accent); }

/* ===== AI TCM Section ===== */
.ai-tcm { background: linear-gradient(135deg, #f8fdf9 0%, #eaf6f0 50%, #f5faf7 100%); }
.ai-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.ai-feature { text-align: center; padding: 40px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); }
.ai-feature:hover { transform: translateY(-4px); }
.ai-feature .icon-wrap { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 32px; }
.ai-feature h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.ai-feature p { font-size: 14px; color: var(--text-light); }
.ai-stats { display: flex; justify-content: center; gap: 60px; margin-top: 50px; flex-wrap: wrap; }
.ai-stat { text-align: center; }
.ai-stat h3 { font-size: 42px; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ai-stat p { font-size: 14px; color: var(--text-light); margin-top: 4px; }

.ai-university { margin-top: 60px; }
.ai-university h3 { font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 30px; color: var(--primary-dark); }
.ai-uni-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ai-uni-card { background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); }
.ai-uni-card:hover { transform: translateY(-4px); }
.ai-uni-card .num { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; margin: 0 auto 16px; }
.ai-uni-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--primary-dark); }
.ai-uni-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== Partners ===== */
.partners-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.partner-card { background: #fff; border-radius: var(--radius); padding: 24px 16px; text-align: center; font-size: 14px; font-weight: 500; color: var(--text-light); box-shadow: var(--shadow); transition: var(--transition); border: 1px solid #eee; }
.partner-card:hover { color: var(--primary); border-color: var(--primary-light); transform: translateY(-2px); }

/* ===== Certifications ===== */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cert-card { background: #fff; border-radius: var(--radius); padding: 32px 20px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border-top: 3px solid transparent; }
.cert-card:hover { border-top-color: var(--primary); transform: translateY(-4px); }
.cert-card .cert-icon { font-size: 40px; margin-bottom: 16px; }
.cert-card h4 { font-size: 15px; font-weight: 600; color: var(--text); }

/* ===== Solutions ===== */
.solutions-content { text-align: center; }
.solutions-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 30px; }
.solution-link { display: flex; align-items: center; gap: 10px; padding: 18px 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); font-weight: 600; color: var(--primary); transition: var(--transition); border: 1px solid #eee; }
.solution-link:hover { border-color: var(--primary); transform: translateY(-2px); }
.solution-link .arrow { transition: var(--transition); }
.solution-link:hover .arrow { transform: translateX(4px); }

/* ===== Contact / CTA ===== */
.cta { background: linear-gradient(135deg, #0a2540 0%, #1a4a7a 100%); text-align: center; color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.7); }
.cta .btn-primary { background: var(--accent); }
.cta .btn-primary:hover { background: #00998e; box-shadow: 0 8px 25px rgba(0,169,157,.35); }

/* ===== Footer ===== */
.footer { background: #0d1520; color: rgba(255,255,255,.6); padding: 50px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand h3 { color: #fff; font-size: 22px; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; line-height: 1.8; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; transition: var(--transition); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; text-align: center; font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .products-grid, .ai-features, .ai-uni-grid, .cert-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .hero-image { position: relative; width: 100%; max-width: 400px; margin: 40px auto 0; top: auto; transform: none; }
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-content { max-width: 100%; }
    .hero-stats { justify-content: center; }
    .hero-btns { justify-content: center; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 24px; gap: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.1); }
    .nav-links.active { display: flex; }
    .nav-toggle { display: flex; }
    .products-grid, .ai-features, .ai-uni-grid, .cert-grid, .partners-grid { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .hero h1 { font-size: 28px; }
    .hero-stats { gap: 24px; }
    .hero-stats .stat h3 { font-size: 28px; }
    .ai-stats { gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 28px; }
}

/* ===== Animations ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
