/* RoyalMore® 官方品牌站 - 公共样式表 */
/* 品牌色：深蓝灰 + 金色点缀（医疗高端感） */

:root {
  --brand-primary: #1a3a5c;       /* 深蓝灰 - 主色 */
  --brand-accent: #c9a961;         /* 金色 - 点缀色 */
  --brand-light: #f5f7fa;          /* 浅灰背景 */
  --brand-dark: #0f1f33;           /* 深色文字 */
  --text-main: #2c3e50;
  --text-light: #6c7a89;
  --border: #e0e6ed;
  --max-width: 1200px;
}

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

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.75;
  color: var(--text-main);
  background: #fff;
  font-size: 15px;
}

a { color: var(--brand-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--brand-accent); }

img { max-width: 100%; height: auto; display: block; }

/* ===== Header ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 42px; width: auto; }
.logo-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: 0.5px;
}
.logo-text small { display: block; font-size: 11px; color: var(--text-light); font-weight: 400; letter-spacing: 1px; }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--brand-primary);
  border-bottom-color: var(--brand-accent);
}

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 30px;
}

/* ===== Hero Section ===== */
.hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, #2a5078 100%);
  color: #fff;
  padding: 80px 30px;
  text-align: center;
}
.hero h1 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 1px;
}
.hero p.lead {
  font-size: 17px;
  opacity: 0.92;
  max-width: 720px;
  margin: 0 auto 12px;
  line-height: 1.8;
}
.hero .accent { color: var(--brand-accent); }

/* ===== Sections ===== */
.section {
  padding: 64px 0;
}
.section-light { background: var(--brand-light); }
.section h2 {
  font-size: 28px;
  color: var(--brand-primary);
  text-align: center;
  margin-bottom: 14px;
  font-weight: 600;
}
.section .subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 48px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.section h3 {
  font-size: 19px;
  color: var(--brand-primary);
  margin: 28px 0 12px;
  font-weight: 600;
}

/* ===== Cards / Grid ===== */
.grid {
  display: grid;
  gap: 24px;
  margin-top: 20px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
  .main-nav { display: none; }
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  transition: all 0.25s;
}
.card:hover {
  border-color: var(--brand-accent);
  box-shadow: 0 6px 18px rgba(26, 58, 92, 0.08);
  transform: translateY(-2px);
}
.card h3 {
  margin-top: 0;
  font-size: 17px;
  color: var(--brand-primary);
}
.card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Product Card ===== */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  transition: all 0.25s;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(26, 58, 92, 0.1); }
.product-card .product-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  background: #fafbfc;
  padding: 16px;
}
.product-card .product-info { padding: 18px; }
.product-card h3 { margin: 0 0 6px; font-size: 16px; }
.product-card .model { color: var(--brand-accent); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.product-card p { font-size: 13px; color: var(--text-light); }

/* ===== FAQ ===== */
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-accent);
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 16px;
}
.faq-item .q {
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
.faq-item .a {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.85;
}

/* ===== Feature List ===== */
.feature-list {
  list-style: none;
  padding: 0;
}
.feature-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--brand-accent);
  font-weight: bold;
  font-size: 16px;
}

/* ===== Page Header (二级页面) ===== */
.page-header {
  background: var(--brand-primary);
  color: #fff;
  padding: 50px 30px 40px;
  text-align: center;
}
.page-header h1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 1px;
}
.page-header p {
  font-size: 14.5px;
  opacity: 0.85;
  margin-top: 10px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--brand-dark);
  color: #b8c4d0;
  padding: 50px 30px 24px;
  margin-top: 80px;
  font-size: 13px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: var(--brand-accent);
  font-size: 14px;
  margin-bottom: 14px;
  font-weight: 600;
}
.site-footer a { color: #b8c4d0; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { padding: 4px 0; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid #2c3e50;
  text-align: center;
  font-size: 12px;
  color: #6c7a89;
}

/* ===== Disclaimer ===== */
.disclaimer {
  background: #fafbfc;
  border-top: 1px solid var(--border);
  padding: 20px 30px;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--brand-accent);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.btn:hover {
  background: #b8964e;
  color: #fff;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid #fff;
}
.btn-outline:hover {
  background: #fff;
  color: var(--brand-primary);
}

/* ===== Two Column Layout ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr; }
}
