/* =============================================
   拓元云酒店管理软件 - 全局样式
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #1a56db;
  --primary-dark: #1240b0;
  --primary-light: #3b82f6;
  --accent: #f97316;
  --accent2: #06b6d4;
  --dark: #0f172a;
  --dark2: #1e293b;
  --dark3: #334155;
  --mid: #64748b;
  --light: #f8fafc;
  --light2: #f1f5f9;
  --border: #e2e8f0;
  --white: #ffffff;
  --success: #22c55e;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);
  --font: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}

/* =============================================
   公共样式
   ============================================= */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 5px 16px;
  background: rgba(26, 86, 219, .1);
  color: var(--primary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: 16px;
  border: 1px solid rgba(26, 86, 219, .2);
}

.section-badge.light {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.section-desc {
  font-size: 17px;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all .3s;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(26, 86, 219, .4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 86, 219, .5);
}

.btn-primary.small { padding: 10px 22px; font-size: 14px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all .3s;
  border: 1.5px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255,255,255,.2);
  transform: translateY(-2px);
}

/* =============================================
   导航栏
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all .4s;
}

.navbar.scrolled {
  background: rgba(15, 23, 42, .95);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 28px;
  color: var(--primary-light);
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, .6));
}

.logo-text em { color: var(--primary-light); font-style: normal; }

.logo-sub {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  font-weight: 400;
  margin-left: -4px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: all .25s;
}

.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }

.nav-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 16px rgba(26, 86, 219, .4);
}

.nav-btn:hover { box-shadow: 0 6px 24px rgba(26, 86, 219, .6) !important; background: rgba(255,255,255,.1) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; margin-left: auto; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }

/* =============================================
   Hero Banner
   ============================================= */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0f1e 0%, #0f1f3d 40%, #0d1b36 70%, #0a1628 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 24px 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, .06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: .4;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: .4; }
  90% { opacity: .4; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59, 130, 246, .15);
  border: 1px solid rgba(59, 130, 246, .3);
  border-radius: 999px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp .6s ease both;
}

.badge-dot {
  width: 7px; height: 7px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .7; }
}

.hero-title {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -.03em;
  animation: fadeInUp .6s .1s ease both;
}

.title-line { display: block; }

.gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInUp .6s .2s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  animation: fadeInUp .6s .3s ease both;
  flex-wrap: wrap;
  gap: 0;
}

.stat-item {
  padding: 0 24px;
  text-align: center;
  position: relative;
}

.stat-item:first-child { padding-left: 0; }

.stat-num {
  font-size: 32px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: inline;
}

.stat-unit {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-light);
}

.stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  animation: fadeInUp .6s .4s ease both;
  flex-wrap: wrap;
}

/* ---- Dashboard Mockup ---- */
.hero-visual {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 40px;
}

.dashboard-mockup {
  width: 100%;
  max-width: 560px;
  background: rgba(15, 25, 50, .9);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, .2);
  box-shadow: 0 20px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(59,130,246,.1), inset 0 1px 0 rgba(255,255,255,.05);
  overflow: hidden;
  animation: fadeInRight .8s .3s ease both;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }
.mockup-title { font-size: 12px; color: rgba(255,255,255,.5); margin-left: 8px; }

.mockup-body { display: flex; height: 380px; }

.mockup-sidebar {
  width: 90px;
  background: rgba(255,255,255,.03);
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 6px;
  font-size: 11px;
  color: rgba(255,255,255,.4);
  border-radius: 8px;
  margin: 0 6px;
  cursor: pointer;
  transition: all .2s;
}

.sidebar-item:hover, .sidebar-item.active {
  background: rgba(59, 130, 246, .15);
  color: #60a5fa;
}

.sidebar-item span:first-child { font-size: 18px; }

.mockup-main {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mockup-main::-webkit-scrollbar { width: 3px; }
.mockup-main::-webkit-scrollbar-track { background: transparent; }
.mockup-main::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 2px; }

.mockup-cards { display: flex; gap: 8px; }

.m-card {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.m-card.blue { background: linear-gradient(135deg, rgba(37, 99, 235, .5), rgba(37, 99, 235, .2)); border: 1px solid rgba(37, 99, 235, .3); }
.m-card.green { background: linear-gradient(135deg, rgba(5, 150, 105, .5), rgba(5, 150, 105, .2)); border: 1px solid rgba(5, 150, 105, .3); }
.m-card.orange { background: linear-gradient(135deg, rgba(249, 115, 22, .5), rgba(249, 115, 22, .2)); border: 1px solid rgba(249, 115, 22, .3); }

.m-card-label { font-size: 10px; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.m-card-value { font-size: 20px; font-weight: 800; color: #fff; line-height: 1; }
.m-card-value small { font-size: 13px; font-weight: 600; }
.m-card-trend { font-size: 10px; color: #4ade80; margin-top: 4px; }

.mockup-chart {
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.06);
}

.chart-title { font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 8px; }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
}

.chart-bar {
  flex: 1;
  background: rgba(59, 130, 246, .3);
  border-radius: 4px 4px 0 0;
  height: var(--h);
  position: relative;
  transition: all .5s ease;
  cursor: pointer;
}

.chart-bar.active { background: rgba(59, 130, 246, .8); }
.chart-bar:hover { background: rgba(59, 130, 246, .6); }

.chart-bar span {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  color: rgba(255,255,255,.3);
  white-space: nowrap;
}

.mockup-rooms {
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.06);
}

.room-title { font-size: 11px; color: rgba(255,255,255,.5); margin-bottom: 8px; }

.room-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.room {
  padding: 4px 2px;
  border-radius: 5px;
  font-size: 9px;
  text-align: center;
  font-weight: 600;
}

.room.occupied { background: rgba(34, 197, 94, .3); color: #4ade80; border: 1px solid rgba(34, 197, 94, .3); }
.room.vacant { background: rgba(59, 130, 246, .3); color: #60a5fa; border: 1px solid rgba(59, 130, 246, .3); }
.room.cleaning { background: rgba(249, 115, 22, .3); color: #fb923c; border: 1px solid rgba(249, 115, 22, .3); }
.room.repair { background: rgba(239, 68, 68, .3); color: #f87171; border: 1px solid rgba(239, 68, 68, .3); }

.room-legend { display: flex; gap: 10px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 4px; font-size: 9px; color: rgba(255,255,255,.4); }

.legend-item i {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 2px;
}

.legend-item i.occupied { background: rgba(34, 197, 94, .6); }
.legend-item i.vacant { background: rgba(59, 130, 246, .6); }
.legend-item i.cleaning { background: rgba(249, 115, 22, .6); }
.legend-item i.repair { background: rgba(239, 68, 68, .6); }

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: 12px;
  animation: fadeIn 1s 1s both;
}

.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,.3);
  border-bottom: 2px solid rgba(255,255,255,.3);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* =============================================
   功能特色
   ============================================= */
.features {
  padding: 100px 0;
  background: var(--light);
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  transition: all .35s;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  cursor: default;
}

.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .6s ease, transform .6s ease, box-shadow .35s, border-color .35s;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent2));
  transform: scaleX(0);
  transition: transform .35s;
  transform-origin: left;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-card:hover {
  border-color: rgba(26, 86, 219, .2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) !important;
}

.feature-icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 20%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--c);
  transition: transform .3s;
}

.feature-card:hover .feature-icon-wrap { transform: scale(1.1) rotate(-3deg); }

.feature-icon { width: 28px; height: 28px; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.feature-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feature-list li {
  font-size: 13px;
  color: var(--dark3);
  padding-left: 16px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

/* =============================================
   解决方案
   ============================================= */
.solutions {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f1f3d 0%, #0a1628 50%, #0d1735 100%);
  position: relative;
  overflow: hidden;
}

.solutions::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, .04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.solutions .section-title { color: #fff; }

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 28px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.2);
  background: transparent;
  color: rgba(255,255,255,.7);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all .3s;
  font-family: var(--font);
}

.tab-btn:hover { border-color: rgba(255,255,255,.4); color: #fff; }

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 86, 219, .4);
}

.tab-contents { position: relative; }
.tab-content { display: none; }
.tab-content.active { display: block; animation: tabFadeIn .4s ease; }

@keyframes tabFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.solution-content {
  display: flex;
  gap: 60px;
  align-items: center;
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  padding: 48px;
}

.solution-text { flex: 1; }

.solution-text h3 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.solution-text p {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.solution-points { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }

.point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.point-icon {
  color: var(--primary-light);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.point strong { color: #fff; font-weight: 600; font-size: 14px; display: block; margin-bottom: 2px; }
.point div { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.5; }

.solution-visual { flex-shrink: 0; width: 280px; }

/* Chain diagram */
.chain-diagram {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.chain-center {
  width: 110px; height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 0 30px rgba(26, 86, 219, .5);
  border: 2px solid rgba(255,255,255,.2);
}

.chain-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.chain-branch {
  padding: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  color: rgba(255,255,255,.8);
  font-size: 12px;
  text-align: center;
  font-weight: 500;
}

/* Phone mockup */
.phone-mockup {
  width: 160px;
  margin: 0 auto;
  background: rgba(15, 25, 50, .8);
  border-radius: 24px;
  border: 2px solid rgba(255,255,255,.1);
  padding: 20px 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}

.phone-screen { display: flex; flex-direction: column; gap: 10px; }

.phone-header {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  text-align: center;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.phone-metric {
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.phone-metric span { font-size: 11px; color: rgba(255,255,255,.5); }
.phone-metric strong { font-size: 13px; font-weight: 700; color: #60a5fa; }

/* Resort icons */
.resort-icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.resort-icon {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 18px 12px;
  text-align: center;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 500;
}

/* Boutique cards */
.boutique-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.boutique-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 14px 16px;
  color: rgba(255,255,255,.8);
  font-weight: 600;
  font-size: 14px;
}

.boutique-card small { font-size: 12px; font-weight: 400; color: #4ade80; }

/* =============================================
   开放平台
   ============================================= */
.platform {
  padding: 100px 0;
  background: var(--white);
  overflow: hidden;
}

.platform-center {
  position: relative;
  width: 600px;
  height: 600px;
  margin: 0 auto 60px;
}

.platform-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.core-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(26, 86, 219, .15);
  animation: rotateSlow linear infinite;
}

.ring1 { width: 120px; height: 120px; animation-duration: 8s; }
.ring2 { width: 200px; height: 200px; animation-duration: 15s; border-style: dashed; animation-direction: reverse; }
.ring3 { width: 280px; height: 280px; animation-duration: 20s; border-color: rgba(26, 86, 219, .08); }

@keyframes rotateSlow { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }

.core-logo {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 0 40px rgba(26, 86, 219, .4), 0 0 0 4px rgba(26, 86, 219, .1);
  position: relative;
}

.core-logo small { font-size: 9px; font-weight: 600; }

.platform-nodes { position: absolute; inset: 0; }

.pnode {
  position: absolute;
  top: 50%; left: 50%;
  transform-origin: 0 0;
  transform: rotate(var(--angle)) translateX(220px) rotate(calc(-1 * var(--angle)));
}

.pnode-card {
  transform: translate(-50%, -50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  box-shadow: var(--shadow);
  white-space: nowrap;
  transition: all .3s;
  cursor: default;
  min-width: 90px;
}

.pnode-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(26, 86, 219, .2);
  transform: translate(-50%, -50%) scale(1.05);
}

.pnode-card span { font-size: 18px; display: block; margin-bottom: 2px; }
.pnode-card small { font-size: 10px; color: var(--mid); font-weight: 400; display: block; }

.platform-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pf-item {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: var(--light);
  border: 1px solid var(--border);
  transition: all .3s;
}

.pf-item:hover {
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(26, 86, 219, .2);
}

.pf-icon { font-size: 32px; margin-bottom: 12px; }
.pf-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.pf-item p { font-size: 13px; color: var(--mid); line-height: 1.6; }

/* =============================================
   核心优势
   ============================================= */
.advantages {
  padding: 100px 0;
  background: var(--light);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.adv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: all .3s;
}

.adv-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 86, 219, .2);
  transform: translateY(-3px);
}

.adv-card.large { grid-column: span 2; }
.adv-card.right { }

.adv-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(26, 86, 219, .08);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

.adv-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}

.adv-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.7;
}

.adv-metrics {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.adv-metric { text-align: center; }
.adv-metric strong { display: block; font-size: 22px; font-weight: 800; color: var(--primary); }
.adv-metric span { font-size: 12px; color: var(--mid); }

.adv-bg-icon {
  position: absolute;
  bottom: -10px; right: 16px;
  font-size: 80px;
  opacity: .06;
  pointer-events: none;
}

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.partner-tag {
  padding: 4px 12px;
  background: rgba(26, 86, 219, .08);
  border: 1px solid rgba(26, 86, 219, .15);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}

/* =============================================
   服务客户
   ============================================= */
.clients {
  padding: 100px 0;
  background: var(--white);
}

.clients-marquee-wrap {
  overflow: hidden;
  margin-bottom: 60px;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients-marquee { overflow: hidden; }

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-track:hover { animation-play-state: paused; }

.client-logo-item { flex-shrink: 0; }

.client-logo {
  padding: 14px 28px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark3);
  white-space: nowrap;
  transition: all .3s;
}

.client-logo:hover {
  background: var(--white);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
  transition: all .3s;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(26, 86, 219, .2);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 64px;
  line-height: .8;
  color: rgba(26, 86, 219, .15);
  font-family: Georgia, serif;
  margin-bottom: 8px;
}

.testimonial-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--dark3);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.testimonial-author strong { font-size: 14px; color: var(--dark); }
.testimonial-author small { font-size: 12px; color: var(--mid); display: block; }

/* =============================================
   联系咨询
   ============================================= */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, #0f1f3d 0%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}

.contact-bg { position: absolute; inset: 0; pointer-events: none; }

.contact-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .15;
}

.contact-shape.s1 {
  width: 500px; height: 500px;
  background: var(--primary);
  top: -200px; left: -100px;
}

.contact-shape.s2 {
  width: 400px; height: 400px;
  background: var(--accent2);
  bottom: -150px; right: -100px;
}

.contact-inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.contact-left { flex: 1; position: relative; z-index: 1; }

.contact-left h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-left > p {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
}

.benefit span {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .2);
  border: 1px solid rgba(34, 197, 94, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #4ade80;
  flex-shrink: 0;
}

.contact-info { display: flex; flex-direction: column; gap: 10px; }

.info-item { font-size: 14px; color: rgba(255,255,255,.6); }

.contact-right {
  flex: 1;
  position: relative;
  z-index: 1;
}

.contact-form {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 36px;
}

.form-row { display: flex; gap: 16px; margin-bottom: 16px; }
.form-group { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.form-group.full { margin-bottom: 20px; }

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.8);
}

.required { color: #f87171; }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 14px;
  font-family: var(--font);
  transition: all .25s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.3); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-light);
  background: rgba(255,255,255,.1);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}

.form-group select option { background: #1e293b; color: #fff; }

.form-group textarea { resize: vertical; min-height: 80px; }

.form-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all .3s;
  box-shadow: 0 4px 20px rgba(26, 86, 219, .4);
  margin-bottom: 12px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(26, 86, 219, .5);
}

.form-privacy { font-size: 12px; color: rgba(255,255,255,.35); text-align: center; }

/* =============================================
   页脚
   ============================================= */
.footer {
  background: #050d1f;
  color: rgba(255,255,255,.5);
}

.footer-top {
  display: flex;
  gap: 80px;
  padding: 64px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand { flex-shrink: 0; max-width: 240px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-logo em { color: var(--primary-light); font-style: normal; }

.footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}

.social-links { display: flex; gap: 10px; }

.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: all .25s;
  cursor: pointer;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.footer-links {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color .25s;
}

.footer-col a:hover { color: rgba(255,255,255,.9); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.3); }

.footer-certifications { display: flex; gap: 8px; }

.cert-badge {
  padding: 3px 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255,255,255,.4);
}

/* =============================================
   返回顶部 & 浮动客服
   ============================================= */
.back-to-top {
  position: fixed;
  bottom: 90px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all .3s;
  box-shadow: 0 4px 16px rgba(26, 86, 219, .4);
  z-index: 500;
}

.back-to-top.visible { opacity: 1; transform: none; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26, 86, 219, .5); }

.float-service {
  position: fixed;
  bottom: 30px; right: 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.float-btn {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(26, 86, 219, .5);
  transition: all .3s;
  position: relative;
}

.float-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(26, 86, 219, .3);
  animation: floatPulse 2s ease-in-out infinite;
}

@keyframes floatPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0; }
}

.float-btn:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(26, 86, 219, .6); }

.float-tooltip {
  background: var(--dark);
  color: #fff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: all .25s;
}

.float-service:hover .float-tooltip { opacity: 1; transform: none; }

/* =============================================
   模态弹窗
   ============================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: all .3s;
}

.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  transform: scale(.9);
  transition: transform .3s;
}

.modal-overlay.active .modal { transform: scale(1); }

.modal-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(34, 197, 94, .4);
}

.modal h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.modal p { font-size: 14px; color: var(--mid); margin-bottom: 24px; }

.modal-close {
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all .3s;
}

.modal-close:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26, 86, 219, .4); }

/* =============================================
   动画
   ============================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: none; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =============================================
   响应式
   ============================================= */
@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 100px; gap: 60px; }
  .hero-content { max-width: 100%; }
  .hero-visual { padding-left: 0; width: 100%; }
  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-center { width: 480px; height: 480px; }
  .pnode { transform: rotate(var(--angle)) translateX(180px) rotate(calc(-1 * var(--angle))); }
  .platform-features { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-card.large { grid-column: span 2; }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .contact-inner { flex-direction: column; gap: 48px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .features-grid { grid-template-columns: 1fr; }
  .solution-content { flex-direction: column; padding: 28px; gap: 32px; }
  .solution-visual { width: 100%; }
  .platform-center { width: 320px; height: 320px; }
  .pnode { transform: rotate(var(--angle)) translateX(120px) rotate(calc(-1 * var(--angle))); }
  .pnode-card { padding: 6px 8px; font-size: 10px; min-width: 70px; }
  .pnode-card span { font-size: 14px; }
  .platform-features { grid-template-columns: 1fr 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .adv-card.large { grid-column: span 1; }
  .testimonials { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .form-row { flex-direction: column; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .dashboard-mockup { max-width: 100%; }
  .mockup-screenshot-img { height: 220px; }
}

/* ========== 截图模式仪表盘 ========== */
.dashboard-mockup.screenshot-mode {
  padding: 0;
  overflow: hidden;
  background: #0d1117;
  border: 1px solid rgba(99,179,237,0.25);
  box-shadow: 0 0 0 1px rgba(99,179,237,0.1),
              0 30px 80px rgba(0,0,0,0.6),
              0 0 60px rgba(56,139,253,0.15);
}

.dashboard-mockup.screenshot-mode .mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: #161b22;
  border-bottom: 1px solid rgba(99,179,237,0.15);
}

.mockup-live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: #3fb950;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3fb950;
  animation: livePulse 1.4s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}

.mockup-screenshot-wrap {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.mockup-screenshot-img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  object-position: top left;
  display: block;
  animation: slowScroll 12s ease-in-out infinite alternate;
}

@keyframes slowScroll {
  0%   { object-position: top left; }
  100% { object-position: bottom left; }
}

.screenshot-overlay-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(to top, rgba(13,17,23,0.88) 0%, transparent 100%);
}

.overlay-tag {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}
.overlay-tag.green  { background: rgba(63,185,80,0.2);  color: #3fb950; border: 1px solid rgba(63,185,80,0.35); }
.overlay-tag.purple { background: rgba(139,92,246,0.2); color: #a78bfa; border: 1px solid rgba(139,92,246,0.35); }
.overlay-tag.blue   { background: rgba(56,139,253,0.2); color: #58a6ff; border: 1px solid rgba(56,139,253,0.35); }
.overlay-tag.orange { background: rgba(251,146,60,0.2); color: #fb923c; border: 1px solid rgba(251,146,60,0.35); }

/* ========== 客房看板模式 ========== */
.dashboard-mockup.room-board-mode {
  padding: 0;
  overflow: hidden;
  background: #1a1f2e;
  border: 1px solid rgba(99,179,237,0.2);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 50px rgba(56,139,253,0.12);
  border-radius: 12px;
  font-size: 10px;
  color: #c9d1d9;
  max-height: 420px;
  display: flex;
  flex-direction: column;
}

/* 顶部系统导航栏 */
.rb-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #0f1621;
  border-bottom: 1px solid rgba(99,179,237,0.15);
  flex-shrink: 0;
}
.rb-logo { display: flex; align-items: center; gap: 4px; margin-right: 8px; }
.rb-logo-icon {
  width: 18px; height: 18px; border-radius: 4px;
  background: linear-gradient(135deg,#2563eb,#7c3aed);
  color: #fff; font-size: 8px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.rb-logo-name { font-size: 9px; color: #e6edf3; font-weight: 600; white-space: nowrap; }
.rb-nav { display: flex; gap: 8px; flex: 1; }
.rb-nav span { font-size: 9px; color: #8b949e; cursor: default; padding: 2px 4px; border-radius: 3px; white-space: nowrap; }
.rb-nav-active { color: #58a6ff !important; background: rgba(56,139,253,0.12) !important; }
.rb-user { display: flex; align-items: center; gap: 4px; font-size: 9px; color: #8b949e; white-space: nowrap; }
.rb-live-dot { width: 5px; height: 5px; border-radius: 50%; background: #3fb950; animation: livePulse 1.4s ease-in-out infinite; }

/* 状态筛选栏 */
.rb-filterbar {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: #161b27;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
  flex-wrap: wrap;
}
.rb-f-item {
  padding: 1px 6px; border-radius: 3px; font-size: 9px; font-weight: 600; cursor: default;
  border: 1px solid transparent;
}
.rb-f-all    { color: #c9d1d9; border-color: rgba(201,209,217,0.2); }
.rb-f-green  { color: #3fb950; border-color: rgba(63,185,80,0.3); background: rgba(63,185,80,0.08); }
.rb-f-gray   { color: #8b949e; border-color: rgba(139,148,158,0.3); background: rgba(139,148,158,0.08); }
.rb-f-lblue  { color: #79c0ff; border-color: rgba(121,192,255,0.3); background: rgba(121,192,255,0.08); }
.rb-f-purple { color: #d2a8ff; border-color: rgba(210,168,255,0.3); background: rgba(210,168,255,0.08); }
.rb-f-yellow { color: #e3b341; border-color: rgba(227,179,65,0.3); background: rgba(227,179,65,0.08); }
.rb-f-orange { color: #f0883e; border-color: rgba(240,136,62,0.3); background: rgba(240,136,62,0.08); }
.rb-f-blue   { color: #58a6ff; border-color: rgba(88,166,255,0.3); background: rgba(88,166,255,0.08); }
.rb-refresh  { margin-left: auto; padding: 1px 8px; border-radius: 3px; background: rgba(56,139,253,0.15); color: #58a6ff; font-size: 9px; cursor: default; border: 1px solid rgba(56,139,253,0.3); }

/* 主体 */
.rb-main {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* 侧边栏 */
.rb-sidebar {
  width: 90px;
  flex-shrink: 0;
  background: #141920;
  border-right: 1px solid rgba(255,255,255,0.06);
  overflow-y: auto;
  padding: 6px 4px;
}
.rb-sidebar-block { margin-bottom: 8px; }
.rb-sb-title { font-size: 9px; font-weight: 700; color: #58a6ff; padding: 2px 4px 4px; }
.rb-sb-row  { display: flex; justify-content: space-between; padding: 1px 4px; font-size: 8.5px; color: #8b949e; gap: 4px; }
.rb-sb-row2 { display: flex; align-items: center; gap: 4px; padding: 1px 4px; font-size: 8.5px; color: #8b949e; }
.rb-num-red { color: #f85149; }
.rb-tag-blue   { padding: 0 3px; background: rgba(88,166,255,0.15); color: #58a6ff; border-radius: 2px; font-size: 8px; }
.rb-tag-purple { padding: 0 3px; background: rgba(210,168,255,0.15); color: #d2a8ff; border-radius: 2px; font-size: 8px; }
.rb-tag-sm { color: #3fb950; font-size: 8px; }

/* 客房区域 */
.rb-rooms-area {
  flex: 1;
  overflow-y: auto;
  padding: 6px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(88,166,255,0.2) transparent;
}
.rb-floor-label {
  font-size: 9px; font-weight: 700; color: #e6edf3;
  padding: 3px 0 4px; border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 5px;
}
.rb-room-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 3px;
  margin-bottom: 8px;
}
.rb-room {
  border-radius: 4px;
  padding: 3px 3px 2px;
  min-height: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  cursor: default;
  transition: transform 0.15s;
}
.rb-room:hover { transform: scale(1.06); z-index: 2; }
.rb-rnum { font-size: 8.5px; font-weight: 700; color: #fff; line-height: 1.2; }
.rb-rtype { font-size: 7.5px; color: rgba(255,255,255,0.7); line-height: 1.2; }
.rb-badge {
  position: absolute; top: 2px; left: 2px;
  font-size: 6.5px; color: #fff;
  background: rgba(0,0,0,0.35); border-radius: 2px; padding: 0 2px;
  line-height: 1.4; white-space: nowrap;
}
.rb-badge2 {
  position: absolute; top: 2px; left: 2px; right: 2px;
  font-size: 6px; color: rgba(255,255,255,0.85);
  line-height: 1.4; white-space: nowrap; overflow: hidden;
}

/* 颜色 */
.rb-green  { background: #1f7a3a; border: 1px solid rgba(63,185,80,0.4); }
.rb-purple { background: #4c1d7e; border: 1px solid rgba(210,168,255,0.3); }
.rb-blue   { background: #1e3a6e; border: 1px solid rgba(88,166,255,0.4); }
.rb-orange { background: #7c3a10; border: 1px solid rgba(240,136,62,0.4); }
.rb-red    { background: #6e1a1a; border: 1px solid rgba(248,81,73,0.4); }
.rb-yellow { background: #5c4a00; border: 1px solid rgba(227,179,65,0.4); }
.rb-gray   { background: #2d333b; border: 1px solid rgba(139,148,158,0.3); }

/* 底部图例 */
.rb-legend {
  display: flex;
  gap: 10px;
  padding: 5px 10px;
  background: #0f1621;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.rb-legend span {
  display: flex; align-items: center; gap: 3px;
  font-size: 8.5px; color: #8b949e;
}
.rbl {
  display: inline-block; width: 8px; height: 8px; border-radius: 2px;
}
