/* ========== 华世用工风险自检系统 - C端全局样式 V4.0 ==========
   设计理念：高端商务风 - 墨蓝深邃 + 鎏金质感 + 衬线标题 + 精致留白
   设计语言：法律合规行业的权威感 + 金融级的精致度
   兼容性：Chrome 60+ / Firefox 55+ / Safari 12+ / Edge 79+
   响应式：移动优先，断点 480/768/1024/1280
================================================================ */

/* ========== Google Fonts ========== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ========== CSS Variables ========== */
:root {
  /* 主色调 - 墨蓝深邃 */
  --primary: #162d50;
  --primary-dark: #0d1f3c;
  --primary-light: #1e4078;
  --primary-bg: #eef2f8;
  --primary-bg-deep: #e2e8f0;
  --accent: #2b5cbd;
  --accent-dark: #1e40af;
  --accent-light: #3b82f6;
  --accent-bg: #dbeafe;
  /* 鎏金质感 - 高端品质 */
  --gold: #c9a96e;
  --gold-dark: #a8895a;
  --gold-light: #f0e6d3;
  --gold-bright: #e8c89a;
  --gold-gradient: linear-gradient(135deg, #d4af6a 0%, #c9a96e 40%, #b8945a 100%);
  --gold-gradient-bright: linear-gradient(135deg, #f0d49a 0%, #d4af6a 50%, #b8945a 100%);
  /* 语义色 */
  --success: #15803d;
  --success-bg: #f0fdf4;
  --warning: #b45309;
  --warning-bg: #fffbeb;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --info: #0e7490;
  /* 文字 */
  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-light: #94a3b8;
  --text-tertiary: #cbd5e1;
  --text-white: #f8fafc;
  --text-gold: #9a7d4f;
  --orange: #ea580c;
  /* 背景 */
  --bg-gray: #f5f6f8;
  --bg-warm: #faf8f5;
  --bg-white: #ffffff;
  --bg-dark: #0a1525;
  --bg-darker: #060d1a;
  /* 边框 */
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-dark: #cbd5e1;
  /* 阴影 - 更精致的层次系统 */
  --shadow-xs: 0 1px 2px rgba(15,23,42,.04);
  --shadow-sm: 0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.03);
  --shadow: 0 4px 6px -1px rgba(15,23,42,.07), 0 2px 4px -2px rgba(15,23,42,.04);
  --shadow-md: 0 8px 16px -4px rgba(15,23,42,.08), 0 4px 6px -4px rgba(15,23,42,.04);
  --shadow-lg: 0 20px 30px -8px rgba(15,23,42,.12), 0 8px 12px -6px rgba(15,23,42,.05);
  --shadow-xl: 0 30px 50px -12px rgba(15,23,42,.18);
  --shadow-gold: 0 8px 24px -4px rgba(201,169,110,.3);
  --shadow-blue: 0 8px 24px -4px rgba(43,92,189,.25);
  /* 圆角 */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
  /* 过渡 */
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --transition-fast: all .15s cubic-bezier(.4,0,.2,1);
  /* 布局 */
  --navbar-height: 72px;
  --container-max: 1200px;
  /* 字体 */
  --font-display: 'Playfair Display', 'Noto Serif SC', 'Songti SC', 'STSong', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

/* ========== Reset ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-gray);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-dark); }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: middle; }
button { cursor: pointer; font-family: inherit; border: none; outline: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 14px; outline: none; }
::selection { background: var(--accent-bg); color: var(--accent-dark); }

/* 滚动条 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-gray); }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 4px; border: 2px solid var(--bg-gray); }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* ========== Layout ========== */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 768px; margin: 0 auto; padding: 0 24px; }

/* ========== Navbar ========== */
.navbar {
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  backdrop-filter: saturate(180%) blur(24px);
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 4px 20px rgba(15,23,42,.04);
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(226,232,240,.6);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.navbar-brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: -.02em;
}
.navbar-brand .logo {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(22,45,80,.3), inset 0 1px 0 rgba(255,255,255,.15);
  position: relative;
  overflow: hidden;
}
.navbar-brand .logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}
.navbar-brand .brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.navbar-brand .brand-text .brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .01em;
}
.navbar-brand .brand-text .brand-slogan {
  font-size: 10px;
  color: var(--gold);
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.navbar-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.navbar-nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  letter-spacing: .01em;
}
.navbar-nav a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 1px;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  transform: translateX(-50%);
}
.navbar-nav a:hover, .navbar-nav a.active {
  color: var(--primary);
}
.navbar-nav a:hover::after, .navbar-nav a.active::after {
  width: 100%;
}
.navbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.navbar-phone {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  letter-spacing: .02em;
}
.navbar-phone .phone-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.navbar-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}
.navbar-toggle:hover { background: var(--primary-bg); }
.navbar-toggle .hamburger {
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 1px;
  position: relative;
  transition: var(--transition);
}
.navbar-toggle .hamburger::before,
.navbar-toggle .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--text-main);
  border-radius: 1px;
  transition: var(--transition);
}
.navbar-toggle .hamburger::before { top: -7px; }
.navbar-toggle .hamburger::after { top: 7px; }
.navbar-toggle.active .hamburger { background: transparent; }
.navbar-toggle.active .hamburger::before { transform: rotate(45deg); top: 0; }
.navbar-toggle.active .hamburger::after { transform: rotate(-45deg); top: 0; }

/* 移动端菜单遮罩 */
.navbar-overlay {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,21,37,.5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  z-index: 999;
  opacity: 0;
  transition: opacity .3s ease;
}
.navbar-overlay.active {
  display: block;
  opacity: 1;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: .02em;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(43,92,189,.25), inset 0 1px 0 rgba(255,255,255,.15);
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
  transition: left .5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(43,92,189,.35), inset 0 1px 0 rgba(255,255,255,.2);
  transform: translateY(-2px);
  color: #fff;
}
.btn-gold {
  background: var(--gold-gradient);
  color: #fff;
  box-shadow: 0 2px 8px rgba(201,169,110,.35), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn-gold:hover {
  box-shadow: 0 6px 20px rgba(201,169,110,.45), inset 0 1px 0 rgba(255,255,255,.25);
  transform: translateY(-2px);
  color: #fff;
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-dark);
  color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-bg);
}
.btn-outline-white {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { background: #991b1b; color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-success:hover { background: #166534; color: #fff; }
.btn-lg { padding: 15px 40px; font-size: 16px; }
.btn-sm { padding: 7px 16px; font-size: 12px; }
.btn-block { width: 100%; }

/* ========== Hero ========== */
.hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 90px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* 渐变光晕 */
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(43,92,189,.18) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 8s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatGlow 10s ease-in-out infinite alternate-reverse;
}
@keyframes floatGlow {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -20px) scale(1.1); }
}
/* 噪点纹理叠加 */
.hero .grain-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: .03;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' /%3E%3C/svg%3E");
}
/* 顶部金色线条装饰 */
.hero .top-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 2px;
  background: var(--gold-gradient-bright);
  opacity: .6;
}
.hero .container { position: relative; z-index: 1; }
.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: rgba(255,255,255,.85);
  margin-bottom: 28px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  letter-spacing: .03em;
}
.hero .hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--gold-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--gold-bright);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
.hero h1 {
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -.02em;
  line-height: 1.25;
  text-shadow: 0 2px 30px rgba(0,0,0,.15);
}
.hero h1 .highlight {
  background: var(--gold-gradient-bright);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}
.hero p {
  font-size: 18px;
  opacity: .75;
  margin-bottom: 40px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
  letter-spacing: .01em;
}
.hero .btn { font-size: 16px; padding: 16px 44px; }
.hero .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.hero .btn-primary:hover {
  background: var(--gold-light);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(0,0,0,.2);
}
.hero .btn-primary::before { display: none; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 56px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.08);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-stat {
  text-align: center;
}
.hero-stat .stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--gold-bright);
  line-height: 1;
  font-family: var(--font-display);
  letter-spacing: .01em;
}
.hero-stat .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.5);
  margin-top: 6px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ========== Section ========== */
.section { padding: 80px 0; }
.section-white { background: #fff; }
.section-gray { background: var(--bg-gray); }
.section-warm { background: var(--bg-warm); }
.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.section-title .title-accent {
  color: var(--gold-dark);
}
.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 52px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.section-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  margin: 18px auto 0;
}

/* ========== Card ========== */
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
  transform: translateY(-1px);
}
.card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}
.card-featured {
  border: 2px solid var(--accent);
  position: relative;
}
.card-featured .card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

/* ========== Service Cards ========== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card .service-icon {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  font-size: 22px;
  font-weight: 800;
  font-family: var(--font-display);
  letter-spacing: .02em;
  position: relative;
}
.service-card .service-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 1px solid currentColor;
  opacity: 0;
  transition: opacity .3s ease;
}
.service-card:hover .service-icon::after { opacity: .15; }
.service-card .service-icon.free {
  background: var(--success-bg);
  color: var(--success);
}
.service-card .service-icon.pro {
  background: linear-gradient(135deg, var(--accent-bg), var(--accent-bg));
  color: var(--accent);
}
.service-card .service-icon.enterprise {
  background: var(--gold-light);
  color: var(--gold-dark);
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
  letter-spacing: -.01em;
}
.service-card .service-desc {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.75;
}

/* ========== Module Grid ========== */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.module-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.module-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: width .3s ease;
}
.module-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.module-card:hover::after { width: 60%; }
.module-card .module-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: var(--primary-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 20px;
  font-weight: 700;
  font-family: var(--font-display);
  transition: var(--transition);
}
.module-card:hover .module-icon {
  background: var(--gold-light);
  color: var(--gold-dark);
  transform: scale(1.08);
}
.module-card .module-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

/* ========== Form ========== */
.form-group {
  margin-bottom: 24px;
}
.form-label {
  display: block;
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: .01em;
}
.form-label .required {
  color: var(--danger);
  margin-left: 2px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: var(--transition);
  background: #fff;
  color: var(--text-main);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(43,92,189,.08);
}
.form-input::placeholder, .form-textarea::placeholder {
  color: var(--text-light);
}
.form-textarea {
  min-height: 100px;
  resize: vertical;
}
.form-error {
  color: var(--danger);
  font-size: 12px;
  margin-top: 6px;
}
.form-hint {
  color: var(--text-light);
  font-size: 12px;
  margin-top: 6px;
}

/* ========== Table ========== */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
table.data-table th {
  background: var(--primary-bg);
  color: var(--text-secondary);
  font-weight: 600;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
  letter-spacing: .02em;
}
table.data-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}
table.data-table tbody tr {
  transition: var(--transition-fast);
}
table.data-table tbody tr:hover {
  background: var(--bg-warm);
}

/* ========== Risk Tags ========== */
.risk-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.risk-low { background: var(--success-bg); color: var(--success); }
.risk-medium { background: var(--warning-bg); color: var(--warning); }
.risk-high { background: #fff7ed; color: #c2410c; }
.risk-critical { background: var(--danger-bg); color: var(--danger); }

/* ========== Package Cards ========== */
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.package-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px 32px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.package-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--gold);
}
.package-card.featured {
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(180deg, var(--gold-light) 0%, #fff 30%);
}
.package-card .package-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.package-card .price {
  font-size: 52px;
  font-weight: 800;
  color: var(--primary);
  margin: 24px 0;
  line-height: 1;
  font-family: var(--font-display);
}
.package-card .price .currency {
  font-size: 22px;
  vertical-align: top;
  color: var(--gold-dark);
}
.package-card .price .unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}
.package-features {
  text-align: left;
  margin: 28px 0;
}
.package-features li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-light);
}
.package-features li:last-child { border-bottom: none; }
.package-features li::before {
  content: "\2713";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: var(--success-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* ========== Float Service ========== */
.float-service {
  position: fixed;
  right: 24px;
  bottom: 100px;
  width: 56px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.float-service .item {
  background: #fff;
  border-radius: var(--radius-lg);
  width: 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  font-size: 10px;
  color: var(--text-secondary);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.float-service .item:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.08);
  box-shadow: var(--shadow-lg);
}

/* ========== Disclaimer ========== */
.disclaimer {
  color: var(--danger);
  font-size: 12px;
  text-align: center;
  padding: 16px;
  font-weight: 500;
  background: var(--danger-bg);
  border-radius: var(--radius);
  margin: 16px 0;
  border: 1px solid rgba(185,28,28,.1);
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-darker);
  color: var(--text-light);
  padding: 64px 0 28px;
  margin-top: 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-gradient), transparent);
}
.footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
}
.footer-brand {
  max-width: 340px;
}
.footer-brand .footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .footer-logo::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--gold-gradient);
  border-radius: 2px;
}
.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-light);
}
.footer-links {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-light);
  font-size: 14px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--gold-bright);
}
.footer-info {
  font-size: 12px;
  line-height: 2;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 36px;
  padding-top: 24px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.35);
  letter-spacing: .02em;
}

/* ========== Modal ========== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10,21,37,.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 16px;
}
.modal-overlay.active {
  display: flex;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp .35s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
@keyframes slideUp {
  from { transform: translateY(28px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
  letter-spacing: -.01em;
}

/* Privacy Modal */
.privacy-modal {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 44px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: slideUp .35s ease;
  position: relative;
}
.privacy-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.privacy-modal .modal-title {
  text-align: center;
  font-size: 24px;
}
.privacy-content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.privacy-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  cursor: pointer;
}

/* ========== Accordion ========== */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
  background: #fff;
}
.accordion-item:hover {
  border-color: var(--border-dark);
  box-shadow: var(--shadow-sm);
}
.accordion-header {
  padding: 22px 26px;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}
.accordion-item.active .accordion-header {
  background: var(--primary-bg);
  border-bottom: 1px solid var(--border);
}
.accordion-body {
  padding: 0 26px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
}
.accordion-item.active .accordion-body {
  padding: 22px 26px;
  max-height: 2000px;
}
.accordion-item.active .accordion-header .arrow {
  transform: rotate(180deg);
}
.arrow {
  transition: transform .3s ease;
  color: var(--gold);
}

/* ========== Progress Bar ========== */
.progress {
  height: 8px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width .5s cubic-bezier(.4,0,.2,1);
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
}
.progress-bar.success { background: linear-gradient(90deg, var(--success), #166534); }
.progress-bar.warning { background: linear-gradient(90deg, var(--warning), #92400e); }
.progress-bar.danger { background: linear-gradient(90deg, var(--danger), #991b1b); }

/* ========== Toast ========== */
.toast-msg {
  position: fixed;
  top: 88px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  z-index: 9999;
  box-shadow: var(--shadow-lg);
  animation: slideDown .3s ease;
  font-weight: 500;
  letter-spacing: .01em;
}
@keyframes slideDown {
  from { transform: translate(-50%, -24px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* ========== Pagination ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 28px;
}
.pagination button {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}
.pagination button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pagination button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(43,92,189,.25);
}
.pagination button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* ========== Utility Classes ========== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text-light); }
.text-gold { color: var(--gold-dark); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-full { width: 100%; }
.hidden { display: none !important; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* ========== Animations ========== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .6s cubic-bezier(.4,0,.2,1) forwards; }
.fade-up-delay-1 { animation: fadeUp .6s cubic-bezier(.4,0,.2,1) .1s forwards; opacity: 0; }
.fade-up-delay-2 { animation: fadeUp .6s cubic-bezier(.4,0,.2,1) .2s forwards; opacity: 0; }
.fade-up-delay-3 { animation: fadeUp .6s cubic-bezier(.4,0,.2,1) .3s forwards; opacity: 0; }

/* ========== Responsive ========== */

/* Tablet (<=1024px) */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .hero { padding: 64px 0 84px; }
  .hero h1 { font-size: 36px; }
  .hero p { font-size: 16px; }
  .section { padding: 60px 0; }
  .section-title { font-size: 30px; }
  .module-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .hero-stats { gap: 36px; }
  .hero-stat .stat-num { font-size: 28px; }
}

/* Mobile (<=768px) */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  /* Mobile nav */
  .navbar-nav {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    gap: 0;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    z-index: 998;
  }
  .navbar-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .navbar-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
  }
  .navbar-nav a::after { display: none; }
  .navbar-toggle { display: flex; }
  .navbar-phone { font-size: 14px; }
  .navbar-brand .brand-text .brand-slogan { display: none; }
  .navbar-brand { font-size: 16px; }
  .navbar-brand .logo { width: 38px; height: 38px; font-size: 13px; }

  /* Hero */
  .hero { padding: 48px 0 64px; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero .btn { font-size: 15px; padding: 14px 32px; }
  .hero-stats { gap: 24px; margin-top: 36px; padding-top: 28px; }
  .hero-stat .stat-num { font-size: 24px; }
  .hero-stat .stat-label { font-size: 11px; }

  /* Section */
  .section { padding: 44px 0; }
  .section-title { font-size: 24px; }
  .section-subtitle { font-size: 14px; margin-bottom: 36px; }

  /* Card */
  .card { padding: 22px; }
  .service-card { padding: 30px 20px; }
  .package-card { padding: 30px 20px; }
  .package-card .price { font-size: 40px; }

  /* Grid */
  .service-grid { grid-template-columns: 1fr; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer { padding: 44px 0 20px; }
  .footer .container { flex-direction: column; }
  .footer-links { gap: 16px; }

  /* Modal */
  .modal { padding: 28px; }
  .privacy-modal { padding: 28px; }

  /* Float */
  .float-service { right: 12px; bottom: 60px; }
  .float-service .item { width: 48px; height: 48px; }

  /* Table */
  table.data-table th, table.data-table td { padding: 10px 12px; }
}

/* Small Mobile (<=480px) */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .hero h1 { font-size: 23px; }
  .hero p { font-size: 14px; }
  .hero .btn { font-size: 14px; padding: 12px 28px; width: 100%; }
  .hero-stats { gap: 16px; }
  .hero-stat .stat-num { font-size: 20px; }
  .section-title { font-size: 20px; }
  .module-grid { grid-template-columns: 1fr; }
  .navbar-brand .brand-text .brand-name { font-size: 15px; }
  .navbar-brand .logo { width: 34px; height: 34px; font-size: 12px; }
  .btn { padding: 10px 20px; font-size: 13px; }
  .btn-lg { padding: 13px 28px; font-size: 14px; }
  .navbar-phone { display: none; }
  .footer-brand { max-width: 100%; }
  .accordion-header { padding: 16px 18px; font-size: 14px; }
  .accordion-item.active .accordion-body { padding: 16px 18px; }
}

/* ========== Print ========== */
@media print {
  .navbar, .footer, .float-service, .navbar-toggle, .navbar-overlay { display: none !important; }
  body { background: #fff; }
  .card, .service-card { box-shadow: none; border: 1px solid #ccc; }
  .hero { background: #fff; color: #000; }
}

/* ========== Accessibility ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ========== V4.0 Additional Styles ========== */

/* Hero visual elements */
.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(201,169,110,.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-noise {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.85' /%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}
.hero-top-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  z-index: 1;
}
.hero-stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,.12);
  margin: 0 8px;
}

/* Service card featured */
.service-card-featured {
  border-color: var(--gold);
  position: relative;
}
.service-card-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.featured-badge {
  position: absolute;
  top: -1px;
  left: -1px;
  background: var(--gold-gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: var(--radius-lg) 0 var(--radius) 0;
  box-shadow: 0 2px 8px rgba(201,169,110,.3);
}

/* Gold button */
.btn-gold {
  background: var(--gold-gradient);
  color: #fff;
  box-shadow: 0 4px 12px rgba(201,169,110,.3);
  transition: all .25s ease;
}
.btn-gold:hover {
  color: #fff;
  box-shadow: 0 6px 20px rgba(201,169,110,.45);
  transform: translateY(-1px);
}

/* Marketing section */
.marketing-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 56px 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.marketing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}
.marketing-title {
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.marketing-card {
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 22px 36px;
  border-radius: var(--radius-lg);
  display: inline-block;
  margin: 8px;
  border: 1px solid rgba(255,255,255,.12);
  transition: all .25s ease;
}
.marketing-card:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-2px);
}
.marketing-value {
  font-size: 30px;
  font-weight: 800;
  color: var(--gold-bright);
  font-family: 'Playfair Display', serif;
}
.marketing-name {
  margin-left: 14px;
  font-size: 15px;
  color: rgba(255,255,255,.9);
}
.marketing-deadline {
  margin-left: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* Discount modal */
.discount-modal {
  text-align: center;
  max-width: 420px;
  padding: 40px 36px;
}
.discount-modal-label {
  font-size: 13px;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 4px;
}
.discount-big-value {
  font-size: 48px;
  font-weight: 800;
  color: var(--danger);
  margin: 16px 0;
  font-family: 'Playfair Display', serif;
}
.discount-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.discount-countdown {
  font-size: 30px;
  font-weight: 800;
  color: var(--primary);
  margin: 16px 0;
  font-variant-numeric: tabular-nums;
  font-family: 'Playfair Display', serif;
}
.discount-dismiss {
  margin-top: 16px;
  background: none;
  border: none;
  color: var(--text-tertiary);
  font-size: 13px;
  cursor: pointer;
  transition: color .2s;
}
.discount-dismiss:hover { color: var(--text-secondary); }

/* Footer V4 */
.footer-top-bar {
  height: 3px;
  background: var(--gold-gradient);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 48px 0 32px;
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-bar {
  width: 4px;
  height: 28px;
  background: var(--gold-gradient);
  border-radius: 2px;
}
.footer-logo {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  font-family: 'Playfair Display', serif;
}
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 480px;
}
.footer-contact {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-phone-icon {
  color: var(--gold);
}
.footer-phone-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-bright);
  font-family: 'Playfair Display', serif;
}
.footer-col-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.footer-links-col .footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-col .footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-links-col .footer-links a:hover {
  color: var(--gold-bright);
}

/* Float service inner */
.float-service-inner {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

/* Footer brand column */
.footer-brand-col {
  display: flex;
  flex-direction: column;
}

/* Modal top bar */
.modal-top-bar {
  height: 4px;
  background: var(--gold-gradient);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* Brand slogan */
.brand-slogan {
  font-size: 10px !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 24px;
  }
  .hero-stat-divider { display: none; }
  .hero-glow { width: 100%; }
}

/* ========== V5.0 Component Classes - Replace inline styles ========== */

/* Container widths */
.container-narrow { max-width: 500px; margin: 0 auto; padding: 0 24px; }
.container-medium { max-width: 600px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 800px; margin: 0 auto; padding: 0 24px; }
.container-xl { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.container-2xl { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
.container-3xl { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Questionnaire layout */
.qa-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.qa-main { max-width: 800px; flex: 1; }
.qa-sidebar { width: 320px; position: sticky; top: 96px; flex-shrink: 0; }
@media (max-width: 1024px) {
  .qa-layout { flex-direction: column; }
  .qa-sidebar { width: 100%; position: static; }
}

/* Progress header */
.qa-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

/* Question card */
.question-card {
  margin-bottom: 16px;
  padding: 24px;
}
.question-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}
.question-number {
  background: var(--primary);
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 10px;
  margin-top: 1px;
}
.question-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-main);
}
.question-law-ref {
  margin-left: 38px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-light);
}
.question-options {
  margin-left: 38px;
}
.question-option {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 8px;
  margin-bottom: 6px;
  transition: background .2s ease;
  border: 1px solid transparent;
}
.question-option:hover {
  background: var(--primary-bg);
  border-color: var(--border);
}
.question-option input {
  margin-right: 10px;
  accent-color: var(--accent);
}
.question-option-text {
  font-size: 14px;
  color: var(--text-main);
}
.question-text-input {
  max-width: 400px;
}

/* Report score circle */
.report-score-wrap {
  position: relative;
  display: inline-block;
}
.report-score-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.report-score-value {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
  line-height: 1;
}
.report-score-label {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Risk level badge */
.risk-level-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* Module score bar */
.module-score-row {
  margin-bottom: 16px;
}
.module-score-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.module-score-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}
.module-score-value {
  font-size: 14px;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.module-score-track {
  background: var(--border-light);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}
.module-score-fill {
  height: 100%;
  border-radius: 4px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
}

/* Top risk item */
.top-risk-item {
  display: flex;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.top-risk-item:last-child { border-bottom: none; }
.top-risk-number {
  background: var(--danger);
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 12px;
  margin-top: 1px;
}
.top-risk-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}
.top-risk-reason {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.top-risk-score {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  background: var(--danger-bg);
  color: var(--danger);
  font-weight: 500;
}

/* Upgrade card */
.upgrade-card {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
}
.upgrade-card h3 {
  margin-bottom: 8px;
  color: #fff;
}
.upgrade-card p {
  opacity: .9;
  margin-bottom: 20px;
}
.upgrade-card .btn {
  background: #fff;
  color: var(--primary);
  padding: 12px 40px;
  font-weight: 600;
}
.upgrade-card .btn:hover {
  background: var(--gold-light);
  color: var(--primary-dark);
}

/* Offline service card */
.offline-service-card {
  background: linear-gradient(135deg, #fff7e6, #fffbe6);
  border: 2px solid #ffe0a3;
  position: relative;
}
.offline-service-label {
  display: inline-block;
  background: var(--gold-gradient);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.offline-service-title {
  font-size: 20px;
  font-weight: 700;
  color: #d46b08;
  margin-bottom: 8px;
}
.offline-service-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.7;
}
.offline-service-price {
  font-size: 32px;
  font-weight: 800;
  color: #d46b08;
  font-family: var(--font-display);
}
.offline-service-price-unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
}
.offline-service-price-label {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 2px;
}
.offline-service-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.offline-service-actions .btn-call {
  background: var(--gold-gradient);
  color: #fff;
  padding: 12px 36px;
}
.offline-service-actions .btn-wechat {
  border-color: var(--gold);
  color: var(--gold-dark);
  padding: 12px 36px;
}
.offline-service-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
  text-align: center;
}

/* Package card (dynamic) */
.pkg-card {
  padding: 32px;
  width: 100%;
  max-width: 300px;
  transition: var(--transition);
}
.pkg-card-featured {
  border: 2px solid var(--primary);
  position: relative;
}
.pkg-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  padding: 4px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pkg-card-name {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
  color: var(--text-main);
}
.pkg-card-price-wrap {
  text-align: center;
  margin-bottom: 24px;
}
.pkg-card-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
}
.pkg-card-original-price {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: 8px;
}
.pkg-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}
.pkg-feature-item {
  padding: 6px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}
.pkg-feature-check {
  color: var(--success);
  margin-right: 8px;
  font-weight: 700;
}

/* Promo item */
.promo-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.promo-item:last-child { border-bottom: none; }
.promo-tag-discount {
  background: var(--danger);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  margin-right: 12px;
  flex-shrink: 0;
}
.promo-tag-coupon {
  background: var(--orange);
  color: #fff;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  margin-right: 12px;
  flex-shrink: 0;
}
.promo-name {
  font-size: 14px;
  color: var(--text-main);
}
.promo-deadline {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-light);
}

/* AI report */
.ai-report-content {
  line-height: 1.8;
}
.ai-report-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}
.ai-module-block {
  margin-bottom: 16px;
  padding: 18px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
}
.ai-module-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}
.ai-risk-tag {
  display: inline-block;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--danger-bg);
  color: var(--danger);
  margin-left: 8px;
  font-weight: 500;
}
.ai-analysis-text {
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.75;
}
.ai-law-ref-label {
  font-size: 12px;
  color: var(--text-light);
}
.ai-law-ref-tag {
  display: inline-block;
  margin: 2px 4px 2px 0;
  padding: 3px 10px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--accent-dark);
}
.ai-suggestion-list {
  margin: 4px 0 0 18px;
  padding: 0;
}
.ai-suggestion-item {
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--text-secondary);
}
.ai-urgent-deadline {
  font-size: 12px;
  color: var(--danger);
  margin-top: 4px;
}

/* AI loading spinner */
.ai-loading-wrap {
  padding: 40px 0;
  text-align: center;
}
.ai-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--primary-bg);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.ai-loading-text {
  margin-top: 16px;
  color: var(--text-secondary);
  font-size: 14px;
}

/* User center info grid */
.info-grid {
  display: grid;
  gap: 16px;
}
.info-item-label {
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.info-item-value {
  margin-top: 4px;
  font-size: 15px;
  color: var(--text-main);
  font-weight: 500;
}

/* User center list items */
.uc-list-item {
  display: flex;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.uc-list-item:last-child { border-bottom: none; }
.uc-list-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  margin-right: 12px;
  flex-shrink: 0;
}
.uc-list-dot-unread { background: var(--danger); }
.uc-list-dot-read { background: var(--text-light); }
.uc-list-main { flex: 1; }
.uc-list-title {
  font-size: 14px;
  color: var(--text-main);
}
.uc-list-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.uc-list-time {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}
.uc-list-score {
  text-align: center;
  margin: 0 16px;
}
.uc-list-score-value {
  font-size: 18px;
  font-weight: 700;
}
.uc-list-score-label {
  font-size: 12px;
}
.uc-list-amount {
  text-align: right;
  margin: 0 16px;
}
.uc-list-amount-value {
  font-size: 16px;
  font-weight: 600;
  color: var(--danger);
}

/* Empty state */
.empty-state {
  text-align: center;
  color: var(--text-secondary);
  padding: 24px;
  font-size: 14px;
}

/* Package status */
.pkg-status-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pkg-status-label {
  font-size: 14px;
  color: var(--text-light);
}
.pkg-status-value {
  font-size: 15px;
  font-weight: 600;
}
.pkg-expire-warning {
  background: var(--warning-bg);
  padding: 8px 16px;
  border-radius: var(--radius);
  color: var(--warning);
  font-size: 13px;
  border: 1px solid rgba(180,83,9,.1);
}

/* Screenshot button */
.screenshot-btn {
  padding: 10px 32px;
}

/* ECharts container */
.echart-box {
  width: 100%;
}
.echart-radar {
  width: 100%;
  height: 400px;
}
.echart-gauge {
  width: 200px;
  height: 200px;
}
.echart-preview {
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

/* Report header card */
.report-header-card {
  text-align: center;
}
.report-header-card h1 {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
}
.report-header-card .report-meta {
  margin-bottom: 4px;
  color: var(--text-secondary);
  font-size: 14px;
}
.report-badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-light);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: .03em;
}
.report-score-display {
  margin: 20px 0;
}
.report-score-max {
  margin-left: 4px;
  color: var(--text-light);
  font-size: 16px;
}

/* Share section */
.share-section {
  text-align: center;
}
.share-section h3 {
  margin-bottom: 12px;
}
.share-section p {
  margin-bottom: 16px;
  color: var(--text-secondary);
}

/* Spin animation for loading */
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== V5.0 Additional Component Classes ========== */

/* Article body (about/agreement/privacy) */
.article-body { line-height: 1.8; }
.article-body h3.article-h3 { margin: 20px 0 8px; }

/* List disc */
.list-disc { list-style: disc; margin-left: 20px; }

/* Payment page */
.pay-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.pay-summary-total {
  border-bottom: none;
  font-size: 16px;
}
.pay-method-label {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 2px solid #e8e8e8;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s;
}
.pay-method-label.pay-method-active {
  border-color: var(--primary);
}
.pay-method-radio {
  margin: 0;
}
.modal-narrow { max-width: 360px; }
.qrcode-box {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}
.pay-modal-amount { margin-bottom: 16px; }
.pay-modal-tip { margin-bottom: 16px; color: var(--text-secondary); }

/* Report share page */
.report-share-title { margin-bottom: 8px; font-size: 24px; }
.report-share-subtitle { margin-bottom: 4px; color: var(--text-secondary); }
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.cta-banner-title { margin-bottom: 8px; }
.cta-banner-desc { opacity: 0.9; margin-bottom: 20px; }
.cta-banner-btn {
  background: #fff;
  padding: 12px 40px;
  color: var(--primary);
  font-weight: 600;
}
.link-primary { color: var(--primary); }

/* User center dynamic color helpers */
.uc-list-score-value { font-size: 18px; font-weight: 700; }
.uc-list-score-label { font-size: 12px; }

/* ========== V6.0 - User Center & Login System ========== */

/* User Center Layout */
.uc-layout { display: flex; gap: 24px; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.uc-sidebar { width: 280px; flex-shrink: 0; }
.uc-main { flex: 1; min-width: 0; }

@media (max-width: 768px) {
  .uc-layout { flex-direction: column; }
  .uc-sidebar { width: 100%; }
}

/* User Profile Card */
.uc-profile-card { padding: 24px; text-align: center; }
.uc-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--gold-gradient);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 32px; font-weight: 700; color: #fff;
}
.uc-avatar-letter { font-size: 32px; font-weight: 700; color: #fff; }
.uc-profile-name { font-size: 18px; font-weight: 700; color: var(--text-main); margin-bottom: 4px; }
.uc-profile-phone { font-size: 14px; color: var(--text-light); margin-bottom: 12px; }
.uc-profile-badge {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600;
}
.uc-badge-paid { background: var(--success-bg); color: var(--success); }
.uc-badge-free { background: var(--warning-bg); color: var(--warning); }

/* Quick Stats Row */
.uc-stats-row {
  display: flex; justify-content: center; gap: 24px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-light);
}
.uc-stat-item { text-align: center; }
.uc-stat-value { font-size: 24px; font-weight: 700; color: var(--primary); display: block; }
.uc-stat-label { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* Menu Navigation */
.uc-menu { list-style: none; padding: 0; margin: 0; }
.uc-menu-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; cursor: pointer; border-radius: var(--radius-md);
  transition: all 0.2s; color: var(--text-secondary); font-size: 15px;
}
.uc-menu-item:hover { background: var(--primary-bg); color: var(--primary); }
.uc-menu-item.uc-menu-active { background: var(--primary); color: #fff; }
.uc-menu-item.uc-menu-active .uc-menu-icon { color: var(--gold); }
.uc-menu-icon { width: 20px; height: 20px; flex-shrink: 0; }
.uc-menu-icon svg { width: 100%; height: 100%; }
.uc-menu-badge {
  margin-left: auto; background: var(--danger); color: #fff;
  font-size: 11px; padding: 2px 8px; border-radius: var(--radius-full); font-weight: 600;
}

/* Tab Navigation */
.uc-tabs { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 4px; }
.uc-tab {
  padding: 10px 20px; border-radius: var(--radius-md);
  font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: all 0.2s; border: 1px solid var(--border-light);
  background: #fff; color: var(--text-secondary);
}
.uc-tab:hover { border-color: var(--primary); color: var(--primary); }
.uc-tab.uc-tab-active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Content Panel */
.uc-panel { display: none; }
.uc-panel.uc-panel-active { display: block; }

/* Visitor State */
.visitor-state { text-align: center; padding: 60px 20px; }
.visitor-state h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; color: var(--text-main); }
.visitor-state p { color: var(--text-secondary); margin-bottom: 32px; max-width: 400px; margin-left: auto; margin-right: auto; }
.visitor-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.visitor-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-top: 48px; max-width: 700px; margin-left: auto; margin-right: auto;
}
.visitor-feature {
  padding: 20px; background: var(--bg-warm); border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.visitor-feature-icon { font-size: 28px; margin-bottom: 8px; }
.visitor-feature-title { font-size: 14px; font-weight: 600; color: var(--text-main); margin-bottom: 4px; }
.visitor-feature-desc { font-size: 12px; color: var(--text-light); }
@media (max-width: 768px) { .visitor-features { grid-template-columns: 1fr; } }

/* Login Card */
.login-card { max-width: 420px; margin: 40px auto; padding: 40px 32px; }
.login-card h2 { text-align: center; margin-bottom: 8px; }
.login-card .login-subtitle { text-align: center; color: var(--text-secondary); margin-bottom: 32px; font-size: 14px; }
.login-form .form-group { margin-bottom: 20px; }
.login-form .form-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--text-main); }
.login-form .form-input {
  width: 100%; padding: 12px 16px; border: 2px solid var(--border-light);
  border-radius: var(--radius-md); font-size: 16px; transition: border-color 0.2s;
}
.login-form .form-input:focus { border-color: var(--primary); outline: none; }
.login-form .btn-block { width: 100%; }

/* WeChat QR Code Login */
.wx-login-wrap { text-align: center; padding: 32px; }
.wx-qrcode-box {
  width: 200px; height: 200px; margin: 0 auto 20px;
  border: 2px solid var(--border-light); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.wx-qrcode-img { width: 100%; height: 100%; }
.wx-login-tip { color: var(--text-secondary); font-size: 14px; margin-bottom: 16px; }
.wx-login-switch { color: var(--primary); font-size: 13px; cursor: pointer; }
.wx-login-switch:hover { text-decoration: underline; }

/* History Table */
.uc-table { width: 100%; border-collapse: collapse; }
.uc-table th {
  text-align: left; padding: 12px 16px; font-size: 13px; font-weight: 600;
  color: var(--text-light); background: var(--bg-warm);
  border-bottom: 2px solid var(--border-light); white-space: nowrap;
}
.uc-table td {
  padding: 14px 16px; font-size: 14px; color: var(--text-main);
  border-bottom: 1px solid var(--border-light); vertical-align: middle;
}
.uc-table tr:hover td { background: var(--primary-bg); }
.uc-table .uc-table-action { color: var(--primary); cursor: pointer; font-weight: 500; }
.uc-table .uc-table-action:hover { text-decoration: underline; }
.uc-table .uc-table-status {
  display: inline-block; padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 500;
}
.uc-status-paid { background: var(--success-bg); color: var(--success); }
.uc-status-pending { background: var(--warning-bg); color: var(--warning); }
.uc-status-cancelled { background: var(--bg-warm); color: var(--text-light); }
.uc-status-refunded { background: var(--danger-bg); color: var(--danger); }

/* Recharge Panel */
.uc-recharge-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.uc-recharge-title { font-size: 18px; font-weight: 700; }
.uc-recharge-balance {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 16px; background: var(--gold-bg); border-radius: var(--radius-md); font-size: 14px;
}
.uc-balance-label { color: var(--text-gold); }
.uc-balance-value { font-size: 20px; font-weight: 700; color: var(--gold); }

/* Empty State */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-light); }
.empty-state h3 { font-size: 18px; color: var(--text-secondary); margin-bottom: 8px; }
.empty-state p { font-size: 14px; margin-bottom: 20px; }

/* Login Divider */
.login-divider {
  display: flex; align-items: center; margin: 24px 0;
  color: var(--text-light); font-size: 13px;
}
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-light); }
.login-divider::before { margin-right: 12px; }
.login-divider::after { margin-left: 12px; }


/* ========== V7.0 - 加载状态、骨架屏、增强响应式、视觉打磨 ========== */

/* ----- 加载状态 & 骨架屏 ----- */
.loading-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.85); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  z-index: 9998; transition: opacity .3s;
}
.loading-overlay.hidden { opacity: 0; pointer-events: none; }
.loading-spinner {
  width: 48px; height: 48px;
  border: 3px solid var(--border-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.loading-text {
  margin-top: 16px; font-size: 14px; color: var(--text-secondary);
}

/* 骨架屏动画 */
@keyframes skeleton-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
.skeleton-line { height: 14px; margin-bottom: 8px; }
.skeleton-line.short { width: 60%; }
.skeleton-line.long { width: 100%; }
.skeleton-card {
  padding: 24px; border-radius: var(--radius); background: #fff;
  border: 1px solid var(--border-light);
}
.skeleton-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  margin-bottom: 12px;
}

/* 内联加载指示器 */
.inline-loading {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--text-light); font-size: 14px;
}
.inline-loading::before {
  content: ''; width: 16px; height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

/* 按钮加载状态 */
.btn-loading {
  position: relative; pointer-events: none; opacity: .7;
}
.btn-loading::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 16px; height: 16px; margin: -8px 0 0 -8px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .6s linear infinite;
}

/* ----- 增强响应式：平板 & 手机深度适配 ----- */

/* 平板端 (769px-1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .uc-layout { gap: 16px; }
  .uc-sidebar { width: 240px; }
  .qa-layout { gap: 16px; }
  .qa-sidebar { width: 260px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 手机端深度优化 (<=768px) */
@media (max-width: 768px) {
  /* 用户中心移动端 */
  .uc-layout { padding: 0 12px; gap: 16px; }
  .uc-sidebar { width: 100%; }
  .uc-profile-card { padding: 16px; }
  .uc-avatar { width: 60px; height: 60px; font-size: 24px; }
  .uc-avatar-letter { font-size: 24px; }
  .uc-profile-name { font-size: 16px; }
  .uc-stats-row { gap: 16px; }
  .uc-stat-value { font-size: 20px; }
  .uc-menu { display: flex; overflow-x: auto; gap: 8px; padding: 8px 0; }
  .uc-menu-item {
    white-space: nowrap; padding: 10px 16px; flex-shrink: 0;
  }
  .uc-menu-item.uc-menu-active { background: var(--primary); }

  /* 问卷页移动端 */
  .qa-layout { padding: 0 12px; }
  .question-card { padding: 16px; }
  .question-header { flex-direction: column; gap: 8px; }
  .question-number { margin-top: 0; }
  .question-options { margin-left: 0; }
  .question-law-ref { margin-left: 0; }
  .qa-sidebar { position: static; }

  /* 报告页移动端 */
  .report-score-value { font-size: 32px; }
  .module-score-row { margin-bottom: 12px; }
  .report-module-card { padding: 16px; }

  /* 表格响应式 - 横向滚动 */
  .uc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .uc-table { min-width: 500px; }

  /* 套餐卡片移动端 */
  .package-card { padding: 24px 16px; }
  .package-card .price { font-size: 36px; }
  .package-features li { font-size: 13px; }

  /* 表单移动端 */
  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* 防止iOS缩放 */
  }

  /* 模态框移动端 */
  .modal-overlay { padding: 16px; align-items: flex-end; }
  .privacy-modal, .modal {
    max-height: 85vh; overflow-y: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  }

  /* 悬浮客服移动端 */
  .float-service { right: 8px; bottom: 40px; }
  .float-service .item { width: 44px; height: 44px; }
  .float-service .item span { display: none; }

  /* 导航栏移动端 */
  .navbar { height: 60px; }
  .navbar-brand .logo { width: 36px; height: 36px; font-size: 12px; }
  .navbar-brand .brand-name { font-size: 15px; }
  .navbar-right .btn { display: none; }
  :root { --navbar-height: 60px; }
}

/* 超小屏 (<=375px) */
@media (max-width: 375px) {
  .container { padding: 0 10px; }
  .hero h1 { font-size: 20px; }
  .hero .btn { padding: 10px 20px; font-size: 13px; }
  .section-title { font-size: 18px; }
  .uc-avatar { width: 50px; height: 50px; font-size: 20px; }
  .uc-avatar-letter { font-size: 20px; }
  .uc-stat-value { font-size: 18px; }
  .question-card { padding: 12px; }
  .package-card { padding: 20px 12px; }
  .package-card .price { font-size: 30px; }
}

/* ----- 视觉打磨：微交互 & 过渡 ----- */

/* 卡片悬浮效果 */
.service-card, .package-card, .module-card {
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1);
}
.service-card:hover, .package-card:hover {
  transform: translateY(-4px);
}

/* 按钮波纹效果 */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ''; position: absolute; top: 50%; left: 50%;
  width: 0; height: 0; border-radius: 50%;
  background: rgba(255,255,255,.3);
  transform: translate(-50%, -50%);
  transition: width .5s, height .5s;
}
.btn:active::after { width: 300px; height: 300px; }

/* 输入框聚焦动画 */
.form-input, .form-select, .form-textarea {
  transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  box-shadow: 0 0 0 3px rgba(43,92,189,.12);
}

/* 页面进入动画 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .5s ease-out; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.fade-in { animation: fadeIn .4s ease-out; }

/* 卡片错落入场 */
.stagger-item { opacity: 0; animation: fadeInUp .5s ease-out forwards; }
.stagger-item:nth-child(1) { animation-delay: .05s; }
.stagger-item:nth-child(2) { animation-delay: .1s; }
.stagger-item:nth-child(3) { animation-delay: .15s; }
.stagger-item:nth-child(4) { animation-delay: .2s; }
.stagger-item:nth-child(5) { animation-delay: .25s; }
.stagger-item:nth-child(6) { animation-delay: .3s; }
.stagger-item:nth-child(7) { animation-delay: .35s; }
.stagger-item:nth-child(8) { animation-delay: .4s; }
.stagger-item:nth-child(9) { animation-delay: .45s; }

/* 滚动条美化 */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-dark); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-light); }

/* 选中文本颜色 */
::selection { background: var(--primary); color: #fff; }

/* ----- 工具类 ----- */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.p-0 { padding: 0 !important; }
.p-16 { padding: 16px; }
.p-24 { padding: 24px; }
.hidden { display: none !important; }
.visible { display: block; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-full { width: 100%; }
.max-w-600 { max-width: 600px; }
.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: var(--radius-full); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow-md { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.cursor-pointer { cursor: pointer; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
