/* === IRY Official Website - V3 品牌视觉规范版 === */
/* 依据《IRY品牌视觉规范手册（VI）》：
   主色 IRY蓝 #003C87 / 极白 #FFFFFF / 银灰 #CBCFCF
   色彩比例 70%白 + 20%银灰 + 10%IRY蓝
   字体 思源黑体CN(标题Medium/正文Light) + Source Sans Variable
   调性 简约、真实、质感、立体感 */

:root {
  /* 品牌标准色 */
  --iry-blue: #003C87;        /* IRY蓝 PANTONE 2736C */
  --iry-blue-dark: #002B61;
  --iry-blue-light: #1A5CB8;
  --iry-blue-soft: #E8F0FA;   /* 蓝调浅底（白+蓝调和） */
  --white: #FFFFFF;           /* 极白 */
  --silver: #CBCFCF;          /* 银灰 */
  --silver-light: #E9EBEB;    /* 浅银灰 */
  --silver-bg: #F5F6F6;       /* 银灰底 */

  /* 文字层级 */
  --text: #1E2A3A;            /* 深蓝灰（基于IRY蓝深调） */
  --text-body: #3D4A5C;
  --text-light: #6B7A8C;
  --text-muted: #9AA6B2;

  /* 功能色 */
  --border: #E3E7E7;
  --border-light: #EFF2F2;
  --shadow-sm: 0 2px 8px rgba(0,60,135,0.06);
  --shadow: 0 8px 24px rgba(0,60,135,0.10);
  --shadow-lg: 0 20px 48px rgba(0,60,135,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --max-width: 1200px;

  /* 字体体系 */
  --font-cn: 'Source Han Sans CN', '思源黑体', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'Source Sans Variable', 'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-cn);
  font-weight: 300;
  color: var(--text-body);
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-cn); font-weight: 500; color: var(--text); line-height: 1.4; }

a { color: var(--iry-blue); text-decoration: none; transition: all .3s; }
a:hover { color: var(--iry-blue-dark); }

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

/* === 通用容器 === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-silver { background: var(--silver-bg); }
.section-white { background: var(--white); }
.section-blue { background: var(--iry-blue); color: #fff; }

/* 区块标题 */
.section-title {
  font-size: 2.2rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: 2px;
  color: var(--text);
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 56px;
  letter-spacing: 1px;
}

/* 标题装饰线（银灰+蓝） */
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--iry-blue);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* === 按钮 === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: var(--font-cn);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all .3s;
}
.btn-primary {
  background: var(--iry-blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--iry-blue-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--iry-blue);
  border: 1.5px solid var(--iry-blue);
}
.btn-outline:hover { background: var(--iry-blue); color: var(--white); }
.btn-white {
  background: var(--white);
  color: var(--iry-blue);
}
.btn-white:hover { background: var(--silver-light); }

/* === 导航 === */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 24px;
  transition: all .3s;
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--iry-blue);
  letter-spacing: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo .logo-mark {
  width: 10px;
  height: 28px;
  background: linear-gradient(180deg, var(--iry-blue), var(--iry-blue-light));
  border-radius: 3px;
}
.nav-logo span {
  color: var(--text-light);
  font-size: 0.9rem;
  letter-spacing: 2px;
  font-weight: 300;
}
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--text-body);
  font-weight: 400;
  font-size: 0.98rem;
  letter-spacing: 1px;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover, .nav-links a.active { color: var(--iry-blue); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--iry-blue);
  border-radius: 2px;
}
.nav-toggle { display: none; }

/* === Hero 首屏 === */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(180deg, var(--iry-blue-soft) 0%, var(--white) 100%);
  text-align: center;
}
.hero h1 {
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--iry-blue);
  margin-bottom: 24px;
  line-height: 1.3;
}
.hero .hero-sub {
  font-size: 1.25rem;
  color: var(--text-light);
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.hero .hero-desc {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--text-light);
  font-size: 1.05rem;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.hero-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 8px 22px;
  font-size: 0.9rem;
  color: var(--text-body);
  box-shadow: var(--shadow-sm);
}

/* === 数据横幅 === */
.stats-bar {
  background: linear-gradient(180deg, var(--iry-blue-soft) 0%, #F7FAFD 100%);
  border-top: 1px solid rgba(0,60,135,0.06);
  border-bottom: 1px solid rgba(0,60,135,0.06);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-en);
  font-size: 2.6rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 6px;
  color: var(--iry-blue);
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-light);
  letter-spacing: 1px;
  font-weight: 300;
}

/* === 卡片 === */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all .3s;
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--silver);
}
.card .card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: #EEF4FB;
  border: 1px solid rgba(0,60,135,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--iry-blue);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 2px 8px rgba(0,60,135,0.05);
}
.card .card-icon svg {
  width: 28px; height: 28px;
  stroke: var(--iry-blue);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* 深蓝底图标容器（兼容内联样式，仅特殊区块用） */
.card .card-icon[style*="var(--iry-blue)"] {
  background: linear-gradient(145deg, var(--iry-blue) 0%, var(--iry-blue-dark) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 4px 14px rgba(0,60,135,0.22), inset 0 1px 0 rgba(255,255,255,0.15);
  color: var(--white);
}
.card .card-icon[style*="var(--iry-blue)"] svg { stroke: var(--white); }
/* 深蓝底数字（兼容旧数字徽章） */
.card .card-icon[style*="var(--iry-blue)"]:not(:has(svg)) {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.card h3 { font-size: 1.2rem; margin-bottom: 12px; letter-spacing: 1px; }
.card p { color: var(--text-light); font-size: 0.95rem; }

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

/* === 产品卡片 === */
.product-card {
  background: var(--silver-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .3s;
  border: 1px solid var(--border-light);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card .product-img {
  height: 260px;
  background: linear-gradient(160deg, var(--silver-light), var(--white));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--iry-blue);
}
.product-card .product-body { padding: 28px; }
.product-card h3 { font-size: 1.15rem; margin-bottom: 8px; letter-spacing: 1px; }
.product-card .product-desc { color: var(--text-light); font-size: 0.92rem; margin-bottom: 16px; }
.product-tag {
  display: inline-block;
  background: var(--iry-blue-soft);
  color: var(--iry-blue);
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 50px;
  margin-right: 8px;
  margin-bottom: 6px;
}

/* === 步骤条（服务体系） === */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-item { text-align: center; padding: 40px 24px; }
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #EEF4FB;
  border: 1px solid rgba(0,60,135,0.08);
  color: var(--iry-blue);
  font-family: var(--font-en);
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-weight: 400;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 3px 10px rgba(0,60,135,0.05);
}
.step-num svg {
  width: 28px; height: 28px;
  stroke: var(--iry-blue);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step-item p { color: var(--text-light); font-size: 0.95rem; }

/* === FAQ === */
.faq-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 16px;
  overflow: hidden;
  background: var(--white);
}
.faq-q {
  padding: 20px 28px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.02rem;
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--iry-blue); font-weight: 300; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
  padding: 0 28px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  color: var(--text-light);
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 20px; }

/* === 页脚 === */
.footer {
  background: var(--iry-blue);
  color: rgba(255,255,255,0.85);
  padding: 64px 0 32px;
}
.footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer h4 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
  font-weight: 500;
}
.footer a { color: rgba(255,255,255,0.7); font-weight: 300; }
.footer a:hover { color: var(--white); }
.footer .footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

/* === 兼容层：内页旧类名品牌化 === */
/* 数据表格 */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}
.data-table th, .data-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.95rem;
}
.data-table th {
  background: var(--iry-blue-soft);
  color: var(--iry-blue);
  font-weight: 500;
  letter-spacing: 1px;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: #FAFCFE; }
.mt-3 { margin-top: 16px; }
/* 页面头图 */
.page-header {
  padding: 140px 0 72px;
  background: linear-gradient(180deg, var(--iry-blue-soft) 0%, var(--white) 100%);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}
.page-header h1 {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--iry-blue);
  margin-bottom: 12px;
}
.page-header p {
  color: var(--text-light);
  letter-spacing: 2px;
  font-size: 1.05rem;
}

/* 旧 section-header */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--iry-blue);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-header p { color: var(--text-light); font-size: 1.05rem; letter-spacing: 1px; }

/* 旧 card-grid → 自动栅格 */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.card-grid .card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all .3s;
  box-shadow: var(--shadow-sm);
}
.card-grid .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-grid .card h3 { font-size: 1.15rem; margin-bottom: 10px; letter-spacing: 1px; }
.card-grid .card p { color: var(--text-light); font-size: 0.95rem; }

/* 旧 timeline → 品牌化时间线 */
.timeline {
  position: relative;
  padding-left: 32px;
  border-left: 2px solid var(--silver);
}
.timeline-item {
  position: relative;
  padding: 0 0 36px 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -39px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--iry-blue);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--iry-blue);
}
.timeline-item h4 { font-size: 1.1rem; color: var(--iry-blue); margin-bottom: 6px; font-weight: 500; letter-spacing: 1px; }
.timeline-item p { color: var(--text-light); font-size: 0.95rem; }

/* 旧 cta-section */
.cta-section {
  background: linear-gradient(135deg, var(--iry-blue), var(--iry-blue-dark));
  border-radius: var(--radius-lg);
  padding: 72px 48px;
  text-align: center;
  color: var(--white);
}
.cta-section h2 { color: var(--white); font-size: 2rem; letter-spacing: 3px; margin-bottom: 16px; font-weight: 500; }
.cta-section p { color: rgba(255,255,255,0.85); margin-bottom: 36px; }

/* 旧 footer-grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 16px; letter-spacing: 2px; font-weight: 500; }
.footer-grid a { color: rgba(255,255,255,0.7); font-weight: 300; display: block; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--white); }
.footer-grid p { color: rgba(255,255,255,0.7); font-weight: 300; }
.footer-bottom {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1px;
}

/* 兼容 section-alt → 银灰底 */
.section-alt { background: var(--silver-bg); }

/* text-center 辅助 */
.text-center { text-align: center; }

/* === 响应式 === */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 992px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .page-header { padding: 110px 0 56px; }
  .page-header h1 { font-size: 1.8rem; }
  .section-header h2 { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 48px 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .nav-links {
    display: none;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-light);
    gap: 20px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle {
    display: block;
    background: none; border: none;
    font-size: 1.6rem; color: var(--iry-blue);
    cursor: pointer;
  }
  .section-title { font-size: 1.7rem; }
  .hero { padding: 120px 0 64px; }
  .hero h1 { font-size: 1.8rem; }
}
