/* ============================================================
   科锐昂 KRASTD — 企业官网共享样式
   风格：简约大气 / 深青绿主色 + 金色点缀 / 大留白
   ============================================================ */

:root {
  --ink: #14201d;
  --ink-soft: #4a5a55;
  --ink-faint: #8a978f;
  --brand: #0f3d33;
  --brand-deep: #0a2b24;
  --brand-soft: #eef4f1;
  --gold: #c2a265;
  --gold-soft: #f5efe2;
  --line: #e4e9e6;
  --white: #ffffff;
  --bg: #fbfcfb;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(15, 61, 51, .08);
  --maxw: 1180px;
  --serif: "Songti SC", "Noto Serif SC", "STSong", serif;
  --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ---------- 通用区块 ---------- */
.section { padding: 104px 0; }
.section.tight { padding: 76px 0; }
.section.alt { background: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: .35em;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 36px; height: 1px;
  background: var(--gold);
}

.h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--brand-deep);
  margin-bottom: 20px;
}

.lead { color: var(--ink-soft); font-size: 17px; max-width: 640px; }

.center { text-align: center; }
.center .lead { margin: 0 auto; }
.center .eyebrow { justify-content: center; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 38px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .08em;
  transition: all .3s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(15, 61, 51, .28);
}
.btn-ghost {
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: #fff;
}
.btn-outline {
  border-color: var(--brand);
  color: var(--brand);
}
.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: all .35s ease;
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: auto;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: transparent;
}
.brand-mark img {
  height: 100%;
  width: auto;
  display: block;
}
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
}
/* 文字 logo 通过 JS 切换 src：深色背景用 wordmark-light.png（白+红），浅色背景用 wordmark.png（原色深灰+红） */
.brand-text { line-height: 1.2; }
.brand-name {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .14em;
  transition: color .35s;
}
.brand-sub {
  font-size: 10px;
  letter-spacing: .32em;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  transition: color .35s;
}
.scrolled .brand-name { color: var(--brand-deep); }
.scrolled .brand-sub { color: var(--ink-faint); }

/* footer brand */
.footer-brand .brand-logo { height: 44px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  position: relative;
  padding: 4px 0;
  transition: color .3s;
}
.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: #fff; }
.scrolled .nav-links a.active { color: var(--brand-deep); font-weight: 600; }

.nav-cta {
  padding: 11px 26px !important;
  font-size: 14px !important;
}

/* 移动端菜单 */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 24px; height: 2px;
  background: #fff;
  transition: all .3s;
}
.scrolled .menu-toggle span { background: var(--brand-deep); }

/* ---------- Hero（首页） ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1100px 520px at 82% 12%, rgba(194,162,101,.20), transparent 60%),
    radial-gradient(900px 620px at 8% 88%, rgba(22,84,63,.55), transparent 62%),
    linear-gradient(150deg, #0a2b24 0%, #0f3d33 55%, #123f36 100%);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(720px 560px at 70% 40%, #000 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 140px 0 120px;
}
.hero-tag {
  display: inline-block;
  border: 1px solid rgba(194,162,101,.5);
  color: var(--gold);
  font-size: 13px;
  letter-spacing: .3em;
  padding: 9px 22px;
  border-radius: 999px;
  margin-bottom: 34px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.6vw, 66px);
  font-weight: 700;
  color: #fff;
  line-height: 1.28;
  letter-spacing: .02em;
  max-width: 760px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero p {
  margin: 28px 0 46px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  max-width: 560px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: clamp(36px, 6vw, 88px);
  margin-top: 88px;
  flex-wrap: wrap;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 700;
  color: #fff;
}
.stat-num small { font-size: .55em; color: var(--gold); margin-left: 2px; }
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.58);
  letter-spacing: .12em;
  margin-top: 6px;
}

/* ---------- 页面横幅（内页） ---------- */
.page-hero {
  background:
    radial-gradient(800px 380px at 85% 10%, rgba(194,162,101,.16), transparent 60%),
    linear-gradient(140deg, #0a2b24 0%, #0f3d33 100%);
  padding: 186px 0 96px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(640px 420px at 75% 50%, #000 30%, transparent 78%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 54px);
  color: #fff;
  font-weight: 700;
  letter-spacing: .04em;
}
.page-hero .crumb {
  margin-top: 16px;
  color: rgba(255,255,255,.62);
  font-size: 14px;
  letter-spacing: .1em;
}
.page-hero .crumb b { color: var(--gold); font-weight: 500; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  transition: all .35s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(194,162,101,.45);
}
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--brand-deep);
  margin-bottom: 12px;
  font-weight: 700;
}
.card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- 品类矩阵 ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.category-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 14px;
  text-align: center;
  transition: all .3s ease;
}
.category-item:hover {
  background: var(--brand);
  border-color: var(--brand);
}
.category-item:hover .cat-name,
.category-item:hover .cat-en { color: #fff; }
.category-item:hover .cat-en { color: var(--gold); }
.cat-icon {
  font-size: 26px;
  margin-bottom: 10px;
  display: block;
}
.cat-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
  transition: color .3s;
}
.cat-en {
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--ink-faint);
  text-transform: uppercase;
  margin-top: 4px;
  transition: color .3s;
}

/* ---------- 服务流程（时间轴） ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--gold);
  display: block;
  margin-bottom: 14px;
}
.step h4 {
  font-size: 17px;
  color: var(--brand-deep);
  margin-bottom: 8px;
  font-weight: 600;
}
.step p { font-size: 14px; color: var(--ink-soft); }

/* ---------- 案例卡片 ---------- */
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .35s ease;
}
.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.case-banner {
  height: 190px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-banner .case-logo {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .16em;
}
.case-banner .case-type {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,.9);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
}
.case-body { padding: 30px 30px 34px; }
.case-body h3 {
  font-family: var(--serif);
  font-size: 21px;
  color: var(--brand-deep);
  margin-bottom: 10px;
}
.case-body p { color: var(--ink-soft); font-size: 15px; }

/* ---------- 品牌墙 ---------- */
.brand-wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.brand-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 10px;
  text-align: center;
  font-weight: 600;
  color: var(--ink-faint);
  font-size: 16px;
  letter-spacing: .08em;
  transition: all .3s;
}
.brand-cell:hover { color: var(--brand-deep); border-color: var(--gold); }

/* ---------- 使命愿景 ---------- */
.mission-band {
  background:
    radial-gradient(700px 300px at 88% 20%, rgba(194,162,101,.18), transparent 60%),
    linear-gradient(135deg, #0a2b24, #0f3d33);
  color: #fff;
  border-radius: 24px;
  padding: 72px 60px;
  position: relative;
  overflow: hidden;
}
.mission-band::after {
  content: "”";
  position: absolute;
  right: 36px; top: -40px;
  font-family: var(--serif);
  font-size: 260px;
  color: rgba(194,162,101,.14);
  line-height: 1;
}
.mission-band .eyebrow { color: var(--gold); }
.mission-band h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.5;
  max-width: 680px;
}

/* ---------- 数据条 ---------- */
.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.metric {
  text-align: center;
  padding: 42px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.metric .num {
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  color: var(--brand);
}
.metric .num small { font-size: .5em; color: var(--gold); }
.metric .lab {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: .1em;
}

/* ---------- 兑换方式（产品页） ---------- */
.exchange-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transition: box-shadow .35s;
}
.exchange-card:hover { box-shadow: var(--shadow); }
.exchange-side {
  padding: 48px 44px;
  background: linear-gradient(160deg, #0f3d33, #0a2b24);
  color: #fff;
}
.exchange-side .mode {
  font-size: 12px;
  letter-spacing: .3em;
  color: var(--gold);
  margin-bottom: 14px;
}
.exchange-side h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  margin-bottom: 14px;
}
.exchange-side p { color: rgba(255,255,255,.75); font-size: 15px; }
.exchange-main { padding: 48px 44px; }
.exchange-main h4 {
  font-size: 15px;
  color: var(--gold);
  letter-spacing: .22em;
  margin-bottom: 18px;
  font-weight: 600;
}
.exchange-main ol { counter-reset: ex; }
.exchange-main ol li {
  counter-increment: ex;
  position: relative;
  padding: 0 0 18px 44px;
  color: var(--ink-soft);
  font-size: 15px;
}
.exchange-main ol li::before {
  content: counter(ex);
  position: absolute;
  left: 0; top: 1px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.feature-tags span {
  background: var(--gold-soft);
  color: #8a6d33;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 500;
}

/* ---------- 表单 ---------- */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-deep);
  letter-spacing: .05em;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--sans);
  font-size: 15px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  outline: none;
  transition: all .25s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(15,61,51,.08);
}
.form-note { font-size: 13px; color: var(--ink-faint); margin-top: 14px; }

/* ---------- 联系信息卡 ---------- */
.contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: all .3s;
}
.contact-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.contact-card .cc-icon {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card .cc-icon svg { width: 22px; height: 22px; }
.contact-card h4 {
  font-size: 16px;
  color: var(--brand-deep);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- CTA 横幅 ---------- */
.cta-band {
  background:
    radial-gradient(760px 320px at 15% 20%, rgba(194,162,101,.2), transparent 55%),
    linear-gradient(120deg, #0a2b24, #0f3d33);
  border-radius: 24px;
  padding: 68px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 38px);
  color: #fff;
  font-weight: 700;
}
.cta-band p { color: rgba(255,255,255,.72); margin-top: 10px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #08211b;
  color: rgba(255,255,255,.66);
  padding: 78px 0 34px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.footer-brand .brand-name { color: #fff; font-size: 22px; }
.footer-brand .brand-sub { color: rgba(255,255,255,.4); }
.footer-brand p {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.9;
  max-width: 320px;
}
.footer-col h5 {
  color: #fff;
  font-size: 15px;
  letter-spacing: .12em;
  margin-bottom: 20px;
  font-weight: 600;
}
.footer-col a, .footer-col li {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: rgba(255,255,255,.6);
  transition: color .25s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,.38);
  letter-spacing: .04em;
}
.footer-bottom a:hover { color: var(--gold); }

/* ---------- 滚动动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .brand-wall { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 22px; }
  .brand-logo { height: 32px; }
  .brand-mark { height: 40px; }
  .nav-links {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    background: rgba(10,43,36,.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    height: 100vh;
    transform: translateY(-100%);
    transition: transform .4s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { color: #fff; font-size: 19px; }
  .menu-toggle { display: flex; z-index: 110; }
  .nav-cta.mobile-hide { display: none; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .exchange-card { grid-template-columns: 1fr; }
  .brand-wall { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 130px 0 90px; }
  .mission-band, .cta-band { padding: 48px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}
