/* 智影灵动 SmartShadow · 产品宣传站样式 */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: #0f1b34; background: #f6f8fd;
  font-family: "PingFang SC","Microsoft YaHei",system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 26px; border-radius: 12px; font-weight: 700; font-size: 15.5px;
  border: 1px solid transparent; cursor: pointer; transition: .18s ease; white-space: nowrap;
}
.btn-primary { background: #1f5cff; color: #fff; box-shadow: 0 12px 30px rgba(31,92,255,.30); }
.btn-primary:hover { background: #1646c8; transform: translateY(-2px); box-shadow: 0 18px 38px rgba(31,92,255,.38); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.30); }
.btn-ghost:hover { background: rgba(255,255,255,.24); }
.btn-outline { background: #fff; color: #1f5cff; border-color: #cdd9f3; }
.btn-outline:hover { border-color: #1f5cff; transform: translateY(-2px); }
.eyebrow { color: #1f5cff; font-weight: 800; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.section-title { font-size: clamp(26px, 3.4vw, 40px); margin: 12px 0 10px; letter-spacing: -.5px; }
.section-sub { color: #5a6b86; font-size: 16px; max-width: 640px; }

/* ---------- 顶栏 ---------- */
.navbar {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px);
  background: rgba(255,255,255,.78); border-bottom: 1px solid #e7edf7;
}
/* height 用 min-height + 单行不换行：窄屏时行高由内容决定，但永不折行，
   否则品牌字会被压成「一字一行」并溢出到 hero 上（手机端曾出现的错位）。 */
.navbar .wrap { display: flex; align-items: center; min-height: 66px; gap: 22px; flex-wrap: nowrap; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px;
  flex: 0 0 auto; min-width: 0; white-space: nowrap; }
.logo .mk { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(150deg,#173a8f,#1f5cff);
  display: grid; place-items: center; color: #fff; font-size: 19px; font-weight: 800; }
/* 品牌两行：主名 + 副标（瑞亿智创研发平台）；副标在窄屏隐藏，主名始终不折行 */
.logo-txt { display: flex; flex-direction: column; justify-content: center; line-height: 1.12; }
.logo-txt b { font-size: 17px; font-weight: 800; letter-spacing: .2px; white-space: nowrap; }
.logo-txt .logo-sub { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .6px;
  color: #7b88a6; white-space: nowrap; }
.nav-links { display: flex; gap: 26px; margin-left: 10px; font-size: 15px; color: #44546f; }
.nav-links a:hover { color: #1f5cff; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1100px 620px at 12% -8%, #2a4fae 0%, transparent 58%),
              radial-gradient(900px 560px at 102% 6%, #3f7bff 0%, transparent 55%),
              linear-gradient(150deg, #0e2a6e 0%, #1640a8 55%, #1f5cff 100%);
}
.hero::before { content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px); background-size: 26px 26px; opacity:.5; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  align-items: center; padding: 84px 0 96px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); line-height: 1.08; margin: 16px 0 18px; letter-spacing: -1px; }
.hero h1 .grad { background: linear-gradient(90deg,#9fd0ff,#ffffff); -webkit-background-clip: text; background-clip:text; color: transparent; }
.hero p.lead { font-size: 18px; color: rgba(255,255,255,.86); max-width: 540px; }
.hero .actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero .mini { margin-top: 26px; display: flex; gap: 26px; flex-wrap: wrap; color: rgba(255,255,255,.82); font-size: 14px; }
.hero .mini b { color:#fff; font-size: 22px; display:block; }
.hero-visual { position: relative; height: 380px; }
.float-card { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px; padding: 12px; backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px rgba(8,22,60,.35); }
.float-card img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; display:block; }
.fc1 { width: 168px; height: 214px; left: 6%; top: 12%; animation: floaty 6s ease-in-out infinite; }
.fc2 { width: 150px; height: 192px; right: 8%; top: 4%; animation: floaty 7s ease-in-out infinite .4s; }
.fc3 { width: 132px; height: 168px; right: 26%; bottom: 2%; animation: floaty 6.5s ease-in-out infinite .9s; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-14px) } }

/* ---------- 展示条 ---------- */
.showcase { margin-top: -54px; position: relative; z-index: 5; }
.showcase .wrap { display: flex; gap: 14px; overflow-x: auto; padding: 0 0 6px; scrollbar-width: thin; }
.show-card { flex: 0 0 auto; width: 120px; height: 150px; border-radius: 16px; overflow: hidden;
  background: #fff; border: 1px solid #e7edf7; box-shadow: 0 14px 30px rgba(20,40,90,.10);
  transition: .2s; }
.show-card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(20,40,90,.18); }
.show-card img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 通用 section ---------- */
section.block { padding: 78px 0; }
.section-head { text-align: center; margin-bottom: 44px; display:flex; flex-direction:column; align-items:center; }

/* ---------- 特性网格 ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid #e9eef7; border-radius: 18px; padding: 26px 24px;
  transition: .2s; position: relative; overflow: hidden; }
.feature:hover { transform: translateY(-5px); box-shadow: 0 24px 50px rgba(20,40,90,.12); border-color:#cdd9f3; }
.feature .ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; background: linear-gradient(150deg,#e8f0ff,#d6e3ff); margin-bottom: 14px; }
.feature h3 { margin: 4px 0 8px; font-size: 18.5px; }
.feature p { margin: 0; color: #5a6b86; font-size: 14.5px; }

/* ---------- 场景 ---------- */
.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.scene { border-radius: 20px; padding: 28px; color: #fff; position: relative; overflow: hidden; min-height: 168px;
  display: flex; flex-direction: column; justify-content: flex-end; transition:.2s; }
.scene:hover { transform: translateY(-5px); }
.scene h3 { margin: 0 0 6px; font-size: 20px; }
.scene p { margin: 0; font-size: 14px; color: rgba(255,255,255,.88); }
.scene .tag { position:absolute; top:18px; left:22px; font-size:12px; background:rgba(255,255,255,.18);
  padding:5px 11px; border-radius:999px; }
.s1 { background: linear-gradient(150deg,#0e2a6e,#1f5cff); }
.s2 { background: linear-gradient(150deg,#b9144f,#ff5b86); }
.s3 { background: linear-gradient(150deg,#0f7a52,#27c98a); }
.s4 { background: linear-gradient(150deg,#7a3fb0,#a96bff); }
.s5 { background: linear-gradient(150deg,#9a5a10,#ffae3d); }
.s6 { background: linear-gradient(150deg,#0e556e,#1fa6c9); }

/* ---------- 数据 ---------- */
.stats { background: linear-gradient(150deg,#0e2a6e,#1f5cff); color:#fff; border-radius: 26px;
  padding: 50px 30px; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; text-align:center; }
.stats .num { font-size: clamp(34px,4vw,52px); font-weight: 800; letter-spacing:-1px; }
.stats .lab { color: rgba(255,255,255,.82); font-size: 14.5px; margin-top: 4px; }

/* ---------- CTA band ---------- */
.cta-band { text-align:center; padding: 70px 0; }
.cta-card { background: #fff; border: 1px solid #e9eef7; border-radius: 24px; padding: 54px 30px;
  box-shadow: 0 30px 70px rgba(20,40,90,.12); }
.cta-card h2 { font-size: clamp(26px,3.4vw,38px); margin: 0 0 10px; }
.cta-card p { color:#5a6b86; margin: 0 0 26px; }

/* ---------- Footer ---------- */
footer { background: #0c1838; color: #aeb9d2; padding: 46px 0 36px; }
footer .wrap { display:flex; flex-wrap:wrap; gap: 24px; justify-content: space-between; }
footer .logo { color:#fff; }
footer .logo .mk { background: rgba(255,255,255,.16); }
footer .logo .logo-sub { color:#9aa7c2; }
footer .col h4 { color:#fff; margin:0 0 12px; font-size:15px; }
footer .col a { display:block; color:#aeb9d2; font-size:14px; margin: 7px 0; }
footer .col a:hover { color:#fff; }
footer .copy { width:100%; border-top:1px solid rgba(255,255,255,.10); margin-top: 26px; padding-top: 18px; font-size:13px; color:#7e8aa6; }

@media (max-width: 920px){
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-visual { height: 300px; }
  .features, .scenes { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .nav-links { display:none; }
}
/* 手机端顶栏：压缩品牌与按钮，保证「品牌 + 两个按钮」在 320px 也排得下且不折行 */
@media (max-width: 860px){
  .navbar .wrap { gap: 12px; min-height: 60px; }
  .logo { gap: 8px; }
  .logo .mk { width: 30px; height: 30px; border-radius: 9px; font-size: 17px; }
  .logo-txt b { font-size: 16px; }
  .logo-txt .logo-sub { display: none; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 10px 13px; font-size: 14px; border-radius: 10px; }
}
@media (max-width: 420px){
  .logo-txt b { font-size: 15px; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn { padding: 9px 11px; font-size: 13.5px; }
}
@media (max-width: 560px){
  .features, .scenes { grid-template-columns: 1fr; }
}
