/* =========================================================
   山东云企信息科技有限公司 官网样式
   设计：大气 · 科技感 · 蓝色品牌主调
   字体：仅使用系统字体，避免版权问题
   ========================================================= */

:root {
  --brand: #0c8fd6;
  --brand-2: #1ab6e8;
  --brand-dark: #0a6db0;
  --navy: #062c4f;
  --navy-2: #0a3d6b;
  --ink: #11253d;
  --muted: #5b6b7e;
  --line: #e4ecf4;
  --bg: #ffffff;
  --bg-soft: #f4f8fc;
  --bg-dark: #07223d;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -18px rgba(12, 60, 110, 0.28);
  --shadow-sm: 0 8px 24px -12px rgba(12, 60, 110, 0.22);
  --max: 1200px;
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Source Han Sans CN", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 { margin: 0; line-height: 1.25; font-weight: 700; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  box-shadow: 0 12px 26px -12px rgba(12, 143, 214, .7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(12, 143, 214, .8); }
.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 14px 0;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px -16px rgba(6, 44, 79, .5);
  padding: 8px 0;
}
.header-inner { display: flex; align-items: center; gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 42px; height: 42px; border-radius: 10px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 19px; color: #fff; letter-spacing: .5px; }
.brand-text em {
  font-style: normal; font-size: 10px; letter-spacing: 2px;
  color: rgba(255, 255, 255, .7);
}
.scrolled .brand-text strong { color: var(--ink); }
.scrolled .brand-text em { color: var(--muted); }

.main-nav { display: flex; gap: 4px; margin-left: auto; }
.nav-link {
  position: relative;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, .88);
  border-radius: 8px;
  transition: color .2s ease;
}
.nav-link::after {
  content: "";
  position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--brand-2);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.scrolled .nav-link { color: var(--ink); }
.nav-link.active { color: var(--brand-2); }
.scrolled .nav-link.active { color: var(--brand); }

.header-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  border: none; background: transparent;
  cursor: pointer; margin-left: auto;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  width: 24px; height: 2px; border-radius: 2px;
  background: #fff; transition: .3s ease;
}
.scrolled .nav-toggle span { background: var(--ink); }
.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 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(26, 182, 232, .25), transparent 60%),
    linear-gradient(160deg, #051e37 0%, #062c4f 35%, #0a3d6b 70%, #0c5a92 100%);
  background-color: var(--navy);
  color: #fff;
  overflow: hidden;
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 30, 55, .35) 0%, rgba(5, 30, 55, .15) 40%, rgba(5, 30, 55, .55) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; padding: 140px 24px 120px; }
.hero-eyebrow {
  display: inline-block;
  font-size: 14px; letter-spacing: 1px;
  color: var(--brand-2);
  padding: 7px 16px;
  border: 1px solid rgba(26, 182, 232, .4);
  border-radius: 999px;
  background: rgba(26, 182, 232, .08);
  margin-bottom: 26px;
}
.hero-title {
  font-size: clamp(34px, 5.4vw, 62px);
  letter-spacing: 1px;
  margin-bottom: 22px;
}
.hero-title .grad {
  background: linear-gradient(100deg, #54d6ff, #1ab6e8 60%, #9be7ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  max-width: 620px;
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255, 255, 255, .82);
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 760px;
  padding: 26px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  background: linear-gradient(120deg, #fff, #9be7ff);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 13px; color: rgba(255, 255, 255, .7); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 2; font-size: 12px; letter-spacing: 1px;
  color: rgba(255, 255, 255, .7);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll span {
  width: 22px; height: 36px; border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 14px; position: relative;
}
.hero-scroll span::after {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 7px; border-radius: 2px; background: #fff;
  animation: scrollDot 1.6s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translate(-50%, 0); } 50% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* ---------- 简介条 ---------- */
.intro-band { background: var(--bg); padding: 64px 0; border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.intro-lead h2 { font-size: clamp(22px, 2.6vw, 30px); color: var(--ink); margin-top: 10px; }
.intro-text { color: var(--muted); font-size: 16px; }

.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--brand);
  text-transform: uppercase;
  position: relative; padding-left: 30px;
}
.kicker::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 22px; height: 2px; background: var(--brand); border-radius: 2px;
}
.kicker.light { color: var(--brand-2); }
.kicker.light::before { background: var(--brand-2); }

/* ---------- 通用 section ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title { font-size: clamp(26px, 3.2vw, 38px); margin: 14px 0 14px; color: var(--ink); }
.section-title.left { text-align: left; }
.section-title.invert { color: #fff; }
.section-desc { color: var(--muted); font-size: 16px; }
.section-desc.left { text-align: left; }
.section-desc.invert { color: rgba(255, 255, 255, .75); }
.section-head .kicker { display: inline-block; }

/* ---------- 服务卡片 ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 0;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width .35s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.svc-card:hover::before { width: 100%; }
.svc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; border-radius: 16px;
  color: var(--brand);
  background: linear-gradient(135deg, rgba(12, 143, 214, .12), rgba(26, 182, 232, .12));
  margin-bottom: 20px;
}
.svc-card:hover .svc-icon { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark)); }
.svc-card h3 { font-size: 20px; margin-bottom: 10px; }
.svc-card > p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.svc-points { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-points li {
  font-size: 12.5px; color: var(--brand-dark);
  background: rgba(12, 143, 214, .08);
  padding: 5px 12px; border-radius: 999px;
}

/* ---------- 解决方案 ---------- */
.sol-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sol-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: transform .3s ease, box-shadow .3s ease;
}
.sol-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.sol-index {
  font-size: 30px; font-weight: 800; color: rgba(12, 143, 214, .25);
  margin-bottom: 14px;
}
.sol-card h3 { font-size: 18px; margin-bottom: 10px; }
.sol-card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 技术实力 ---------- */
.strength-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.feature-list { margin-top: 30px; display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 16px; }
.feature-dot {
  flex: none; width: 14px; height: 14px; margin-top: 6px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 5px rgba(12, 143, 214, .12);
}
.feature-list strong { font-size: 16px; }
.feature-list p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }

.strength-visual { display: flex; justify-content: center; }
.orbit {
  position: relative; width: 380px; height: 380px; max-width: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(12, 143, 214, .08), transparent 62%);
}
.orbit::before, .orbit::after {
  content: ""; position: absolute; inset: 30px; border-radius: 50%;
  border: 1px dashed rgba(12, 143, 214, .3);
  animation: spin 26s linear infinite;
}
.orbit::after { inset: 80px; border-style: solid; border-color: rgba(26, 182, 232, .22); animation-duration: 18s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-core {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 120px; height: 120px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-weight: 800; font-size: 22px; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 20px 40px -16px rgba(12, 143, 214, .8);
}
.chip {
  position: absolute; font-size: 13px; font-weight: 600; color: var(--brand-dark);
  background: #fff; border: 1px solid var(--line);
  padding: 7px 14px; border-radius: 999px; box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.chip-1 { top: 4%; left: 50%; transform: translateX(-50%); }
.chip-2 { top: 26%; right: -6%; }
.chip-3 { bottom: 26%; right: -6%; }
.chip-4 { bottom: 4%; left: 50%; transform: translateX(-50%); }
.chip-5 { bottom: 26%; left: -6%; }
.chip-6 { top: 26%; left: -6%; }

/* ---------- 行业服务（深色） ---------- */
.section-dark {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(26, 182, 232, .18), transparent 60%),
    linear-gradient(160deg, #062c4f, #0a3d6b);
  color: #fff;
}
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-item {
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 28px 26px;
  background: rgba(255, 255, 255, .04);
  transition: background .3s ease, transform .3s ease, border-color .3s ease;
}
.case-item:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); border-color: rgba(26, 182, 232, .5); }
.case-item h3 { font-size: 18px; margin-bottom: 8px; }
.case-item p { color: rgba(255, 255, 255, .72); font-size: 14.5px; }

/* ---------- 关于我们 ---------- */
.about-grid { display: grid; grid-template-columns: 1.5fr .9fr; gap: 48px; align-items: start; }
.about-main p { color: var(--muted); font-size: 16px; margin-bottom: 16px; }
.about-main .section-title.left { margin-top: 12px; margin-bottom: 22px; }
.about-values {
  margin-top: 26px; padding: 22px 24px;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand);
  border-radius: 12px;
}
.about-values h4 { font-size: 15px; color: var(--brand-dark); margin-bottom: 16px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-item strong {
  display: block; font-size: 15px; color: var(--brand-dark); margin-bottom: 6px;
}
.value-item p { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.6; }

.about-card {
  background: linear-gradient(160deg, #fff, #f1f7fd);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-sm);
}
.about-card h4 { font-size: 17px; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.advantage-list { display: grid; gap: 18px; }
.advantage-list li strong {
  display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 4px;
}
.advantage-list li p { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.55; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-tag {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--brand);
  background: rgba(12, 143, 214, .1); padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.news-card h3 { font-size: 18px; margin-bottom: 10px; }
.news-card p { color: var(--muted); font-size: 14.5px; margin-bottom: 16px; }
.news-more { font-size: 14px; font-weight: 600; color: var(--brand); }
.news-more::after { content: " →"; transition: margin .2s ease; }
.news-card:hover .news-more::after { margin-left: 4px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: stretch; }
.contact-info {
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(26, 182, 232, .25), transparent 60%),
    linear-gradient(160deg, var(--navy), var(--navy-2));
  color: #fff; border-radius: var(--radius-lg); padding: 40px 34px;
  display: flex; flex-direction: column; gap: 26px;
}
.contact-row { display: flex; gap: 16px; align-items: center; }
.contact-ic {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .1); color: var(--brand-2);
}
.contact-row span { display: block; font-size: 13px; color: rgba(255, 255, 255, .65); }
.contact-row b { font-size: 18px; font-weight: 700; }
.contact-note { margin-top: auto; font-size: 13px; color: rgba(255, 255, 255, .6); border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 18px; }

.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow-sm); display: grid; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 15px; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg-soft); transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(12, 143, 214, .15); background: #fff;
}
.form-tip { font-size: 14px; min-height: 20px; }
.form-tip.ok { color: #1a9c5b; }
.form-tip.err { color: #d6453c; }

/* ---------- 页脚 ---------- */
.site-footer { background: #061d33; color: rgba(255, 255, 255, .72); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px;
  padding: 64px 24px 44px;
}
.footer-logo { width: 50px; height: 50px; border-radius: 12px; margin-bottom: 16px; }
.footer-name { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.footer-slogan { font-size: 13px; color: rgba(255, 255, 255, .55); letter-spacing: 1px; }
.footer-col h5 { font-size: 15px; color: #fff; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 14px; color: rgba(255, 255, 255, .62); margin-bottom: 11px; transition: color .2s ease; }
.footer-col a:hover { color: var(--brand-2); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 20px 24px; font-size: 13px; color: rgba(255, 255, 255, .5);
}
.footer-record { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-record a:hover { color: var(--brand-2); }

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: .3s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }

/* ---------- 进场动画 ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .card-grid, .news-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-grid, .strength-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .strength-visual { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; gap: 0;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(12px);
    padding: 12px 24px 22px;
    box-shadow: 0 18px 30px -18px rgba(6, 44, 79, .5);
    transform: translateY(-130%); transition: transform .35s ease;
    margin-left: 0;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { color: var(--ink); padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav-link::after { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .card-grid, .news-grid, .case-grid, .sol-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 70px 0; }
  .hero-inner { padding: 120px 24px 90px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
