/* Tridyn Cloud 创鼎云 公司主页样式（与协议中心同一品牌语言） */
:root {
  color-scheme: light;
  --paper: #f5f8fb;
  --ink: #10243f;
  --muted: #5f7187;
  --line: #d7e1eb;
  --blue: #3267a8;
  --blue-dark: #24507f;
  --amber: #d38b2c;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }

body {
  margin: 0;
  min-width: 280px;
  background:
    linear-gradient(rgba(50, 103, 168, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(50, 103, 168, 0.045) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.75;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: none; }

.container { width: min(1040px, calc(100% - 40px)); margin: 0 auto; }

/* 顶部导航 */
.site-header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--white) 92%, transparent);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 38px; height: 38px; display: block; }
.brand .name { font-weight: 700; font-size: 17px; letter-spacing: 0.02em; line-height: 1.2; }
.brand .name small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: 0.14em; }

.top-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.top-nav a { padding: 7px 13px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.top-nav a:hover { background: rgba(50, 103, 168, 0.08); color: var(--blue-dark); }
.top-nav a.nav-cta { background: var(--blue); color: #fff; margin-left: 4px; }
.top-nav a.nav-cta:hover { background: var(--blue-dark); }

/* Hero */
.hero { padding: clamp(56px, 10vw, 96px) 0 clamp(40px, 7vw, 64px); text-align: center; }

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 18px;
}

.hero .eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

.hero h1 {
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.25;
  margin: 0 0 18px;
  letter-spacing: 0.01em;
}

.hero h1 .en { color: var(--blue); }

.hero p.lead { color: var(--muted); font-size: clamp(15px, 2.2vw, 17.5px); max-width: 620px; margin: 0 auto 30px; }

.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(16, 36, 63, 0.10); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }

/* 分区通用 */
.section { padding: clamp(40px, 7vw, 72px) 0; }
.section.alt { background: color-mix(in srgb, var(--white) 72%, transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { text-align: center; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head h2 { font-size: clamp(22px, 4vw, 30px); margin: 0 0 10px; }
.section-head p { color: var(--muted); font-size: 15px; margin: 0 auto; max-width: 640px; }

/* 产品卡片 */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }

.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  padding: 26px 24px;
  box-shadow: 0 14px 36px rgba(16, 36, 63, 0.06);
}

.card .icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: rgba(50, 103, 168, 0.10);
  display: grid; place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.card h3 { margin: 0 0 6px; font-size: 18px; }
.card .sub { font-size: 12.5px; color: var(--blue); font-weight: 600; letter-spacing: 0.08em; margin: 0 0 10px; }
.card p { margin: 0; font-size: 14px; color: var(--muted); }

.card.ghost { border-style: dashed; box-shadow: none; background: transparent; }
.card.ghost .icon { background: rgba(211, 139, 44, 0.12); }

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px 22px;
  margin-top: 16px;
  padding: 0;
  list-style: none;
}

.feature-list li { font-size: 13.5px; color: var(--muted); padding-left: 22px; position: relative; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* 关于 */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }

.about-text p { font-size: 15px; color: var(--ink); margin: 0 0 14px; }
.about-text .en-name { color: var(--muted); font-size: 13.5px; }

.values { display: grid; gap: 12px; }
.value {
  display: flex; gap: 14px; align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 16px 18px;
}
.value .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); margin-top: 9px; flex: none; }
.value b { display: block; font-size: 15px; margin-bottom: 2px; }
.value span { font-size: 13.5px; color: var(--muted); }

/* 联系 */
.contact-wrap { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-box {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  padding: 30px 28px;
  box-shadow: 0 14px 36px rgba(16, 36, 63, 0.06);
}
.contact-box .row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.contact-box .row:last-child { border-bottom: none; }
.contact-box .row .k { color: var(--muted); flex: none; }
.contact-box .row .v { text-align: right; word-break: break-all; }

/* 页脚 */
.site-footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--muted); font-size: 13px; text-align: center; background: color-mix(in srgb, var(--white) 60%, transparent); }
.site-footer .company { color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.site-footer .en { letter-spacing: 0.06em; }
.site-footer p { margin: 6px 0; }
.site-footer a { color: var(--muted); text-decoration: underline; }
.site-footer .links { margin-top: 10px; }

@media print {
  .site-header, .hero .actions { display: none; }
  body { background: #fff; }
}
