/* ===================================================================
   向日葵远程控制 - 古运河船舱圆窗案 · 官方落地页样式规范
   设计语言：白底为主、大面积留白、居中版心 (最大宽 1160px)、橙色主操作按键
   核心骨架：古运河船舱意象 (温润舱木线条、圆窗明镜、案上信笺、插销操作槽)
   =================================================================== */

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-accent-blue: #eff6ff;
  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  
  /* 文字灰阶 */
  --text-title: #0f172a;       /* 深灰近黑 */
  --text-body: #475569;        /* 中灰正文 */
  --text-muted: #64748b;       /* 次要文本 */
  --text-light: #94a3b8;
  
  /* 品牌色与点缀色 */
  --brand-pink: #ff3d68;       /* 向日葵品牌品红标志 */
  --brand-orange: #ff6b00;     /* 主行动按钮：实心橙色 */
  --brand-orange-hover: #e65c00;
  --brand-blue: #2563eb;       /* 辅助图形：蓝色线性图标 */
  --brand-blue-hover: #1d4ed8;

  /* 古运河船舱文化质感色阶（用于骨架修饰线条与徽记） */
  --cabin-wood: #7c4d32;       /* 舱木暖深褐 */
  --cabin-wood-light: #f5efe6; /* 舱内暖木案台浅底 */
  --cabin-wood-border: #d7c3b2;/* 舱木细线 */
  --cabin-brass: #b48c36;      /* 黄铜插销金属色 */
  --water-cyan: #e6f4f8;       /* 窗外古运河微澜水色 */

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container-max: 1160px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-body);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

/* ================= 基础容器与网格 ================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-padding {
  padding-top: 72px;
  padding-bottom: 72px;
}

.text-center {
  text-align: center;
}

/* 按钮规范：实心橙色、圆角小、字重偏粗 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
  line-height: 1.2;
}

.btn-primary-orange {
  background-color: var(--brand-orange);
  color: #ffffff;
  border-color: var(--brand-orange);
}

.btn-primary-orange:hover {
  background-color: var(--brand-orange-hover);
  border-color: var(--brand-orange-hover);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  color: var(--text-title);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-muted);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
  border-radius: 4px;
}

/* ================= 顶部提示栏与导航 ================= */
.top-notice-bar {
  background-color: #fbf7f2;
  border-bottom: 1px solid var(--cabin-wood-border);
  font-size: 13px;
  color: var(--cabin-wood);
  padding: 7px 0;
}

.top-notice-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.cabin-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--cabin-wood);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 4px solid var(--brand-pink);
  box-shadow: inset 0 0 0 3px #ffffff;
  background: var(--brand-pink);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-title);
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.brand-caption {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 14px;
  color: var(--text-body);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-orange);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -18px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--brand-orange);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ================= 1. 首屏 (古运河船舱 案上信笺与圆窗) ================= */
.hero-cabin-section {
  padding-top: 40px;
  padding-bottom: 64px;
  background-color: var(--bg-primary);
}

.cabin-enclosure {
  background: #ffffff;
  border: 1px solid var(--cabin-wood-border);
  border-radius: 8px;
  padding: 40px 44px;
  position: relative;
  box-shadow: 0 4px 20px rgba(124, 77, 50, 0.05);
}

/* 舱木顶梁饰带 */
.cabin-roof-beam {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  margin-bottom: 32px;
  border-bottom: 1px dashed var(--cabin-wood-border);
  font-size: 13px;
  color: var(--cabin-wood);
}

.beam-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.hero-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

/* 案上信笺：左侧文案 */
.desk-letter-card {
  background: #ffffff;
}

.letter-header-tag {
  display: inline-block;
  padding: 4px 10px;
  background-color: var(--cabin-wood-light);
  color: var(--cabin-wood);
  font-size: 12px;
  font-weight: 600;
  border-radius: 3px;
  border: 1px solid var(--cabin-wood-border);
  margin-bottom: 14px;
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.hero-edition-line {
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.version-badge {
  display: inline-block;
  background-color: var(--bg-accent-blue);
  color: var(--brand-blue);
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}

.hero-benefit-lead {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.hero-keyword-paragraph {
  background-color: var(--bg-secondary);
  border-left: 3px solid var(--cabin-wood);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  border-radius: 0 4px 4px 0;
  margin-bottom: 26px;
}

/* 舱门插销操作槽 */
.cabin-latch-action-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 4px;
  margin-bottom: 24px;
}

.latch-badge-affix {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--cabin-wood);
  background: var(--cabin-wood-light);
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid var(--cabin-wood-border);
  font-weight: 600;
}

.hero-sub-note {
  font-size: 12px;
  color: var(--text-light);
}

/* 圆窗与窗外水景 */
.porthole-window-frame {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.porthole-outer-ring {
  background: #ffffff;
  border: 10px solid #ede3d8;
  outline: 2px solid var(--cabin-wood-border);
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 8px 30px rgba(124, 77, 50, 0.08);
  position: relative;
  overflow: hidden;
}

.porthole-inner-view {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, #cbe5f0 0%, #eef7fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.porthole-inner-view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.porthole-inner-view:hover img {
  transform: scale(1.03);
}

.window-water-reflection {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.72) 100%);
  color: #ffffff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

.window-caption-sub {
  display: block;
  font-size: 11px;
  opacity: 0.85;
}

/* ================= 2. 信任数字条 ================= */
.metrics-trust-section {
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: var(--bg-secondary);
  padding: 44px 0;
}

.metrics-heading-intro {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-title);
  text-align: center;
  margin-bottom: 30px;
  letter-spacing: -0.2px;
}

.metrics-four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.metric-cell {
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.metric-cell:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 15%;
  bottom: 15%;
  right: 0;
  width: 1px;
  background-color: var(--border-light);
}

.metric-large-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.1;
  font-feature-settings: "tnum";
  margin-bottom: 6px;
}

.metric-large-num span {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-orange);
  margin-left: 2px;
}

.metric-label-short {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ================= 3. 三段能力演示 ================= */
.capabilities-section {
  background-color: var(--bg-primary);
}

.capability-block {
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--border-subtle);
}

.capability-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.capability-header {
  margin-bottom: 20px;
  text-align: left;
}

.capability-tagline {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-blue);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.capability-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 8px;
}

.capability-one-line-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
}

.capability-media-frame {
  width: 100%;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.capability-media-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.capability-spec-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-muted);
}

.spec-pills {
  display: flex;
  gap: 8px;
}

.spec-pill {
  background: var(--bg-tertiary);
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  color: var(--text-title);
}

/* ================= 4. 功能格 (适用场景与八张卡) ================= */
.features-grid-section {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-head-wrap {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-sub-kicker {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.section-main-heading {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 10px;
}

.section-lead-muted {
  font-size: 14px;
  color: var(--text-muted);
}

.features-eight-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-plain-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}

.feature-plain-card:hover {
  border-color: #cbd5e1;
}

.card-icon-blue {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  background-color: var(--bg-accent-blue);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon-blue svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

.card-short-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-benefit-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= 5. 安全收口 (安全保障体系) ================= */
.security-closure-section {
  background-color: var(--bg-primary);
  padding: 68px 0;
}

.security-three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

.security-plain-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 28px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.security-icon-circle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 4px;
  background-color: var(--bg-accent-blue);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-icon-circle svg {
  width: 24px;
  height: 24px;
}

.security-item-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 6px;
}

.security-item-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ================= 6. 页尾 ================= */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 48px 0 28px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-nav-links a:hover {
  color: var(--brand-orange);
}

.footer-bottom-row {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
}

/* ================= 页面专用：下载页样式 ================= */
.download-page-hero {
  padding: 36px 0 60px;
  background: var(--bg-primary);
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.breadcrumb-nav a:hover {
  color: var(--brand-orange);
}

.download-content-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: start;
}

.download-main-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 36px 32px;
}

.download-title-large {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-title);
  margin-bottom: 12px;
}

.download-ver-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.download-desc-p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.download-btn-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.download-quick-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12px;
  color: var(--text-muted);
}

.support-side-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 28px 24px;
}

.support-side-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-title);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.support-info-list {
  list-style: none;
  font-size: 13px;
}

.support-info-list li {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}

.support-info-list .key {
  color: var(--text-muted);
}

.support-info-list .val {
  color: var(--text-title);
  font-weight: 600;
}

/* ================= 页面专用：文章与常见问题页样式 ================= */
.article-page-hero {
  padding: 36px 0 64px;
  background: var(--bg-primary);
}

.article-main-container {
  max-width: 860px;
  margin: 0 auto;
}

.article-head-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.3;
  margin-bottom: 14px;
}

.article-meta-line {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.article-lead-statement {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 28px;
}

.article-full-image-frame {
  margin: 28px 0 36px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.article-toc-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 18px 22px;
  margin-bottom: 40px;
}

.article-toc-summary {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-title);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-toc-summary::-webkit-details-marker {
  display: none;
}

.toc-nav-tree {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
  list-style: none;
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-nav-tree a {
  color: var(--text-body);
}

.toc-nav-tree a:hover {
  color: var(--brand-orange);
}

.article-section-h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-title);
  margin-top: 44px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}

.article-section-h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-title);
  margin-top: 24px;
  margin-bottom: 10px;
}

.article-body-p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 16px;
}

.article-body-list {
  margin-left: 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

.faq-accordion-group {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item-details {
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background: #ffffff;
  padding: 16px 20px;
}

.faq-question-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-title);
  cursor: pointer;
  list-style: none;
}

.faq-answer-body {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ================= 响应式媒体查询 ================= */
@media (max-width: 1024px) {
  .hero-main-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .features-eight-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .porthole-window-frame {
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* 移动端精简路径 */
  }
  .cabin-enclosure {
    padding: 24px 20px;
  }
  .hero-title {
    font-size: 24px;
  }
  .metrics-four-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 24px;
  }
  .metric-cell:nth-child(2)::after {
    display: none;
  }
  .security-three-grid {
    grid-template-columns: 1fr;
  }
  .download-content-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .metrics-four-grid {
    grid-template-columns: 1fr;
  }
  .metric-cell::after {
    display: none !important;
  }
  .features-eight-cards {
    grid-template-columns: 1fr;
  }
}


/* ===== 性能与防卡顿优化规则 ===== */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  content-visibility: auto;
}

/* 针对视口外长区块开启 content-visibility，大幅减少初次布局渲染开销 */
.showcase-block,
.showcase-item,
.capability-section,
.features-grid-section,
.features-section,
.security-section,
.article-section-block,
.article-faq-container {
  content-visibility: auto;
  contain-intrinsic-size: 1px 400px;
}

/* 硬件合成加速，防止交互悬停产生微卡顿与掉帧 */
.btn,
.feature-card,
.stat-item,
.trust-stat-box,
.faq-accordion-item details {
  transform: translateZ(0);
  backface-visibility: hidden;
}
