/* ============================================
   Corporate Site - 锐基科技企业展示网站样式
   蓝紫色系 (#5b4fcf / #4a3fbf / #7b9ce8)
   ============================================ */

/* ===== Reset & Base ===== */
.corp-root { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif; color: #1e293b; background: #fff; margin: 0; padding: 0; }
.corp-root * { box-sizing: border-box; }

/* ===== Top Bar ===== */
.corp-topbar { background: #1a1a1a; color: #94a3b8; font-size: 0.81rem; padding: 6px 0; }
.corp-topbar .container { display: flex; justify-content: space-between; align-items: center; }
.corp-topbar a { color: #94a3b8; text-decoration: none; transition: color .2s; }
.corp-topbar a:hover { color: #e2e8f0; }
.corp-topbar .topbar-right { display: flex; gap: 18px; }
.corp-topbar .topbar-right i { margin-right: 3px; }

/* ===== Header / Navigation ===== */
.corp-header { background: #fff; border-bottom: 1px solid #e8eaed; position: sticky; top: 0; z-index: 1000; }
.corp-header .container { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.corp-logo { display: flex; align-items: center; text-decoration: none; }
.corp-logo img { height: 38px; width: auto; }
.corp-logo-text { margin-left: 10px; font-size: 1.15rem; font-weight: 800; color: #3D2100; letter-spacing: .5px; }
.corp-logo-text span { color: #5b4fcf; }

.corp-nav { display: flex; align-items: center; gap: 8px; }
.corp-nav a { color: #475569; text-decoration: none; padding: 8px 18px; border-radius: 8px; font-size: 0.92rem; font-weight: 500; transition: all .2s; }
.corp-nav a:hover { color: #5b4fcf; background: rgba(91,79,207,.08); }
.corp-nav a.active { color: #5b4fcf; background: rgba(91,79,207,.12); font-weight: 600; }
.corp-nav-btn { background: #5b4fcf; color: #fff !important; padding: 8px 22px !important; border-radius: 8px !important; font-weight: 600 !important; }
.corp-nav-btn:hover { background: #4a3fbf !important; color: #fff !important; }

.corp-mobile-toggle { display: none; background: none; border: none; font-size: 1.6rem; color: #475569; cursor: pointer; padding: 4px 8px; }

/* ===== Container ===== */
.corp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Hero Section ===== */
.corp-hero { background: linear-gradient(160deg, #f5f7ff 0%, #eef1fc 30%, #f0edff 70%, #faf7ff 100%); color: #1a1a2e; padding: 100px 0 80px; text-align: center; position: relative; overflow: hidden; }
.corp-hero::before { content: ''; position: absolute; top: -40%; right: -20%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(102,126,234,.06) 0%, transparent 70%); border-radius: 50%; }
.corp-hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(163,142,230,.05) 0%, transparent 70%); border-radius: 50%; }
.corp-hero .container { position: relative; z-index: 1; }
.corp-hero-badge { display: inline-block; background: rgba(102,126,234,.08); border: 1px solid rgba(102,126,234,.15); color: #3d3fb0; padding: 6px 20px; border-radius: 50px; font-size: 0.85rem; margin-bottom: 24px; font-weight: 500; }
.corp-hero h1 { font-size: 3rem; font-weight: 800; line-height: 1.2; margin: 0 0 20px; letter-spacing: 1px; color: #1a1a2e; }
.corp-hero h1 span { background: linear-gradient(135deg, #4a3fbf, #3366cc); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.corp-hero .subtitle { font-size: 1.15rem; color: #475569; max-width: 680px; margin: 0 auto 36px; line-height: 1.7; }
.corp-hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.corp-btn-primary { display: inline-flex; align-items: center; gap: 8px; background: #4a3fbf; color: #fff; padding: 14px 36px; border-radius: 10px; font-size: 1rem; font-weight: 600; text-decoration: none; transition: all .25s; border: none; cursor: pointer; box-shadow: 0 4px 14px rgba(74,63,191,.25); }
.corp-btn-primary:hover { background: #3d2f7a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(74,63,191,.35); color: #fff; }
.corp-btn-outline { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #4a3fbf; padding: 14px 36px; border-radius: 10px; font-size: 1rem; font-weight: 600; text-decoration: none; border: 2px solid rgba(74,63,191,.25); transition: all .25s; }
.corp-btn-outline:hover { border-color: #4a3fbf; background: rgba(74,63,191,.04); color: #3d2f7a; }

/* ===== Hero Stats (legacy corp- prefix) ===== */
.corp-hero-stats { display: flex; justify-content: center; gap: 60px; margin-top: 60px; flex-wrap: wrap; }
.corp-stat-item { text-align: center; }
.corp-stat-value { font-size: 2.4rem; font-weight: 800; color: #3d3fb0; line-height: 1.2; }
.corp-stat-label { font-size: 0.88rem; color: #64748b; margin-top: 4px; }

/* ===== Hero Section (homepage class names) ===== */
.hero-section { background: linear-gradient(160deg, #f5f7ff 0%, #eef1fc 30%, #f0edff 70%, #faf7ff 100%); color: #1a1a2e; padding: 100px 0 80px; position: relative; overflow: hidden; }
.hero-section canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: .35; }
.hero-section::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(to bottom, transparent, rgba(245,247,255,.95)); z-index: 1; pointer-events: none; }
.hero-content { position: relative; z-index: 2; }

/* ===== Stats Bar (homepage class names) ===== */
.stats-bar { background: #fff; border-top: 1px solid rgba(102,126,234,.08); padding: 40px 0; box-shadow: 0 -4px 24px rgba(74,53,168,.04); }
.stats-number { font-size: 2.4rem; font-weight: 800; color: #3d3fb0; line-height: 1.2; }
.stats-label { font-size: 0.88rem; color: #64748b; margin-top: 4px; }

/* ===== Section Common ===== */
.corp-section { padding: 80px 0; }
.corp-section-alt { background: #f8fafc; }
.corp-section-header { text-align: center; margin-bottom: 56px; }
.corp-section-header .label { display: inline-block; color: #5b4fcf; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; }
.corp-section-header h2 { font-size: 2.2rem; font-weight: 800; color: #1a1a1a; margin: 0 0 14px; }
.corp-section-header p { font-size: 1.05rem; color: #64748b; max-width: 600px; margin: 0 auto; line-height: 1.6; }

/* ===== Services Grid ===== */
.corp-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.corp-service-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 36px 28px 28px; text-align: center; transition: all .3s; }
.corp-service-card:hover { border-color: #7b9ce8; box-shadow: 0 8px 30px rgba(91,79,207,.1); transform: translateY(-4px); }
.corp-service-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; color: #fff; }
.corp-service-card h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 10px; color: #1e293b; }
.corp-service-card p { font-size: 0.88rem; color: #64748b; line-height: 1.6; margin: 0; }

/* ===== Technology Section ===== */
.corp-tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.corp-tech-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px 24px; position: relative; overflow: hidden; transition: all .3s; }
.corp-tech-card:hover { border-color: #7b9ce8; box-shadow: 0 4px 20px rgba(91,79,207,.08); }
.corp-tech-step { position: absolute; top: 16px; right: 20px; font-size: 3.5rem; font-weight: 900; color: #f1f5f9; line-height: 1; z-index: 0; }
.corp-tech-card h3 { font-size: 1.05rem; font-weight: 700; color: #1e293b; margin: 0 0 10px; position: relative; z-index: 1; }
.corp-tech-card p { font-size: 0.88rem; color: #64748b; line-height: 1.6; margin: 0 0 14px; position: relative; z-index: 1; }
.corp-tech-tags { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.corp-tech-tag { background: #f1f5f9; color: #475569; font-size: 0.75rem; padding: 4px 10px; border-radius: 6px; }

/* ===== Knowledge Center ===== */
.corp-knowledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.corp-article-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; transition: all .3s; text-decoration: none; color: inherit; display: block; }
.corp-article-card:hover { border-color: #7b9ce8; box-shadow: 0 8px 30px rgba(0,0,0,.08); transform: translateY(-4px); color: inherit; }
.corp-article-img { width: 100%; height: 180px; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: #94a3b8; }
.corp-article-body { padding: 20px 24px 24px; }
.corp-article-date { font-size: 0.78rem; color: #94a3b8; margin-bottom: 6px; }
.corp-article-body h3 { font-size: 1rem; font-weight: 700; color: #1e293b; margin: 0 0 8px; line-height: 1.4; }
.corp-article-body p { font-size: 0.85rem; color: #64748b; line-height: 1.6; margin: 0 0 12px; }
.corp-article-tag { display: inline-block; background: rgba(91,79,207,.08); color: #5b4fcf; font-size: 0.75rem; padding: 3px 10px; border-radius: 6px; font-weight: 500; }
.corp-kb-more { text-align: center; margin-top: 40px; }

/* ===== Contact Section ===== */
.corp-contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }
.corp-contact-info h3 { font-size: 1.4rem; font-weight: 700; color: #1e293b; margin: 0 0 12px; }
.corp-contact-info > p { font-size: 0.95rem; color: #64748b; line-height: 1.7; margin: 0 0 28px; }
.corp-contact-items { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.corp-contact-item { display: flex; gap: 14px; align-items: flex-start; }
.corp-contact-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: #fff; flex-shrink: 0; }
.corp-contact-item h4 { font-size: 0.9rem; font-weight: 700; color: #1e293b; margin: 0 0 4px; }
.corp-contact-item p { font-size: 0.85rem; color: #64748b; margin: 0; line-height: 1.5; }
.corp-contact-qr { text-align: center; }
.corp-contact-qr .qr-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; display: inline-block; }
.corp-contact-qr .qr-placeholder { width: 160px; height: 160px; background: #f1f5f9; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 4rem; color: #cbd5e1; margin: 0 auto 12px; }
.corp-contact-qr p { font-size: 0.85rem; color: #64748b; margin: 0; }

/* ===== Footer ===== */
.corp-footer { background: #1a1a1a; color: #94a3b8; padding: 48px 0 28px; }
.corp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.corp-footer-brand h3 { font-size: 1.2rem; font-weight: 700; color: #fff; margin: 0 0 12px; }
.corp-footer-brand p { font-size: 0.85rem; color: #64748b; line-height: 1.7; margin: 0; }
.corp-footer-col h4 { font-size: 0.9rem; font-weight: 700; color: #e2e8f0; margin: 0 0 16px; }
.corp-footer-col a { display: block; font-size: 0.85rem; color: #64748b; text-decoration: none; padding: 4px 0; transition: color .2s; }
.corp-footer-col a:hover { color: #7b9ce8; }
.corp-footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }
.corp-footer-bottom a { color: #64748b; text-decoration: none; }
.corp-footer-bottom a:hover { color: #7b9ce8; }

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .corp-hero h1 { font-size: 2.2rem; }
  .corp-hero .subtitle { font-size: 1rem; }
  .corp-services-grid { grid-template-columns: repeat(2, 1fr); }
  .corp-tech-grid { grid-template-columns: repeat(2, 1fr); }
  .corp-knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .corp-contact-grid { grid-template-columns: 1fr; }
  .corp-footer-grid { grid-template-columns: repeat(2, 1fr); }
  .corp-hero-stats { gap: 40px; }
  .corp-stat-value { font-size: 1.8rem; }
}

@media (max-width: 767px) {
  .corp-topbar { display: none; }
  .corp-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 16px; border-bottom: 1px solid #e2e8f0; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .corp-nav.open { display: flex; }
  .corp-nav a { width: 100%; padding: 12px 16px; border-radius: 8px; }
  .corp-mobile-toggle { display: block; }
  .corp-header .container { position: relative; }
  .corp-hero { padding: 60px 0 50px; }
  .corp-hero h1 { font-size: 1.7rem; }
  .corp-hero .subtitle { font-size: 0.92rem; }
  .corp-hero-stats { gap: 28px; margin-top: 36px; }
  .corp-stat-value { font-size: 1.5rem; }
  .corp-section { padding: 56px 0; }
  .corp-section-header h2 { font-size: 1.6rem; }
  .corp-services-grid { grid-template-columns: 1fr; }
  .corp-tech-grid { grid-template-columns: 1fr; }
  .corp-knowledge-grid { grid-template-columns: 1fr; }
  .corp-contact-items { grid-template-columns: 1fr; }
  .corp-btn-primary, .corp-btn-outline { padding: 12px 24px; font-size: 0.92rem; }
  .corp-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .corp-footer-bottom { flex-direction: column; text-align: center; }
}

/* ===== Animations ===== */
.corp-fade-up { opacity: 0; transform: translateY(30px); transition: all .6s ease; }
.corp-fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== Smooth scroll ===== */
html { scroll-behavior: smooth; }

/* ===== Generic Section Padding ===== */
.section-padding { padding: 80px 0; }
.section-header .section-label { display: inline-block; color: #5b4fcf; font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; }

/* ===== Service Card (Homepage) ===== */
.service-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 32px 24px; text-align: center; transition: all .3s; height: 100%; }
.service-card:hover { border-color: #7b9ce8; box-shadow: 0 8px 30px rgba(91,79,207,.1); transform: translateY(-4px); }
.service-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.7rem; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; color: #1e293b; margin: 0 0 10px; }
.service-card p { font-size: 0.88rem; color: #64748b; line-height: 1.6; margin: 0; }

/* ===== Data Card (Why GEO) ===== */
.data-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px 24px; text-align: center; transition: all .3s; height: 100%; }
.data-card:hover { border-color: #cbd5e1; box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.data-card-value { font-size: 2.4rem; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.data-card-title { font-size: 0.95rem; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.data-card-desc { font-size: 0.83rem; color: #64748b; line-height: 1.6; }

/* ===== Strategy Card ===== */
.strategy-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; height: 100%; transition: all .3s; }
.strategy-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.strategy-positive:hover { border-color: #86efac; }
.strategy-negative:hover { border-color: #fca5a5; }
.strategy-badge { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 8px; margin-bottom: 10px; }
.strategy-card h3 { font-size: 1rem; font-weight: 700; color: #1e293b; margin: 0 0 8px; }
.strategy-card p { font-size: 0.85rem; color: #64748b; line-height: 1.6; margin: 0; }

/* ===== Insight Card (Knowledge Highlights) ===== */
.insight-card { display: block; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; text-decoration: none; color: inherit; transition: all .3s; height: 100%; }
.insight-card:hover { border-color: #7b9ce8; box-shadow: 0 8px 30px rgba(0,0,0,.08); transform: translateY(-4px); color: inherit; text-decoration: none; }
.insight-card-body { padding: 28px 24px; }
.insight-tag { display: inline-block; background: rgba(91,79,207,.08); color: #5b4fcf; font-size: 0.75rem; padding: 4px 12px; border-radius: 6px; font-weight: 500; margin-bottom: 12px; }
.insight-card-body h3 { font-size: 1.05rem; font-weight: 700; color: #1e293b; margin: 0 0 10px; line-height: 1.4; }
.insight-card-body p { font-size: 0.85rem; color: #64748b; line-height: 1.6; margin: 0 0 14px; }
.insight-date { font-size: 0.78rem; color: #94a3b8; }

/* ===== Challenge Card ===== */
.challenge-card { padding: 24px; height: 100%; }
.challenge-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 16px; }
.challenge-card h3 { font-size: 1.05rem; font-weight: 700; color: #1a1a1a; margin: 0 0 10px; }
.challenge-card p { font-size: 0.88rem; color: #64748b; line-height: 1.7; margin: 0; }

/* ===== Navbar active link ===== */
.navbar-nav .nav-link.active { color: #5b4fcf !important; background: rgba(91,79,207,.08); border-radius: 8px; }

/* ===== Responsive additions ===== */
@media (max-width: 991px) {
  .section-padding { padding: 56px 0; }
  .data-card-value { font-size: 2rem; }
}

@media (max-width: 767px) {
  .section-padding { padding: 48px 0; }
  .data-card-value { font-size: 1.7rem; }
  .insight-card-body h3 { font-size: 0.95rem; }
}

/* ============================================
   Breadcrumb - 面包屑导航
   ============================================ */
.breadcrumb-nav {
  padding: 14px 0;
  background: linear-gradient(135deg, #f5f7ff 0%, #faf7ff 100%);
  border-bottom: 1px solid rgba(91,79,207,.08);
}
.breadcrumb-nav .breadcrumb {
  margin-bottom: 0;
  --bs-breadcrumb-divider: '›';
  font-size: 0.9rem;
}
.breadcrumb-nav .breadcrumb-item {}
.breadcrumb-nav .breadcrumb-item a {
  color: #5b4fcf;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.breadcrumb-nav .breadcrumb-item a:hover {
  color: #4a3fbf;
  text-decoration: underline;
}
.breadcrumb-nav .breadcrumb-item.active {
  color: #475569;
  font-weight: 500;
}
.breadcrumb-nav .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(91,79,207,.35);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1;
  content: '›';
}

/* 文章详情页顶部区域的面包屑 */
.article-header .breadcrumb {
  --bs-breadcrumb-divider: '›';
  font-size: 0.88rem;
}
.article-header .breadcrumb-item a {
  color: #5b4fcf;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.article-header .breadcrumb-item a:hover {
  color: #4a3fbf;
  text-decoration: underline;
}
.article-header .breadcrumb-item.active {
  color: #94a3b8;
}
.article-header .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(91,79,207,.3);
  content: '›';
}

.site-logo { height: 27px; width: auto; }
