/* 红杏云 (HongXing Cloud) 旗舰官网 Crimson Tech Theme */
:root {
  --bg-dark: #0A0306;
  --bg-surface: #14050E;
  --bg-card: rgba(26, 7, 17, 0.88);
  --border: rgba(225, 29, 72, 0.28);
  --border-glow: rgba(225, 29, 72, 0.65);
  --primary: #E11D48;
  --primary-glow: #FB7185;
  --primary-gradient: linear-gradient(135deg, #FB7185 0%, #E11D48 50%, #9F1239 100%);
  --accent: #FDE047;
  --text-main: #FFF1F2;
  --text-sub: #E2D0D4;
  --text-muted: #9F8A90;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  --max-w: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg-dark); color: var(--text-sub); font-family: var(--font); line-height: 1.68; min-height: 100vh; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.navbar { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(16px); background: rgba(10,3,6,0.9); border-bottom: 1px solid var(--border); padding: 16px 0; }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #FFF; font-size: 20px; font-weight: 800; }
.brand img { width: 38px; height: 38px; border-radius: 8px; filter: drop-shadow(0 2px 8px rgba(225,29,72,0.4)); }
.brand span { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-menu { display: flex; align-items: center; gap: 24px; list-style: none; }
.nav-menu a { color: var(--text-sub); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--primary-glow); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: all 0.25s; cursor: pointer; border: none; font-size: 14px; }
.btn-primary { background: var(--primary-gradient); color: #FFF; box-shadow: 0 4px 18px rgba(225,29,72,0.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(225,29,72,0.65); }
.btn-outline { background: rgba(225,29,72,0.08); border: 1px solid var(--border); color: #FFF; }
.btn-outline:hover { background: rgba(225,29,72,0.18); border-color: var(--primary-glow); }

/* Split Hero */
.hero { padding: 80px 0 50px; }
.hero-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; background: rgba(225,29,72,0.12); border: 1px solid var(--border); border-radius: 999px; font-size: 13px; color: var(--primary-glow); margin-bottom: 20px; font-weight: 600; }
.hero h1 { font-size: 42px; line-height: 1.25; color: #FFF; font-weight: 900; margin-bottom: 20px; letter-spacing: -0.5px; }
.hero h1 span { background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 17px; color: var(--text-sub); margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 30px; }

/* Real-time telemetry monitor */
.monitor-card { background: var(--bg-card); border: 1px solid var(--border-glow); border-radius: 20px; padding: 24px; box-shadow: 0 12px 36px rgba(225,29,72,0.25); position: relative; overflow: hidden; }
.monitor-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--primary-gradient); }
.monitor-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid rgba(225,29,72,0.15); }
.monitor-status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #10B981; font-weight: 700; }
.monitor-dot { width: 8px; height: 8px; border-radius: 50%; background: #10B981; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }
.monitor-grid { display: grid; gap: 12px; }
.monitor-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 8px 12px; background: rgba(255,255,255,0.03); border-radius: 8px; }

/* Metrics */
.metrics-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 50px 0; }
.metric-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; text-align: center; }
.metric-val { font-size: 32px; font-weight: 900; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.metric-lbl { font-size: 13px; color: var(--text-muted); margin-top: 6px; font-weight: 500; }

/* Section Grid */
.section-title { text-align: center; margin: 60px 0 40px; }
.section-title h2 { font-size: 32px; color: #FFF; font-weight: 800; margin-bottom: 12px; }
.section-title p { color: var(--text-muted); font-size: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px; transition: all 0.3s; }
.card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 10px 30px rgba(225,29,72,0.25); }
.card-icon { font-size: 32px; margin-bottom: 14px; }
.card h3 { font-size: 19px; color: #FFF; margin-bottom: 10px; font-weight: 700; }
.card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.card-link { display: inline-block; margin-top: 14px; color: var(--primary-glow); font-size: 13px; font-weight: 700; text-decoration: none; }

/* Table */
.compare-table-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 24px; overflow-x: auto; margin-top: 30px; }
.compare-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 14px; }
.compare-table th, .compare-table td { padding: 14px 18px; border-bottom: 1px solid rgba(225,29,72,0.12); }
.compare-table th { color: #FFF; font-weight: 700; background: rgba(225,29,72,0.06); }
.compare-highlight { color: #10B981; font-weight: 700; }

/* Breadcrumb */
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--primary-glow); text-decoration: none; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 50px 0 30px; background: rgba(10,3,6,0.98); margin-top: 80px; }
.footer-links-box { margin-bottom: 30px; padding: 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; }
.footer-links-title { font-size: 14px; font-weight: 700; color: #FFF; margin-bottom: 16px; }
.footer-links-grid { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.footer-links-grid a { color: var(--text-muted); font-size: 13px; text-decoration: none; }
.footer-links-grid a:hover { color: var(--primary-glow); }
.footer-copy { text-align: center; font-size: 13px; color: var(--text-muted); padding-top: 20px; border-top: 1px solid rgba(225,29,72,0.1); }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
  .grid-3, .metrics-row { grid-template-columns: 1fr; }
  .nav-menu { display: none; }
  .hero h1 { font-size: 32px; }
}
