/* ============================================================
   平易网络工作室 · v5 · 经典蓝色企业站
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary:    #1e50a2;
    --primary-d:  #163d7d;
    --primary-l:  #e8f0fe;
    --dark:       #0f2c5c;
    --text:       #1f2937;
    --text-2:     #4b5563;
    --text-3:     #9ca3af;
    --bg:         #ffffff;
    --bg-2:       #f5f7fa;
    --border:     #e5e7eb;
    --shadow:     0 4px 16px rgba(0,0,0,0.06);
    --shadow-h:   0 12px 32px rgba(30,80,162,0.18);
    --font: 'Noto Sans SC', 'Inter', system-ui, sans-serif;
    --en:   'Inter', system-ui, sans-serif;
    --maxw: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.8; font-size: 15px; overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* 全屏切换容器（切入式，无滚动条） */
.fullpage { height: 100vh; overflow: hidden; position: relative; }
.fullpage-inner { height: 100%; }
.panel { position: absolute; inset: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; z-index: 1; padding-bottom: 50px; }
.panel.active { opacity: 1; transform: translateY(0); pointer-events: auto; z-index: 2; }
.panel.leave { opacity: 0; transform: translateY(-15px); z-index: 1; }

/* 首页融合的数据条 */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 36px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.2); max-width: 540px; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--en); font-size: 26px; font-weight: 700; color: #ffd54f; line-height: 1; }
.hero-stats span { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 6px; }

/* 右侧圆点导航 */
.fp-dots { position: fixed; right: 24px; top: 50%; transform: translateY(-50%); z-index: 1001; display: flex; flex-direction: column; gap: 14px; }
.fp-dots .dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--primary); background: transparent; cursor: pointer; transition: all .3s; padding: 0; }
.fp-dots .dot.active { background: var(--primary); transform: scale(1.25); }
.fp-dots .dot:hover { background: var(--primary); }

/* 滚动入场 */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }

/* 板块标题 */
.sec-title { text-align: center; margin-bottom: 48px; }
.sec-title .en { display: block; font-family: var(--en); font-size: 13px; color: var(--primary); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 8px; font-weight: 500; }
.sec-title h2 { font-size: 30px; font-weight: 700; color: var(--text); position: relative; display: inline-block; }
.sec-title h2::after { content: ""; display: block; width: 48px; height: 3px; background: var(--primary); margin: 14px auto 0; border-radius: 2px; }
.sec-title p { color: var(--text-2); margin-top: 16px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; font-size: 15px; font-weight: 500; border-radius: 6px; transition: all .3s; cursor: pointer; border: none; font-family: var(--font); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(30,80,162,0.3); }
.btn-outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.btn-ghost-w { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.6); }
.btn-ghost-w:hover { background: #fff; color: var(--primary); border-color: #fff; }

/* ============================================================
   导航
   ============================================================ */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(255,255,255,0.82); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.nav { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 40px; height: 40px; background: var(--primary); border-radius: 8px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 18px; letter-spacing: 0.05em; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .zh { font-size: 18px; font-weight: 700; color: var(--text); }
.logo-text .en { font-family: var(--en); font-size: 11px; color: var(--text-3); letter-spacing: 0.1em; }
.menu { display: flex; gap: 36px; }
.menu a { font-size: 15px; color: var(--text-2); font-weight: 500; transition: color .3s; position: relative; padding: 4px 0; }
.menu a:hover, .menu a.active { color: var(--primary); }
.menu a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-tel { display: flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; }
.nav-tel .ico { color: var(--primary); }
.nav-tel .num { font-family: var(--en); font-size: 16px; }
.menu-btn { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; }
.menu-btn span { width: 22px; height: 2px; background: var(--text); border-radius: 1px; }

/* ============================================================
   Hero · 蓝色渐变 左文右图
   ============================================================ */
.hero { background: linear-gradient(135deg, #1e50a2 0%, #0f2c5c 100%); color: #fff; padding: 130px 0 90px; position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; opacity: 0.08; background: #fff; }
.hero::before { width: 380px; height: 380px; right: -120px; top: -120px; }
.hero::after { width: 260px; height: 260px; left: -100px; bottom: -100px; opacity: 0.05; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: 20px; font-size: 13px; margin-bottom: 24px; }
.hero h1 { font-size: 44px; font-weight: 700; line-height: 1.3; margin-bottom: 20px; }
.hero h1 .accent { color: #ffd54f; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 16px; }
.hero-biz { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.hero-biz span { padding: 5px 14px; background: rgba(255,255,255,0.12); border-radius: 4px; font-size: 13px; color: rgba(255,255,255,0.9); }
.hero-desc { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.9; margin-bottom: 36px; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
/* Hero 右侧抽象图形 */
.hero-visual { position: relative; min-height: 460px; display: grid; place-items: stretch; }
.hero-visual canvas { width: 100%; height: 100%; display: block; }
.hero-foot { position: absolute; bottom: 12px; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.hero-foot-slogan { font-size: 15px; color: #ffd54f; letter-spacing: 2px; }
.hero-foot-copy { font-size: 12px; color: rgba(255,255,255,0.5); }
.hero-foot-copy a { color: rgba(255,255,255,0.5); transition: color .3s; }
.hero-foot-copy a:hover { color: #ffd54f; }

/* ============================================================
   业务卡片
   ============================================================ */
.business { padding: 90px 0; }
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.biz-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 36px 24px; transition: all .35s; position: relative; overflow: hidden; }
.biz-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-h); border-color: transparent; }
.biz-card:hover::before { transform: scaleX(1); }
.biz-icon { width: 56px; height: 56px; background: var(--primary-l); border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; color: var(--primary); transition: all .35s; }
.biz-card:hover .biz-icon { background: var(--primary); color: #fff; }
.biz-icon svg { width: 28px; height: 28px; }
.biz-card h3 { font-size: 19px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.biz-card .en { font-family: var(--en); font-size: 12px; color: var(--text-3); letter-spacing: 0.08em; margin-bottom: 12px; }
.biz-card p { font-size: 14px; color: var(--text-2); line-height: 1.8; margin-bottom: 16px; }
.biz-more { font-size: 13px; color: var(--primary); font-weight: 500; display: inline-flex; align-items: center; gap: 4px; transition: gap .3s; }
.biz-card:hover .biz-more { gap: 8px; }

/* ============================================================
   数据统计 蓝底
   ============================================================ */
.stats { background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%); color: #fff; padding: 64px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat-n { font-family: var(--en); font-size: 44px; font-weight: 700; color: #ffd54f; line-height: 1; }
.stat-n .plus { font-size: 0.6em; }
.stat-l { font-size: 14px; color: rgba(255,255,255,0.85); margin-top: 10px; }

/* ============================================================
   关于 左文右图
   ============================================================ */
.about { padding: 90px 0; background: var(--bg-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-text p { font-size: 15px; color: var(--text-2); line-height: 2; margin-bottom: 16px; }
.about-text p strong { color: var(--text); }
.about-points { margin: 24px 0; display: grid; gap: 14px; }
.about-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); }
.about-points .ck { width: 22px; height: 22px; background: var(--primary); color: #fff; border-radius: 50%; display: grid; place-items: center; font-size: 13px; flex-shrink: 0; margin-top: 2px; }
.about-visual { position: relative; }
.about-visual .img-box { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-h); aspect-ratio: 4/3; background: linear-gradient(135deg, var(--primary), var(--dark)); position: relative; }
.about-visual .img-box svg { width: 100%; height: 100%; }
.about-visual .badge { position: absolute; right: -20px; bottom: -20px; background: #fff; border-radius: 12px; padding: 20px 24px; box-shadow: var(--shadow-h); text-align: center; }
.about-visual .badge .n { font-family: var(--en); font-size: 32px; font-weight: 700; color: var(--primary); line-height: 1; }
.about-visual .badge .l { font-size: 12px; color: var(--text-2); margin-top: 6px; }

/* ============================================================
   企业文化 三卡片
   ============================================================ */
.culture { padding: 90px 0; }
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 32px; }
.cul-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 36px 28px; transition: all .35s; }
.cul-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-h); border-color: transparent; }
.cul-num { font-family: var(--en); font-size: 14px; color: var(--primary); font-weight: 600; letter-spacing: 0.1em; margin-bottom: 12px; }
.cul-card h3 { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.cul-card .pin { font-family: var(--en); font-size: 12px; color: var(--text-3); letter-spacing: 0.1em; margin-bottom: 14px; }
.cul-card p { font-size: 14px; color: var(--text-2); line-height: 1.9; }
.craft-bar { background: var(--primary-l); border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0; padding: 24px 28px; display: flex; align-items: center; gap: 20px; }
.craft-bar .lbl { font-size: 18px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.craft-bar .txt { font-size: 15px; color: var(--text-2); line-height: 1.8; }
.craft-bar .txt strong { color: var(--text); }

/* ============================================================
   联系
   ============================================================ */
.contact { background: var(--bg-2); }
.contact.panel { justify-content: flex-start; }
.contact-wrap { flex: 1; display: flex; align-items: center; padding: 60px 0 20px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }

.contact-info { display: flex; flex-direction: column; }
.cinfo-list { display: grid; gap: 22px; }
.cinfo { display: flex; gap: 14px; align-items: flex-start; }
.cinfo .ico { width: 40px; height: 40px; background: var(--primary); color: #fff; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; }
.cinfo .ico svg { width: 18px; height: 18px; }
.cinfo .ct .l { font-size: 13px; color: var(--text-3); margin-bottom: 2px; }
.cinfo .ct .v { font-size: 15px; color: var(--text); font-weight: 500; }
.cinfo .ct .v .sub { display: block; font-size: 13px; color: var(--text-3); font-weight: 400; margin-top: 2px; }
.form-box { background: #fff; border-radius: 12px; padding: 20px 24px; box-shadow: var(--shadow); }
.form-row { margin-bottom: 14px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: 13px; color: var(--text); margin-bottom: 6px; font-weight: 500; }
.form label .req { color: #e53e3e; }
.form input, .form textarea { width: 100%; padding: 8px 12px; border: 1px solid var(--border); border-radius: 6px; font-size: 13px; font-family: var(--font); color: var(--text); background: var(--bg-2); transition: border-color .3s, background .3s; }
.form input::placeholder, .form textarea::placeholder { color: var(--text-3); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(30,80,162,0.1); }
.form textarea { resize: vertical; min-height: 56px; }
.form .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* ============================================================
   页脚底栏（全局固定，每屏可见）
   ============================================================ */
.foot-bar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: var(--dark); padding: 12px 0; transition: opacity .4s ease, transform .4s ease; }
.foot-bar.hide { opacity: 0; transform: translateY(100%); pointer-events: none; }
.foot-bar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-bar-slogan { font-size: 15px; color: #ffd54f; letter-spacing: 2px; }
.foot-bar-copy { font-size: 12px; color: rgba(255,255,255,0.5); }
.foot-bar-copy a { color: rgba(255,255,255,0.5); transition: color .3s; }
.foot-bar-copy a:hover { color: #ffd54f; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 992px) {
    body { overflow: auto; }
    .fullpage { height: auto; overflow: visible; }
    .fullpage-inner { height: auto; }
    .panel { position: static; inset: auto; height: auto; opacity: 1; transform: none; pointer-events: auto; overflow: visible; padding-bottom: 0; }
    .fp-dots { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { min-height: 280px; order: -1; }
    .biz-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .culture-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-wrap { padding: 40px 0 60px; }
    .foot-bar { position: static; }
}
@media (max-width: 768px) {
    .menu, .nav-tel { display: none; }
    .menu-btn { display: flex; }
    .menu.open { display: flex; flex-direction: column; gap: 18px; position: absolute; top: 72px; left: 0; right: 0; background: #fff; padding: 24px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
    .hero { padding: 110px 0 70px; }
    .hero h1 { font-size: 32px; }
    .biz-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .form-row.two { grid-template-columns: 1fr; }
    .foot-bar-row { flex-direction: column; text-align: center; gap: 4px; }
    .about-visual .badge { right: 10px; bottom: -10px; padding: 14px 18px; }
    .sec-title h2 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}
