/* ═══════════════════════════════════════════════════════════
   明觉信息科技 - 官网样式
   技术蓝主题 · 简洁商务风
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --navy: #0B2545;
  --navy-light: #13315C;
  --blue: #2563EB;
  --blue-light: #3B82F6;
  --cyan: #0EA5E9;
  --sky: #E0F2FE;
  --bg: #FFFFFF;
  --bg-alt: #F1F5F9;
  --bg-dark: #0B2545;
  --text: #1E293B;
  --text-light: #64748B;
  --text-lighter: #94A3B8;
  --border: #E2E8F0;
  --success: #059669;
  --warning: #D97706;
  --white: #FFFFFF;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.04);
  --radius: 12px;
  --radius-sm: 8px;
  --max-w: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; overflow-x: hidden; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ─── Layout Helpers ──────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

/* ─── Typography ──────────────────────────────── */
h1, h2, h3, h4, h5 { color: var(--navy); line-height: 1.35; font-weight: 700; }
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
.lead { font-size: 1.15rem; color: var(--text-light); line-height: 1.8; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 600; color: var(--blue); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }

/* ─── Buttons ──────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; transition: all .25s; cursor: pointer; border: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.3); }
.btn-outline:hover { background: rgba(255,255,255,.1); color: var(--white); border-color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ─── Header / Nav ──────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(11, 37, 69, .95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .3s;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); font-weight: 700; font-size: 1.2rem; }
.logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; font-weight: 800; }
.logo-text { line-height: 1.2; }
.logo-text small { display: block; font-size: .65rem; font-weight: 400; opacity: .7; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: rgba(255,255,255,.85); font-size: .95rem; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--cyan); }
.nav-cta { background: var(--blue); color: var(--white) !important; padding: 8px 20px; border-radius: var(--radius-sm); font-weight: 600 !important; }
.nav-cta:hover { background: var(--cyan) !important; }
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

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

/* ─── Hero ──────────────────────────────── */
.hero {
  position: relative; min-height: 600px; padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, #1a3a5c 100%);
  color: var(--white); overflow: hidden;
}
.hero::before { content: ''; position: absolute; top: -50%; right: -10%; width: 600px; height: 600px; background: radial-gradient(circle, rgba(37,99,235,.15), transparent 70%); border-radius: 50%; }
.hero::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(14,165,233,.1), transparent 70%); border-radius: 50%; }
.hero .container { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); padding: 6px 16px; border-radius: 100px; font-size: .85rem; margin-bottom: 24px; }
.hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 20px; line-height: 1.3; }
.hero h1 .highlight { color: var(--cyan); }
.hero .lead { color: rgba(255,255,255,.85); max-width: 640px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 60px; flex-wrap: wrap; }
.hero-stat .num { font-size: 2.5rem; font-weight: 800; color: var(--cyan); }
.hero-stat .label { font-size: .9rem; color: rgba(255,255,255,.7); }

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 24px; }
  .hero-stat .num { font-size: 1.8rem; }
}

/* ─── Cards ──────────────────────────────── */
.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: all .25s; box-shadow: var(--shadow);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--blue); }
.card-icon { width: 48px; height: 48px; border-radius: 10px; background: var(--sky); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: .95rem; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9rem; }

/* ─── Sections ──────────────────────────────── */
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,.8); }
.section-alt { background: var(--bg-alt); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; }

/* ─── Service / Feature Lists ──────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-check { width: 24px; height: 24px; min-width: 24px; background: var(--blue); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: .75rem; margin-top: 2px; }
.feature-item h4 { margin-bottom: 4px; }
.feature-item p { color: var(--text-light); font-size: .9rem; margin: 0; }

/* ─── Industry Cards ──────────────────────────────── */
.industry-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; box-shadow: var(--shadow);
}
.industry-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.industry-card-header { padding: 24px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: var(--white); }
.industry-card-header h3 { color: var(--white); }
.industry-card-header .icon { font-size: 2rem; margin-bottom: 8px; }
.industry-card-body { padding: 24px; }
.industry-card-body ul { margin-top: 12px; }
.industry-card-body li { padding: 6px 0; border-bottom: 1px dashed var(--border); color: var(--text-light); font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.industry-card-body li:last-child { border-bottom: none; }
.industry-card-body li::before { content: '▸'; color: var(--blue); font-weight: 700; }

/* ─── Case Study ──────────────────────────────── */
.case-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.case-card-img { height: 200px; background: linear-gradient(135deg, var(--sky), #dbeafe); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.case-card-body { padding: 24px; flex: 1; }
.case-card-body .tag { display: inline-block; background: var(--sky); color: var(--blue); font-size: .75rem; font-weight: 600; padding: 4px 12px; border-radius: 100px; margin-bottom: 12px; }
.case-card-body h3 { margin-bottom: 8px; font-size: 1.2rem; }
.case-card-body p { color: var(--text-light); font-size: .9rem; }
.case-card-footer { padding: 16px 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }
.case-card-footer .metric { font-weight: 700; color: var(--success); }

/* ─── FAQ ──────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--navy); background: var(--bg); transition: background .2s; }
.faq-q:hover { background: var(--bg-alt); }
.faq-q .toggle { color: var(--blue); font-size: 1.2rem; transition: transform .2s; }
.faq-item.open .faq-q .toggle { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner { padding: 0 24px 20px; color: var(--text-light); line-height: 1.8; }

/* ─── Stats Band ──────────────────────────────── */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats-band .stat .num { font-size: 3rem; font-weight: 800; color: var(--cyan); }
.stats-band .stat .label { font-size: .95rem; color: rgba(255,255,255,.7); margin-top: 4px; }
@media (max-width: 768px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

/* ─── CTA Band ──────────────────────────────── */
.cta-band { background: linear-gradient(135deg, var(--blue), var(--cyan)); color: var(--white); text-align: center; padding: 64px 0; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.9); }
.cta-band .btn-primary { background: var(--navy); }
.cta-band .btn-primary:hover { background: var(--navy-light); }

/* ─── Breadcrumb ──────────────────────────────── */
.breadcrumb { padding: 100px 0 24px; background: var(--navy); color: var(--white); }
.breadcrumb h1 { color: var(--white); margin-bottom: 8px; }
.breadcrumb-trail { display: flex; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.7); }
.breadcrumb-trail a { color: rgba(255,255,255,.7); }
.breadcrumb-trail a:hover { color: var(--cyan); }
.breadcrumb-trail .sep { opacity: .5; }

/* ─── Contact ──────────────────────────────── */
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .icon { width: 44px; height: 44px; min-width: 44px; background: var(--sky); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.contact-item h4 { margin-bottom: 4px; }
.contact-item p { color: var(--text-light); font-size: .95rem; margin: 0; }
.contact-form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: var(--font); transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1);
}

/* ─── Timeline ──────────────────────────────── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 4px; width: 14px; height: 14px; background: var(--blue); border-radius: 50%; border: 3px solid var(--bg); box-shadow: 0 0 0 2px var(--blue); }
.timeline-item .year { font-weight: 700; color: var(--blue); margin-bottom: 4px; }
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item p { color: var(--text-light); font-size: .9rem; margin: 0; }

/* ─── Insight Article ──────────────────────────────── */
.article-meta { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; font-size: .85rem; color: var(--text-light); }
.article-meta .author { display: flex; align-items: center; gap: 8px; }
.article-meta .author-avatar { width: 32px; height: 32px; background: var(--navy); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; }
.article-body { font-size: 1.05rem; line-height: 1.8; }
.article-body h2 { margin: 32px 0 16px; }
.article-body h3 { margin: 24px 0 12px; }
.article-body p { margin-bottom: 16px; color: var(--text); }
.article-body ul { margin-bottom: 16px; padding-left: 0; }
.article-body ul li { padding: 6px 0 6px 24px; position: relative; }
.article-body ul li::before { content: '▸'; position: absolute; left: 8px; color: var(--blue); font-weight: 700; }
.article-body blockquote { border-left: 4px solid var(--blue); background: var(--bg-alt); padding: 16px 24px; margin: 24px 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-light); }

/* ─── Footer ──────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; }
.footer-col h5 { color: var(--white); margin-bottom: 16px; font-size: .95rem; }
.footer-col a { display: block; color: rgba(255,255,255,.7); font-size: .9rem; padding: 4px 0; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: var(--cyan); }

/* ─── Utility ──────────────────────────────── */
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.text-blue { color: var(--blue); }
.text-cyan { color: var(--cyan); }
.text-light { color: var(--text-light); }
.fw-bold { font-weight: 700; }
.rounded { border-radius: var(--radius); }
.hidden { display: none; }

/* ─── Animation ──────────────────────────────── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .6s ease forwards; }
