/* ===== 变量与基础 ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #06b6d4;
    --ink: #0f172a;
    --body: #475569;
    --muted: #94a3b8;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --grad: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 10px 30px rgba(15, 23, 42, .08);
    --shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);
    --container: 1160px;
    --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: var(--body);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.3; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

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

.grad {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .2s ease;
    white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 99, 235, .35); }
.btn-outline { border-color: var(--border); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-block { width: 100%; }

/* ===== 头部导航 ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.nav-wrap {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); }
.brand-mark {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    background: var(--grad); color: #fff;
    border-radius: 9px; font-size: 18px;
}
.nav { display: flex; align-items: center; gap: 6px; }
.nav-link {
    padding: 8px 14px;
    color: var(--body);
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all .2s;
}
.nav-link:hover { color: var(--primary); background: var(--bg-alt); }
.nav-link.active { color: var(--primary); }
.nav-cta { margin-left: 10px; }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none; border: 0;
    cursor: pointer; padding: 6px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: all .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { padding: 70px 0 80px; background: radial-gradient(1200px 500px at 80% -10%, rgba(6, 182, 212, .12), transparent), var(--bg-alt); }
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 50px;
}
.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(37, 99, 235, .1);
    color: var(--primary);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}
.hero-text h1 { font-size: 48px; line-height: 1.2; margin-bottom: 18px; }
.hero-desc { font-size: 17px; color: var(--body); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

.hero-visual { position: relative; height: 340px; }
.hero-blob {
    position: absolute; inset: 0; left: 20%;
    background: var(--grad);
    border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%;
    filter: blur(8px); opacity: .25;
    animation: morph 8s ease-in-out infinite;
}
@keyframes morph {
    0%, 100% { border-radius: 40% 60% 60% 40% / 50% 40% 60% 50%; }
    50% { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; }
}
.float-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 16px 20px;
    display: flex; align-items: center; gap: 12px;
    animation: float 4s ease-in-out infinite;
}
.float-card strong { display: block; color: var(--ink); font-size: 15px; }
.float-card span { font-size: 13px; color: var(--muted); }
.fc-icon { font-size: 22px; }
.card-1 { top: 12%; left: 0; }
.card-2 { bottom: 18%; right: 6%; animation-delay: 1.5s; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ===== 统计 ===== */
.stats { background: var(--bg-dark); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 38px; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ===== 通用 section ===== */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.eyebrow-light { color: #93c5fd; }
.section-head h2 { font-size: 34px; }
.section-head p { color: var(--body); }
.section-foot { text-align: center; margin-top: 40px; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ===== 卡片 ===== */
.feature-card, .service-card, .value-card, .team-card, .process-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: all .25s ease;
}
.feature-card:hover, .service-card:hover, .value-card:hover, .team-card:hover, .process-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.feature-icon {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    background: rgba(37, 99, 235, .1);
    color: var(--primary);
    border-radius: 12px;
    font-size: 20px; font-weight: 800;
    margin-bottom: 16px;
}
.feature-card h3, .service-card h3, .value-card h3, .team-card h3 { font-size: 19px; }
.feature-card p, .value-card p { color: var(--body); font-size: 15px; margin: 0; }

.service-card { position: relative; }
.service-num {
    font-size: 14px; font-weight: 800;
    color: var(--primary); opacity: .4;
    margin-bottom: 10px;
}
.service-link { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; }
.service-link:hover { letter-spacing: .02em; }

.value-icon { font-size: 32px; margin-bottom: 12px; }

/* ===== 关于预览 ===== */
.about-preview { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: center; }
.about-preview h2 { font-size: 32px; }
.tick-list { margin: 20px 0 26px; }
.tick-list li { padding: 8px 0 8px 28px; position: relative; color: var(--body); }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.about-preview-visual { position: relative; height: 280px; }
.ap-card {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 28px;
    text-align: center;
}
.ap-card strong { display: block; font-size: 30px; color: var(--primary); }
.ap-card span { color: var(--muted); font-size: 14px; }
.ap-1 { top: 0; left: 0; }
.ap-2 { top: 40%; right: 0; background: var(--primary); border: 0; }
.ap-2 strong { color: #fff; }
.ap-2 span { color: rgba(255,255,255,.8); }
.ap-3 { bottom: 0; left: 30%; }

/* ===== CTA 带状 ===== */
.cta-band { background: var(--grad); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 28px; margin: 0; }
.cta-band p { color: rgba(255,255,255,.9); margin: 6px 0 0; }

/* ===== 页面 banner ===== */
.page-banner {
    background: var(--bg-dark);
    color: #fff;
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(700px 300px at 70% 20%, rgba(6, 182, 212, .25), transparent);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: 38px; margin-bottom: 10px; }
.page-banner p { color: var(--muted); margin: 0; }

/* ===== 关于页 ===== */
.about-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.about-intro h2 { font-size: 32px; }
.about-intro-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 28px; }
.about-intro-stats strong { display: block; font-size: 28px; color: var(--primary); }
.about-intro-stats span { color: var(--muted); font-size: 14px; }
.about-intro-visual { position: relative; height: 300px; }
.ai-card { position: absolute; border-radius: var(--radius); }
.ai-1 { inset: 0 30% 30% 0; background: var(--grad); }
.ai-2 { inset: 30% 0 0 40%; background: var(--bg-alt); border: 1px solid var(--border); }

.team-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    display: grid; place-items: center;
    font-size: 24px; font-weight: 700;
    margin-bottom: 14px;
}
.team-role { display: inline-block; color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.team-card p { margin: 0; font-size: 14px; }

.process-card { text-align: center; }
.process-num { font-size: 30px; font-weight: 800; color: var(--primary); opacity: .35; margin-bottom: 8px; }
.process-card p { margin: 0; font-size: 14px; }

/* ===== 时间线 ===== */
.timeline { max-width: 720px; margin: 0 auto; position: relative; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.timeline-year { font-weight: 800; color: var(--primary); }
.timeline-content h3 { font-size: 18px; margin: 4px 0 6px; }
.timeline-content p { margin: 0; font-size: 14px; }

/* ===== 联系页 ===== */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; }
.contact-lead { color: var(--body); margin-bottom: 24px; }
.contact-list { display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    background: var(--bg-alt); border-radius: 10px;
    font-size: 18px; flex-shrink: 0;
}
.ci-label { display: block; font-size: 13px; color: var(--muted); }
.contact-list strong { font-size: 16px; color: var(--ink); font-weight: 600; }

.contact-form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.contact-form h2 { font-size: 22px; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-group label { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.req { color: #ef4444; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: inherit;
    color: var(--ink);
    background: #fff;
    transition: border .2s, box-shadow .2s;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.form-group textarea { resize: vertical; }
.form-tip { font-size: 12px; color: var(--muted); margin: 12px 0 0; text-align: center; }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14px; font-weight: 500; }
.alert-success { background: rgba(16, 185, 129, .12); color: #047857; border: 1px solid rgba(16, 185, 129, .3); }
.alert-error { background: rgba(239, 68, 68, .12); color: #b91c1c; border: 1px solid rgba(239, 68, 68, .3); }

/* ===== 页脚 ===== */
.site-footer { background: var(--bg-dark); color: var(--muted); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-desc { color: var(--muted); max-width: 320px; font-size: 14px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-links li, .footer-contact li { padding: 6px 0; font-size: 14px; }
.footer-links a { color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-contact li span { color: var(--muted); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ===== 滚动显现 ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
    .hero-inner, .about-preview, .about-intro, .contact-wrap { grid-template-columns: 1fr; }
    .hero-visual, .about-preview-visual, .about-intro-visual { height: 240px; display: none; }
    .hero-text h1 { font-size: 38px; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .nav {
        position: fixed;
        top: var(--header-h); left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 4px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        transform: translateY(-130%);
        transition: transform .3s ease;
        max-height: calc(100vh - var(--header-h));
        overflow-y: auto;
    }
    .nav.open { transform: translateY(0); }
    .nav-link { padding: 12px 14px; }
    .nav-cta { margin: 8px 0 0; }
    .nav-toggle { display: flex; }
    .stats-grid, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .section-head h2, .hero-text h1 { font-size: 30px; }
    .page-banner h1 { font-size: 30px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
    .stats-grid, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 30px; }
    .btn { padding: 11px 20px; font-size: 14px; }
}
