/* 红杏云 hongxing.cfd 旗舰企业级主题 (Crimson Enterprise Portal) */
:root {
  --bg-main: #0B0407;
  --bg-surface: #15070E;
  --bg-card: rgba(26, 9, 18, 0.88);
  --border-light: rgba(225, 29, 72, 0.22);
  --border-glow: rgba(225, 29, 72, 0.55);
  --primary: #E11D48;
  --primary-light: #FB7185;
  --primary-gradient: linear-gradient(135deg, #FB7185 0%, #E11D48 55%, #9F1239 100%);
  --gold-accent: #F59E0B;
  --text-pure: #FFFFFF;
  --text-body: #F3E8EC;
  --text-muted: #A38C95;
  --max-w: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg-main); color: var(--text-body); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.7; min-height: 100vh; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* Top Enterprise Marquee Banner */
.top-notice-strip { background: linear-gradient(90deg, #9F1239 0%, #E11D48 50%, #9F1239 100%); color: #FFF; padding: 8px 16px; font-size: 13px; font-weight: 600; text-align: center; display: flex; align-items: center; justify-content: center; gap: 10px; }
.top-notice-strip a { color: #FEF08A; text-decoration: underline; font-weight: 700; margin-left: 8px; }

/* Sticky Enterprise Header */
.portal-header { position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(20px); background: rgba(11, 4, 7, 0.92); border-bottom: 1px solid var(--border-light); }
.header-wrapper { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.portal-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #FFF; font-size: 21px; font-weight: 900; letter-spacing: -0.3px; }
.portal-brand img { width: 42px; height: 42px; border-radius: 10px; box-shadow: 0 4px 16px rgba(225,29,72,0.45); }
.portal-brand .brand-badge { background: rgba(225,29,72,0.2); border: 1px solid var(--primary); color: #FB7185; font-size: 11px; padding: 2px 8px; border-radius: 4px; margin-left: 4px; }
.portal-nav { display: flex; align-items: center; gap: 28px; list-style: none; }
.portal-nav a { color: var(--text-body); text-decoration: none; font-size: 14px; font-weight: 500; transition: all 0.2s; position: relative; }
.portal-nav a:hover, .portal-nav a.active { color: #FFF; }
.portal-nav a.active::after { content: ""; position: absolute; bottom: -8px; left: 0; right: 0; height: 2px; background: var(--primary); border-radius: 2px; }

/* Buttons */
.btn-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; font-size: 14px; }
.btn-cta-crimson { background: var(--primary-gradient); color: #FFF; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 6px 20px rgba(225,29,72,0.45); }
.btn-cta-crimson:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(225,29,72,0.7); }
.btn-cta-ghost { background: rgba(255,255,255,0.06); border: 1px solid var(--border-light); color: #FFF; }
.btn-cta-ghost:hover { background: rgba(225,29,72,0.15); border-color: var(--primary-light); }

/* Quick Section Jump Bar */
.section-jump-bar { display: flex; align-items: center; gap: 12px; margin: 24px 0 0; overflow-x: auto; padding-bottom: 6px; }
.jump-pill { font-size: 13px; color: var(--text-muted); background: rgba(255,255,255,0.04); border: 1px solid var(--border-light); padding: 6px 14px; border-radius: 20px; text-decoration: none; white-space: nowrap; transition: all 0.2s; }
.jump-pill:hover { background: rgba(225,29,72,0.18); color: #FFF; border-color: var(--primary); }

/* Split Enterprise Hero */
.enterprise-hero { padding: 60px 0 50px; position: relative; }
.hero-split-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; background: rgba(225,29,72,0.15); border: 1px solid var(--border-glow); border-radius: 6px; font-size: 13px; color: #FB7185; font-weight: 700; margin-bottom: 20px; }
.hero-headline { font-size: 44px; line-height: 1.22; color: #FFF; font-weight: 900; margin-bottom: 22px; letter-spacing: -0.8px; }
.hero-headline span { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 17px; color: var(--text-body); margin-bottom: 32px; line-height: 1.8; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }

/* Real-time Enterprise Telemetry Board */
.telemetry-board { background: var(--bg-card); border: 1px solid var(--border-glow); border-radius: 16px; padding: 26px; box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 30px rgba(225,29,72,0.25); position: relative; }
.telemetry-board::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary-gradient); border-radius: 16px 16px 0 0; }
.board-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(225,29,72,0.18); }
.board-title { font-size: 15px; font-weight: 800; color: #FFF; display: flex; align-items: center; gap: 8px; }
.board-status { font-size: 12px; color: #34D399; font-weight: 700; background: rgba(52,211,153,0.15); padding: 4px 10px; border-radius: 999px; }
.node-telemetry-list { display: flex; flex-direction: column; gap: 12px; }
.node-telemetry-item { display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.03); padding: 10px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.04); font-size: 13px; }
.node-city { font-weight: 700; color: #FFF; display: flex; align-items: center; gap: 8px; }
.node-spec { font-family: monospace; color: #FB7185; }
.node-ping { color: #34D399; font-weight: 700; }

/* 4-Stat Strip */
.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 40px 0 70px; }
.stat-box { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: 12px; padding: 22px; text-align: center; transition: all 0.3s; }
.stat-box:hover { border-color: var(--primary); transform: translateY(-3px); }
.stat-num { font-size: 34px; font-weight: 900; color: #FFF; line-height: 1.1; margin-bottom: 6px; }
.stat-num span { color: var(--primary-light); font-size: 20px; }
.stat-label { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* Bento Grid Architecture Showcase */
.bento-section { padding: 40px 0 70px; }
.section-headline { text-align: center; margin-bottom: 48px; }
.section-headline h2 { font-size: 34px; color: #FFF; font-weight: 900; margin-bottom: 12px; }
.section-headline p { font-size: 16px; color: var(--text-muted); max-width: 680px; margin: 0 auto; }
.bento-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.bento-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 14px; padding: 32px; transition: all 0.3s; }
.bento-card:hover { border-color: var(--primary-light); box-shadow: 0 10px 30px rgba(225,29,72,0.22); }
.bento-main { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.bento-icon { width: 48px; height: 48px; border-radius: 10px; background: rgba(225,29,72,0.15); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 20px; }
.bento-card h3 { font-size: 22px; color: #FFF; margin-bottom: 14px; font-weight: 800; }
.bento-card p { font-size: 15px; color: var(--text-body); line-height: 1.75; margin-bottom: 18px; }
.spec-tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.spec-tag { font-size: 12px; background: rgba(255,255,255,0.06); color: #FB7185; padding: 4px 10px; border-radius: 4px; font-weight: 600; }

/* High-Density Protocol & Comparison Matrix */
.matrix-section { padding: 40px 0 70px; }
.matrix-table-wrap { overflow-x: auto; background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: 14px; margin-top: 30px; }
.matrix-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.matrix-table th { background: rgba(225,29,72,0.15); color: #FFF; padding: 18px 20px; font-weight: 800; border-bottom: 1px solid var(--border-light); }
.matrix-table td { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--text-body); }
.matrix-table tr:hover td { background: rgba(225,29,72,0.06); }
.badge-pass { color: #34D399; font-weight: 700; }
.badge-fail { color: #9CA3AF; }

/* FAQ Accordion */
.faq-section { padding: 40px 0 80px; }
.faq-grid { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: 12px; padding: 22px 26px; }
.faq-question { font-size: 17px; font-weight: 800; color: #FFF; margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
.faq-answer { font-size: 14.5px; color: var(--text-body); line-height: 1.8; }

/* Portal Footer */
.portal-footer { background: #070204; border-top: 1px solid var(--border-light); padding: 60px 0 40px; margin-top: 60px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-brand-desc { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-top: 14px; }
.footer-col h4 { font-size: 16px; color: #FFF; font-weight: 800; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--text-muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: #FB7185; }

/* Ecosystem Bar */
.site-ecosystem-bar { background: rgba(255,255,255,0.02); border: 1px solid var(--border-light); border-radius: 12px; padding: 20px 24px; margin-bottom: 30px; }
.ecosystem-title { font-size: 13px; font-weight: 800; color: #FB7185; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.ecosystem-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-link { font-size: 13px; color: var(--text-body); background: rgba(225,29,72,0.1); border: 1px solid var(--border-light); padding: 6px 14px; border-radius: 6px; text-decoration: none; transition: all 0.2s; }
.footer-link:hover, .footer-link.current { background: var(--primary); color: #FFF; border-color: var(--primary-light); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; font-size: 13px; color: var(--text-muted); }

/* Quick Jump Dock */
.quick-jump-dock { position: fixed; right: 28px; bottom: 32px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; opacity: 0; pointer-events: none; transition: all 0.3s; }
.quick-jump-dock.visible { opacity: 1; pointer-events: auto; }
.jump-action-btn { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 30px; font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(0,0,0,0.5); transition: transform 0.2s; }
.jump-action-btn:hover { transform: translateY(-3px); }
.jump-top { background: #1F1017; border: 1px solid var(--border-glow); color: #FFF; }
.jump-official { background: var(--primary-gradient); color: #FFF; border: 1px solid rgba(255,255,255,0.3); }

/* Subpage Breadcrumb */
.breadcrumb-nav { padding: 18px 0; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.breadcrumb-nav a { color: var(--text-body); text-decoration: none; }
.breadcrumb-nav a:hover { color: #FB7185; }

/* Responsive */
@media (max-width: 980px) {
  .hero-split-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .portal-nav { display: none; }
}
