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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #f5f7fa;
  color: #333;
  min-height: 100vh;
}

#app {
  max-width: 600px;
  margin: 0 auto;
  min-height: 100vh;
  background: #fff;
  position: relative;
}

/* ===== 语言选择界面 ===== */
.lang-select-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
}

.lang-select-container .logo {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.lang-select-container .subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 60px;
  text-align: center;
}

.lang-select-buttons {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 320px;
}

.lang-select-btn {
  flex: 1;
  padding: 30px 20px;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lang-select-btn:hover {
  border-color: #6366f1;
  background: #f5f5ff;
  transform: translateY(-2px);
}

.lang-select-btn .lang-flag {
  font-size: 40px;
}

.lang-select-btn .lang-name {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.view {
  display: none;
  min-height: 100vh;
}

.view.active {
  display: block;
}

/* ===== 首页 ===== */

.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 20px 30px;
  text-align: center;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}

.subtitle {
  font-size: 14px;
  opacity: 0.9;
}

.setup-card {
  padding: 20px;
}

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

.setup-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #555;
}

.setup-hint {
  font-weight: normal;
  font-size: 12px;
  color: #999;
  margin-left: 8px;
}

.setup-input,
.lang-select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.setup-input:focus,
.lang-select:focus {
  border-color: #667eea;
}

.lang-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-box {
  flex: 1;
}

.lang-label {
  display: block;
  font-size: 12px;
  color: #999;
  margin-bottom: 4px;
}

.lang-arrow {
  font-size: 20px;
  color: #999;
  margin-top: 18px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 26px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #667eea;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-large {
  padding: 16px 24px;
  font-size: 18px;
}

.btn-secondary {
  background: #f0f0f0;
  color: #555;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: #e0e0e0;
}

.btn-text {
  background: none;
  border: none;
  color: #667eea;
  font-size: 13px;
  cursor: pointer;
  padding: 4px 8px;
}

/* ===== 历史会谈 ===== */

.history-section {
  padding: 20px;
  margin-top: 20px;
}

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

.history-header span {
  font-size: 15px;
  font-weight: 600;
}

.history-list {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  min-height: 60px;
}

.history-empty {
  text-align: center;
  color: #999;
  font-size: 13px;
  padding: 20px;
}

.history-item {
  padding: 10px;
  background: white;
  border-radius: 6px;
  margin-bottom: 8px;
}

.history-name {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.history-meta {
  font-size: 12px;
  color: #999;
}

/* ===== 会谈中 ===== */

.meeting-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meeting-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.recording-dot {
  width: 10px;
  height: 10px;
  background: #ff4757;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.meeting-title {
  font-size: 15px;
  font-weight: 500;
  flex: 1;
  text-align: center;
  margin: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btn-end {
  background: #ff4757;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.speaker-toggle {
  display: flex;
  gap: 10px;
  padding: 16px 20px;
}

.speaker-btn {
  flex: 1;
  padding: 12px;
  border: 2px solid #ddd;
  background: white;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: #666;
}

.speaker-btn.active {
  border-color: #667eea;
  background: #f0f2ff;
  color: #667eea;
}

.volume-meter {
  margin: 0 20px 16px;
  background: #f0f0f0;
  border-radius: 20px;
  height: 8px;
  overflow: hidden;
  position: relative;
}

.volume-bar {
  height: 100%;
  background: linear-gradient(90deg, #667eea, #764ba2);
  border-radius: 20px;
  transition: width 0.1s;
  width: 0%;
}

.volume-label {
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  color: #999;
}

/* ===== 字幕区 ===== */

.subtitle-area {
  padding: 16px 20px;
  background: #f8f9fa;
  margin: 20px 0 0;
}

.subtitle-line {
  margin-bottom: 12px;
  display: flex;
  gap: 8px;
}

.subtitle-line:last-child {
  margin-bottom: 0;
}

.subtitle-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  height: fit-content;
  margin-top: 2px;
}

.subtitle-line.source .subtitle-tag {
  background: #e3f2fd;
  color: #1976d2;
}

.subtitle-line.target .subtitle-tag {
  background: #e8f5e9;
  color: #388e3c;
}

.subtitle-text {
  font-size: 15px;
  line-height: 1.5;
  color: #333;
}

/* ===== 对话记录 ===== */

.transcript-scroll {
  flex: 1;
  min-height: 300px;
  max-height: calc(100vh - 320px);
  overflow-y: auto;
  padding: 16px 20px;
  background: #fafafa;
}

.transcript-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.transcript-empty {
  text-align: center;
  color: #999;
  font-size: 14px;
  padding: 40px 20px;
}

.transcript-item {
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.transcript-item.current {
  background: #f0f4ff;
  border: 2px solid #667eea;
  box-shadow: 0 2px 8px rgba(102,126,234,0.15);
}

.transcript-speaker {
  font-size: 12px;
  font-weight: 600;
  color: #667eea;
  margin-bottom: 6px;
}

.transcript-source {
  font-size: 15px;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.5;
  font-weight: 500;
}

.transcript-target {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  padding-left: 8px;
  border-left: 3px solid #667eea;
}

/* ===== 底部控制栏 ===== */

.meeting-controls {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border-top: 1px solid #eee;
  position: sticky;
  bottom: 0;
}

.ctrl-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  color: #666;
}

.ctrl-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

/* ===== 结果页 ===== */

.result-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-back {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
}

.result-title {
  font-size: 17px;
  font-weight: 600;
}

.result-info {
  padding: 20px;
  text-align: center;
}

.result-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.result-meta {
  font-size: 13px;
  color: #999;
}

.result-actions {
  display: flex;
  gap: 12px;
  padding: 0 20px 20px;
}

.result-actions .btn-primary {
  width: auto;
  flex: 1;
  margin: 0;
  padding: 12px;
  font-size: 14px;
}

.loading-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  color: #999;
  font-size: 14px;
}

.spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #f0f0f0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.summary-content {
  padding: 16px 18px;
  line-height: 1.6;
  font-size: 14px;
}

.summary-content h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 16px 0 6px;
  color: #333;
  border-left: 3px solid #667eea;
  padding-left: 10px;
}

.summary-content ul {
  padding-left: 20px;
  margin: 6px 0 10px;
}

.summary-content li {
  margin-bottom: 3px;
  line-height: 1.55;
}

.transcript-section {
  padding: 20px;
  border-top: 8px solid #f5f7fa;
}

.section-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #333;
}

.result-transcript {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
}

/* ===== Toast ===== */

.toast {
  position: fixed;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 13px;
  z-index: 1000;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  max-width: 85%;
  text-align: center;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* ===== 服务状态（首页） ===== */

.conn-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
  font-size: 12.5px;
  color: #8a8a8a;
  line-height: 1.4;
  text-align: center;
}

.conn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c9c4bc;
  flex: 0 0 auto;
}

.conn-status.is-ready .conn-dot { background: #3f7d6e; }
.conn-status.is-ready { color: #3f7d6e; }

.conn-status.is-waking .conn-dot {
  background: #d08a2c;
  animation: connPulse 1.4s ease-in-out infinite;
}
.conn-status.is-waking { color: #a8701f; }

.conn-status.is-offline .conn-dot { background: #c2543c; }
.conn-status.is-offline { color: #a8402c; }

@keyframes connPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* ===== 连接中断横幅（会谈中） ===== */

.conn-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 16px 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fdf1ec;
  border: 1px solid #f0d5ca;
  color: #a8402c;
  font-size: 12.5px;
  line-height: 1.4;
  text-align: center;
}

.conn-banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c2543c;
  flex: 0 0 auto;
  animation: connPulse 1.4s ease-in-out infinite;
}

.conn-banner.is-restored {
  background: #eef6f2;
  border-color: #cfe4db;
  color: #3f7d6e;
}

.conn-banner.is-restored .conn-banner-dot {
  background: #3f7d6e;
  animation: none;
}

/* ===== 会谈中语言显示 ===== */

.lang-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
  border-bottom: 1px solid #e0e6f0;
  cursor: pointer;
  transition: background 0.2s;
  user-select: none;
}

.lang-display:hover {
  background: linear-gradient(135deg, #e8eeff 0%, #dde5ff 100%);
}

.lang-display:active {
  background: linear-gradient(135deg, #dde5ff 0%, #d2dcff 100%);
}

#langIcon {
  font-size: 18px;
}

#langDirection {
  font-size: 15px;
  font-weight: 600;
  color: #4a5568;
}

.lang-change-hint {
  font-size: 11px;
  color: #8896ab;
  background: rgba(255,255,255,0.7);
  padding: 2px 8px;
  border-radius: 10px;
}

/* ===== 语言选择弹窗 ===== */

.lang-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lang-modal-content {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.lang-modal-title {
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
}

.lang-modal-list {
  max-height: 32vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  background: #fafbfc;
}

.lang-option {
  padding: 14px 20px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang-option:hover {
  background: #f5f7fa;
}

.lang-option:active {
  background: #e8ecf1;
}

.lang-option.active {
  background: #f0f4ff;
  color: #667eea;
  font-weight: 600;
}

.lang-option.active::after {
  content: '✓';
  color: #667eea;
  font-weight: bold;
}

.lang-modal-close {
  margin: 12px 20px 20px;
  padding: 12px;
  border: none;
  background: #f0f0f0;
  color: #666;
  font-size: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.lang-modal-close:hover {
  background: #e0e0e0;
}

/* 双语言选择弹窗样式 */
.lang-modal-section {
  padding: 0 16px;
  flex-shrink: 0;
}

.lang-modal-section-title {
  padding: 12px 4px 8px;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-modal-section .lang-modal-list {
  max-height: 30vh;
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  margin-bottom: 8px;
}

.lang-modal-title,
.lang-modal-divider,
.lang-modal-close {
  flex-shrink: 0;
}

.lang-modal-divider {
  text-align: center;
  padding: 4px 0;
  color: #ccc;
  font-size: 18px;
}

/* ===== AI总结区域 ===== */

.summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.summary-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.btn-copy {
  padding: 8px 16px;
  border: none;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-copy:hover {
  opacity: 0.9;
}

.btn-copy:active {
  opacity: 0.8;
}

.btn-copy.copied {
  background: #48bb78;
}

.summary-text {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.summary-text h1,
.summary-text h2,
.summary-text h3,
.summary-text h4 {
  margin: 14px 0 6px;
  color: #333;
  line-height: 1.35;
}

.summary-text h1 { font-size: 17px; }
.summary-text h2 { font-size: 15px; }
.summary-text h3 { font-size: 14.5px; }
.summary-text h4 { font-size: 14px; }

.summary-text > *:first-child {
  margin-top: 0;
}

.summary-text p {
  margin: 5px 0;
}

.summary-text ul,
.summary-text ol {
  margin: 6px 0 10px;
  padding-left: 20px;
}

.summary-text li {
  margin: 3px 0;
  line-height: 1.55;
}

/* 复选框列表：去掉默认圆点，避免和 ☐ 重复 */
.summary-text ul.checklist {
  list-style: none;
  padding-left: 4px;
}

.summary-text ul.checklist li {
  margin: 4px 0;
}

.summary-text strong {
  color: #333;
}

.summary-text code {
  background: #f4f5f7;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 13px;
  color: #555;
}

.summary-text hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 14px 0;
}

/* ===== 登录页 ===== */
.login-container {
  max-width: 400px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.login-container .logo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
}

.login-container .subtitle {
  font-size: 14px;
  color: #888;
  margin-bottom: 32px;
  line-height: 1.6;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}

.login-input:focus {
  border-color: #4f7cff;
}

.login-hint {
  margin-top: 20px;
  font-size: 12px;
  color: #aaa;
  line-height: 1.6;
}

/* ===== 用户信息栏 ===== */
.user-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background: #f8f9fb;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 13px;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.user-email {
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 140px;
}

.user-plan {
  background: #e8e8e8;
  color: #666;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

.user-plan.pro {
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #5a3e00;
}

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

.usage-display {
  color: #888;
  font-size: 12px;
}

.btn-upgrade {
  background: linear-gradient(135deg, #4f7cff, #6a5acd);
  color: #fff;
  border: none;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.btn-account {
  background: #fff;
  color: #555;
  border: 1px solid #ddd;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}

/* ===== 定价弹窗 ===== */
.modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.pricing-cards {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.pricing-card {
  flex: 1;
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.pricing-card.featured {
  border-color: #4f7cff;
  background: #f8faff;
}

.pricing-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffd700, #ffaa00);
  color: #5a3e00;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
}

.pricing-name {
  font-size: 14px;
  color: #888;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 28px;
  font-weight: 800;
  color: #222;
}

.pricing-period {
  font-size: 13px;
  font-weight: 400;
  color: #888;
}

.pricing-save {
  font-size: 12px;
  color: #22a06b;
  font-weight: 600;
  margin: 4px 0 12px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  text-align: left;
  font-size: 12px;
  color: #555;
}

.pricing-features li {
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22a06b;
  font-weight: 700;
}

.pricing-btn {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  font-size: 14px;
}

.modal-close {
  display: block;
  margin: 0 auto;
  background: none;
  border: none;
  color: #999;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 16px;
}

/* 手机端适配 */
@media (max-width: 480px) {
  .pricing-cards {
    flex-direction: column;
  }
  .user-email {
    max-width: 80px;
  }
  .usage-display {
    display: none;
  }
}
