/* ========================================
   安宝保险顾问 — 主样式表
   配色：深蓝 #1A2A3A、深灰 #2D3436、香槟金 #C8A45C
   字体：Inter (标题) + Noto Sans SC (正文)
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary: #1A2A3A;
  --color-primary-light: #2A4A5A;
  --color-accent: #C8A45C;
  --color-accent-hover: #B8943C;
  --color-dark: #2D3436;
  --color-text: #333;
  --color-text-light: #666;
  --color-bg: #fff;
  --color-bg-alt: #f5f7fa;
  --color-bg-dark: #1A2A3A;
  --color-border: #e0e4e8;
  --color-error: #d32f2f;
  --color-success: #2e7d32;
  --radius: 6px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --max-width: 1200px;
  --header-height: 72px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

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

p { margin-bottom: 1rem; }

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

ul { list-style: none; }

/* --- Container --- */
.section { padding: 80px 20px; }
.section-inner { max-width: var(--max-width); margin: 0 auto; }
.section-title {
  text-align: center;
  margin-bottom: 48px;
  font-size: 2rem;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 16px auto 0;
}
.section-gray { background: var(--color-bg-alt); }

/* --- Buttons --- */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}
.btn-lg { padding: 16px 48px; font-size: 1.1rem; }

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26,42,58,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: var(--header-height);
}
.header-logo { text-decoration: none; }
.logo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-accent);
  letter-spacing: 1px;
}
.header-nav { display: flex; gap: 28px; }
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.nav-link:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-switcher { display: flex; gap: 2px; }
.lang-link {
  padding: 4px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  border-radius: 3px;
  transition: all var(--transition);
}
.lang-link:hover, .lang-link.active { color: var(--color-accent); background: rgba(200,164,92,0.12); }
.header-cta {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* --- Mobile menu --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-primary);
  padding: 40px 24px;
  z-index: 999;
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav-inner { display: flex; flex-direction: column; gap: 20px; }
.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-lang { display: flex; gap: 12px; margin: 8px 0; }
.mobile-cta { text-align: center; margin-top: 16px; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A2A3A 0%, #0f1b2a 100%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/hk-skyline.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(26,42,58,0.85) 0%, rgba(26,42,58,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  padding: 0 24px;
}
.eyebrow {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}
.hero-content h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}
.service-icon { font-size: 2.5rem; display: block; margin-bottom: 16px; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { font-size: 0.9rem; color: var(--color-text-light); }
.card-link { font-weight: 600; font-size: 0.85rem; margin-top: 12px; display: inline-block; }

/* --- Why Us --- */
.why-grid { display: grid; gap: 32px; max-width: 800px; margin: 0 auto; }
.why-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: 8px;
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
}
.why-card h3 { color: var(--color-accent); margin-bottom: 12px; }
.why-card p { color: var(--color-text-light); }

/* --- CTA Section --- */
.cta-section { background: var(--color-primary); text-align: center; }
.cta-inner h2 { color: #fff; margin-bottom: 12px; }
.cta-inner p { color: rgba(255,255,255,0.7); margin-bottom: 28px; }

/* --- Page Hero --- */
.page-hero {
  position: relative;
  background: #1A2A3A;
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/hk-skyline.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.15;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,42,58,0.6) 0%, #1A2A3A 100%);
  pointer-events: none;
}
.page-hero h1 { 
  color: #fff; 
  font-size: 2rem; 
  position: relative;
  z-index: 2;
}

/* --- Content --- */
.content { max-width: 800px; margin: 0 auto; line-height: 1.8; color: var(--color-text-light); }
.content h3 { margin-top: 32px; margin-bottom: 12px; color: var(--color-primary); }
.content p { margin-bottom: 16px; }
.content ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.content li { margin-bottom: 6px; }

/* --- Feature list --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.feature-item {
  background: var(--color-bg-alt);
  padding: 20px;
  border-radius: var(--radius);
  border-left: 3px solid var(--color-accent);
}

/* --- Products List --- */
.products-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.product-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 32px 24px;
  transition: all var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card h3 { margin-bottom: 10px; }
.product-card p { font-size: 0.9rem; color: var(--color-text-light); margin-bottom: 16px; }
.product-card .card-link { font-size: 0.88rem; }

/* --- Contact Form --- */
.contact-form-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-bg);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--color-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--color-bg);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200,164,92,0.12);
}
.form-group textarea { min-height: 100px; resize: vertical; }
.form-submit { width: 100%; }
.privacy-note {
  font-size: 0.82rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 16px;
}

/* --- Footer --- */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: 60px 20px 30px;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand h3 { color: var(--color-accent); margin-bottom: 12px; font-size: 1.2rem; }
.footer-brand p { font-size: 0.85rem; margin-bottom: 4px; }
.footer-nav h4, .footer-contact h4 {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-link {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  transition: color var(--transition);
}
.footer-link:hover { color: var(--color-accent); }
.footer-contact p { font-size: 0.85rem; margin-bottom: 6px; }
.footer-contact a { color: var(--color-accent); }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
}
.disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.legal-links { display: flex; gap: 16px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
.copyright { font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
  transition: all var(--transition);
  z-index: 999;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
}

/* --- Status Messages --- */
.success-msg, .error-msg {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.9rem;
  display: none;
}
.success-msg { background: #e8f5e9; color: var(--color-success); border: 1px solid #c8e6c9; }
.error-msg { background: #ffebee; color: var(--color-error); border: 1px solid #ffcdd2; }

/* --- Article Cards --- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.article-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 24px;
  transition: all var(--transition);
}
.article-card:hover { box-shadow: var(--shadow-sm); border-color: var(--color-accent); }
.article-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.article-card .meta { font-size: 0.8rem; color: var(--color-text-light); margin-bottom: 8px; }
.article-card p { font-size: 0.9rem; color: var(--color-text-light); }

/* --- 404 --- */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.error-page h1 { font-size: 5rem; color: var(--color-accent); margin-bottom: 8px; }
.error-page p { font-size: 1.1rem; color: var(--color-text-light); margin-bottom: 24px; }


/* --- Hover card for guide advantages --- */
.hover-card {
  transition: all 0.3s ease;
}
.hover-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent) !important;
  transform: translateY(-2px);
}

/* --- Guide page details styling fix --- */
details summary { cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details[open] summary {
  border-bottom: 1px solid var(--color-border);
  background: rgba(200,164,92,0.04);
}

/* --- Smooth fade-in for page load --- */
body { opacity: 0; animation: fadeIn 0.4s ease forwards; }
@keyframes fadeIn { to { opacity: 1; } }

/* --- Improved service card in services-section --- */
.services-section .service-card {
  position: relative;
}
.services-section .service-card .card-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent);
}

/* --- Page hero inner page style override --- */
.page-hero h1 {
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* --- Table improvements --- */
table th, table td {
  vertical-align: top;
}

/* --- Better list spacing --- */
.content ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

/* --- Scrollbar styling --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-alt); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-text-light); }


/* --- Responsive --- */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  .section { padding: 48px 16px; }
  .section-title { margin-bottom: 32px; }
  .hero { min-height: 70vh; }
  .hero-content h1 { font-size: 2rem; }
  .hero-sub { font-size: 1rem; }
  .header-nav { display: none; }
  .header-actions .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-wrap { padding: 24px; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 1.6rem; }
  .hero-actions { flex-direction: column; align-items: center; }
}


/* ========================================
   安宝保险顾问 — 首页组件样式（新增）
   ======================================== */

/* --- Hero Insurance (homepage specific) --- */
.hero-insurance {
  background: #0f1b2a;
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-insurance::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/hk-skyline.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.25;
  pointer-events: none;
}
.hero-insurance::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,27,42,0.7) 0%, rgba(26,42,58,0.85) 50%, #1A2A3A 100%);
  pointer-events: none;
}
.hero-insurance .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}
.hero-insurance .hero-content h1 {
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.hero-insurance .hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-insurance .hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }

/* Hero badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  margin-top: 8px;
}

/* --- Hero eyebrow --- */
.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
}

/* --- Button variants --- */
.btn-outline {
  display: inline-block;
  padding: 12px 32px;
  border-radius: var(--radius);
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  text-align: center;
}
.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(200,164,92,0.1);
}
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid rgba(255,255,255,0.3);
  background: transparent;
  color: #fff;
  text-align: center;
}
.btn-outline-light:hover {
  border-color: #25D366;
  color: #25D366;
  background: rgba(37,211,102,0.1);
}
.btn-lg { padding: 16px 48px; font-size: 1.1rem; }

/* --- Stats Strip --- */
.stats-strip {
  background: var(--color-primary);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 40px 20px;
}
.stats-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-value {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}

/* --- Section label (eyebrow style for section header) --- */
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 12px;
  text-align: center;
}
.section-title-alt {
  text-align: center;
  margin-bottom: 16px;
  font-size: 2rem;
  font-weight: 700;
}
.section-desc {
  text-align: center;
  font-size: 1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* --- Services Section --- */
.services-section { padding: 80px 20px; }
.services-section .service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 40px 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.services-section .service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.services-section .service-card:hover::before { opacity: 1; }
.services-section .service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,164,92,0.1);
  border-radius: 16px;
  transition: background 0.3s ease;
}
.service-card:hover .service-icon-wrap {
  background: rgba(200,164,92,0.18);
}
.service-icon-wrap svg { width: 36px; height: 36px; }
.service-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.service-card p { font-size: 0.88rem; color: var(--color-text-light); line-height: 1.6; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-top: 16px;
  transition: gap 0.3s ease;
}
.service-link:hover { gap: 10px; color: var(--color-accent-hover); }

/* --- Partners Section --- */
.section-partners {
  background: var(--color-bg-alt);
  padding: 80px 20px;
}
.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 700px;
  margin: 0 auto;
}
.partner-item {
  padding: 12px 28px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: all 0.3s ease;
}
.partner-item:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}

/* --- Why Us Modern Cards --- */
.why-section { padding: 80px 20px; }
.why-grid { display: flex; flex-direction: column; gap: 24px; max-width: 800px; margin: 0 auto; }
.why-card-modern {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}
.why-card-modern:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: var(--color-accent);
}
.why-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-accent);
  background: rgba(200,164,92,0.1);
  border-radius: 12px;
}
.why-content { flex: 1; }
.why-content h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--color-primary);
}
.why-content p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin: 0;
}

/* --- CTA Modern --- */
.cta-modern {
  position: relative;
  padding: 100px 20px;
  text-align: center;
  overflow: hidden;
}
.cta-modern-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A2A3A 0%, #0f1b2a 100%);
}
.cta-modern-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(200,164,92,0.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(200,164,92,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.cta-modern-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.cta-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.cta-modern-content h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.cta-modern-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Responsive additions --- */
@media (max-width: 768px) {
  .hero-insurance { min-height: 75vh; }
  .hero-insurance .hero-content h1 { font-size: 2rem; }
  .hero-insurance .hero-sub { font-size: 1rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat-value { font-size: 1.6rem; }
  .section-title-alt { font-size: 1.5rem; }
  .why-card-modern { flex-direction: column; gap: 16px; padding: 24px; }
  .cta-modern { padding: 60px 20px; }
  .cta-modern-content h2 { font-size: 1.5rem; }
  .services-section .service-card { padding: 28px 20px; }
  .partner-item { padding: 10px 20px; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .hero-insurance .hero-actions { flex-direction: column; align-items: center; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .hero-badge { font-size: 0.75rem; padding: 6px 12px; }
}


/* ========================================
   安宝保险顾问 — 高级视觉增强
   ======================================== */

/* --- Typography refinements --- */
html { font-size: 16px; }
h1, h2, h3, h4, h5, h6 { letter-spacing: -0.02em; }
p { line-height: 1.7; }

/* --- Smooth hover transitions for everything interactive --- */
a, button, .service-card, .why-card-modern, .partner-item, .article-card {
  will-change: transform;
}

/* --- Hero insurance badge styling --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px;
  margin-top: 8px;
  transition: border-color 0.3s ease;
}
.hero-badge:hover {
  border-color: rgba(255,255,255,0.2);
}

/* --- Stats strip refinement --- */
.stats-strip {
  position: relative;
  z-index: 2;
}
.stat-value {
  position: relative;
  display: inline-block;
}
.stat-value::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.3;
  border-radius: 1px;
}

/* --- Why card modern refinement --- */
.why-number {
  transition: all 0.3s ease;
}
.why-card-modern:hover .why-number {
  background: rgba(200,164,92,0.2);
  transform: scale(1.05);
}

/* --- CTA Modern refinement --- */
.cta-modern {
  position: relative;
}
.cta-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0.3;
}

/* --- Button hover improvements --- */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-primary:hover::after { opacity: 1; }

/* --- Guide page details / summary (FAQ) styling --- */
details summary::-webkit-details-marker { display: none; }
details[open] summary {
  background: rgba(200,164,92,0.04);
  border-bottom: 1px solid var(--color-border);
}
details summary {
  transition: background 0.2s ease;
}
details summary:hover {
  background: rgba(200,164,92,0.04);
}

/* --- Comparison table scroll hint --- */
.section table { min-width: 500px; }

/* --- Content area for guide pages --- */
.content h2:not(.section-title-alt) {
  font-size: 1.5rem;
}

/* --- Footer enhancement --- */
.footer-link {
  position: relative;
  width: fit-content;
}
.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}
.footer-link:hover::after { width: 100%; }

/* --- Services grid in services-section --- */
.services-section .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* --- Responsive table for guide --- */
@media (max-width: 600px) {
  .section table { font-size: 0.82rem; }
  .section table th,
  .section table td { padding: 8px 10px !important; }
}

/* --- Page load smoothness --- */


/* --- Small touch: accent underline on headings in content --- */
.content h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 12px auto 0;
  border-radius: 1px;
}
.content h2 {
  text-align: center;
  margin-bottom: 32px;
}
