/* VPSDOWN - Apple Style CSS */

:root {
  --color-primary: #0071e3;
  --color-primary-hover: #0077ed;
  --color-text: #1d1d1f;
  --color-text-secondary: #86868b;
  --color-background: #ffffff;
  --color-background-secondary: #f5f5f7;
  --color-border: #d2d2d7;
  --color-success: #34c759;
  --color-warning: #ff9500;
  --color-danger: #ff3b30;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: 3rem; line-height: 1.1; }
h2 { font-size: 2.5rem; line-height: 1.15; }
h3 { font-size: 1.75rem; line-height: 1.2; }
h4 { font-size: 1.25rem; line-height: 1.3; }

p {
  color: var(--color-text-secondary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 800px;
}

.container-lg {
  max-width: 1400px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #8b5cf6 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoGradient 3s ease infinite;
  text-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.nav-logo::before {
  content: '▼';
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  border-radius: 6px;
  color: white;
  -webkit-text-fill-color: white;
  animation: logoPulse 2s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

@keyframes logoGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes logoPulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.6);
  }
}

/* 登录页LOGO样式 */
.login-logo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #8b5cf6 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: logoGradient 3s ease infinite;
  margin-bottom: 8px;
}

.login-logo::before {
  content: '▼';
  font-size: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
  border-radius: 12px;
  color: white;
  -webkit-text-fill-color: white;
  animation: logoPulse 2s ease-in-out infinite;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-menu a {
  color: var(--color-text);
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.8;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu a:hover {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--color-background-secondary);
  border-radius: 16px;
  font-size: 0.6875rem;
  cursor: pointer;
}

.lang-switch span {
  padding: 4px 6px;
  border-radius: 12px;
  transition: var(--transition);
}

.lang-switch span.active {
  background: var(--color-background);
  box-shadow: var(--shadow-sm);
}

/* Mobile Menu Button */
.nav-mobile-btn {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: var(--color-background-secondary);
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Mobile Menu */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  padding: 16px 20px;
  z-index: 999;
}

.nav-mobile-menu.active {
  display: block;
}

.nav-mobile-menu a {
  display: block;
  padding: 12px 0;
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.nav-mobile-menu a:last-child {
  border-bottom: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 500;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: scale(1.02);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: white;
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
}

.btn-ghost:hover {
  background: var(--color-background-secondary);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

.btn-block {
  width: 100%;
}

.dashboard .balance-page {
  padding-top: 0;
  min-height: 0;
  background: transparent;
}

.verify-status-icon {
  min-height: 0.5rem;
  margin-bottom: 8px;
}

.payment-method-code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--color-background-secondary);
  color: var(--color-text);
}

.notification-type-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
}

.region-code-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 8px;
  background: var(--color-background-secondary);
  color: var(--color-text);
}

.btn-icon {
  padding: 10px;
  border-radius: 50%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 24px;
  background: linear-gradient(135deg, #1d1d1f 0%, #424245 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Features Section */
.features {
  padding: 120px 24px;
  background: var(--color-background);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature-card {
  padding: 40px 32px;
  background: var(--color-background-secondary);
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.feature-card h4 {
  margin-bottom: 12px;
}

/* Products Section */
.products {
  padding: 120px 24px;
  background: var(--color-background-secondary);
}

.region-tabs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
}

.region-tab {
  padding: 10px 20px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.region-tab:hover,
.region-tab.active {
  background: var(--color-text);
  color: var(--color-background);
  border-color: var(--color-text);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--color-background);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card.out-of-stock {
  opacity: 0.6;
}

.product-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: var(--color-danger);
  color: white;
  font-size: 0.75rem;
  border-radius: 100px;
}

.product-header {
  margin-bottom: 24px;
}

.product-region {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 600;
}

.product-specs {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
}

.spec-label {
  color: var(--color-text-secondary);
}

.spec-value {
  font-weight: 500;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.price-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
}

.price-period {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

.product-action {
  width: 100%;
}

/* Cards */
.card {
  background: var(--color-background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.card-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--color-border);
}

.card-body {
  padding: 32px;
}

.card-footer {
  padding: 24px 32px;
  border-top: 1px solid var(--color-border);
  background: var(--color-background-secondary);
}

/* Forms */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-background);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(0,113,227,0.1);
}

.form-hint {
  display: block;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-right: 40px;
}

/* Table */
.table-container {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  background: var(--color-background-secondary);
}

.table tbody tr:hover {
  background: var(--color-background-secondary);
}

/* Status Badge */
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 100px;
}

.status-success {
  background: rgba(52,199,89,0.1);
  color: var(--color-success);
}

.status-warning {
  background: rgba(255,149,0,0.1);
  color: var(--color-warning);
}

.status-danger {
  background: rgba(255,59,48,0.1);
  color: var(--color-danger);
}

.status-info {
  background: rgba(0,113,227,0.1);
  color: var(--color-primary);
}

.status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--color-background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.active .modal {
  transform: scale(1);
}

.modal-header {
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--color-background-secondary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--color-border);
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 24px;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* Payment */
.payment-box {
  text-align: center;
  padding: 40px;
}

.payment-amount {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.payment-currency {
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.payment-qr {
  width: 200px;
  height: 200px;
  margin: 0 auto 24px;
  background: #f5f5f7;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-address {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: var(--color-background-secondary);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.payment-address input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: monospace;
  font-size: 0.875rem;
}

.payment-timer {
  color: var(--color-warning);
  font-weight: 500;
}

/* Dashboard Layout */
.dashboard {
  padding-top: 64px;
  min-height: 100vh;
}

.dashboard-sidebar {
  position: fixed;
  top: 64px;
  left: 0;
  width: 240px;
  height: calc(100vh - 64px);
  background: var(--color-background);
  border-right: 1px solid var(--color-border);
  padding: 24px 0;
}

.sidebar-menu {
  list-style: none;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: var(--color-text);
  font-size: 0.9375rem;
  transition: var(--transition);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  background: var(--color-background-secondary);
  color: var(--color-primary);
}

.sidebar-menu a.active {
  border-right: 3px solid var(--color-primary);
}

.dashboard-content {
  margin-left: 240px;
  padding: 32px;
  min-height: calc(100vh - 64px);
  background: var(--color-background-secondary);
}

/* Server Card */
.server-card {
  background: var(--color-background);
  border-radius: var(--radius-xl);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.server-card:hover {
  box-shadow: var(--shadow-md);
}

.server-info h4 {
  margin-bottom: 8px;
}

.server-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.875rem;
  color: var(--color-text-secondary);
}

/* Footer */
.footer {
  padding: 24px;
  background: #1d1d1f;
  text-align: center;
}

.footer-support {
  font-size: 0.8125rem;
  color: #a1a1a6;
  margin-bottom: 12px;
}

.footer-support a {
  color: #0071e3 !important;
  font-weight: 500;
}

.footer-support a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 12px;
}

.footer-links a {
  color: #86868b;
  font-size: 0.75rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer p {
  font-size: 0.6875rem;
  color: #6e6e73;
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--color-text-secondary); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.d-flex { display: flex; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.hidden { display: none !important; }

/* Loading */
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-menu {
    gap: 16px;
  }
  
  .nav-menu a {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-mobile-btn {
    display: flex;
  }
  
  .nav-actions .btn {
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  
  .lang-switch {
    padding: 3px 6px;
    font-size: 0.625rem;
  }
  
  .lang-switch span {
    padding: 3px 5px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .dashboard-sidebar {
    display: none;
  }
  
  .dashboard-content {
    margin-left: 0;
    padding: 16px;
  }
  
  .server-card {
    grid-template-columns: 1fr;
  }
  
  .card-body {
    padding: 20px;
  }
  
  .card-header,
  .card-footer {
    padding: 16px 20px;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* === design tokens (pages) === */
:root {
  --gradient-page-bg: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
  --gradient-brand-soft: linear-gradient(135deg, rgba(14,165,233,0.08) 0%, rgba(99,102,241,0.08) 100%);
  --space-page-y: 96px;
}

/* login */

    .login-page {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
      padding: 24px;
    }
    .login-card {
      background: white;
      border-radius: 24px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.1);
      width: 100%;
      max-width: 400px;
      padding: 48px;
    }
    .login-header {
      text-align: center;
      margin-bottom: 32px;
    }
.login-header h1 {
      font-size: 1.5rem;
      margin-bottom: 8px;
    }
    .login-header p {
      color: #86868b;
    }
    .login-error {
      background: rgba(255,59,48,0.1);
      color: #ff3b30;
      padding: 12px 16px;
      border-radius: 8px;
      margin-bottom: 24px;
      font-size: 0.875rem;
      display: none;
    }
    .login-error.show {
      display: block;
    }
  
/* register */

    .register-page {
      min-height: 100vh;
      background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
      padding: 80px 24px 48px;
    }
    .register-container {
      max-width: 800px;
      margin: 0 auto;
    }
    .register-header {
      text-align: center;
      margin-bottom: 32px;
    }
    .register-header h1 {
      font-size: 2rem;
      margin-bottom: 8px;
    }
    .register-header p {
      color: #86868b;
    }
    .register-card {
      background: white;
      border-radius: 20px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.08);
      overflow: hidden;
    }
    .register-steps {
      display: flex;
      background: #f8f8fa;
      border-bottom: 1px solid #e5e5e5;
    }
    .step {
      flex: 1;
      padding: 16px;
      text-align: center;
      font-size: 0.875rem;
      color: #86868b;
      position: relative;
    }
    .step.active {
      color: #0071e3;
      font-weight: 600;
    }
    .step.completed {
      color: #34c759;
    }
    .step-number {
      display: inline-flex;
      width: 24px;
      height: 24px;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: #e5e5e5;
      margin-right: 8px;
      font-size: 0.75rem;
    }
    .step.active .step-number {
      background: #0071e3;
      color: white;
    }
    .step.completed .step-number {
      background: #34c759;
      color: white;
    }
    .register-body {
      padding: 32px;
    }
    .step-content {
      display: none;
    }
    .step-content.active {
      display: block;
    }
    .type-selector {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 24px;
    }
    .type-option {
      padding: 24px;
      border: 2px solid #e5e5e5;
      border-radius: 16px;
      text-align: center;
      cursor: pointer;
      transition: all 0.2s;
    }
    .type-option:hover {
      border-color: #0071e3;
    }
    .type-option.selected {
      border-color: #0071e3;
      background: rgba(0,113,227,0.05);
    }
    .type-option .icon {
      font-size: 3rem;
      margin-bottom: 12px;
    }
    .type-option h3 {
      font-size: 1.125rem;
      margin-bottom: 8px;
    }
    .type-option p {
      font-size: 0.8125rem;
      color: #86868b;
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .form-section {
      margin-bottom: 32px;
    }
    .form-section h3 {
      font-size: 1rem;
      margin-bottom: 16px;
      padding-bottom: 8px;
      border-bottom: 1px solid #e5e5e5;
      color: #1d1d1f;
    }
    .form-hint {
      font-size: 0.75rem;
      color: #86868b;
      margin-top: 4px;
    }
    .required::after {
      content: '*';
      color: #ff3b30;
      margin-left: 4px;
    }
    .file-upload {
      border: 2px dashed #d2d2d7;
      border-radius: 12px;
      padding: 24px;
      text-align: center;
      cursor: pointer;
      transition: all 0.2s;
    }
    .file-upload:hover {
      border-color: #0071e3;
      background: rgba(0,113,227,0.02);
    }
    .file-upload.has-file {
      border-color: #34c759;
      background: rgba(52,199,89,0.05);
    }
    .file-upload input {
      display: none;
    }
    .file-upload-icon {
      width: 44px;
      height: 44px;
      margin: 0 auto 8px;
      border-radius: 12px;
      background: linear-gradient(135deg, rgba(102, 126, 234, 0.45) 0%, rgba(118, 75, 162, 0.45) 100%);
    }

    .type-option h3 {
      margin-top: 0;
    }
    .file-upload-text {
      font-size: 0.875rem;
      color: #86868b;
    }
    .file-upload-name {
      font-size: 0.8125rem;
      color: #34c759;
      margin-top: 8px;
      word-break: break-all;
    }
    .register-actions {
      display: flex;
      justify-content: space-between;
      padding-top: 24px;
      border-top: 1px solid #e5e5e5;
    }
    .success-message {
      text-align: center;
      padding: 48px 24px;
    }
    .success-icon {
      width: 56px;
      height: 56px;
      margin: 0 auto 24px;
      border-radius: 50%;
      background: linear-gradient(135deg, #34c759, #30d158);
    }
    .success-message h2 {
      font-size: 1.5rem;
      margin-bottom: 16px;
      color: #34c759;
    }
    .success-message p {
      color: #86868b;
      margin-bottom: 32px;
    }
    @media (max-width: 640px) {
      .type-selector,
      .form-row {
        grid-template-columns: 1fr;
      }
      .register-steps {
        flex-direction: column;
      }
      .step {
        border-bottom: 1px solid #e5e5e5;
      }
    }
  
/* orders */

    /* 筛选器样式 */
    .filter-bar {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
    }

    .filter-select,
    .filter-input {
      padding: 10px 14px;
      border: 2px solid #e5e5e5;
      border-radius: 8px;
      font-size: 0.875rem;
      background: white;
      transition: all 0.2s;
    }

    .filter-select:focus,
    .filter-input:focus {
      border-color: var(--color-primary);
      outline: none;
    }

    .filter-select {
      min-width: 140px;
    }

    .filter-input {
      min-width: 150px;
    }
  
/* ticket detail */

    .ticket-page {
      padding-top: 64px;
    }
    .ticket-header {
      background: white;
      border-radius: 16px;
      padding: 24px;
      margin-bottom: 24px;
    }
    .ticket-header h2 {
      margin-bottom: 16px;
    }
    .ticket-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
      font-size: 0.875rem;
      color: #86868b;
    }
    .ticket-meta-item {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }
    .ticket-meta-item .label {
      font-size: 0.75rem;
    }
    .ticket-meta-item .value {
      font-weight: 600;
      color: #1d1d1f;
    }
    .status-badge {
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
    }
    .status-badge.open { background: #fff3cd; color: #856404; }
    .status-badge.replied { background: #d4edda; color: #155724; }
    .status-badge.answered { background: #cce5ff; color: #004085; }
    .status-badge.closed { background: #e2e3e5; color: #383d41; }
    .conversation {
      background: white;
      border-radius: 16px;
      padding: 24px;
      margin-bottom: 24px;
    }
    .message {
      padding: 20px;
      border-radius: 12px;
      margin-bottom: 16px;
    }
    .message:last-child {
      margin-bottom: 0;
    }
    .message.user {
      background: #f5f5f7;
      margin-left: 40px;
    }
    .message.admin {
      background: #e3f2fd;
      margin-right: 40px;
    }
    .message.original {
      background: #fff9c4;
      border: 1px solid #fff176;
    }
    .message-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      font-size: 0.875rem;
    }
    .message-author {
      font-weight: 600;
    }
    .message-author.admin {
      color: #1976d2;
    }
    .message-time {
      color: #86868b;
    }
    .message-content {
      white-space: pre-wrap;
      line-height: 1.6;
    }
    .reply-box {
      background: white;
      border-radius: 16px;
      padding: 24px;
    }
    .reply-box h4 {
      margin-bottom: 16px;
    }
    .reply-textarea {
      width: 100%;
      min-height: 120px;
      padding: 16px;
      border: 1px solid #d2d2d7;
      border-radius: 12px;
      font-size: 1rem;
      resize: vertical;
      margin-bottom: 16px;
    }
    .reply-textarea:focus {
      outline: none;
      border-color: var(--color-primary);
    }
    .reply-actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .closed-notice {
      text-align: center;
      padding: 24px;
      color: #86868b;
      background: #f5f5f7;
      border-radius: 12px;
    }
    .back-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
      color: var(--color-primary);
      text-decoration: none;
    }
  
/* tickets list */

    .tickets-page {
      padding-top: 64px;
    }
    .page-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }
    .filter-bar {
      display: flex;
      gap: 12px;
      margin-bottom: 16px;
    }
    .filter-input {
      padding: 10px 16px;
      border: 1px solid #d2d2d7;
      border-radius: 8px;
    }
    .ticket-list {
      background: white;
      border-radius: 16px;
      overflow: hidden;
    }
    .ticket-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 24px;
      border-bottom: 1px solid #f5f5f7;
      cursor: pointer;
      transition: background 0.2s;
    }
    .ticket-item:hover {
      background: #fafafa;
    }
    .ticket-item:last-child {
      border-bottom: none;
    }
    .ticket-info h4 {
      margin-bottom: 8px;
      font-size: 1rem;
    }
    .ticket-meta {
      display: flex;
      gap: 16px;
      font-size: 0.75rem;
      color: #86868b;
    }
    .ticket-no {
      font-family: 'SF Mono', Monaco, monospace;
    }
    .status-badge {
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 0.75rem;
      font-weight: 600;
    }
    .status-badge.open { background: #fff3cd; color: #856404; }
    .status-badge.replied { background: #d4edda; color: #155724; }
    .status-badge.answered { background: #cce5ff; color: #004085; }
    .status-badge.closed { background: #e2e3e5; color: #383d41; }
    .priority-badge {
      font-size: 0.7rem;
      padding: 2px 8px;
      border-radius: 4px;
    }
    .priority-badge.low { background: #e2e3e5; color: #383d41; }
    .priority-badge.normal { background: #cce5ff; color: #004085; }
    .priority-badge.high { background: #fff3cd; color: #856404; }
    .priority-badge.urgent { background: #f8d7da; color: #721c24; }
    .empty-state {
      text-align: center;
      padding: 60px 24px;
      color: #86868b;
    }
    .empty-state .icon {
      font-size: 4rem;
      margin-bottom: 16px;
    }
    /* 创建工单弹窗 */
    .form-group {
      margin-bottom: 16px;
    }
    .form-label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      font-size: 0.875rem;
    }
    .form-control {
      width: 100%;
      padding: 12px;
      border: 1px solid #d2d2d7;
      border-radius: 8px;
      font-size: 1rem;
    }
    .form-control:focus {
      outline: none;
      border-color: var(--color-primary);
    }
    textarea.form-control {
      min-height: 150px;
      resize: vertical;
    }
    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
  
/* checkout */

    .checkout-page {
      padding-top: 96px;
      min-height: 100vh;
      background: var(--color-background-secondary);
    }
    .checkout-grid {
      display: grid;
      grid-template-columns: 1fr 400px;
      gap: 32px;
      max-width: 1200px;
      margin: 0 auto;
      padding: 32px 24px;
    }
    @media (max-width: 900px) {
      .checkout-grid {
        grid-template-columns: 1fr;
      }
    }
    .config-section {
      background: white;
      border-radius: 24px;
      padding: 32px;
      margin-bottom: 24px;
    }
    .config-section h3 {
      margin-bottom: 24px;
      font-size: 1.25rem;
    }
    .option-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
      gap: 12px;
    }
    .option-btn {
      padding: 16px;
      border: 2px solid var(--color-border);
      border-radius: 12px;
      background: white;
      cursor: pointer;
      text-align: center;
      transition: all 0.2s;
    }
    .option-btn:hover {
      border-color: var(--color-primary);
    }
    .option-btn.active {
      border-color: var(--color-primary);
      background: rgba(0,113,227,0.05);
    }
    .option-btn .label {
      font-size: 0.75rem;
      color: var(--color-text-secondary);
    }
    .option-btn .value {
      font-size: 1rem;
      font-weight: 600;
      margin-top: 4px;
    }
    .summary-card {
      background: white;
      border-radius: 24px;
      padding: 32px;
      position: sticky;
      top: 96px;
    }
    .summary-row {
      display: flex;
      justify-content: space-between;
      padding: 12px 0;
      border-bottom: 1px solid var(--color-border);
    }
    .summary-row:last-child {
      border-bottom: none;
    }
    .summary-total {
      font-size: 1.5rem;
      font-weight: 700;
      margin: 24px 0;
      text-align: center;
    }
    .image-option {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 16px;
      border: 2px solid var(--color-border);
      border-radius: 12px;
      cursor: pointer;
      margin-bottom: 12px;
      transition: all 0.2s;
    }
    .image-option:hover, .image-option.active {
      border-color: var(--color-primary);
      background: rgba(0,113,227,0.05);
    }
    .image-icon {
      font-size: 1.5rem;
    }
    /* 数量选择器 */
    .quantity-selector {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin-top: 16px;
    }
    .quantity-btn {
      width: 44px;
      height: 44px;
      border: 2px solid var(--color-border);
      border-radius: 12px;
      background: white;
      font-size: 1.5rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
    }
    .quantity-btn:hover:not(:disabled) {
      border-color: var(--color-primary);
      color: var(--color-primary);
    }
    .quantity-btn:disabled {
      opacity: 0.4;
      cursor: not-allowed;
    }
    .quantity-value {
      font-size: 2rem;
      font-weight: 700;
      min-width: 60px;
      text-align: center;
    }
    .quantity-label {
      text-align: center;
      font-size: 0.875rem;
      color: var(--color-text-secondary);
      margin-top: 8px;
    }
    .quantity-max {
      text-align: center;
      font-size: 0.75rem;
      color: #ff9500;
      margin-top: 4px;
    }
    /* 单价和总价显示 */
    .price-breakdown {
      background: #f5f5f7;
      border-radius: 12px;
      padding: 16px;
      margin: 16px 0;
    }
    .price-row {
      display: flex;
      justify-content: space-between;
      font-size: 0.875rem;
      margin-bottom: 8px;
    }
    .price-row:last-child {
      margin-bottom: 0;
    }
    .price-row.total {
      font-size: 1.125rem;
      font-weight: 600;
      padding-top: 8px;
      border-top: 1px solid #d2d2d7;
      margin-top: 8px;
    }
  
/* balance */

    .balance-page {
      padding-top: 96px;
      min-height: 100vh;
      background: var(--color-background-secondary);
    }

    .balance-container {
      max-width: 1000px;
      margin: 0 auto;
      padding: 32px 24px;
    }

    .balance-card {
      background: linear-gradient(135deg, #0071e3 0%, #42a5f5 100%);
      border-radius: 24px;
      padding: 40px;
      color: white;
      margin-bottom: 32px;
    }

    .balance-label {
      font-size: 1rem;
      opacity: 0.9;
      margin-bottom: 8px;
    }

    .balance-amount {
      font-size: 3rem;
      font-weight: 700;
    }

    .balance-actions {
      display: flex;
      gap: 16px;
      margin-top: 24px;
    }

    .recharge-btn {
      background: rgba(255, 255, 255, 0.2);
      border: 2px solid white;
      color: white;
      padding: 12px 32px;
      border-radius: 30px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
    }

    .recharge-btn:hover {
      background: white;
      color: #0071e3;
    }

    .section-card {
      background: white;
      border-radius: 24px;
      padding: 32px;
      margin-bottom: 24px;
    }

    .section-title {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 24px;
    }

    .log-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 16px 0;
      border-bottom: 1px solid var(--color-border);
    }

    .log-item:last-child {
      border-bottom: none;
    }

    .log-info {
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .log-type {
      font-weight: 500;
    }

    .log-time {
      font-size: 0.875rem;
      color: var(--color-text-secondary);
    }

    .log-amount {
      font-size: 1.125rem;
      font-weight: 600;
    }

    .log-amount.positive {
      color: #34c759;
    }

    .log-amount.negative {
      color: #ff3b30;
    }

    .empty-state {
      text-align: center;
      padding: 40px;
      color: var(--color-text-secondary);
    }

    /* 充值弹窗 */
    .recharge-form {
      padding: 16px 0;
    }

    .amount-input {
      width: 100%;
      padding: 16px;
      font-size: 1.5rem;
      text-align: center;
      border: 2px solid var(--color-border);
      border-radius: 12px;
      margin-bottom: 16px;
    }

    .amount-input:focus {
      border-color: var(--color-primary);
      outline: none;
    }

    .quick-amounts {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 12px;
      margin-bottom: 24px;
    }

    .quick-amount-btn {
      padding: 12px;
      border: 2px solid var(--color-border);
      border-radius: 12px;
      background: white;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.2s;
    }

    .quick-amount-btn:hover,
    .quick-amount-btn.active {
      border-color: var(--color-primary);
      color: var(--color-primary);
      background: rgba(0, 113, 227, 0.05);
    }

    .recharge-note {
      font-size: 0.875rem;
      color: var(--color-text-secondary);
      text-align: center;
      margin-bottom: 24px;
    }

    /* 支付方式选择 */
    .payment-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    @media (max-width: 600px) {
      .payment-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .payment-method-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 14px;
      border: 2px solid var(--color-border);
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.2s;
      position: relative;
      background: white;
    }

    .payment-method-option:hover:not(.disabled) {
      border-color: var(--color-primary);
    }

    .payment-method-option.active {
      border-color: var(--color-primary);
      background: rgba(0, 113, 227, 0.05);
    }

    .method-icon {
      font-size: 1.5rem;
    }

    .method-info {
      flex: 1;
    }

    .method-name {
      font-weight: 600;
      font-size: 0.9375rem;
    }

    .method-desc {
      font-size: 0.75rem;
      color: #86868b;
    }

    .method-check {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--color-primary);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: bold;
      opacity: 0;
      transition: opacity 0.2s;
    }

    .payment-method-option.active .method-check {
      opacity: 1;
    }

    /* 专业的交易记录表格 */
    .transaction-table-wrapper {
      overflow-x: auto;
    }

    .transaction-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.875rem;
    }

    .transaction-table th {
      background: #f8f9fa;
      padding: 14px 16px;
      text-align: left;
      font-weight: 600;
      color: #1d1d1f;
      border-bottom: 2px solid #e5e5e5;
      white-space: nowrap;
    }

    .transaction-table td {
      padding: 16px;
      border-bottom: 1px solid #f0f0f0;
      vertical-align: top;
    }

    .transaction-table tbody tr:hover {
      background: #f8f9fa;
    }

    .trans-date {
      color: #1d1d1f;
      font-weight: 500;
      white-space: nowrap;
    }

    .trans-time {
      color: #86868b;
      font-size: 0.75rem;
    }

    .trans-type {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 12px;
      font-size: 0.75rem;
      font-weight: 600;
      white-space: nowrap;
    }

    .trans-type.recharge {
      background: #d4edda;
      color: #155724;
    }

    .trans-type.purchase {
      background: #cce5ff;
      color: #004085;
    }

    .trans-type.refund {
      background: #fff3cd;
      color: #856404;
    }

    .trans-type.adjustment {
      background: #e2e3e5;
      color: #383d41;
    }

    .trans-desc {
      max-width: 300px;
    }

    .trans-desc-main {
      font-weight: 500;
      color: #1d1d1f;
      margin-bottom: 4px;
    }

    .trans-desc-detail {
      font-size: 0.75rem;
      color: #86868b;
      line-height: 1.4;
    }

    .trans-desc-detail span {
      display: inline-block;
      margin-right: 12px;
    }

    .trans-amount {
      font-weight: 600;
      font-family: 'SF Mono', Consolas, monospace;
      white-space: nowrap;
    }

    .trans-amount.positive {
      color: #34c759;
    }

    .trans-amount.negative {
      color: #ff3b30;
    }

    .trans-balance {
      color: #1d1d1f;
      font-family: 'SF Mono', Consolas, monospace;
      white-space: nowrap;
    }

    .trans-order-no {
      font-size: 0.625rem;
      color: #aaa;
      font-family: monospace;
      margin-top: 4px;
    }

    @media (max-width: 768px) {

      .transaction-table th:nth-child(3),
      .transaction-table td:nth-child(3) {
        display: none;
      }
    }

    /* 筛选器样式 */
    .filter-bar {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      align-items: center;
    }

    .filter-select,
    .filter-input {
      padding: 10px 14px;
      border: 2px solid #e5e5e5;
      border-radius: 8px;
      font-size: 0.875rem;
      background: white;
      transition: all 0.2s;
    }

    .filter-select:focus,
    .filter-input:focus {
      border-color: var(--color-primary);
      outline: none;
    }

    .filter-select {
      min-width: 140px;
    }

    .filter-input {
      min-width: 150px;
    }
  
/* server detail */

    .server-page {
      padding-top: 64px;
      min-height: 100vh;
      background: var(--color-background-secondary);
    }
    .server-header {
      background: white;
      padding: 32px 0;
      border-bottom: 1px solid var(--color-border);
    }
    .server-title {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .server-title h1 {
      font-size: 1.75rem;
    }
    .server-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 32px 24px;
    }
    .info-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      margin-bottom: 32px;
    }
    .info-card {
      background: white;
      border-radius: 16px;
      padding: 24px;
    }
    .info-card h4 {
      margin-bottom: 16px;
      color: var(--color-text-secondary);
      font-size: 0.875rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    .info-row {
      display: flex;
      justify-content: space-between;
      padding: 8px 0;
      border-bottom: 1px solid var(--color-border);
    }
    .info-row:last-child {
      border-bottom: none;
    }
    .info-label {
      color: var(--color-text-secondary);
    }
    .info-value {
      font-weight: 500;
    }
    .password-field {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .password-field input {
      border: none;
      background: var(--color-background-secondary);
      padding: 4px 8px;
      border-radius: 4px;
      font-family: monospace;
      width: 120px;
    }
    .actions-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
      gap: 12px;
    }
    .action-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      padding: 20px;
      background: white;
      border: 1px solid var(--color-border);
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .action-btn:hover {
      border-color: var(--color-primary);
      background: rgba(0,113,227,0.05);
    }
    .action-btn .icon {
      font-size: 1.5rem;
    }
    .action-btn span {
      font-size: 0.875rem;
      font-weight: 500;
    }
    .toggle-switch {
      position: relative;
      display: inline-block;
      width: 48px;
      height: 26px;
    }
    .toggle-switch input {
      opacity: 0;
      width: 0;
      height: 0;
    }
    .toggle-slider {
      position: absolute;
      cursor: pointer;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #ccc;
      transition: 0.3s;
      border-radius: 26px;
    }
    .toggle-slider:before {
      position: absolute;
      content: "";
      height: 20px;
      width: 20px;
      left: 3px;
      bottom: 3px;
      background-color: white;
      transition: 0.3s;
      border-radius: 50%;
    }
    .toggle-switch input:checked + .toggle-slider {
      background-color: var(--color-primary);
    }
    .toggle-switch input:checked + .toggle-slider:before {
      transform: translateX(22px);
    }
  
/* dashboard */

    .filter-bar {
      background: white;
      border-radius: 12px;
      padding: 16px;
      margin-bottom: 16px;
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: center;
    }

    .filter-group {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .filter-group label {
      font-size: 0.75rem;
      color: #86868b;
      white-space: nowrap;
    }

    .filter-input {
      padding: 8px 12px;
      border: 1px solid #d2d2d7;
      border-radius: 8px;
      font-size: 0.875rem;
      min-width: 120px;
    }

    .filter-input:focus {
      outline: none;
      border-color: var(--color-primary);
    }

    .filter-btn {
      padding: 8px 16px;
      border: 1px solid #d2d2d7;
      border-radius: 8px;
      background: white;
      font-size: 0.875rem;
      cursor: pointer;
      transition: all 0.2s;
    }

    .filter-btn:hover {
      border-color: var(--color-primary);
      color: var(--color-primary);
    }

    .filter-btn.active {
      background: var(--color-primary);
      color: white;
      border-color: var(--color-primary);
    }

    .stats-bar {
      display: flex;
      gap: 16px;
      margin-bottom: 16px;
    }

    .stat-item {
      background: white;
      border-radius: 12px;
      padding: 16px 24px;
      flex: 1;
      text-align: center;
    }

    .stat-value {
      font-size: 2rem;
      font-weight: 700;
      color: var(--color-primary);
    }

    .stat-label {
      font-size: 0.75rem;
      color: #86868b;
      margin-top: 4px;
    }

    /* 紧凑表格样式 */
    .servers-table {
      width: 100%;
      background: white;
      border-radius: 12px;
      overflow: hidden;
    }

    .servers-table th,
    .servers-table td {
      padding: 12px 16px;
      text-align: left;
      font-size: 0.875rem;
      border-bottom: 1px solid #f5f5f7;
    }

    .servers-table th {
      background: #f5f5f7;
      font-weight: 600;
      font-size: 0.75rem;
      color: #86868b;
      text-transform: uppercase;
      cursor: pointer;
      user-select: none;
    }

    .servers-table th:hover {
      color: var(--color-primary);
    }

    .servers-table th.sortable::after {
      content: '↕';
      margin-left: 4px;
      opacity: 0.3;
    }

    .servers-table th.sort-asc::after {
      content: '↑';
      opacity: 1;
    }

    .servers-table th.sort-desc::after {
      content: '↓';
      opacity: 1;
    }

    .servers-table tr:hover {
      background: #fafafa;
    }

    .servers-table tr:last-child td {
      border-bottom: none;
    }

    .ip-cell {
      font-family: 'SF Mono', Monaco, monospace;
      font-weight: 600;
    }

    .ip-cell .copy-btn {
      opacity: 0;
      margin-left: 8px;
      cursor: pointer;
      color: #86868b;
    }

    .ip-cell:hover .copy-btn {
      opacity: 1;
    }

    .config-cell {
      font-size: 0.75rem;
      color: #86868b;
    }

    .config-cell strong {
      color: #1d1d1f;
      font-weight: 600;
    }

    .region-cell {
      max-width: 150px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .expires-cell {
      font-size: 0.75rem;
    }

    .expires-cell.danger {
      color: #ff3b30;
    }

    .expires-cell.warning {
      color: #ff9500;
    }

    .dashboard-layout .action-btns {
      display: flex;
      gap: 8px;
    }

    .dashboard-layout .action-btns .action-btn {
      padding: 6px 12px;
      border: 1px solid #d2d2d7;
      border-radius: 6px;
      background: white;
      font-size: 0.75rem;
      cursor: pointer;
      transition: all 0.2s;
    }

    .dashboard-layout .action-btns .action-btn:hover {
      border-color: var(--color-primary);
      color: var(--color-primary);
    }

    .dashboard-layout .action-btns .action-btn.primary {
      background: var(--color-primary);
      color: white;
      border-color: var(--color-primary);
    }

    /* 状态标签 */
    .status-badge {
      display: inline-block;
      padding: 4px 10px;
      border-radius: 20px;
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
    }

    .status-badge.running {
      background: #d4edda;
      color: #155724;
    }

    .status-badge.stopped {
      background: #f8d7da;
      color: #721c24;
    }

    .status-badge.pending {
      background: #fff3cd;
      color: #856404;
    }

    .status-badge.expired {
      background: #e2e3e5;
      color: #383d41;
    }

    /* 分页 */
    .pagination {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
    }

    .pagination button {
      padding: 8px 14px;
      border: 1px solid #d2d2d7;
      border-radius: 8px;
      background: white;
      cursor: pointer;
      transition: all 0.2s;
    }

    .pagination button:hover:not(:disabled) {
      border-color: var(--color-primary);
      color: var(--color-primary);
    }

    .pagination button.active {
      background: var(--color-primary);
      color: white;
      border-color: var(--color-primary);
    }

    .pagination button:disabled {
      opacity: 0.5;
      cursor: not-allowed;
    }

    /* 结果信息 */
    .results-info {
      font-size: 0.875rem;
      color: #86868b;
      margin-bottom: 12px;
    }

    /* 自动续费相关 */
    .auto-renew-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 2px 8px;
      border-radius: 12px;
      font-size: 0.625rem;
      font-weight: 600;
    }

    .auto-renew-badge.on {
      background: #d4edda;
      color: #155724;
    }

    .auto-renew-badge.off {
      background: #f5f5f7;
      color: #86868b;
    }

    .checkbox-cell {
      width: 40px;
      text-align: center;
    }

    .checkbox-cell input {
      width: 16px;
      height: 16px;
      cursor: pointer;
    }

    .batch-actions {
      display: none;
      align-items: center;
      gap: 12px;
      background: #1d1d1f;
      color: white;
      padding: 12px 20px;
      border-radius: 12px;
      margin-bottom: 16px;
    }

    .batch-actions.show {
      display: flex;
    }

    .batch-actions .count {
      font-weight: 600;
    }

    .batch-actions button {
      padding: 6px 16px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 6px;
      background: transparent;
      color: white;
      font-size: 0.875rem;
      cursor: pointer;
      transition: all 0.2s;
    }

    .batch-actions button:hover {
      background: rgba(255, 255, 255, 0.1);
    }

    .batch-actions button.primary {
      background: #34c759;
      border-color: #34c759;
    }

    .batch-actions button.danger {
      background: #ff3b30;
      border-color: #ff3b30;
    }

    /* 7天到期预览 */
    .renew-summary {
      background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 20px;
      color: white;
    }

    .renew-summary-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }

    .renew-summary-header h3 {
      font-size: 1rem;
      font-weight: 600;
      margin: 0;
    }

    .renew-summary-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
    }

    .renew-stat {
      text-align: center;
    }

    .renew-stat-value {
      font-size: 1.5rem;
      font-weight: 700;
    }

    .renew-stat-label {
      font-size: 0.75rem;
      opacity: 0.8;
    }

    .renew-stat.warning .renew-stat-value {
      color: #ffcc00;
    }

    .renew-stat.danger .renew-stat-value {
      color: #ff6b6b;
    }

    @media (max-width: 768px) {
      .renew-summary-stats {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    /* 视图切换 */
    .view-toggle {
      display: flex;
      gap: 4px;
      background: #f5f5f7;
      border-radius: 8px;
      padding: 4px;
    }

    .view-toggle button {
      padding: 6px 12px;
      border: none;
      background: transparent;
      border-radius: 6px;
      cursor: pointer;
      font-size: 0.875rem;
    }

    .view-toggle button.active {
      background: white;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    /* 快速操作下拉 */
    .quick-actions {
      position: relative;
    }

    .quick-menu {
      display: none;
      position: absolute;
      right: 0;
      top: 100%;
      background: white;
      border-radius: 8px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
      min-width: 140px;
      z-index: 100;
      overflow: hidden;
    }

    .quick-menu.show {
      display: block;
    }

    .quick-menu a {
      display: block;
      padding: 10px 16px;
      font-size: 0.875rem;
      color: #1d1d1f;
      text-decoration: none;
      transition: background 0.2s;
    }

    .quick-menu a:hover {
      background: #f5f5f7;
    }

    .note-cell {
      max-width: 120px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 0.75rem;
      color: #86868b;
    }

    .export-modal {
      background: white;
      border-radius: 16px;
      width: 90%;
      max-width: 600px;
      max-height: 90vh;
      overflow-y: auto;
    }

    .modal-header {
      padding: 20px 24px;
      border-bottom: 1px solid #f5f5f7;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .modal-header h3 {
      margin: 0;
      font-size: 1.125rem;
    }

    .modal-close {
      background: none;
      border: none;
      font-size: 1.5rem;
      cursor: pointer;
      color: #86868b;
    }

    .modal-body {
      padding: 24px;
    }

    .export-section {
      margin-bottom: 20px;
    }

    .export-section h4 {
      font-size: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #86868b;
      margin-bottom: 12px;
    }

    .format-options {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .format-option {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px;
      border: 1px solid #d2d2d7;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .format-option:hover {
      border-color: var(--color-primary);
    }

    .format-option.active {
      border-color: var(--color-primary);
      background: rgba(0, 113, 227, 0.05);
    }

    .format-option input[type="radio"] {
      margin: 0;
    }

    .format-preview {
      font-family: 'SF Mono', Monaco, monospace;
      font-size: 0.7rem;
      color: #86868b;
      margin-top: 2px;
    }

    .export-options {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 12px;
    }

    .export-option {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 0.875rem;
    }

    .export-result textarea {
      width: 100%;
      height: 180px;
      font-family: 'SF Mono', Monaco, monospace;
      font-size: 0.8rem;
      padding: 12px;
      border: 1px solid #d2d2d7;
      border-radius: 8px;
      resize: vertical;
      background: #f5f5f7;
    }

    .export-stats {
      font-size: 0.875rem;
      color: #86868b;
      margin-bottom: 8px;
    }

    .export-actions {
      display: flex;
      gap: 12px;
      margin-top: 12px;
    }

    .settings-row {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .setting-item {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.875rem;
      color: #86868b;
    }

    .setting-item select,
    .setting-item input {
      padding: 6px 10px;
      border: 1px solid #d2d2d7;
      border-radius: 6px;
      font-size: 0.875rem;
    }
  
/* index marketing */
    /* News Section */
    .news-section {
      padding: 60px 24px;
      background: #fbfbfd;
      border-bottom: 1px solid #e5e5e5;
    }

    .news-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .news-header h2 {
      font-size: 2rem;
      font-weight: 700;
      color: #1d1d1f;
      margin-bottom: 8px;
    }

    .news-header p {
      color: #86868b;
    }

    .news-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 24px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .news-card {
      padding: 24px;
      background: white;
      border-radius: 16px;
      transition: all 0.3s;
      border: 1px solid rgba(0, 0, 0, 0.05);
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    }

    .news-card:hover {
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
      transform: translateY(-2px);
    }

    .news-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      font-size: 0.75rem;
      color: #86868b;
    }

    .news-badge {
      padding: 4px 10px;
      border-radius: 20px;
      font-weight: 600;
      text-transform: uppercase;
      font-size: 0.65rem;
      letter-spacing: 0.5px;
    }

    .badge-maint {
      background: #fffbe6;
      color: #d46b08;
      border: 1px solid #ffe58f;
    }

    .badge-recov {
      background: #f6ffed;
      color: #389e0d;
      border: 1px solid #b7eb8f;
    }

    .badge-general {
      background: #e6f7ff;
      color: #096dd9;
      border: 1px solid #91d5ff;
    }

    .news-title {
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 8px;
      color: #1d1d1f;
      line-height: 1.4;
    }

    .news-content {
      font-size: 0.875rem;
      color: #424245;
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* Hero Section */
    .hero-compact {
      background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
      color: white;
      padding: 48px 24px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .hero-compact::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      opacity: 0.5;
    }

    .hero-compact .hero-content {
      max-width: 800px;
      margin: 0 auto 32px;
      position: relative;
      z-index: 1;
    }

    .hero-compact h1 {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 12px;
      background: linear-gradient(135deg, #fff 0%, #60a5fa 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .hero-compact p {
      font-size: 1rem;
      color: #94a3b8;
      margin: 0;
      line-height: 1.6;
    }

    .features-inline {
      display: flex;
      justify-content: center;
      gap: 24px;
      flex-wrap: wrap;
      max-width: 1000px;
      margin: 0 auto;
      position: relative;
      z-index: 1;
    }

    .feature-item {
      display: flex;
      align-items: center;
      gap: 12px;
      background: rgba(255, 255, 255, 0.05);
      padding: 14px 20px;
      border-radius: 12px;
      border: 1px solid rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      transition: all 0.3s ease;
    }

    .feature-item:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: rgba(96, 165, 250, 0.3);
      transform: translateY(-2px);
    }

    .feature-item .feature-icon {
      font-size: 1.5rem;
    }

    .feature-item strong {
      display: block;
      font-size: 0.875rem;
      color: #fff;
    }

    .feature-item span {
      font-size: 0.75rem;
      color: #64748b;
    }

    /* Advantages Section */
    .advantages-section {
      background: #f8fafc;
      padding: 80px 24px;
    }

    .advantages-header {
      text-align: center;
      max-width: 600px;
      margin: 0 auto 48px;
    }

    .advantages-header h2 {
      font-size: 2rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 12px;
    }

    .advantages-header p {
      color: #64748b;
      font-size: 1rem;
    }

    .advantages-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .advantage-card {
      background: white;
      border-radius: 16px;
      padding: 32px;
      box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
      transition: all 0.3s ease;
      border: 1px solid #e2e8f0;
    }

    .advantage-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .advantage-icon {
      width: 48px;
      height: 48px;
      background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin-bottom: 20px;
    }

    .advantage-card h3 {
      font-size: 1.25rem;
      font-weight: 600;
      color: #0f172a;
      margin-bottom: 12px;
    }

    .advantage-card>p {
      color: #64748b;
      font-size: 0.875rem;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .advantage-features {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .advantage-features li {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.8125rem;
      color: #475569;
      padding: 6px 0;
    }

    .advantage-features li::before {
      content: '✓';
      color: #22c55e;
      font-weight: bold;
    }

    /* Specs Section */
    .specs-section {
      background: #0f172a;
      padding: 80px 24px;
      color: white;
    }

    .specs-header {
      text-align: center;
      margin-bottom: 48px;
    }

    .specs-header h2 {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 12px;
    }

    .specs-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 32px;
      max-width: 1000px;
      margin: 0 auto;
    }

    .spec-card {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 16px;
      padding: 32px;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .spec-card h3 {
      font-size: 1.125rem;
      font-weight: 600;
      margin-bottom: 20px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .spec-card h3 span {
      font-size: 1.25rem;
    }

    .spec-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .spec-list li {
      padding: 10px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 0.875rem;
      color: #94a3b8;
    }

    .spec-list li:last-child {
      border-bottom: none;
    }

    /* Support Section */
    .support-section {
      background: white;
      padding: 80px 24px;
    }

    .support-header {
      text-align: center;
      max-width: 600px;
      margin: 0 auto 48px;
    }

    .support-header h2 {
      font-size: 2rem;
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 12px;
    }

    .support-header p {
      color: #64748b;
      font-size: 1rem;
    }

    .support-channels {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      max-width: 1000px;
      margin: 0 auto 48px;
    }

    .support-card {
      background: #f8fafc;
      border-radius: 16px;
      padding: 32px;
      text-align: center;
      transition: all 0.3s ease;
      border: 1px solid #e2e8f0;
    }

    .support-card:hover {
      background: #f1f5f9;
      border-color: #3b82f6;
    }

    .support-icon {
      font-size: 2.5rem;
      margin-bottom: 16px;
    }

    .support-card h3 {
      font-size: 1.125rem;
      font-weight: 600;
      color: #0f172a;
      margin-bottom: 12px;
    }

    .support-card p {
      color: #64748b;
      font-size: 0.875rem;
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .support-card a {
      display: inline-block;
      padding: 10px 24px;
      background: #3b82f6;
      color: white;
      border-radius: 8px;
      text-decoration: none;
      font-size: 0.875rem;
      font-weight: 500;
      transition: background 0.2s;
    }

    .support-card a:hover {
      background: #2563eb;
    }

    .support-card a.email-link {
      background: transparent;
      color: #3b82f6;
      border: 1px solid #3b82f6;
    }

    .support-card a.email-link:hover {
      background: #3b82f6;
      color: white;
    }

    /* SLA Grid */
    .sla-section {
      background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
      border-radius: 20px;
      padding: 48px;
      max-width: 1000px;
      margin: 0 auto;
      color: white;
    }

    .sla-title {
      text-align: center;
      font-size: 1.5rem;
      font-weight: 600;
      margin-bottom: 32px;
    }

    .sla-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 32px;
    }

    .sla-item {
      text-align: center;
    }

    .sla-value {
      font-size: 1.5rem;
      font-weight: 700;
      color: #60a5fa;
      margin-bottom: 8px;
    }

    .sla-label {
      font-size: 0.875rem;
      color: #94a3b8;
    }

    /* FAQ Section */
    .faq-section {
      background: #f8fafc;
      padding: 80px 24px;
    }

    .faq-header {
      text-align: center;
      margin-bottom: 48px;
    }

    .faq-header h2 {
      font-size: 2rem;
      font-weight: 700;
      color: #0f172a;
    }

    .faq-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
      gap: 24px;
      max-width: 1200px;
      margin: 0 auto;
    }

    .faq-item {
      background: white;
      border-radius: 12px;
      padding: 24px;
      border: 1px solid #e2e8f0;
    }

    .faq-question {
      font-size: 1rem;
      font-weight: 600;
      color: #0f172a;
      margin-bottom: 12px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }

    .faq-question::before {
      content: 'Q';
      background: #3b82f6;
      color: white;
      width: 24px;
      height: 24px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.75rem;
      font-weight: 700;
      flex-shrink: 0;
    }

    .faq-answer {
      color: #64748b;
      font-size: 0.875rem;
      line-height: 1.7;
      padding-left: 36px;
    }

    /* Products Section */
    .products-page {
      display: flex;
      gap: 24px;
      max-width: 1400px;
      margin: 0 auto;
      padding: 24px;
    }

    .filter-sidebar {
      width: 240px;
      flex-shrink: 0;
      position: sticky;
      top: 80px;
      height: fit-content;
    }

    .filter-card {
      background: white;
      border-radius: 12px;
      padding: 16px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
      margin-bottom: 12px;
    }

    .filter-title {
      font-size: 0.7rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      color: #86868b;
      margin-bottom: 12px;
    }

    .filter-group {
      margin-bottom: 14px;
    }

    .filter-group:last-child {
      margin-bottom: 0;
    }

    .filter-label {
      font-size: 0.75rem;
      font-weight: 500;
      color: #1d1d1f;
      margin-bottom: 6px;
      display: block;
    }

    .filter-select {
      width: 100%;
      padding: 8px 10px;
      border: 1px solid #e5e5e5;
      border-radius: 6px;
      font-size: 0.8125rem;
      background: white;
      cursor: pointer;
      transition: border-color 0.2s;
    }

    .filter-select:focus {
      outline: none;
      border-color: #0071e3;
    }

    .filter-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .filter-chip {
      padding: 5px 10px;
      border: 1px solid #e5e5e5;
      border-radius: 14px;
      font-size: 0.75rem;
      background: white;
      cursor: pointer;
      transition: all 0.2s;
    }

    .filter-chip:hover {
      border-color: #0071e3;
      color: #0071e3;
    }

    .filter-chip.active {
      background: #0071e3;
      border-color: #0071e3;
      color: white;
    }

    .filter-reset {
      width: 100%;
      padding: 10px;
      border: none;
      background: #f5f5f7;
      border-radius: 6px;
      font-size: 0.8125rem;
      color: #1d1d1f;
      cursor: pointer;
      transition: background 0.2s;
    }

    .filter-reset:hover {
      background: #e8e8ed;
    }

    .products-main {
      flex: 1;
      min-width: 0;
    }

    .products-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
      flex-wrap: wrap;
      gap: 12px;
    }

    .products-count {
      font-size: 0.8125rem;
      color: #86868b;
    }

    .products-count strong {
      color: #1d1d1f;
    }

    .products-sort {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .products-sort label {
      font-size: 0.8125rem;
      color: #86868b;
    }

    .sort-select {
      padding: 6px 10px;
      border: 1px solid #e5e5e5;
      border-radius: 6px;
      font-size: 0.8125rem;
      background: white;
      cursor: pointer;
    }

    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
      gap: 14px;
    }

    /* 分页样式 */
    .products-pagination {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: 24px;
      padding: 16px 0;
      flex-wrap: wrap;
      gap: 12px;
    }

    .pagination-info {
      font-size: 0.8125rem;
      color: #86868b;
    }

    .pagination-buttons {
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .pagination-btn {
      min-width: 36px;
      height: 36px;
      padding: 0 10px;
      border: 1px solid #e5e5e5;
      border-radius: 8px;
      background: white;
      font-size: 0.875rem;
      cursor: pointer;
      transition: all 0.2s;
    }

    .pagination-btn:hover {
      border-color: #0071e3;
      color: #0071e3;
    }

    .pagination-btn.active {
      background: #0071e3;
      border-color: #0071e3;
      color: white;
    }

    .pagination-dots {
      padding: 0 6px;
      color: #86868b;
    }

    /* 实时开通标记 */
    .product-tag.instant {
      background: linear-gradient(135deg, #34c759, #30d158);
      color: white;
      border: none;
      font-weight: 500;
    }

    .product-card {
      background: white;
      border-radius: 10px;
      padding: 16px;
      box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
      transition: all 0.2s ease;
      display: flex;
      flex-direction: column;
      border: 1px solid #f0f0f0;
    }

    .product-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
      border-color: #e0e0e0;
    }

    .product-card.out-of-stock {
      opacity: 0.5;
    }

    .product-location {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
    }

    .product-flag {
      font-size: 1.25rem;
    }

    .product-region-info {
      flex: 1;
      min-width: 0;
    }

    .product-country {
      font-size: 0.8125rem;
      font-weight: 600;
      color: #1d1d1f;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .product-city {
      font-size: 0.6875rem;
      color: #86868b;
    }

    .product-tags {
      display: flex;
      gap: 4px;
      flex-wrap: wrap;
    }

    .product-tag {
      font-size: 0.5625rem;
      padding: 2px 6px;
      background: #f0f7ff;
      color: #0071e3;
      border-radius: 3px;
      font-weight: 500;
    }

    .product-tag.warning {
      background: #fff5f0;
      color: #ff6b35;
    }

    .product-specs-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 6px;
      margin: 10px 0;
      padding: 10px 0;
      border-top: 1px solid #f5f5f7;
      border-bottom: 1px solid #f5f5f7;
    }

    .spec-item {
      text-align: center;
    }

    .spec-value {
      font-size: 0.875rem;
      font-weight: 600;
      color: #1d1d1f;
    }

    .spec-label {
      font-size: 0.5625rem;
      color: #86868b;
      text-transform: uppercase;
      letter-spacing: 0.2px;
    }

    .product-test-ip {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 0.75rem;
      color: #86868b;
      margin-bottom: 10px;
      padding: 6px 8px;
      background: #f9f9fb;
      border-radius: 6px;
    }

    .product-test-ip-label {
      font-weight: 500;
      color: #1d1d1f;
    }

    .product-test-ip-value {
      font-family: 'Monaco', 'Courier New', monospace;
      letter-spacing: 0.5px;
      user-select: none;
      cursor: pointer;
      transition: color 0.2s;
    }

    .product-test-ip-value:hover {
      color: #0071e3;
    }

    .product-test-ip-value.visible {
      color: #1d1d1f;
    }

    .product-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: auto;
      padding-top: 10px;
    }

    .product-price {
      display: flex;
      flex-direction: column;
    }

    .price-amount {
      font-size: 1.125rem;
      font-weight: 700;
      color: #1d1d1f;
    }

    .price-period {
      font-size: 0.6875rem;
      color: #86868b;
    }

    .product-action {
      padding: 8px 16px;
      font-size: 0.8125rem;
    }

    .empty-state {
      text-align: center;
      padding: 48px 20px;
      background: white;
      border-radius: 10px;
    }

    .empty-state-icon {
      font-size: 3rem;
      margin-bottom: 12px;
    }

    .empty-state h3 {
      margin-bottom: 6px;
      color: #1d1d1f;
      font-size: 1rem;
    }

    .empty-state p {
      color: #86868b;
      font-size: 0.875rem;
    }

    .loading-state {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 48px;
      background: white;
      border-radius: 10px;
    }

    .loading-spinner {
      width: 32px;
      height: 32px;
      border: 2px solid #f5f5f7;
      border-top-color: #0071e3;
      border-radius: 50%;
      animation: spin 1s linear infinite;
    }

    .loading-text {
      margin-top: 12px;
      color: #86868b;
      font-size: 0.8125rem;
    }

    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .products-page {
        flex-direction: column;
      }

      .filter-sidebar {
        width: 100%;
        position: static;
      }

      .filter-card {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
      }

      .filter-group {
        flex: 1;
        min-width: 140px;
        margin-bottom: 0;
      }

      .hero-compact h1 {
        font-size: 1.75rem;
      }

      .features-inline {
        gap: 12px;
      }

      .feature-item {
        padding: 10px 14px;
      }

      .advantages-grid,
      .support-channels {
        grid-template-columns: 1fr;
      }

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

    @media (max-width: 640px) {
      .products-grid {
        grid-template-columns: 1fr;
      }

      .product-specs-grid {
        grid-template-columns: repeat(3, 1fr);
      }

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

    /* News Modal */
    .news-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      backdrop-filter: blur(4px);
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s;
    }

    .news-modal-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .news-modal-content {
      background: white;
      width: 90%;
      max-width: 600px;
      max-height: 85vh;
      border-radius: 20px;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
      padding: 32px;
      position: relative;
      overflow-y: auto;
      transform: scale(0.9);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .news-modal-overlay.active .news-modal-content {
      transform: scale(1);
    }

    .news-modal-close {
      position: absolute;
      top: 20px;
      right: 20px;
      background: #f5f5f7;
      border: none;
      padding: 8px 16px;
      border-radius: 18px;
      cursor: pointer;
      font-weight: 600;
      color: #86868b;
      transition: all 0.2s;
    }

    .news-modal-close:hover {
      background: #e8e8ed;
      color: #1d1d1f;
    }

    .news-modal-header {
      margin-bottom: 20px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .news-modal-time {
      font-size: 0.85rem;
      color: #86868b;
    }

    .news-modal-title {
      font-size: 1.5rem;
      font-weight: 700;
      color: #1d1d1f;
      margin-bottom: 24px;
      line-height: 1.3;
    }

    .news-modal-body {
      font-size: 1rem;
      line-height: 1.7;
      color: #424245;
      white-space: pre-wrap;
    }

    .news-modal-body b {
      color: #1d1d1f;
      font-weight: 600;
    }
