/* ============================================
   AI 智能摘要翻译 - 暗色极简商务风
   ============================================ */

:root {
  --bg: #0a0a0f;
  --bg-card: rgba(255,255,255,0.04);
  --bg-glass: rgba(255,255,255,0.06);
  --bg-input: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.08);
  --border-focus: rgba(108,92,231,0.5);
  --text-primary: #f0f0f5;
  --text-secondary: #8888a0;
  --text-muted: #555570;
  --accent: #6c5ce7;
  --accent-hover: #7c6ff0;
  --accent-light: rgba(108,92,231,0.15);
  --success: #00b894;
  --danger: #e17055;
  --warning: #fdcb6e;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.3);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 4px 24px rgba(108,92,231,0.3);
  --transition: 0.2s ease;
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'PingFang SC', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* 背景辉光 */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
body::before {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: #6c5ce7;
}
body::after {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
  background: #e17055;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ===== Header ===== */
.header {
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
}
.logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.logo span {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.header nav { display: flex; gap: 2px; }
.header nav a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.header nav a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
}
.header nav a.active {
  color: var(--accent);
  background: var(--accent-light);
}
.header nav a.btn-nav {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 13px;
}

@media (max-width: 640px) {
  .header-inner { height: 56px; }
  .logo { font-size: 16px; }
  .header nav { gap: 0; }
  .header nav a { padding: 6px 10px; font-size: 13px; }
  .header nav a.btn-nav { padding: 6px 14px; font-size: 12px; }
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
}
.hero h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text-primary);
}
.hero h2 .highlight {
  background: linear-gradient(135deg, #6c5ce7 0%, #e17055 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .hero { padding: 60px 20px 50px; }
  .hero h2 { font-size: 28px; }
  .hero p { font-size: 15px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  color: #fff;
  box-shadow: 0 4px 20px rgba(108,92,231,0.3);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(108,92,231,0.4);
}
.btn-outline {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.15);
  color: var(--text-primary);
  background: rgba(255,255,255,0.1);
}
.btn-block { display: flex; width: 100%; }
.btn-lg { padding: 14px 36px; font-size: 16px; }
.btn-sm { padding: 7px 16px; font-size: 13px; }

@media (max-width: 640px) {
  .btn { padding: 14px 24px; font-size: 16px; }
  .btn-sm { padding: 10px 16px; font-size: 14px; }
}

/* ===== Sections ===== */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.section-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

.section { padding: 80px 0; }

@media (max-width: 640px) {
  .section { padding: 50px 0; }
  .section-header { margin-bottom: 32px; }
  .section-header h3 { font-size: 22px; }
}

/* ===== Feature Grid ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.12);
}
.feature-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.feature-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 22px 18px; }
}

/* ===== CTA ===== */
.cta-section {
  text-align: center;
  padding: 80px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.cta-section h3 { font-size: 24px; font-weight: 700; margin-bottom: 10px; }
.cta-section p { color: var(--text-secondary); margin-bottom: 28px; }

@media (max-width: 640px) {
  .cta-section { padding: 50px 20px; }
  .cta-section h3 { font-size: 20px; }
}

/* ===== Page Header ===== */
.page-header {
  text-align: center;
  padding: 56px 24px 36px;
}
.page-header h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; }
.page-header p { color: var(--text-secondary); margin-top: 6px; font-size: 15px; }

@media (max-width: 640px) {
  .page-header { padding: 40px 20px 28px; }
  .page-header h2 { font-size: 24px; }
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.12);
}
.pricing-card.popular {
  border-color: rgba(108,92,231,0.3);
  background: rgba(108,92,231,0.06);
}
.badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6c5ce7, #e17055);
  color: #fff;
  padding: 4px 18px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.plan-name { font-size: 17px; font-weight: 600; margin-bottom: 14px; color: var(--text-secondary); }
.plan-price { margin-bottom: 2px; }
.plan-price .price { font-size: 36px; font-weight: 800; color: var(--text-primary); letter-spacing: -1px; }
.plan-price .price span { font-size: 16px; font-weight: 500; color: var(--text-secondary); }
.plan-duration { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; }
.plan-features { list-style: none; text-align: left; margin-bottom: 26px; }
.plan-features li {
  padding: 7px 0;
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}
.plan-features li:last-child { border-bottom: none; }

@media (max-width: 640px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; padding: 0 20px 60px; }
  .pricing-card { padding: 28px 24px; }
  .plan-price .price { font-size: 32px; }
}

/* ===== Benefits ===== */
.benefits-section { padding: 0 24px 60px; }
.benefits-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}
.benefit-item {
  background: var(--bg-glass);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
  backdrop-filter: blur(8px);
}

@media (max-width: 640px) {
  .benefits-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .benefits-list { grid-template-columns: 1fr; }
}

/* ===== Auth Card ===== */
.auth-wrapper {
  max-width: 400px;
  margin: 0 auto;
  padding: 0 20px 80px;
}
.auth-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
}
.auth-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: -0.3px;
}

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 15px;
  transition: all var(--transition);
  outline: none;
}
.form-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(108,92,231,0.15);
  background: rgba(108,92,231,0.05);
}
.form-input::placeholder { color: var(--text-muted); }
.form-error { color: var(--danger); font-size: 13px; margin-top: 4px; display: none; }

.auth-tabs {
  display: flex;
  margin-bottom: 28px;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 3px;
}
.auth-tab {
  flex: 1;
  padding: 8px 12px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: var(--text-muted);
  border: none;
  border-radius: 6px;
  transition: all var(--transition);
}
.auth-tab.active {
  background: rgba(108,92,231,0.2);
  color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.auth-footer {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}
.auth-footer a { color: var(--accent); }

@media (max-width: 640px) {
  .auth-card { padding: 28px 24px; }
}

/* ===== Payment ===== */
.payment-wrapper {
  max-width: 480px;
  margin: 0 auto;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 80px;
}
.payment-info { margin-bottom: 28px; }
.payment-info h3 { font-size: 17px; font-weight: 600; margin-bottom: 18px; }
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.info-row:last-child { border-bottom: none; }
.payment-methods h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.payment-tabs { display: flex; gap: 10px; margin-bottom: 22px; }
.pay-tab {
  flex: 1;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.pay-tab.active {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
}
.qrcode-area {
  padding: 36px;
  text-align: center;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}
.qrcode-icon { font-size: 48px; margin-bottom: 10px; }
.qrcode-placeholder p { color: var(--text-muted); font-size: 14px; }

@media (max-width: 640px) {
  .payment-wrapper { margin: 0 20px 60px; padding: 28px 24px; }
}

/* ===== Profile ===== */
.profile-page { padding: 0 24px 80px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}
.profile-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.status-row:last-child { border-bottom: none; }
.status-row .label { color: var(--text-secondary); }
.status-row .value { color: var(--text-primary); font-weight: 500; }

/* ===== History & Orders ===== */
.history-item, .order-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  flex-wrap: wrap;
}
.history-type { font-weight: 500; min-width: 70px; }
.history-length { color: var(--text-muted); font-size: 13px; }
.history-time { color: var(--text-muted); margin-left: auto; font-size: 13px; }
.order-item span { min-width: 70px; }
.order-status { font-weight: 500; }
.status-paid { color: var(--success); }
.status-pending { color: var(--warning); }
.status-expired { color: var(--danger); }
.status-closed { color: var(--text-muted); }

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 36px 20px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 28px 24px;
  color: var(--text-muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

/* ===== Loading Spinner ===== */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Fade In ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.35s ease-out; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #333350; border-radius: 3px; }