/* ===== Design Tokens ===== */
:root { --navbar-h: 64px; }

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Noto Sans SC', sans-serif; color: #333; background: #fff; line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section { padding: 70px 0; }

/* ===== Navbar ===== */
.navbar { position: fixed; top: 0; width: 100%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); z-index: 1000; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: var(--navbar-h); }
.nav-logo { font-size: 1.3rem; font-weight: 700; color: #1a3a5c; letter-spacing: 4px; }
.nav-links { display: flex; list-style: none; gap: 2px; }
.nav-links a { padding: 6px 9px; font-size: 0.85rem; color: #1a3a5c; border-radius: 4px; transition: background 0.2s, color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { background: #1a3a5c; color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: #1a3a5c; line-height: 1; }

/* ===== Hero ===== */
.hero { background: #f4f6f9; padding-top: var(--navbar-h); }
.hero-inner { display: flex; align-items: center; gap: 60px; padding: 70px 0; }
.hero-photo { flex: 0 0 420px; }
.hero-photo img { border-radius: 6px; width: 100%; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 3rem; color: #1a3a5c; letter-spacing: 10px; margin-bottom: 10px; }
.hero-subtitle { font-size: 1rem; color: #666; margin-bottom: 6px; }
.hero-subtitle-en { font-size: 0.9rem; color: #c9a84c; margin-bottom: 28px; }
.hero-phone { display: block; font-size: 1.5rem; font-weight: 700; color: #1a3a5c; margin-bottom: 6px; }
.hero-email { display: block; color: #666; margin-bottom: 28px; font-size: 0.95rem; }
.btn-primary { display: inline-block; background: #1a3a5c; color: #fff; padding: 12px 32px; border-radius: 4px; font-size: 0.95rem; font-weight: 500; transition: background 0.2s; }
.btn-primary:hover { background: #c9a84c; }

/* ===== Section Title ===== */
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-size: 1.75rem; color: #1a3a5c; margin-bottom: 14px; }
.section-title .divider { width: 48px; height: 3px; background: #c9a84c; margin: 0 auto; }
.section-title p { margin-top: 14px; color: #666; font-size: 0.95rem; }

/* ===== Features (三大特点) ===== */
.features { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: #f8f9fb; padding: 36px 28px; border-radius: 8px; border-top: 4px solid #c9a84c; }
.feature-card h3 { font-size: 1.05rem; color: #1a3a5c; margin-bottom: 14px; }
.feature-card p { font-size: 0.92rem; color: #555; line-height: 1.9; }

/* ===== Services (服务四宫格) ===== */
.services { background: #f4f6f9; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { background: #fff; padding: 36px 20px; border-radius: 8px; text-align: center; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.service-card .icon { font-size: 2.4rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.1rem; color: #1a3a5c; margin-bottom: 10px; }
.service-card p { font-size: 0.88rem; color: #666; line-height: 1.7; }
.service-card .card-link { display: inline-block; margin-top: 16px; font-size: 0.88rem; color: #c9a84c; font-weight: 600; }

/* ===== Reviews Preview ===== */
.reviews { background: #fff; }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.reviews-grid img { border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.1); width: 100%; }
.reviews-cta { text-align: center; margin-top: 32px; }

/* ===== Page Banner (内页标题横幅) ===== */
.page-banner { background: #1a3a5c; color: #fff; padding: calc(var(--navbar-h) + 46px) 0 44px; text-align: center; }
.page-banner h1 { font-size: 2.2rem; letter-spacing: 4px; margin-bottom: 10px; }
.page-banner .banner-subtitle { color: #c9a84c; font-size: 0.95rem; opacity: 0.9; }

/* ===== Content Section ===== */
.content-section { background: #fff; }
.content-section.alt { background: #f4f6f9; }

/* ===== Steps Grid (流程卡片) ===== */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 10px; }
.step-card { background: #fff; padding: 28px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #1a3a5c; color: #fff; font-weight: 700; font-size: 0.95rem; margin-bottom: 14px; }
.step-card h3 { color: #1a3a5c; margin-bottom: 10px; font-size: 1rem; }
.step-card p { font-size: 0.92rem; color: #555; line-height: 1.8; }

/* ===== Info Box ===== */
.info-box { background: #fff8e8; border-left: 4px solid #c9a84c; padding: 20px 24px; border-radius: 4px; margin-top: 32px; }
.info-box p { font-size: 0.92rem; color: #555; }
.info-box strong { color: #1a3a5c; }

/* ===== About Page ===== */
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.about-photo img { border-radius: 8px; width: 100%; }
.about-text h2 { font-size: 1.6rem; color: #1a3a5c; margin-bottom: 6px; }
.about-text .about-title { color: #c9a84c; font-size: 0.95rem; margin-bottom: 20px; }
.about-text p { font-size: 0.95rem; color: #555; line-height: 1.9; margin-bottom: 14px; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.badge { background: #1a3a5c; color: #fff; padding: 5px 14px; border-radius: 20px; font-size: 0.82rem; }
.assistant-card { background: #f8f9fb; padding: 28px; border-radius: 8px; border-left: 4px solid #c9a84c; margin-top: 32px; }
.assistant-card h3 { color: #1a3a5c; margin-bottom: 10px; }
.assistant-card p { font-size: 0.92rem; color: #555; line-height: 1.8; }

/* ===== Why Page ===== */
.why-card { background: #fff; padding: 36px 32px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); margin-bottom: 24px; display: flex; gap: 24px; align-items: flex-start; }
.why-card .why-num { flex: 0 0 48px; height: 48px; border-radius: 50%; background: #1a3a5c; color: #fff; font-size: 1.3rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.why-card h3 { color: #1a3a5c; font-size: 1.15rem; margin-bottom: 10px; }
.why-card p { font-size: 0.93rem; color: #555; line-height: 1.9; }

/* ===== Communities & Tools (卡片列表) ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.grid-card { background: #fff; padding: 28px; border-radius: 8px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); border-top: 3px solid #c9a84c; transition: transform 0.2s; }
.grid-card:hover { transform: translateY(-2px); }
.grid-card .card-tag { display: inline-block; background: #f4f6f9; color: #1a3a5c; font-size: 0.78rem; padding: 3px 10px; border-radius: 12px; margin-bottom: 10px; }
.grid-card h3 { color: #1a3a5c; margin-bottom: 10px; font-size: 1.05rem; }
.grid-card p { font-size: 0.9rem; color: #555; line-height: 1.8; margin-bottom: 14px; }
.grid-card .card-link { color: #c9a84c; font-size: 0.9rem; font-weight: 600; }
.grid-card .card-link:hover { text-decoration: underline; }

/* ===== Contact CTA ===== */
.contact-cta { background: #1a3a5c; color: #fff; text-align: center; padding: 70px 0; }
.contact-cta h2 { font-size: 1.8rem; margin-bottom: 12px; }
.contact-cta p { margin-bottom: 28px; opacity: 0.85; }
.btn-gold { display: inline-block; background: #c9a84c; color: #fff; padding: 13px 38px; border-radius: 4px; font-size: 0.95rem; font-weight: 500; transition: background 0.2s; }
.btn-gold:hover { background: #b8973e; }
.link-gold { color: #c9a84c; font-weight: 700; }

/* ===== Footer ===== */
.footer { background: #111; color: #999; padding: 48px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1.5fr 1fr; gap: 40px; align-items: start; padding-bottom: 40px; }
.footer-brand h2 { color: #fff; font-size: 1.4rem; letter-spacing: 4px; margin-bottom: 10px; }
.footer-brand p { font-size: 0.88rem; line-height: 2; }
.footer-contact h3 { color: #fff; margin-bottom: 12px; font-size: 0.95rem; font-weight: 600; }
.footer-contact p { font-size: 0.88rem; line-height: 2.2; }
.footer-contact a { color: #c9a84c; }
.footer-qr { text-align: center; }
.footer-qr img { width: 110px; margin: 0 auto 10px; border-radius: 4px; background: #fff; padding: 4px; }
.footer-qr p { font-size: 0.82rem; }
.footer-bottom { border-top: 1px solid #2a2a2a; text-align: center; padding: 18px 0; font-size: 0.82rem; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-qr { grid-column: span 2; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--navbar-h); left: 0; right: 0;
    background: #fff;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0 16px; }
  .nav-links a { display: block; padding: 10px 0; border-radius: 0; border-bottom: 1px solid #f0f0f0; font-size: 0.92rem; }
  .nav-toggle { display: block; }
  .hero-inner { flex-direction: column; gap: 30px; text-align: center; padding: 40px 0 60px; }
  .hero-photo { flex: 0 0 auto; width: 75%; max-width: 300px; margin: 0 auto; }
  .hero-text h1 { font-size: 2.2rem; }
  .why-card { flex-direction: column; gap: 16px; }
}
@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-qr { grid-column: auto; }
}
