/* ========================================
   现代化服装管理系统 - 主题样式
   ======================================== */

   :root {
    /* 主题色 - 现代简约蓝 */
    --primary-color: #409eff;
    --primary-dark: #2d7de0;
    --primary-light: #79bbff;
    --primary-lighter: #ecf5ff;
    --primary-gradient: linear-gradient(135deg, #409eff 0%, #3a8ee6 100%);
  
    /* 中性色 - 简约灰度 */
    --text-primary: #1a1a1a;
    --text-secondary: #4a5568;
    --text-muted: #a0aec0;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-gradient: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  
    /* 阴影系统 - 柔和层次 */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 12px 40px rgba(64, 158, 255, 0.15);
    
    /* 过渡动画 */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

/* ========================================
   Production entry final overrides
   ======================================== */

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.erp-navbar {
  background: var(--glass-light) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  transition: padding 0.3s var(--ease-out), background 0.3s ease, box-shadow 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: none;
}

.erp-navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.6) !important;
  box-shadow: var(--shadow-sm);
}

.erp-navbar > .container-fluid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--bg-dark) !important;
  letter-spacing: 0;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--bg-dark);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links .nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted) !important;
  padding: 0.5rem 0 !important;
  position: relative;
  display: block;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
  color: var(--bg-dark) !important;
}

.auth-tab {
  flex: 1;
  padding: 0.6rem !important;
  text-align: center;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--text-muted) !important;
  border: none !important;
  background: transparent !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer;
  transition: all 0.2s;
  transform: none !important;
}

.auth-tab.active {
  background: #ffffff !important;
  color: var(--bg-dark) !important;
  box-shadow: var(--shadow-sm);
}

/* ========================================
   Local dev fallback for cached layout partial
   ======================================== */

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  letter-spacing: 0;
  line-height: 1.2;
}

.form-group:has(.form-control-tech:focus) label,
.form-group:has(.form-control-tech:not(:placeholder-shown)) label {
  top: 0;
  left: 10px;
  font-size: 14px;
  color: var(--primary);
  background: #ffffff;
  padding: 0 4px;
  border-radius: 2px;
}

/* ========================================
   Production entry style parity
   ======================================== */

:root {
  --primary: #409EFF;
  --primary-hover: #2185EB;
  --primary-glow: rgba(64, 158, 255, 0.2);
  --primary-lighter: #e6f1fc;
  --bg-main: #F4F7FB;
  --bg-surface: #FFFFFF;
  --bg-dark: #1E293B;
  --bg-darker: #0F172A;
  --glass-light: rgba(255, 255, 255, 0.9);
  --glass-dark: rgba(30, 41, 59, 0.95);
  --text-main: #334155;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --text-light-muted: #CBD5E1;
  --border-focus: #409EFF;
  --border-dark: #CBD5E1;
  --error: #ef4444;
  --error-bg: #FEF2F2;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --max-w: 1280px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 150ms;
  --duration-base: 300ms;
  --duration-slow: 500ms;
  --shadow-soft: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 20px rgba(64, 158, 255, 0.2);
}

html {
  scroll-behavior: smooth;
}

body.erp-theme {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.erp-theme h1,
.erp-theme h2,
.erp-theme h3,
.erp-theme h4,
.erp-theme h5,
.erp-theme h6 {
  font-family: var(--font-heading);
  letter-spacing: 0;
  color: var(--text-main);
  line-height: 1.2;
}

.erp-theme a {
  color: var(--primary);
  text-decoration: none;
  transition: all var(--duration-base) var(--ease-out);
}

.erp-theme a:hover {
  color: var(--primary-hover);
}

.max-w-7xl {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.text-start {
  text-align: left;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 1rem;
}

.section-mono {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title-wrapper {
  margin-bottom: 3rem;
}

.section-title-wrapper h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bg-dark);
}

.section-title-wrapper.dark h2 {
  color: var(--text-light);
}

.address {
  background: linear-gradient(135deg, var(--primary) 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  mix-blend-mode: difference;
}

.erp-navbar {
  background: var(--glass-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  transition: padding 0.3s var(--ease-out), background 0.3s ease, box-shadow 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.erp-navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-sm);
}

.erp-navbar > .container-fluid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--bg-dark) !important;
  letter-spacing: 0;
}

.logo-mark {
  width: 24px;
  height: 24px;
  background: var(--primary);
  margin-right: 12px;
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.4) 50%, transparent 60%);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links .nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted) !important;
  padding: 0.5rem 0;
  position: relative;
  display: block;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
  color: var(--bg-dark) !important;
}

.nav-links .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--duration-base) var(--ease-out);
}

.nav-links .nav-link:hover::after,
.nav-links .nav-link.active::after {
  width: 100%;
}

.contact-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s, border-color 0.3s;
  cursor: pointer;
}

.contact-pill:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary);
}

.contact-pill:hover .contact-icon {
  animation: spring-bounce 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes spring-bounce {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}

.contact-pill svg {
  color: var(--primary);
}

.contact-qr-bubble {
  position: absolute;
  top: calc(100% + 15px);
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: top right;
}

.contact-pill:hover .contact-qr-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.contact-qr-bubble::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid var(--border-light);
  border-left: 1px solid var(--border-light);
  transform: rotate(45deg);
}

.contact-qr-bubble .qr-placeholder {
  width: 100px;
  height: 100px;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-qr-bubble p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  white-space: nowrap;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: box-shadow 0.15s ease-in-out;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2830, 41, 59, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  min-height: 100vh;
  padding-top: 80px;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.hero-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  padding: 6rem 4rem 6rem calc((100vw - var(--max-w)) / 2 + 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border-light);
  position: relative;
  z-index: 1;
  background: transparent;
}

.hero-text-block {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: var(--radius-sm);
  margin-bottom: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw + 1rem, 4.5rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  color: var(--bg-dark);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #10b981 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 3.5rem;
  font-weight: 500;
  max-width: 600px;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.stagger-fade-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s var(--ease-out) forwards;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--bg-dark);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  position: relative;
}

.perspective-container {
  perspective: 1200px;
  background: transparent;
  z-index: 2;
}

.auth-glass-card {
  width: 100%;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  padding: 3rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.auth-glass-card:hover {
  border-color: rgba(64, 158, 255, 0.4);
  box-shadow: 0 0 40px rgba(64, 158, 255, 0.15), 0 25px 50px rgba(0, 0, 0, 0.08);
}

.auth-glass-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, -100px);
  left: var(--mouse-x, -100px);
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

.auth-glass-card:hover::before {
  opacity: 1;
}

.auth-glass-card > * {
  position: relative;
  z-index: 1;
}

.rotate-in {
  opacity: 0;
  transform: rotateY(-15deg) rotateX(10deg) translateZ(-50px);
  animation: perspectiveRotateIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.05) 0.2s forwards;
}

@keyframes perspectiveRotateIn {
  to {
    opacity: 1;
    transform: rotateY(0) rotateX(0) translateZ(0);
  }
}

.auth-header {
  margin-bottom: 2.5rem;
}

.auth-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--bg-dark);
}

.auth-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.auth-tabs {
  display: flex;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  padding: 0.25rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border-light);
}

.auth-tab {
  flex: 1;
  padding: 0.6rem;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border: none;
  background: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

.auth-tab.active {
  background: #ffffff;
  color: var(--bg-dark);
  box-shadow: var(--shadow-sm);
}

.auth-slider-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.auth-slider-track {
  display: flex;
  width: 200%;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.auth-slider-track.show-sms {
  transform: translateX(-50%);
}

.auth-slider-pane {
  width: 50%;
  flex-shrink: 0;
}

.erp-theme .form-group {
  margin: 1rem 0.25rem;
  position: relative;
}

.erp-theme .form-group label {
  position: absolute;
  left: 45px;
  top: 24px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.erp-theme .form-group:has(.form-control-tech:focus) label,
.erp-theme .form-group:has(.form-control-tech:not(:placeholder-shown)) label {
  top: 0;
  left: 10px;
  font-size: 14px;
  color: var(--primary);
  background: #ffffff;
  padding: 0 4px;
  border-radius: 2px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: transform var(--duration-fast), border-color var(--duration-fast), box-shadow var(--duration-fast);
  background: var(--bg-main);
}

.input-wrapper:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
  background: #ffffff;
  transform: translateY(-1px);
}

.input-icon {
  padding: 0 0.75rem 0 1rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.form-control-tech {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.875rem;
  font-size: 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  outline: none;
  width: 100%;
}

.form-control-tech::placeholder {
  color: var(--text-light-muted);
}

.password-toggle {
  padding: 0 1.25rem 0 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.password-toggle:hover {
  color: var(--bg-dark);
}

.icon-eye-off {
  display: none;
}

.password-toggle.show-pwd .icon-eye {
  display: none;
}

.password-toggle.show-pwd .icon-eye-off {
  display: block;
}

.input-status {
  position: absolute;
  bottom: -20px;
  left: 0;
  font-size: 14px;
  color: var(--error);
  min-height: 18px;
  line-height: 18px;
}

.sms-wrapper {
  padding-right: 0.25rem;
}

.btn-inline-tech {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-mono);
  margin-right: 0.4rem;
}

.btn-inline-tech:hover {
  border-color: var(--primary);
  background: var(--primary-lighter);
}

.auth-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  font-size: 14px;
  color: var(--text-muted);
  user-select: none;
}

.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  height: 16px;
  width: 16px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  margin-right: 8px;
  position: relative;
  transition: all 0.2s;
}

.custom-checkbox:hover input ~ .checkmark {
  border-color: var(--primary);
}

.custom-checkbox input:checked ~ .checkmark {
  background-color: var(--primary);
  border-color: var(--primary);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox input:checked ~ .checkmark::after {
  display: block;
}

.auth-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s;
}

.auth-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.btn-primary-tech,
.btn-outline-tech,
.btn-ghost-tech {
  width: 100%;
  border: none;
  padding: 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary-tech::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease-out, height 0.4s ease-out, opacity 0.4s ease-out;
  opacity: 0;
}

.btn-primary-tech:active::after {
  width: 200px;
  height: 200px;
  opacity: 1;
  transition: 0s;
}

.btn-primary-tech {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(64, 158, 255, 0.3);
  margin-bottom: 1rem;
}

.btn-primary-tech:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(64, 158, 255, 0.4);
}

.btn-primary-tech:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(64, 158, 255, 0.3);
}

.btn-primary-tech .arrow {
  transition: transform 0.2s;
}

.btn-primary-tech:hover .arrow {
  transform: translateX(4px);
}

.btn-outline-tech {
  background: transparent;
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
  color: var(--bg-dark);
}

.btn-outline-tech:hover {
  background: var(--bg-main);
  border-color: var(--text-muted);
}

.btn-ghost-tech {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
}

.btn-ghost-tech:hover {
  background: var(--border-light);
  color: var(--bg-dark);
}

.auth-footer {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-light);
}

.logged-in-state {
  text-align: center;
  padding: 2rem 0;
}

.user-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  border: 2px solid var(--primary);
  text-transform: uppercase;
}

.logged-in-state .login-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--bg-dark);
}

.security-architecture.dark-theme {
  padding: 8rem 0;
  background: #0b1120;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.security-architecture.dark-theme::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: perspective(600px) rotateX(60deg) scale(2);
  transform-origin: top center;
  opacity: 0.6;
}

.iso-platform-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0 8rem;
  perspective: 1200px;
}

.iso-platform {
  position: relative;
  width: 600px;
  height: 600px;
  transform: rotateX(60deg) rotateZ(-45deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease-out;
}

.platform-top {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: inset 0 0 60px rgba(56, 189, 248, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform: translateZ(0);
}

.platform-front,
.platform-right {
  position: absolute;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.platform-front {
  width: 100%;
  height: 40px;
  transform-origin: top;
  transform: translateY(600px) rotateX(-90deg);
}

.platform-right {
  width: 40px;
  height: 100%;
  transform-origin: left;
  transform: translateX(600px) rotateY(90deg);
}

.iso-cube-node {
  position: absolute;
  transform-style: preserve-3d;
  width: 100px;
  height: 100px;
}

.cube-1 {
  top: 100px;
  left: 100px;
}

.cube-2 {
  top: 100px;
  left: 400px;
}

.cube-3 {
  top: 400px;
  left: 400px;
}

.cube-glass {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(50px);
}

.face {
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(56, 189, 248, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.2);
}

.face.front {
  transform: translateZ(50px);
}

.face.back {
  transform: translateZ(-50px) rotateY(180deg);
}

.face.right {
  transform: translateX(50px) rotateY(90deg);
}

.face.left {
  transform: translateX(-50px) rotateY(-90deg);
}

.face.top {
  transform: translateY(-50px) rotateX(90deg);
}

.face.bottom {
  transform: translateY(50px) rotateX(-90deg);
}

.cube-core {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 8px;
  box-shadow: 0 0 20px var(--primary), 0 0 50px rgba(64, 158, 255, 0.8);
  transform: translateZ(0);
  animation: core-pulse 2s infinite alternate ease-in-out;
}

@keyframes core-pulse {
  0% {
    transform: scale(0.8) translateZ(0);
    opacity: 0.6;
  }

  100% {
    transform: scale(1.1) translateZ(0);
    opacity: 1;
  }
}

.floating-icon {
  position: absolute;
  top: 50px;
  left: 50px;
  transform-origin: center;
  transform: translate(-50%, -50%) translateZ(160px) rotateZ(45deg) rotateX(-60deg);
  color: #38bdf8;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.8));
  animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
  0%,
  100% {
    transform: translate(-50%, -50%) translateZ(150px) rotateZ(45deg) rotateX(-60deg);
  }

  50% {
    transform: translate(-50%, -50%) translateZ(170px) rotateZ(45deg) rotateX(-60deg);
  }
}

.cube-shadow {
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: var(--primary-glow);
  filter: blur(25px);
  opacity: 0.6;
  transform: translateZ(1px);
  transition: opacity 0.3s;
}

.iso-cube-node:hover .cube-shadow {
  opacity: 1;
}

.node-info {
  position: absolute;
  top: 50px;
  left: 160px;
  transform-origin: left center;
  transform: translateZ(50px) rotateZ(45deg) rotateX(-60deg);
  width: 180px;
  pointer-events: none;
}

.node-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #fff;
  text-shadow: 0 0 10px rgba(64, 158, 255, 0.8);
}

.node-info p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

.iso-pipeline {
  position: absolute;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.1);
  transform: translateZ(5px);
}

.iso-pipeline.pipe-1 {
  top: 140px;
  left: 200px;
  width: 200px;
  height: 20px;
}

.iso-pipeline.pipe-2 {
  top: 200px;
  left: 440px;
  width: 20px;
  height: 200px;
}

.data-dot {
  position: absolute;
  background: #fff;
  box-shadow: 0 0 15px #fff, 0 0 30px #38bdf8;
  border-radius: 50%;
}

.pipe-1 .data-dot {
  top: 5px;
  left: 0;
  width: 8px;
  height: 8px;
  animation: flow-right 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.pipe-2 .data-dot {
  top: 0;
  left: 5px;
  width: 8px;
  height: 8px;
  animation: flow-down 2s cubic-bezier(0.4, 0, 0.2, 1) infinite 1s;
}

@keyframes flow-right {
  0% {
    left: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    left: calc(100% - 8px);
    opacity: 0;
  }
}

@keyframes flow-down {
  0% {
    top: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: calc(100% - 8px);
    opacity: 0;
  }
}

.iso-node .node-icon {
  color: var(--primary);
  margin-bottom: 0.5rem;
  transform: rotateZ(45deg) rotateX(-60deg);
  transition: transform 0.3s;
}

.iso-node .node-content {
  transform: rotateZ(45deg) rotateX(-60deg);
  text-align: center;
}

.iso-node h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
  color: var(--bg-dark);
}

.iso-node p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.2;
  margin: 0;
}

.scenarios-bento {
  padding: 8rem 0;
  background: var(--bg-main);
  position: relative;
  color: var(--text-main);
}

.bento-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 1;
  mix-blend-mode: multiply;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 1.5rem;
}

.bento-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(40px);
}

.scenarios-bento.animate-in .bento-card {
  opacity: 1;
  transform: translateY(0);
}

.bento-card:nth-child(1) {
  transition-delay: 0.1s;
}

.bento-card:nth-child(2) {
  transition-delay: 0.2s;
}

.bento-card:nth-child(3) {
  transition-delay: 0.3s;
}

.bento-card:nth-child(4) {
  transition-delay: 0.4s;
}

.bento-card:nth-child(5) {
  transition-delay: 0.5s;
}

.bento-card:nth-child(6) {
  transition-delay: 0.6s;
}

.bento-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), 0 10px 30px -5px rgba(64, 158, 255, 0.15);
}

.col-span-2 {
  grid-column: span 2;
}

.row-span-2 {
  grid-row: span 2;
}

.bento-icon {
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding: 0.75rem;
  background: rgba(64, 158, 255, 0.1);
  display: inline-flex;
  border-radius: var(--radius-md);
  border: 1px solid rgba(64, 158, 255, 0.2);
}

.bento-card h3 {
  color: var(--bg-dark);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.bento-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

.primary-module {
  background: linear-gradient(145deg, #ffffff 0%, var(--primary-lighter) 100%);
  border-color: rgba(64, 158, 255, 0.2);
}

.primary-module h3 {
  font-size: 1.75rem;
  color: var(--primary);
}

.primary-module p {
  font-size: 1.05rem;
  color: var(--text-main);
}

.dark-module {
  background: #F8FAFC;
  border-style: dashed;
}

.tech-lines {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.tech-lines span {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--primary);
  border: 1px solid rgba(64, 158, 255, 0.3);
  padding: 4px 8px;
  border-radius: 4px;
}

.flat-module {
  flex-direction: row;
}

.flat-module .flex-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.flat-module .flex-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  height: 100px;
  padding: 1rem;
  width: 40%;
  max-width: 200px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}

.bar {
  width: 100%;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
  position: relative;
  overflow: hidden;
}

.bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
}

.bento-card-style:hover .fan-cards .f-card {
  transform: translateY(-15px) rotate(var(--r));
  box-shadow: var(--shadow-md);
}

.fan-cards {
  position: absolute;
  bottom: -40px;
  right: 20px;
  width: 60px;
  height: 80px;
}

.f-card {
  position: absolute;
  width: 100%;
  height: 100%;
  background: #f1f5f9;
  border: 2px solid #fff;
  border-radius: 8px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: bottom center;
}

.f-card:nth-child(1) {
  --r: -15deg;
  background: #e0e7ff;
}

.f-card:nth-child(2) {
  --r: 0deg;
  background: #bae6fd;
  z-index: 1;
}

.f-card:nth-child(3) {
  --r: 15deg;
  background: #bfdbfe;
  z-index: 2;
}

.bento-card-scan .laser-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  transform: translateY(-10px);
  opacity: 0;
  transition: opacity 0.3s;
}

.bento-card-scan:hover .laser-line {
  opacity: 1;
  animation: laser-scan 1.5s infinite linear;
}

@keyframes laser-scan {
  0% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(200px);
  }
}

.bento-mockup-erp {
  margin-top: 1.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.mockup-header {
  height: 8px;
  width: 40%;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  margin-bottom: 1rem;
}

.mockup-bars {
  display: flex;
  flex-direction: column;
}

.m-bar {
  height: 6px;
  background: var(--primary);
  border-radius: 3px;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.m-bar.w-80 {
  width: 80%;
}

.m-bar.w-60 {
  width: 60%;
  background: #10b981;
}

.m-bar.w-90 {
  width: 90%;
  background: #f59e0b;
}

@keyframes data-flow {
  0%,
  100% {
    height: var(--h-start, 40%);
  }

  50% {
    height: var(--h-end, 80%);
  }
}

.h-60 {
  height: 60%;
  --h-start: 60%;
  --h-end: 85%;
  animation: data-flow 2s infinite ease-in-out;
}

.h-80 {
  height: 80%;
  --h-start: 80%;
  --h-end: 45%;
  animation: data-flow 2.5s infinite ease-in-out 0.2s;
}

.h-40 {
  height: 40%;
  background: var(--text-muted);
  --h-start: 40%;
  --h-end: 65%;
  animation: data-flow 1.8s infinite ease-in-out 0.5s;
}

.h-100 {
  height: 100%;
  --h-start: 100%;
  --h-end: 70%;
  animation: data-flow 2.2s infinite ease-in-out 0.1s;
}

.bento-card-billing:hover .h-60,
.bento-card-billing:hover .h-80,
.bento-card-billing:hover .h-40,
.bento-card-billing:hover .h-100 {
  animation-duration: 0.8s;
}

.platform-nodes {
  padding: 8rem 0;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.devices-showcase {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1500px;
  margin-bottom: 2rem;
}

.devices-container {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: rotateX(10deg) rotateY(-10deg);
}

.devices-container.focus-web {
  transform: rotateX(5deg) rotateY(15deg) scale(1.1) translateX(-50px);
}

.devices-container.focus-app {
  transform: rotateX(5deg) rotateY(-30deg) scale(1.2) translateX(100px);
}

.macbook-3d {
  position: absolute;
  top: -100px;
  left: -200px;
  transform-style: preserve-3d;
}

.mac-screen-wrap {
  width: 400px;
  height: 250px;
  background: #1e293b;
  border-radius: 12px 12px 0 0;
  transform-origin: bottom center;
  transform: rotateX(-90deg);
  transition: transform 1s ease;
  border: 2px solid #cbd5e1;
  border-bottom: none;
  position: relative;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-nodes.animate-in .mac-screen-wrap {
  animation: mac-open 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes mac-open {
  0% {
    transform: rotateX(-90deg);
  }

  100% {
    transform: rotateX(-15deg);
  }
}

.mac-inner-screen {
  width: 380px;
  height: 230px;
  background: linear-gradient(135deg, var(--bg-main), #ffffff);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
}

.mac-base {
  width: 400px;
  height: 12px;
  background: #e2e8f0;
  border-radius: 0 0 12px 12px;
  position: absolute;
  bottom: -12px;
  left: 0;
  transform: rotateX(-90deg);
  transform-origin: top center;
}

.mac-base::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 175px;
  width: 50px;
  height: 4px;
  background: #94a3b8;
  border-radius: 0 0 4px 4px;
}

.iphone-3d {
  position: absolute;
  top: -20px;
  left: 120px;
  width: 120px;
  height: 250px;
  background: #ffffff;
  border: 4px solid #cbd5e1;
  border-radius: 20px;
  box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.15);
  transform-style: preserve-3d;
  transform: translateZ(50px) translateX(0);
  opacity: 0;
}

.platform-nodes.animate-in .iphone-3d {
  animation: phone-slide 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s forwards;
}

@keyframes phone-slide {
  0% {
    transform: translateZ(10px) translateX(-100px);
    opacity: 0;
  }

  100% {
    transform: translateZ(50px) translateX(0);
    opacity: 1;
  }
}

.iphone-frame {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 4px;
  position: relative;
  box-sizing: border-box;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.iphone-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 12px;
  background: #1e293b;
  border-radius: 6px;
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.node-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--bg-dark);
  padding: 2.5rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  z-index: 10;
}

.node-card:not(.flip-container):hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--primary);
}

.flip-container {
  perspective: 1000px;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.flipper {
  transition: 0.6s transform cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
  position: relative;
  height: 100%;
  min-height: 280px;
}

.flip-container.flipped .flipper {
  transform: rotateY(180deg);
}

.front,
.back {
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--bg-dark);
  box-shadow: var(--shadow-sm);
}

.front {
  z-index: 2;
  transform: rotateY(0deg);
  display: flex;
  flex-direction: column;
}

.back {
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-top-color: var(--primary);
}

.node-terminal {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-light-muted);
}

.node-icon {
  margin-bottom: 1.5rem;
  color: var(--bg-dark);
}

.node-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--bg-dark);
}

.node-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 2rem;
  flex-grow: 1;
  line-height: 1.6;
}

.node-link {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  align-self: flex-start;
}

.node-cmd {
  background: var(--bg-dark);
  color: #10b981;
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}

.tech-footer {
  background: #ffffff;
  color: var(--text-muted);
  padding: 6rem 0 2rem;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.brand-logotype {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 1rem;
}

.brand-desc {
  font-size: 14px;
  max-width: 400px;
  line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--bg-dark);
  font-family: var(--font-mono);
  font-size: 14px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact .mono {
  font-family: var(--font-mono);
  font-size: 14px;
  margin-bottom: 0.5rem;
}

.footer-meta {
  display: flex;
  justify-content: center;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  align-items: center;
}

.copy,
.version {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.tech-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1050;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-modal-dialog {
  background: var(--bg-surface);
  width: 90%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-glow);
}

.tech-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.2s;
  line-height: 1;
}

.tech-modal-close:hover {
  color: var(--error);
}

.modal-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
}

.modal-header h5 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--bg-dark);
}

.modal-header span {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.modal-body {
  margin-bottom: 1.5rem;
}

.qr-scanner-frame {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  height: auto;
  margin: 0 auto;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  position: relative;
  padding: 1rem;
  background: #ffffff;
  overflow: hidden;
}

#qr-code-container img,
#qr-code-container canvas {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
}

.qr-logo-breathing {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 1);
  z-index: 5;
  background-image: url('data:image/svg+xml;utf8,<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23409EFF" stroke-width="2" xmlns="http://www.w3.org/2000/svg"><path d="M12 2L2 22h20L12 2z"/></svg>');
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
  animation: breath-glow 2s infinite ease-in-out;
}

@keyframes breath-glow {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1), 0 0 10px rgba(64, 158, 255, 0.4);
  }

  50% {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 1), 0 0 30px rgba(64, 158, 255, 0.8);
  }
}

.qr-expired-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  border-radius: calc(var(--radius-md) - 2px);
  font-weight: 600;
  color: var(--text-main);
}

.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: scan 2s linear infinite;
  pointer-events: none;
  z-index: 6;
}

@keyframes scan {
  0% {
    top: 0;
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

.modal-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(16px);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: var(--radius-lg);
}

.modal-success-overlay.show {
  opacity: 1;
}

.success-icon-wrap {
  width: 80px;
  height: 80px;
  background: rgba(16, 185, 129, 0.1);
  border: 2px solid #10b981;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(0.5);
  opacity: 0;
}

.modal-success-overlay.show .success-icon-wrap {
  animation: pop-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards;
}

@keyframes pop-in {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.success-loader {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.success-loader::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 20px;
  background: #10b981;
  animation: sliding-loader 1s infinite ease-in-out;
}

@keyframes sliding-loader {
  0% {
    left: -20px;
  }

  100% {
    left: 100%;
  }
}

.status-badge {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
}

.status-badge.success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

@media (min-width: 992px) {
  .d-lg-flex {
    display: flex !important;
  }

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }

  .navbar-toggler {
    display: none;
  }

  .collapse:not(.show) {
    display: block;
  }
}

@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 6rem 2rem;
    border-right: none;
  }

  .hero-content::before {
    opacity: 0.15;
  }

  .hero-auth {
    padding: 4rem 2rem;
  }

  .blueprint-card {
    padding: 2rem;
  }
}

@media (max-width: 991px) {
  .collapse:not(.show) {
    display: none;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    margin-top: 1rem;
    border-top: 1px solid var(--border-light);
    background: var(--glass-light);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
  }

  .erp-navbar > .container-fluid {
    position: relative;
  }

  .navbar-collapse {
    width: 100%;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .iso-platform {
    transform: rotateX(60deg) rotateZ(-45deg) scale(0.7);
  }

  .devices-container {
    transform: rotateX(10deg) rotateY(-10deg) scale(0.7);
  }

  .devices-container.focus-web {
    transform: rotateX(5deg) rotateY(15deg) scale(0.8) translateX(-20px);
  }

  .devices-container.focus-app {
    transform: rotateX(5deg) rotateY(-30deg) scale(0.8) translateX(50px);
  }

  .node-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .iso-platform {
    transform: rotateX(60deg) rotateZ(-45deg) scale(0.5);
  }

  .devices-container {
    transform: rotateX(10deg) rotateY(-10deg) scale(0.5);
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .col-span-2 {
    grid-column: auto;
  }

  .row-span-2 {
    grid-row: auto;
  }

  .flat-module .flex-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .mini-chart {
    width: 100%;
    max-width: none;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
  
  /* 全局重置 */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, -apple-system, BlinkMacSystemFont;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  body {
    background: var(--bg-light);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 15px;
  }
  
  .text-center {
    text-align: center;
  }
  
  .text-right {
    text-align: right;
  }
  
  .text-left {
    text-align: left;
  }
  
  
  .font-12 {
    font-size: 12px;
  }
  
  .font-14 {
    font-size: 14px;
  }
  
  .font-16 {
    font-size: 16px;
  }
  
  .font-18 {
    font-size: 18px;
  }
  
  .font-20 {
    font-size: 18px;
  }
  
  .mt-5 {
    margin-top: 5px !important;
  }
  
  .mt-8 {
    margin-top: 8px !important;
  }
  
  .mt-10 {
    margin-top: 10px !important;
  }
  
  .mt-14 {
    margin-top: 14px !important;
  }
  
  .mt-15 {
    margin-top: 15px !important;
  }
  
  .mt-20 {
    margin-top: 20px !important;
  }
  
  .mt-30 {
    margin-top: 30px !important;
  }
  
  .mt-40 {
    margin-top: 40px !important;
  }
  
  .mt-50 {
    margin-top: 50px !important;
  }
  
  .mr-5 {
    margin-right: 5px !important;
  }
  
  .mr-8 {
    margin-right: 8px !important;
  }
  
  .mr-10 {
    margin-right: 10px !important;
  }
  
  .mr-14 {
    margin-right: 14px !important;
  }
  
  .mr-15 {
    margin-right: 15px !important;
  }
  
  .mr-20 {
    margin-right: 20px !important;
  }
  
  .mr-30 {
    margin-right: 30px !important;
  }
  
  .mr-40 {
    margin-right: 40px !important;
  }
  
  .mr-50 {
    margin-right: 50px !important;
  }
  
  .mb-5 {
    margin-bottom: 5px !important;
  }
  
  .mb-8 {
    margin-bottom: 8px !important;
  }
  
  .mb-10 {
    margin-bottom: 10px !important;
  }
  
  .mb-14 {
    margin-bottom: 14px !important;
  }
  
  .mb-15 {
    margin-bottom: 15px !important;
  }
  
  .mb-20 {
    margin-bottom: 20px !important;
  }
  
  .mb-30 {
    margin-bottom: 30px !important;
  }
  
  .mb-40 {
    margin-bottom: 40px !important;
  }
  
  .mb-50 {
    margin-bottom: 50px !important;
  }
  
  .ml-5 {
    margin-left: 5px !important;
  }
  
  .ml-8 {
    margin-left: 8px !important;
  }
  
  .ml-10 {
    margin-left: 10px !important;
  }
  
  .ml-14 {
    margin-left: 14px !important;
  }
  
  .ml-15 {
    margin-left: 15px !important;
  }
  
  .ml-20 {
    margin-left: 20px !important;
  }
  
  .ml-30 {
    margin-left: 30px !important;
  }
  
  .ml-40 {
    margin-left: 40px !important;
  }
  
  .ml-50 {
    margin-left: 50px !important;
  }
  
  .pt-5 {
    padding-top: 5px !important;
  }
  
  .pt-8 {
    padding-top: 8px !important;
  }
  
  .pt-10 {
    padding-top: 10px !important;
  }
  
  .pt-14 {
    padding-top: 14px !important;
  }
  
  .pt-15 {
    padding-top: 15px !important;
  }
  
  .pt-20 {
    padding-top: 20px !important;
  }
  
  .pt-30 {
    padding-top: 30px !important;
  }
  
  .pr-5 {
    padding-right: 5px !important;
  }
  
  .pr-8 {
    padding-right: 8px !important;
  }
  
  .pr-10 {
    padding-right: 10px !important;
  }
  
  .pr-14 {
    padding-right: 14px !important;
  }
  
  .pr-15 {
    padding-right: 15px !important;
  }
  
  .pr-20 {
    padding-right: 20px !important;
  }
  
  .pr-30 {
    padding-right: 30px !important;
  }
  
  .pb-5 {
    padding-bottom: 5px !important;
  }
  
  .pb-8 {
    padding-bottom: 8px !important;
  }
  
  .pb-10 {
    padding-bottom: 10px !important;
  }
  
  .pb-14 {
    padding-bottom: 14px !important;
  }
  
  .pb-15 {
    padding-bottom: 15px !important;
  }
  
  .pb-20 {
    padding-bottom: 20px !important;
  }
  
  .pb-30 {
    padding-bottom: 30px !important;
  }
  
  pl- .pl-5 {
    padding-left: 5px !important;
  }
  
  .pl-8 {
    padding-left: 8px !important;
  }
  
  .pl-10 {
    padding-left: 10px !important;
  }
  
  .pl-14 {
    padding-left: 14px !important;
  }
  
  .pl-15 {
    padding-left: 15px !important;
  }
  
  .pl-20 {
    padding-left: 20px !important;
  }
  
  .pl-30 {
    padding-left: 30px !important;
  }
  
  .mr-0 {
    margin: 0 !important;
  }
  
  .p-0 {
    padding: 0 !important;
  }
  
  .m-0 {
    margin: 0 !important;
  }
  
  .overflow-hidden {
    overflow: hidden;
  }
  
  
  .txt-nowrap {
    white-space: nowrap;
    text-overflow: clip;
    overflow: hidden;
  }
  
  
  .text-blue {
    color: #409eff !important;
  }
  
  .text-333 {
    color: #333 !important;
  }
  
  .text-666 {
    color: #666 !important;
  }
  
  .text-999 {
    color: #999 !important;
  }
  
  
  .flex {
    display: flex;
  }
  
  .justify-center {
    justify-content: center;
  
  }
  
  .justify-between {
    justify-content: space-between;
  }
  
  .item-center {
    align-items: center;
  }
  
  .pointer {
    cursor: pointer;
  }
  
  .overflow-hidden {
    overflow: hidden;
  }
  
  .txt-nowrap {
    white-space: nowrap;
    text-overflow: clip;
    overflow: hidden;
  }
  
  /* 辅助可访问性 */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  /* ========================================
     导航栏样式 - 极简透明设计
     ======================================== */
  
  .navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all var(--transition-base);
  }
  
  .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
  }
  
  /* 导航项左侧对齐,增大间距 */
  .navbar-nav {
    gap: 2.5rem;
  }
  
  .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0 !important;
    position: relative;
    transition: color var(--transition-base);
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
  }
  
  .nav-link:hover {
    color: var(--primary-color) !important;
  }
  
  .nav-link:hover::after {
    width: 100%;
  }
  
  /* 导航栏联系方式 */
  .navbar-contact {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color var(--transition-base);
  }
  
  .navbar-contact:hover {
    color: var(--primary-color);
  }
  
  .navbar-contact svg {
    flex-shrink: 0;
    transition: transform var(--transition-base);
  }
  
  .navbar-contact:hover svg {
    transform: translateY(-1px);
  }
  
  .navbar-contact span {
    line-height: 1;
  }
  
  /* ========================================
     主要内容区域
     ======================================== */
  
  .site-main {
    min-height: calc(100vh - 200px);
  }
  
  .hero {
    padding: 4rem 1rem;
    position: relative;
  }
  
  .hero-grid {
    display: block;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    min-height: 600px;
  }
  
  
  
  
  .hero-left {
    padding: 2rem;
    max-width: 50%;
    /* mix-blend-mode: difference; */
  
  }
  
  .hero-left h1 {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: white;
    letter-spacing: -0.5px;
    padding-top: 1.5rem;
  }
  
  .hero-left p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: white;
  }
  
  /* ========================================
     功能介绍区域 - 简约卡片设计
     ======================================== */
  
  .features-section {
    padding: 6rem 1rem;
    background: var(--bg-white);
  }
  
  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }
  
  .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
  }
  
  .section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .feature-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all var(--transition-slow);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transition: transform var(--transition-slow);
  }
  
  .feature-card:hover::before {
    transform: scaleX(1);
  }
  
  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
  }
  
  .feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.75rem;
    background: var(--primary-lighter);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-slow);
  }
  
  .feature-card:hover .feature-icon {
    background: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
  }
  
  .feature-card:hover .feature-icon svg path,
  .feature-card:hover .feature-icon svg circle {
    stroke: #ffffff;
  }
  
  .feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.875rem;
  }
  
  .feature-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
  }
  
  /* ========================================
     数据安全保障区域
     ======================================== */
  
  .security-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
  }
  
  .security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .security-card {
    text-align: center;
    padding: 2rem;
  }
  
  .security-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .security-card h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .security-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
  }
  
  /* ========================================
     经营场景区域
     ======================================== */
  
  .scenarios-section {
    padding: 4.5rem 0 3.5rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.28)), url('/static/home/mng.jpg');
    background-size: cover;
    background-position: center center;
    /* background-attachment: fixed; */
    position: relative;
    color: #fff;
  }
  
  .section-overlay {
    position: relative;
    z-index: 1;
  }
  
  .scenarios-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
  }
  
  .scenarios-section .section-header h2 {
    color: #ffffff;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0 0 0.6rem 0;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  }
  
  /* 横向细线，和图片中一致 */
  /* .scenarios-section .section-header::after {
    content: '';
    display: block;
    height: 1px;
    background: rgba(255,255,255,0.25);
    width: 100%;
    max-width: 1200px;
    margin: 1.25rem auto 0 auto;
  } */
  
  .scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.25rem 2rem;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
    align-items: start;
  }
  
  /* 每个项为行内布局：图标在左，标题/描述在右 */
  .scenario-item {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    color: #fff;
    min-height: 88px;
  }
  
  /* 垂直分隔线：每列之间显示细线 */
  .scenario-item:not(:nth-child(3n+1)) {
    /* border-left: 1px solid rgba(255,255,255,0.08); */
    padding-left: 2rem;
  }
  
  /* 行分隔：从第4项开始顶部加线，营造两行分割效果 */
  .scenario-item:nth-child(n) {
    border-top: 1px solid rgb(255, 255, 255);
  }
  
  .scenario-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 72px;
  }
  
  .scenario-icon svg {
    width: 48px;
    height: 48px;
  }
  
  .scenario-item h3 {
    font-size: 1.25rem;
    color: #ffffff;
    font-weight: 700;
    margin-left: 1rem;
  }
  
  .scenario-item p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  /* 响应式：窄屏时改为单列，移除分隔线 */
  @media (max-width: 991px) {
    .scenarios-grid {
      grid-template-columns: 1fr;
    }
  
    .scenario-item {
      flex-direction: row;
      padding: 1rem 1rem;
    }
  
    .scenario-item:not(:nth-child(3n+1)) {
      border-left: none;
      padding-left: 1rem;
    }
  
    .scenario-item:nth-child(n+4) {
      border-top: 1px solid rgba(255, 255, 255, 0.06);
    }
  
    .scenarios-section .section-header::after {
      margin-top: 1rem;
    }
  }
  
  /* ========================================
     平台入口区域 - 精致卡片设计
     ======================================== */
  
  .platform-section {
    padding: 6rem 1rem;
    background: var(--bg-gradient);
  }
  
  .platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .platform-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-slow);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  
  .platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
  }
  
  .platform-card:hover::before {
    transform: scaleX(1);
  }
  
  .platform-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
  }
  
  .platform-icon {
    width: 88px;
    height: 88px;
    background: var(--primary-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
    transition: all var(--transition-slow);
    position: relative;
  }
  
  .platform-icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all var(--transition-slow);
  }
  
  .platform-card:hover .platform-icon {
    background: var(--primary-color);
    transform: scale(1.08) rotate(5deg);
  }
  
  .platform-card:hover .platform-icon::after {
    border-color: var(--primary-light);
  }
  
  .platform-card:hover .platform-icon svg path,
  .platform-card:hover .platform-icon svg rect {
    stroke: #ffffff;
  }
  
  .platform-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.125rem;
    letter-spacing: -0.3px;
  }
  
  .platform-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    flex-grow: 1;
  }
  
  .platform-card strong {
    color: var(--primary-color);
    font-weight: 600;
  }
  
  .platform-btn {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    background: var(--primary-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
  }
  
  .platform-btn:hover {
    background: linear-gradient(135deg, #2d7de0 0%, #2571d1 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: #ffffff;
  }
  
  .platform-tip {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    background: var(--bg-light);
    color: var(--text-primary);
    border-radius: 12px;
    font-weight: 500;
    font-size: 0.9375rem;
    border: 1.5px dashed var(--primary-color);
  }
  
  /* 响应式 */
  @media (max-width: 768px) {
    .platform-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  
    .platform-card {
      padding: 2.5rem 2rem;
    }
  }
  
  /* ========================================
     登录卡片 - 现代简约设计
     ======================================== */
  
  .login-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-slow);
    width: 480px;
    position: absolute;
    right: 15%;
    top: 15%;
    max-width: 90%;
    z-index: 100;
    backdrop-filter: blur(10px);
  }
  
  .login-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  }
  
  .login-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.5px;
  }
  
  /* 登录方式切换 - 精致分段控制器 */
  .btn-group {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
    padding: 5px;
    display: flex;
    gap: 4px;
    margin-bottom: 2rem !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
  }
  
  .mode-btn {
    flex: 1;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    transition: all var(--transition-base);
    border: none !important;
    background: transparent !important;
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.9375rem !important;
    cursor: pointer;
  }
  
  .mode-btn.active {
    background: var(--bg-white) !important;
    color: var(--primary-color) !important;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transform: scale(1.02);
  }
  
  /* 表单标签 */
  .mb-3 {
    margin-bottom: 1.5rem !important;
  }
  
  .form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.625rem;
    font-size: 0.9rem;
    display: block;
  }
  
  /* 输入框 - 现代简约风格 */
  .form-control {
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    padding: 0.875rem 1.125rem;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    background: var(--bg-white);
    width: 100%;
    color: var(--text-primary);
    height: 48px;
  }
  
  .form-control::placeholder {
    color: var(--text-muted);
    font-weight: 400;
  }
  
  .form-control:hover {
    border-color: var(--primary-light);
  }
  
  .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(64, 158, 255, 0.08);
    background: var(--bg-white);
    outline: none;
  }
  
  /* 密码输入组 */
  .input-group {
    position: relative;
    display: flex;
    align-items: stretch;
  }
  
  .input-group .form-control {
    border-radius: 10px 0 0 10px;
    border-right: none;
    flex: 1;
  }
  
  .input-group .form-control:focus {
    border-right: none;
  }
  
  .input-group-text {
    background: var(--bg-white);
    border: 1.5px solid var(--border-color);
    border-left: none;
    border-radius: 0 10px 10px 0;
    padding: 0 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
  }
  
  .toggle-password {
    cursor: pointer;
    transition: all var(--transition-base);
    min-width: 48px;
  }
  
  .input-group:hover .input-group-text {
    border-color: var(--primary-light);
  }
  
  .input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
  }
  
  .toggle-password svg {
    color: var(--text-muted);
    transition: all var(--transition-base);
  }
  
  .toggle-password:hover svg path,
  .toggle-password:hover svg circle {
    stroke: var(--primary-color);
  }
  
  .toggle-password .icon-eye-off {
    display: none;
  }
  
  .toggle-password[aria-pressed="true"] .icon-eye {
    display: none;
  }
  
  .toggle-password[aria-pressed="true"] .icon-eye-off {
    display: inline;
  }
  
  .toggle-password[aria-pressed="true"] svg {
    color: var(--primary-color);
  }
  
  /* 验证码输入 */
  .d-flex {
    display: flex;
  }
  
  .gap-2 {
    gap: 0.625rem;
  }
  
  .d-flex.gap-2 .form-control {
    flex: 1;
  }
  
  /* 按钮 - 现代简约规范 */
  .btn {
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    line-height: 1.5;
  }
  
  .btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
  }
  
  .btn-primary:hover {
    background: linear-gradient(135deg, #2d7de0 0%, #2571d1 100%);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
  }
  
  .btn-primary:active {
    transform: translateY(0);
    box-shadow: var(--shadow-xs);
  }
  
  .btn-outline-primary {
    background: transparent;
    border: 1.5px solid var(--border-color) !important;
    color: var(--text-secondary);
    box-shadow: none;
  }
  
  .btn-outline-primary:hover {
    background: var(--bg-light);
    border-color: var(--primary-color) !important;
    color: var(--primary-color);
    transform: translateY(-1px);
  }
  
  .btn-outline-primary:active {
    background: var(--primary-lighter);
    transform: translateY(0);
  }
  
  .w-100 {
    width: 100%;
  }
  
  .mb-3.w-100 {
    margin-bottom: 1rem !important;
  }
  
  /* 记住账号和忘记密码 */
  .d-flex.justify-content-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .align-items-center {
    align-items: center;
  }
  
  .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .form-check-input {
    cursor: pointer;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    transition: all var(--transition-base);
    margin: 0;
    flex-shrink: 0;
  }
  
  .form-check-input:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(64, 158, 255, 0.08);
  }
  
  .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }
  
  .form-check-label {
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    user-select: none;
    margin: 0;
  }
  
  #forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all var(--transition-base);
  }
  
  #forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
  }
  
  /* 发送验证码按钮 */
  #send-code,
  #forgot-send,
  #reg-send-code {
    white-space: nowrap;
    min-width: 110px;
    padding: 0.875rem 1.125rem;
    font-size: 0.875rem;
  }
  
  /* 注册/登录切换链接 */
  #goto-register,
  #goto-login {
    text-decoration: none;
    font-weight: 500;
    transition: all var(--transition-base);
  }
  
  #goto-register:hover,
  #goto-login:hover {
    text-decoration: underline;
    transform: translateX(2px);
  }
  
  /* ========================================
     模态框样式 - 优雅动画设计
     ======================================== */
  
  .custom-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 2000;
    animation: fadeIn 0.3s ease;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  .custom-modal-dialog {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    width: 420px;
    max-width: 92%;
    box-shadow: var(--shadow-xl);
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-light);
  }
  
  /* 注册对话框更宽 */
  .register-dialog {
    width: 500px;
  }
  
  @keyframes modalSlideIn {
    from {
      opacity: 0;
      transform: translateY(-30px) scale(0.95);
    }
  
    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }
  
  .custom-modal-dialog h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.5px;
  }
  
  .custom-modal-close {
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    background: var(--bg-light);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .custom-modal-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
    box-shadow: var(--shadow-sm);
  }
  
  .custom-modal-close::before,
  .custom-modal-close::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 2px;
    background: var(--text-muted);
    transition: background var(--transition-base);
    border-radius: 1px;
  }
  
  .custom-modal-close:hover::before,
  .custom-modal-close:hover::after {
    background: white;
  }
  
  .custom-modal-close::before {
    transform: rotate(45deg);
  }
  
  .custom-modal-close::after {
    transform: rotate(-45deg);
  }
  
  .qr-placeholder {
    width: 240px;
    height: 240px;
    margin: 1.5rem auto;
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--bg-light);
    transition: all var(--transition-base);
  }
  
  .qr-placeholder:hover {
    border-color: var(--primary-color);
    background: var(--primary-lighter);
  }
  
  /* ========================================
     页脚样式
     ======================================== */
  
  .site-footer {
    background: #ffffff;
    color: var(--text-secondary);
    margin-top: 4rem;
    padding: 3rem 0 0 0;
    border-top: 1px solid var(--border-light);
  }
  
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 1rem;
  }
  
  .footer-col h3 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  .footer-col p,
  .footer-col address {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-secondary);
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer-col a:hover {
    color: var(--primary-color);
  }
  
  .footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    background: var(--bg-light);
  }
  
  /* ========================================
     响应式设计
     ======================================== */
  
  @media (max-width: 992px) {
    .hero-grid {
      min-height: auto;
    }
  
    .hero-left {
      max-width: 100%;
      margin-bottom: 2rem;
    }
  
    .login-card {
      position: relative;
      right: auto;
      top: auto;
      transform: none;
      width: 100%;
      max-width: 500px;
      margin: 2rem auto;
    }
  
    .hero-left h1 {
      font-size: 2.5rem;
    }
  
    .navbar-nav {
      gap: 1rem;
    }
  
    .features-grid {
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 1.5rem;
    }
  }
  
  @media (max-width: 768px) {
    .hero-left h1 {
      font-size: 2rem;
    }
  
    .hero-left p {
      font-size: 1rem;
    }
  
    .login-card {
      padding: 2rem 1.5rem;
    }
  
    .navbar-nav {
      gap: 0.5rem;
      margin-top: 1rem;
    }
  
    .nav-link::after {
      display: none;
    }
  
    .d-flex.gap-2 #qr-login {
      min-width: auto;
      flex: 1;
    }
  
    .section-header h2 {
      font-size: 1.75rem;
    }
  
    .features-grid {
      grid-template-columns: 1fr;
    }
  
    .features-section {
      padding: 3rem 1rem;
    }
  }
  
  .banner {
    background-image: url(/static/home/bg1.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
  }
  
  /* ========================================
     验证状态消息样式 - 精致设计
     ======================================== */
  
  .position-relative {
    position: relative;
  }
  
  .abs-status {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    opacity: 0;
    transform: translateY(-4px);
    transition: all var(--transition-base);
    pointer-events: none;
    white-space: nowrap;
    z-index: 10;
  }
  
  .abs-status.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  
  .abs-status.success {
    color: #67c23a;
    background: #f0f9ff;
    border: 1px solid #b3e19d;
  }
  
  .abs-status.error {
    color: #f56c6c;
    background: #fef0f0;
    border: 1px solid #fbc4c4;
  }
  
  .abs-status.warning {
    color: #e6a23c;
    background: #fdf6ec;
    border: 1px solid #f5dab1;
  }
  
  /* ========================================
     滚动优化
     ======================================== */
  
  html {
    scroll-behavior: smooth;
  }
  
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: var(--bg-light);
  }
  
  ::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
    transition: background var(--transition-base);
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
  }
  
  /* ========================================
     加载和禁用状态
     ======================================== */
  
  .btn:disabled,
  .btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
  }
  
  .form-control:disabled,
  .form-control[disabled] {
    background: var(--bg-light);
    color: var(--text-muted);
    cursor: not-allowed;
    opacity: 0.7;
  }
  
  /* ========================================
     微交互动画
     ======================================== */
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes pulse {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
  }
  
  .animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
  }

  /* ========================================
     待审核状态卡片
     ======================================== */

  .approval-pending-panel {
    padding: 4px 0 2px;
    color: var(--text-primary);
    animation: approvalFadeIn 0.32s ease-out;
  }

  .approval-pending-hero {
    text-align: center;
  }

  .approval-pending-illustration {
    width: 188px;
    height: 128px;
    margin: 0 auto 6px;
  }

  .approval-pending-illustration svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 18px 24px rgba(59, 130, 246, 0.16));
  }

  .approval-pending-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 76px;
    height: 28px;
    margin-bottom: 12px;
    padding: 0 16px;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 15px;
    line-height: 28px;
    font-weight: 700;
  }

  .approval-pending-hero h3 {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 28px;
    line-height: 1.22;
    font-weight: 800;
  }

  .approval-pending-hero p {
    margin: 0 auto;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.75;
  }

  .approval-pending-note {
    max-width: 380px;
    padding-top: 14px;
  }

  .approval-pending-time {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 18px 0 20px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.5;
  }

  .approval-pending-time svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    color: #3b82f6;
  }

  .approval-pending-time strong {
    margin-left: 4px;
    color: #2563eb;
    font-size: 16px;
  }

  .approval-pending-steps {
    display: flex;
    align-items: flex-start;
    margin: 0 0 22px;
  }

  .approval-pending-step {
    width: 118px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    line-height: 1.45;
  }

  .approval-pending-step strong,
  .approval-pending-step span:last-child {
    display: block;
  }

  .approval-pending-step strong {
    margin-top: 8px;
    color: #1f2937;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
  }

  .approval-pending-step span:last-child {
    margin-top: 3px;
    color: #64748b;
  }

  .approval-pending-step .approval-step-dot {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0 auto;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(148, 163, 184, 0.18);
  }

  .approval-step-dot svg {
    width: 22px;
    height: 22px;
  }

  .approval-pending-step.is-done .approval-step-dot,
  .approval-pending-step.is-current .approval-step-dot {
    background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.26);
  }

  .approval-pending-step.is-current strong,
  .approval-pending-step.is-current span:last-child {
    color: #1d4ed8;
  }

  .approval-step-line {
    flex: 1;
    height: 3px;
    margin: 20px -10px 0;
    border-radius: 999px;
    background: #e2e8f0;
  }

  .approval-step-line.is-active {
    background: linear-gradient(90deg, #2563eb 0%, #60a5fa 100%);
  }

  .approval-pending-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
  }

  .approval-pending-actions .btn-primary-tech,
  .approval-pending-actions .btn-outline-tech {
    min-width: 148px;
    height: 46px;
    border-radius: 8px;
    border: 1px solid #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  }

  .approval-pending-actions .btn-primary-tech {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
  }

  .approval-pending-actions .btn-outline-tech {
    background: #ffffff;
    color: #2563eb;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
  }

  .approval-pending-actions .btn-primary-tech:hover,
  .approval-pending-actions .btn-outline-tech:hover {
    transform: translateY(-1px);
  }

  .approval-pending-actions .btn-primary-tech:hover {
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.3);
  }

  .approval-pending-actions .btn-outline-tech:hover {
    background: #eff6ff;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
  }

  .approval-pending-actions .btn-outline-tech {
    margin-left: 14px;
  }

  .approval-pending-actions svg {
    width: 17px;
    height: 17px;
    margin: 0 6px;
  }

  .approval-pending-footer {
    margin: 16px 0 0;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
  }

  @keyframes approvalFadeIn {
    from {
      opacity: 0;
      transform: translateY(12px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ========================================
     Element Plus Message 样式优化
     ======================================== */
  
  .el-message {
    border-radius: 12px !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 1rem 1.25rem !important;
    font-size: 0.9375rem !important;
    border: 1px solid var(--border-light) !important;
    backdrop-filter: blur(10px);
  }
  
  .el-message--success {
    background: rgba(240, 249, 235, 0.95) !important;
    border-color: #b3e19d !important;
  }
  
  .el-message--warning {
    background: rgba(253, 246, 236, 0.95) !important;
    border-color: #f5dab1 !important;
  }
  
  .el-message--error {
    background: rgba(254, 240, 240, 0.95) !important;
    border-color: #fbc4c4 !important;
  }
  
  .el-message--info {
    background: rgba(236, 245, 255, 0.95) !important;
    border-color: #b3d8ff !important;
  }
  
  /* ========================================
     响应式优化补充
     ======================================== */
  
  @media (max-width: 576px) {
    .login-card {
      padding: 2rem 1.5rem;
      border-radius: 16px;
    }
    
    .login-card h3 {
      font-size: 1.5rem;
    }
    
    .custom-modal-dialog {
      padding: 2rem 1.5rem;
    }
    
    .platform-icon {
      width: 72px;
      height: 72px;
    }
    
    .feature-icon {
      width: 64px;
      height: 64px;
    }

    .approval-pending-illustration {
      width: 164px;
      height: 112px;
    }

    .approval-pending-hero h3 {
      font-size: 24px;
    }

    .approval-pending-note {
      max-width: 300px;
    }

    .approval-pending-steps {
      margin-bottom: 20px;
    }

    .approval-pending-step {
      width: 90px;
      font-size: 14px;
    }

    .approval-pending-step strong {
      font-size: 14px;
    }

    .approval-step-dot {
      width: 36px;
      height: 36px;
      font-size: 16px;
    }

    .approval-step-line {
      margin: 17px -8px 0;
    }

    .approval-pending-actions {
      display: block;
    }

    .approval-pending-actions .btn-primary-tech,
    .approval-pending-actions .btn-outline-tech {
      width: 100%;
      min-width: 0;
    }

    .approval-pending-actions .btn-outline-tech {
      margin-left: 0;
      margin-top: 12px;
    }
  }

/* ========================================
   Production entry final overrides
   ======================================== */

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.erp-navbar {
  background: var(--glass-light) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 0;
  transition: padding 0.3s var(--ease-out), background 0.3s ease, box-shadow 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: none;
}

.erp-navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(255, 255, 255, 0.6) !important;
  box-shadow: var(--shadow-sm);
}

.erp-navbar > .container-fluid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--bg-dark) !important;
  letter-spacing: 0;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--bg-dark);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-links .nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted) !important;
  padding: 0.5rem 0 !important;
  position: relative;
  display: block;
}

.nav-links .nav-link:hover,
.nav-links .nav-link.active {
  color: var(--bg-dark) !important;
}

.auth-tab {
  flex: 1;
  padding: 0.6rem !important;
  text-align: center;
  font-size: 14px !important;
  font-weight: 600;
  color: var(--text-muted) !important;
  border: none !important;
  background: transparent !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer;
  transition: all 0.2s;
  transform: none !important;
}

.auth-tab.active {
  background: #ffffff !important;
  color: var(--bg-dark) !important;
  box-shadow: var(--shadow-sm);
}
