/* ===== 九州康泰药业 代理招商网站 全局样式 ===== */
:root {
  --primary: #0a7d5c;
  --primary-dark: #065a42;
  --primary-light: #14a87c;
  --secondary: #1a5fa8;
  --secondary-dark: #0f4378;
  --accent: #e0a83a;
  --accent-light: #f0c866;
  --bg: #ffffff;
  --bg-gray: #f4f8f6;
  --bg-dark: #0a2418;
  --text: #1a2e26;
  --text-light: #566b60;
  --text-muted: #8a9992;
  --border: #e2ece7;
  --shadow-sm: 0 2px 8px rgba(10, 125, 92, 0.06);
  --shadow-md: 0 6px 24px rgba(10, 125, 92, 0.10);
  --shadow-lg: 0 16px 48px rgba(10, 125, 92, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== 顶部导航 ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 700; color: var(--primary); }
.logo-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10, 125, 92, 0.3);
}
.logo-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 11px; }
.logo small { display: block; font-size: 11px; font-weight: 500; color: var(--text-muted); letter-spacing: 1px; }
.nav-menu { display: flex; gap: 2px; }
.nav-menu a {
  padding: 8px 16px; border-radius: 8px; font-size: 15px; font-weight: 500;
  color: var(--text);
}
.nav-menu a:hover, .nav-menu a.active { color: var(--primary); background: rgba(10, 125, 92, 0.07); }
.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff !important; padding: 10px 22px !important; border-radius: 8px;
  font-weight: 600; box-shadow: 0 4px 12px rgba(10, 125, 92, 0.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(10, 125, 92, 0.4); }

.menu-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 8px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: var(--transition); }

/* ===== 通用区块 ===== */
.section { padding: 96px 0; }
.section-gray { background: var(--bg-gray); }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
}
.section-title { font-size: 38px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
.section-dark .section-title { color: #fff; }
.section-subtitle { font-size: 17px; color: var(--text-light); line-height: 1.8; }
.section-dark .section-subtitle { color: rgba(255,255,255,0.7); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #065a42 0%, #0a7d5c 50%, #14a87c 100%);
  color: #fff; overflow: hidden; padding-top: 72px;
}
.hero-bg { position: absolute; inset: 0; opacity: 1; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6,90,66,0.78) 0%, rgba(10,125,92,0.58) 50%, rgba(10,125,92,0.68) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(224, 168, 58, 0.15); border: 1px solid rgba(224, 168, 58, 0.4);
  padding: 8px 18px; border-radius: 50px; font-size: 14px; color: var(--accent-light); margin-bottom: 28px;
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.2; margin-bottom: 24px; }
.hero p { font-size: 19px; line-height: 1.8; color: rgba(255,255,255,0.88); margin-bottom: 40px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px; font-size: 16px; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: #1a2e26; box-shadow: 0 8px 24px rgba(224, 168, 58, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(224, 168, 58, 0.5); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-ghost { background: rgba(10, 125, 92, 0.08); color: var(--primary); }
.btn-ghost:hover { background: rgba(10, 125, 92, 0.14); }

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat .num { font-size: 40px; font-weight: 800; color: var(--accent-light); line-height: 1; }
.hero-stat .label { font-size: 14px; color: rgba(255,255,255,0.7); margin-top: 8px; }

/* ===== 数据概览 ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  background: #fff; padding: 36px 28px; border-radius: var(--radius-lg);
  text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--border);
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.stat-card .num { font-size: 44px; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-card .unit { font-size: 20px; font-weight: 700; color: var(--accent); }
.stat-card .label { font-size: 15px; color: var(--text-light); margin-top: 12px; }

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

.card {
  background: #fff; border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(10,125,92,0.1), rgba(20,168,124,0.1));
  display: flex; align-items: center; justify-content: center; font-size: 30px; margin-bottom: 20px;
}
.card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.card p { color: var(--text-light); font-size: 15px; }
.card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; font-size: 14px; margin-top: 16px; }
.card-link:hover { gap: 10px; }

/* ===== 政策/优势卡片 ===== */
.policy-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition);
}
.policy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.policy-tag { padding: 6px 16px; font-size: 13px; font-weight: 600; color: #fff; display: inline-block; border-radius: 0 0 0 12px; }
.policy-body { padding: 28px; }
.policy-body h3 { font-size: 19px; margin-bottom: 12px; }
.policy-body p { color: var(--text-light); font-size: 14px; }
.policy-amount { display: flex; align-items: baseline; gap: 4px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.policy-amount .value { font-size: 28px; font-weight: 800; color: var(--accent); }
.policy-amount .desc { font-size: 13px; color: var(--text-muted); }

/* ===== 产品卡片 ===== */
.product-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition);
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img { height: 220px; overflow: hidden; background: var(--bg-gray); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .product-img img { transform: scale(1.06); }
.product-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-cat { font-size: 12px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.product-body h3 { font-size: 18px; margin-bottom: 8px; }
.product-desc { color: var(--text-light); font-size: 14px; margin-bottom: 16px; flex: 1; }
.product-specs { display: flex; flex-wrap: wrap; gap: 8px; }
.product-specs span { font-size: 12px; padding: 4px 10px; background: var(--bg-gray); border-radius: 6px; color: var(--text-light); }

/* ===== 时间线 ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 12px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -34px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--accent);
}
.timeline-year { font-size: 15px; font-weight: 700; color: var(--primary); margin-bottom: 6px; }
.timeline-item h4 { font-size: 17px; margin-bottom: 6px; }
.timeline-item p { color: var(--text-light); font-size: 14px; }

/* ===== 步骤流程 ===== */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { text-align: center; position: relative; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(10, 125, 92, 0.25);
}
.step h4 { font-size: 16px; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--text-light); }

/* ===== 新闻卡片 ===== */
.news-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border); transition: var(--transition);
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-img { height: 200px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; gap: 16px; font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.news-body h3 { font-size: 17px; line-height: 1.5; margin-bottom: 12px; flex: 1; }
.news-body h3:hover { color: var(--primary); }
.news-body p { color: var(--text-light); font-size: 14px; }

/* ===== 联系表单 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.contact-info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(10,125,92,0.1), rgba(20,168,124,0.1));
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.contact-info-item h4 { font-size: 15px; color: var(--text-muted); font-weight: 500; margin-bottom: 4px; }
.contact-info-item p { font-size: 16px; font-weight: 600; }

.form-card { background: #fff; padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 10px; font-size: 15px; font-family: inherit; transition: var(--transition); background: #fff;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(10,125,92,0.1); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ===== 资质证书 ===== */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cert-item {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 16px; text-align: center; transition: var(--transition);
}
.cert-item:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.cert-icon { font-size: 36px; margin-bottom: 12px; }
.cert-item h4 { font-size: 15px; margin-bottom: 4px; }
.cert-item p { font-size: 12px; color: var(--text-muted); }

/* ===== 页脚 ===== */
.footer { background: var(--bg-dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer ul li { margin-bottom: 12px; }
.footer ul li a { font-size: 14px; }
.footer ul li a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.4); }

/* ===== 内页头部 ===== */
.page-hero {
  padding: 140px 0 80px; background: linear-gradient(135deg, #065a42, #0a7d5c);
  color: #fff; position: relative; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; opacity: 1; background-size: cover; background-position: center; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(6,90,66,0.68) 0%, rgba(10,125,92,0.55) 100%); z-index: 1; }
.page-hero-content { position: relative; z-index: 2; text-align: center; }
.page-hero h1 { font-size: 44px; font-weight: 800; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.8); max-width: 640px; margin: 0 auto; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.breadcrumb a:hover { color: #fff; }

/* ===== 悬浮按钮 ===== */
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff; font-size: 24px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(10, 125, 92, 0.35);
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.float-btn:hover { transform: scale(1.1); }
.float-btn.accent { background: linear-gradient(135deg, var(--accent), var(--accent-light)); color: #1a2e26; }

/* ===== 响应式 ===== */
@media (max-width: 968px) {
  .nav-menu { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 20px; box-shadow: var(--shadow-md); display: none; }
  .nav-menu.open { display: flex; }
  .menu-toggle { display: flex; }
  .hero h1 { font-size: 36px; }
  .hero-stats, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .page-hero h1 { font-size: 32px; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats, .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}
