/* 博商管理官网 — 稳重可信风格 */
/* 系统字体栈，不加载外部字体 */
:root {
  --navy: #0d1b2a;
  --navy-mid: #1b2d44;
  --navy-light: #2a3f5f;
  --gold: #c8963e;
  --gold-light: #dab06e;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-200: #e8e8e8;
  --gray-300: #d0d0d0;
  --gray-600: #666666;
  --gray-800: #333333;
  --text-dark: #1a1a1a;
  --text-body: #444444;
  --text-muted: #777777;
  --max-width: 1200px;
  --section-pad: 80px 24px;
  --section-pad-mobile: 48px 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }
ul, ol { list-style: none; }

/* ===== Navigation ===== */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding: 0 24px;
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-brand {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--gold);
}

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle svg { fill: var(--white); width: 28px; height: 28px; }

@media (max-width: 768px) {
  .nav-links { 
    display: none; flex-direction: column; 
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--navy); padding: 16px 24px; gap: 16px;
    border-bottom: 2px solid var(--gold);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ===== Hero ===== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 120px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(200,150,62,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(200,150,62,0.08) 0%, transparent 50%);
}
.hero-inner { max-width: 800px; margin: 0 auto; position: relative; }
.hero h1 {
  font-size: 42px; font-weight: 700; line-height: 1.3;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub {
  font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
}
.hero-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 16px; font-weight: 600;
  padding: 14px 36px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-1px); color: var(--navy); }

@media (max-width: 768px) {
  .hero { padding: 80px 16px 60px; }
  .hero h1 { font-size: 28px; }
  .hero-sub { font-size: 15px; }
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--navy-mid);
  display: flex; justify-content: center; gap: 48px;
  padding: 32px 24px;
  border-bottom: 1px solid rgba(200,150,62,0.2);
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 36px; font-weight: 700; color: var(--gold);
  line-height: 1.2;
}
.stat-label {
  font-size: 14px; color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

@media (max-width: 768px) {
  .stats-bar { flex-wrap: wrap; gap: 24px; padding: 24px 16px; }
  .stat-num { font-size: 28px; }
}

/* ===== Sections ===== */
.section {
  padding: var(--section-pad);
}
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-alt { background: var(--gray-100); }
.section-dark { background: var(--navy); color: var(--white); }
.section-gold { background: var(--gold); color: var(--navy); }

.section-title {
  font-size: 32px; font-weight: 700; color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-title-light { color: var(--white); }
.section-desc {
  font-size: 16px; color: var(--text-muted);
  max-width: 640px; margin-bottom: 48px;
}
.section-desc-light { color: rgba(255,255,255,0.7); }

/* ===== Service Cards ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 32px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 16px rgba(200,150,62,0.12);
}
.service-card-icon {
  font-size: 28px; color: var(--gold);
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 18px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px; color: var(--text-muted);
  line-height: 1.6;
}

/* ===== Highlight Row (not cards) ===== */
.highlight-row {
  display: flex; gap: 48px; align-items: center;
  margin-bottom: 48px;
}
.highlight-row.reverse { flex-direction: row-reverse; }
.highlight-text { flex: 1; }
.highlight-text h3 {
  font-size: 24px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 12px;
}
.highlight-text p { font-size: 15px; line-height: 1.7; }
.highlight-fact {
  flex: 1; 
  background: var(--navy);
  color: var(--white);
  padding: 24px;
  border-radius: 6px;
}
.highlight-fact strong { color: var(--gold); }
.highlight-fact p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.85); }

@media (max-width: 768px) {
  .highlight-row, .highlight-row.reverse { flex-direction: column; gap: 24px; }
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: var(--gold);
}
.timeline-item {
  position: relative;
  padding-bottom: 32px;
}
.timeline-item::before {
  content: ''; position: absolute; left: -36px; top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--white);
}
.timeline-item h4 {
  font-size: 16px; font-weight: 600; color: var(--gold);
  margin-bottom: 4px;
}
.timeline-item p {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
}

/* ===== Honor Grid ===== */
.honor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.honor-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--gold);
  padding: 20px 16px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
}
.honor-item strong { color: var(--text-dark); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; }
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.faq-q {
  font-size: 16px; font-weight: 600; color: var(--text-dark);
  cursor: pointer;
  display: flex; align-items: center; gap: 8px;
}
.faq-q::before {
  content: 'Q'; background: var(--gold); color: var(--navy);
  font-size: 12px; font-weight: 700;
  width: 24px; height: 24px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.faq-a {
  font-size: 14px; color: var(--text-muted); line-height: 1.7;
  margin-top: 12px; padding-left: 32px;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--navy);
  text-align: center;
  padding: 64px 24px;
}
.cta-banner h2 {
  font-size: 28px; color: var(--white); font-weight: 700;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 16px; color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}
.cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 16px; font-weight: 600;
  padding: 14px 40px;
  border-radius: 4px;
  transition: background 0.2s;
}
.cta-btn:hover { background: var(--gold-light); color: var(--navy); }

/* ===== Quote Block ===== */
.quote-block {
  background: var(--gray-100);
  border-left: 4px solid var(--gold);
  padding: 24px 32px;
  margin: 32px 0;
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
}
.quote-block cite {
  display: block; margin-top: 12px;
  font-size: 14px; color: var(--text-muted);
  font-style: normal;
}

/* ===== Founder Card ===== */
.founder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.founder-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  padding: 28px 24px;
}
.founder-card h3 {
  font-size: 20px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 8px;
}
.founder-card h3 span { color: var(--gold); }
.founder-card .role {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 16px;
}
.founder-card p {
  font-size: 14px; color: var(--text-body); line-height: 1.7;
}

/* ===== Course Table ===== */
.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.course-table th {
  background: var(--navy);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}
.course-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--text-body);
}
.course-table tr:hover td { background: var(--gray-100); }
.course-table .tag {
  display: inline-block;
  background: rgba(200,150,62,0.12);
  color: var(--gold);
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 12px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  text-align: center;
  padding: 32px 24px;
  border-top: 2px solid var(--gold);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-brand {
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}
.footer-brand a { color: var(--gold); }
.footer-links {
  margin-top: 16px;
  display: flex; justify-content: center; gap: 24px;
}
.footer-links a { color: rgba(255,255,255,0.5); font-size: 13px; }
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: 8px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 48px; }
.hidden { display: none; }

/* ===== Page-specific: Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info-item {
  margin-bottom: 24px;
}
.contact-info-item h4 {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-info-item p {
  font-size: 18px; color: var(--text-dark); font-weight: 500;
}
.contact-form {
  background: var(--gray-100);
  padding: 32px;
  border-radius: 6px;
}
.contact-form label {
  font-size: 14px; color: var(--text-muted);
  margin-bottom: 4px; display: block;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  font-size: 14px;
  margin-bottom: 16px;
  background: var(--white);
  font-family: inherit;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form button {
  background: var(--gold);
  color: var(--navy);
  font-size: 15px; font-weight: 600;
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.contact-form button:hover { background: var(--gold-light); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .honor-grid { grid-template-columns: 1fr; }
  .course-table { font-size: 13px; }
  .course-table th, .course-table td { padding: 8px 10px; }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in {
  animation: fadeInUp 0.6s ease-out both;
}
