/* ===== 基速达生物科技有限公司 —— 现代科技风 (10x-inspired) ===== */

:root {
  --ink: #0a1b2e;
  --navy: #0b2545;
  --primary: #0b2545;
  --primary-light: #134e6f;
  --accent: #00b5ad;
  --accent-2: #2563eb;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --bg-dark: #0a1b2e;
  --text: #122031;
  --text-muted: #51637a;
  --text-light: #8a99a8;
  --border: #e6ebf1;
  --max-width: 1180px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 4px 20px rgba(11,37,69,.06);
  --shadow-lg: 0 16px 48px rgba(11,37,69,.14);
  --grad: linear-gradient(135deg, #0b2545 0%, #134e6f 48%, #00b5ad 118%);
  --grad-accent: linear-gradient(135deg, #00b5ad 0%, #2563eb 100%);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent-2); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

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

/* ===== 导航 ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color .25s, box-shadow .25s;
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(11,37,69,.05);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: baseline;
}
.logo .logo-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-left: 8px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
  transition: width .25s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--ink);
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  border-radius: 999px;
  font-family: var(--sans);
  letter-spacing: 0.3px;
  transition: transform .2s, box-shadow .25s, background .25s, color .2s;
  line-height: 1;
}
.btn-primary {
  background: var(--grad-accent);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,181,173,.32);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0,181,173,.42);
}
.btn-outline {
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  color: var(--ink);
  background: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===== Hero ===== */
.hero {
  margin-top: 68px;
  background: var(--grad);
  color: #fff;
  padding: 120px 0 130px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%; right: -10%;
  width: 60%; height: 160%;
  background: radial-gradient(circle, rgba(0,181,173,.35) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent, #000 40%, transparent);
  pointer-events: none;
}
.hero-inner { max-width: 760px; position: relative; z-index: 1; }
.hero h1 {
  font-size: 56px;
  line-height: 1.12;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
  color: #fff;
}
.hero-sub {
  font-size: 19px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 38px;
  line-height: 1.7;
  max-width: 620px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== 最新动态 ===== */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 26px;
  color: var(--text);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  color: var(--text);
}
.news-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: var(--grad-accent);
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.news-card h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 10px; line-height: 1.4; }
.news-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; flex: 1; }
.news-link { margin-top: 18px; font-size: 14px; font-weight: 700; color: var(--accent-2); }
.news-card:hover .news-link { color: var(--accent); }

/* ===== 博客列表 ===== */
.blog-list { display: grid; gap: 20px; }
.post-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px 34px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.post-cat { color: #fff; background: var(--grad-accent); padding: 4px 12px; border-radius: 999px; font-weight: 700; letter-spacing: .5px; }
.post-card h3 { font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 8px; line-height: 1.4; }
.post-card p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.post-card .news-link { display: inline-block; }

/* ===== 文章正文 ===== */
.article { max-width: 760px; margin: 0 auto; }
.article p { font-size: 17px; line-height: 1.95; color: #2a3a4d; margin-bottom: 22px; }
.article h2 { font-size: 27px; font-weight: 800; color: var(--ink); margin: 44px 0 16px; letter-spacing: -.3px; }
.article h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 30px 0 12px; }
.article ul, .article ol { margin: 0 0 22px; padding-left: 24px; }
.article li { font-size: 17px; line-height: 1.85; color: #2a3a4d; margin-bottom: 9px; }
.article strong { color: var(--ink); font-weight: 700; }
.article a { color: var(--accent-2); text-decoration: underline; }
.article blockquote {
  border-left: 4px solid var(--accent);
  background: var(--bg-soft);
  padding: 16px 24px;
  margin: 0 0 24px;
  border-radius: 0 10px 10px 0;
  color: var(--text-muted);
  font-size: 16px;
}
.article code { background: var(--bg-soft); padding: 2px 7px; border-radius: 5px; font-size: 14px; font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--accent-2); }
.article pre { background: var(--ink); color: #e6ebf1; padding: 20px 22px; border-radius: 12px; overflow-x: auto; margin: 0 0 24px; font-size: 13.5px; line-height: 1.7; }
.article pre code { background: none; color: inherit; padding: 0; }
.article img { max-width: 100%; border-radius: var(--r); margin: 8px 0 24px; }
.article hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }

.article-head { max-width: 760px; margin: 0 auto 8px; }
.article-head .post-meta { margin-bottom: 16px; }
.back-link { display: inline-block; margin-bottom: 28px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
.back-link:hover { color: var(--accent); }

/* ===== 区块 ===== */
.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.section-head p { font-size: 18px; color: var(--text-muted); line-height: 1.6; }

/* ===== 业务领域：卡片网格 ===== */
.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-row {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 30px;
  position: relative;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-row::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s;
}
.service-row:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-row:hover::before { transform: scaleX(1); }
.service-row h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}
.service-row p { color: var(--text-muted); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.service-row ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.service-row ul li {
  font-size: 13px;
  color: var(--primary-light);
  background: var(--bg-soft);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 500;
}
.service-row ul li + li::before { content: none; }

/* ===== 流程 ===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 30px 26px;
  transition: transform .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num {
  font-size: 30px;
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0;
  margin-bottom: 14px;
  line-height: 1;
}
.step h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.step p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== 技术平台 ===== */
.tech-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: transparent;
  border: none;
}
.tech-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px 18px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.tech-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.tech-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 5px; color: var(--ink); }
.tech-item p { font-size: 13px; color: var(--text-muted); }

/* ===== 案例列表 ===== */
.cases-list { display: grid; gap: 20px; border-top: none; }
.case-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: start;
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform .25s, box-shadow .25s;
}
.case-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-tag {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  font-family: var(--sans);
  background: var(--grad-accent);
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-block;
  justify-self: start;
}
.case-row h4 { font-size: 19px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.case-row p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ===== CTA ===== */
.cta-band {
  background: var(--grad);
  border-radius: var(--r-lg);
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -50%; left: 50%; transform: translateX(-50%);
  width: 80%; height: 200%;
  background: radial-gradient(circle, rgba(0,181,173,.3) 0%, transparent 60%);
}
.cta-band h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; color: #fff; position: relative; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.78); margin-bottom: 32px; position: relative; }
.cta-band .btn { position: relative; }

/* ===== 页脚 ===== */
.footer { background: var(--ink); color: rgba(255,255,255,0.6); padding: 72px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 44px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; display: inline-flex; }
.footer-brand .logo .logo-text { color: rgba(255,255,255,.45); }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.5); }
.footer-col h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: .3px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.55); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-contact li { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 11px; line-height: 1.6; }
.footer-contact .icon { color: var(--accent); margin-right: 8px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== 页面横幅 ===== */
.page-banner {
  margin-top: 68px;
  background: var(--grad);
  color: #fff;
  padding: 88px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  top: -40%; right: -8%;
  width: 50%; height: 180%;
  background: radial-gradient(circle, rgba(0,181,173,.3) 0%, transparent 65%);
}
.page-banner h1 { font-size: 44px; font-weight: 800; margin-bottom: 12px; color: #fff; letter-spacing: -0.5px; position: relative; }
.page-banner p { color: rgba(255,255,255,0.78); font-size: 18px; position: relative; }

/* ===== 业务详情 ===== */
.service-detail {
  padding: 36px 36px;
  margin-bottom: 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: box-shadow .25s;
}
.service-detail:hover { box-shadow: var(--shadow); }
.service-detail:last-child { margin-bottom: 0; }
.service-detail h3 { font-size: 23px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.service-detail > p { color: var(--text-muted); font-size: 16px; margin-bottom: 22px; line-height: 1.7; }
.service-detail h4 { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; letter-spacing: .5px; text-transform: uppercase; }
.service-detail ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.service-detail ul li { font-size: 15px; color: var(--text); padding-left: 22px; position: relative; }
.service-detail ul li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad-accent);
}

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.contact-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-item .icon { color: var(--accent); flex-shrink: 0; font-size: 20px; }
.contact-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 3px; color: var(--ink); }
.contact-item p { color: var(--text-muted); }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 22px; font-weight: 800; margin-bottom: 6px; color: var(--ink); }
.contact-form > p { font-size: 15px; color: var(--text-muted); margin-bottom: 26px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  font-family: var(--sans);
  background: var(--bg-soft);
  color: var(--text);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,181,173,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ===== 关于页 ===== */
.about-text p { margin-bottom: 16px; color: var(--text-muted); font-size: 17px; line-height: 1.85; }
.about-text p:last-child { margin-bottom: 0; }

.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: none; }
.value-row {
  display: block;
  padding: 30px 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r);
  transition: transform .25s, box-shadow .25s;
}
.value-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-row h4 { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.value-row p { color: var(--text-muted); font-size: 15px; line-height: 1.7; }

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

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .services-list, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps, .tech-list { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    padding: 22px 32px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 22px; }
  .hero { padding: 84px 0 90px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 17px; }
  .section { padding: 64px 0; }
  .section-head h2 { font-size: 30px; }
  .section-head p { font-size: 16px; }
  .services-list, .news-grid, .process-steps, .tech-list { grid-template-columns: 1fr; }
  .case-row { grid-template-columns: 1fr; gap: 14px; }
  .values-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-detail ul { grid-template-columns: 1fr; }
  .cta-band { padding: 52px 28px; }
  .cta-band h2 { font-size: 26px; }
  .carousel { height: 380px; border-radius: var(--r); }
  .carousel-slide { padding: 0 28px; }
  .carousel-body h3 { font-size: 22px; }
  .page-banner h1 { font-size: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
