/* ------------
   XianCaiBao site styles (SEO-friendly, min 1200px layout)
   ------------ */

:root{
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.10);
  --card: #ffffff;
  --shadow: 0 14px 40px rgba(2, 6, 23, 0.12);
  --shadow-soft: 0 10px 22px rgba(2, 6, 23, 0.10);
  --brand: #0ea5e9;
  --brand-2: #2563eb;
  --accent: #22c55e;
  --danger: #ef4444;
  --radius: 14px;
  --container: 1200px;
}

*{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-width: 1200px;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible{ outline: 3px solid rgba(14,165,233,.45); outline-offset: 2px; border-radius: 10px; }

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 12px;
  background: #0b1220;
  color: #fff;
  z-index: 9999;
  border-radius: 10px;
}
.skip-link:focus{ left: 16px; top: 14px; }

.container{
  width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}
.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-logo{
  width: 98px;
  height: 43px;
  object-fit: contain;
}
.brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background:
    radial-gradient(12px 12px at 30% 30%, rgba(255,255,255,.90), rgba(255,255,255,0) 60%),
    linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 12px 22px rgba(37, 99, 235, 0.22);
  border: 1px solid rgba(255,255,255,.45);
}
.brand-name{
  font-weight: 800;
  letter-spacing: 0.4px;
}
.brand-sub{
  margin-left: 8px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.nav{
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a{
  font-weight: 650;
  color: rgba(15, 23, 42, 0.86);
  padding: 10px 10px;
  border-radius: 12px;
}
.nav a:hover{ background: rgba(2,6,23,0.045); }
.nav a[aria-current="page"]{
  color: #0b1220;
  background: rgba(14,165,233,0.12);
  box-shadow: inset 0 0 0 1px rgba(14,165,233,0.22);
}
.header-actions{
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 750;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.btn:hover{ box-shadow: var(--shadow-soft); }
.btn-primary{
  border-color: rgba(37,99,235,0.25);
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
}
.btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(37, 99, 235, 0.28);
}

/* Hero */
.hero{
  position: relative;
  min-height: 420px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(860px 420px at 18% 0%, rgba(14,165,233,0.20), rgba(14,165,233,0) 55%),
    radial-gradient(740px 380px at 78% 20%, rgba(37,99,235,0.20), rgba(37,99,235,0) 58%),
    linear-gradient(180deg, #0b1220 0%, #111a2a 52%, #0b1220 100%);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.hero::after{
  content:"";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, rgba(255,255,255,0) 1px) 0 0 / 64px 64px,
    linear-gradient(0deg, rgba(255,255,255,0.07) 1px, rgba(255,255,255,0) 1px) 0 0 / 64px 64px;
  opacity: 0.25;
  pointer-events: none;
}
.hero-inner{
  position: relative;
  padding: 54px 0 64px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 26px;
  align-items: center;
}
.hero h1{
  margin: 0 0 10px;
  color: #fff;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: 0.2px;
}
.hero p{
  margin: 0 0 22px;
  color: rgba(255,255,255,0.76);
  font-size: 16px;
  max-width: 54ch;
}
.hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.16);
  font-weight: 650;
  font-size: 12px;
}
.hero-card{
  border-radius: 22px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  overflow: hidden;
}
.hero-card-top{
  padding: 18px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  color: rgba(255,255,255,0.90);
  background: rgba(14,165,233,0.18);
  border: 1px solid rgba(14,165,233,0.28);
}
.hero-card-body{
  padding: 0 18px 18px;
}
.stat-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.stat{
  border-radius: 16px;
  padding: 14px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}
.stat .k{
  color: rgba(255,255,255,0.64);
  font-size: 12px;
  font-weight: 650;
}
.stat .v{
  color: #fff;
  font-size: 22px;
  font-weight: 850;
  margin-top: 4px;
}
.stat .d{
  color: rgba(255,255,255,0.70);
  font-size: 12px;
  margin-top: 6px;
}

/* Sections */
.section{
  padding: 64px 0;
}
.section-muted{
  background: linear-gradient(180deg, rgba(2,6,23,0.03), rgba(2,6,23,0.015));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-title{
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.section-title h2{
  margin: 0;
  font-size: 24px;
  letter-spacing: 0.2px;
}
.section-title p{
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.divider-dot{
  width: 56px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(14,165,233,.0), rgba(14,165,233,.9), rgba(37,99,235,.9), rgba(37,99,235,0));
}

.cards{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 14px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
  min-height: 142px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(14,165,233,0.28);
  box-shadow: 0 18px 34px rgba(2, 6, 23, 0.10);
}
.card .icon{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background:
    radial-gradient(14px 14px at 35% 30%, rgba(255,255,255,.92), rgba(255,255,255,0) 62%),
    linear-gradient(135deg, rgba(14,165,233,.95), rgba(37,99,235,.92));
  box-shadow: 0 14px 22px rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(255,255,255,0.35);
}
.card .card-icon{
  width: 36px;
  height: 36px;
  display: block;
  object-fit: contain;
}
.card h3{
  margin: 12px 0 6px;
  font-size: 15px;
}
.card p{
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 550;
}
.card-highlight{
  background: linear-gradient(135deg, rgba(14,165,233,0.18), rgba(37,99,235,0.14));
  border-color: rgba(14,165,233,0.28);
}
.card-highlight h3{ margin-top: 8px; }

/* Mid Banner */
.mid-banner{
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(520px 280px at 20% 20%, rgba(34,197,94,0.20), rgba(34,197,94,0) 60%),
    radial-gradient(520px 280px at 70% 30%, rgba(14,165,233,0.20), rgba(14,165,233,0) 60%),
    linear-gradient(135deg, #0b1220, #101b2e);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 22px 70px rgba(2,6,23,0.26);
}
.mid-banner-inner{
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
}
.mid-banner h3{
  margin: 0;
  color: #fff;
  font-size: 24px;
}
.mid-banner p{
  margin: 8px 0 0;
  color: rgba(255,255,255,0.76);
  font-weight: 560;
  font-size: 13px;
}
.mid-banner .cta{
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.btn-ghost{
  background: rgba(255,255,255,0.10);
  color: #fff;
  border-color: rgba(255,255,255,0.20);
}
.btn-ghost:hover{ box-shadow: 0 14px 26px rgba(0,0,0,0.28); }

/* Two column blocks */
.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}
.panel{
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 34px rgba(2,6,23,0.07);
  overflow: hidden;
}
.panel-head{
  padding: 16px 18px 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(180deg, rgba(2,6,23,0.018), rgba(2,6,23,0));
}
.panel-head h3{
  margin: 0;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.panel-head .tag{
  font-size: 12px;
  font-weight: 750;
  color: rgba(37,99,235,0.92);
  background: rgba(37,99,235,0.10);
  border: 1px solid rgba(37,99,235,0.18);
  padding: 6px 10px;
  border-radius: 999px;
}
.panel-body{
  padding: 0 18px 18px;
}
.panel-body ul{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 560;
  font-size: 13px;
}
.panel-body li{ margin: 8px 0; }

/* Timeline + team */
.timeline-team{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
  margin-top: 18px;
}
.donut{
  padding: 18px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
  align-items: center;
}
.donut svg{
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  filter: drop-shadow(0 18px 24px rgba(2,6,23,0.12));
}
.donut .legend{
  display: grid;
  gap: 10px;
}
.legend-item{
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.legend-dot{
  width: 10px; height: 10px; border-radius: 999px;
  margin-top: 6px;
}
.legend-item b{ display: block; font-size: 13px; }
.legend-item span{ display: block; font-size: 12px; color: var(--muted); font-weight: 560; }

.team{
  padding: 18px;
}
.avatars{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 10px;
}
.avatar{
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(2,6,23,0.12);
  box-shadow: 0 12px 22px rgba(2,6,23,0.12);
  background:
    radial-gradient(14px 14px at 30% 30%, rgba(255,255,255,.92), rgba(255,255,255,0) 62%),
    linear-gradient(135deg, rgba(14,165,233,.8), rgba(37,99,235,.8));
}
.team p{
  margin: 0;
  color: var(--muted);
  font-weight: 560;
  font-size: 13px;
}
.carousel{
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.chip{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 750;
  font-size: 12px;
  color: rgba(15,23,42,0.78);
  cursor: pointer;
}
.chip[aria-pressed="true"]{
  background: rgba(14,165,233,0.12);
  border-color: rgba(14,165,233,0.26);
  color: #0b1220;
}

/* Partners */
.partner-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.logo-card{
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 26px rgba(2,6,23,0.06);
  padding: 14px 12px;
  display: grid;
  place-items: center;
  min-height: 64px;
  color: rgba(15,23,42,0.64);
  font-weight: 800;
  letter-spacing: 0.6px;
}

/* Footer */
.site-footer{
  background: #0b1220;
  color: rgba(255,255,255,0.84);
  border-top: 1px solid rgba(255,255,255,0.10);
}
.footer-top{
  padding: 44px 0 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 22px;
}
.footer-brand{
  display: grid;
  gap: 12px;
}
.footer-brand .brand-name{
  color: #fff;
  font-size: 18px;
}
.footer-brand p{
  margin: 0;
  color: rgba(255,255,255,0.70);
  font-weight: 560;
  font-size: 13px;
}
.footer-cols{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.footer-col h4{
  margin: 0 0 10px;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  letter-spacing: 0.3px;
}
.footer-col a{
  display: block;
  padding: 6px 0;
  color: rgba(255,255,255,0.72);
  font-weight: 560;
  font-size: 13px;
}
.footer-col a:hover{ color: #fff; }
.qr-wrap{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: start;
}
.qr{
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px;
  display: grid;
  gap: 8px;
}
.qr-box{
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.10) 0 2px, rgba(255,255,255,0) 2px 8px);
  border: 1px solid rgba(255,255,255,0.14);
}
.qr img.qr-box{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.14);
  object-fit: cover;
}
.qr span{
  font-size: 12px;
  color: rgba(255,255,255,0.72);
  font-weight: 650;
}
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 16px 0;
  color: rgba(255,255,255,0.58);
  font-weight: 560;
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.footer-bottom a{ color: rgba(255,255,255,0.64); }
.footer-bottom a:hover{ color: #fff; }

/* Page shells */
.page-hero{
  padding: 42px 0 34px;
  background:
    radial-gradient(640px 300px at 20% 10%, rgba(14,165,233,0.18), rgba(14,165,233,0) 55%),
    radial-gradient(520px 260px at 75% 30%, rgba(37,99,235,0.14), rgba(37,99,235,0) 60%),
    linear-gradient(180deg, rgba(2,6,23,0.02), rgba(2,6,23,0));
  border-bottom: 1px solid var(--line);
}
.page-hero h1{
  margin: 0;
  font-size: 34px;
}
.page-hero p{
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 560;
  max-width: 68ch;
}
.crumbs{
  margin: 6px 0 14px;
  font-size: 12px;
  color: rgba(15,23,42,0.60);
  font-weight: 650;
}
.crumbs a{ color: rgba(37,99,235,0.92); }

.product-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.product{
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 14px 34px rgba(2,6,23,0.07);
  overflow: hidden;
}
.product-media{
  height: 150px;
  overflow: hidden;
  background:
    radial-gradient(420px 210px at 25% 30%, rgba(14,165,233,0.22), rgba(14,165,233,0) 60%),
    radial-gradient(420px 210px at 75% 40%, rgba(34,197,94,0.18), rgba(34,197,94,0) 60%),
    linear-gradient(135deg, #0b1220, #111a2a);
}
.product-media > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-body{ padding: 14px 16px 16px; }
.product h3{ margin: 0 0 6px; font-size: 16px; }
.product p{ margin: 0; color: var(--muted); font-weight: 560; font-size: 13px; }
.product ul{ margin: 10px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; font-weight: 560; }
.product li{ margin: 6px 0; }

.about-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}
.kpi{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.kpi .kpi-item{
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 24px rgba(2,6,23,0.06);
  padding: 14px 14px;
}
.kpi-item b{ font-size: 22px; display: block; }
.kpi-item span{ color: var(--muted); font-weight: 650; font-size: 12px; }

.note{
  border-radius: 16px;
  border: 1px dashed rgba(14,165,233,0.35);
  background: rgba(14,165,233,0.08);
  padding: 14px 16px;
  color: rgba(15,23,42,0.78);
  font-weight: 650;
  font-size: 13px;
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

