/* ==========================================================
   Voicely (보이슬리) - Clean White & Vibrant Orange Design System
   화이트 배경 기반의 깔끔하고 직관적인 미니멀 UI
   ========================================================== */

:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  --border-focus: #f97316;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  --primary: #f97316;
  --primary-hover: #ea580c;
  --primary-glow: rgba(249, 115, 22, 0.25);

  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-orange-subtle: #fff7ed;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 8px 25px rgba(249, 115, 22, 0.35);

  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(249, 115, 22, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 40%, rgba(251, 191, 36, 0.05) 0%, transparent 40%);
}

.app-container {
  width: 100%;
  max-width: 680px;
  padding: 24px 20px 48px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 1. 헤더 */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon, .brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(249, 115, 22, 0.25);
  object-fit: cover;
  flex-shrink: 0;
}

.brand-icon {
  font-size: 26px;
  background: #fff7ed;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #fed7aa;
}

.brand-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #0f172a 40%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.header-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}

.lang-pill-select {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 7px 10px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.lang-pill-select:hover, .lang-pill-select:focus {
  border-color: var(--primary);
  background: var(--bg-card-subtle);
}

/* 2. 버튼 기본 스타일 */
button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-card-subtle);
  border-color: #cbd5e1;
}

.btn-icon {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}

.btn-icon:hover {
  color: var(--text-primary);
  background: var(--bg-card-subtle);
}

.badge {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* 3. 메인 레코딩 카드 */
.record-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.record-status-area {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 12px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}

.status-dot.active {
  background: var(--accent-rose);
  box-shadow: 0 0 10px var(--accent-rose);
  animation: pulse-dot 1.2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* 파형 캔버스 */
.visualizer-container {
  width: 100%;
  height: 64px;
  margin: 8px 0 16px 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#visualizerCanvas {
  width: 100%;
  height: 100%;
}

.timer-display {
  position: absolute;
  bottom: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* 메인 레코드 버튼 */
.record-btn-wrapper {
  margin: 10px 0 20px 0;
}

.record-btn {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff7a00 0%, #ea580c 100%);
  color: #fff;
  font-size: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  position: relative;
}

.record-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.55);
}

.record-btn:active {
  transform: scale(0.96);
}

.record-btn.recording {
  background: linear-gradient(135deg, var(--accent-rose) 0%, #e11d48 100%);
  box-shadow: 0 8px 30px rgba(244, 63, 94, 0.5);
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(244, 63, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

/* 퀵 헬퍼 링크 */
.quick-helpers {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.helper-link, .helper-link-btn {
  color: var(--text-secondary);
  background: none;
  text-decoration: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

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

.divider {
  color: var(--border-color);
}

/* 4. 모드 선택 탭 */
.mode-selector-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  padding-left: 4px;
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.mode-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.mode-tab:hover {
  background: var(--bg-card-subtle);
  border-color: #cbd5e1;
}

.mode-tab.active {
  background: var(--accent-orange-subtle);
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.tab-icon {
  font-size: 20px;
}

.tab-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.tab-desc {
  font-size: 11px;
  color: var(--text-muted);
}

.mode-tab.active .tab-desc {
  color: var(--primary-hover);
  font-weight: 600;
}

/* 5. 결과 영역 */
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

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

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

.category-badge {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fed7aa;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.result-time {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

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

.btn-action {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1.2;
}

.btn-action:hover {
  background: #e2e8f0;
}

.btn-action.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.btn-action.primary:hover {
  background: var(--primary-hover);
}

.result-body {
  min-height: 140px;
}

.result-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-primary);
  outline: none;
  white-space: pre-wrap;
  word-break: break-word;
}

.result-content:focus {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 4px;
}

/* 원본 텍스트 아코디언 */
.raw-transcript-details {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.raw-transcript-details summary {
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.raw-transcript-details summary:hover {
  color: var(--primary);
}

.raw-transcript-content {
  background: var(--bg-card-subtle);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

/* 6. 사이드바 (저장된 메모) */
.history-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 340px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-card);
  border-left: 1px solid var(--border-color);
  z-index: 100;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.1);
}

.history-sidebar.open {
  transform: translateX(0);
}

.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.sidebar-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-header h2 {
  font-size: 18px;
  font-weight: 700;
}

.sidebar-search input {
  width: 100%;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  outline: none;
}

.sidebar-search input:focus {
  border-color: var(--primary);
}

.notes-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.note-item-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.note-item-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.note-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
}

.note-item-text {
  font-size: 13px;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.4;
}

.note-item-del-btn {
  background: none;
  color: var(--text-muted);
  font-size: 12px;
}

.note-item-del-btn:hover {
  color: var(--accent-rose);
}

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

.empty-state p {
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--text-secondary);
}

/* 7. 모달 (설정) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 90%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-select, .form-input {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}

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

.form-hint {
  font-size: 11px;
  color: var(--text-muted);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  width: 100%;
}

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

/* 토스트 알림 */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0f172a;
  color: #fff;
  border: 1px solid #334155;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28);
  z-index: 999;
  pointer-events: none;
}

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

/* 8. Pro 업그레이드 & 크레딧 위젯 */
.credits-widget {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #c2410c;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 700;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.credits-widget.pro {
  background: linear-gradient(135deg, #fef3c7 0%, #ffedd5 100%);
  border-color: #fde68a;
  color: #b45309;
}

.btn-pro-pill {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #ffffff;
  padding: 7px 12px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-pro-pill:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.5);
}

.btn-pro-pill.active-pro {
  background: #10b981;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

/* 9. 요금제 모달 (Pricing Modal) */
.pricing-modal-card {
  max-width: 620px;
  padding: 28px;
}

.pricing-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.billing-toggle-wrapper {
  display: flex;
  justify-content: center;
  margin: 12px 0 20px 0;
}

.billing-toggle {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  padding: 4px;
  border-radius: var(--radius-full);
  display: inline-flex;
  gap: 4px;
}

.toggle-btn {
  background: transparent;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.toggle-btn.active {
  background: #ffffff;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.discount-badge {
  background: #fee2e2;
  color: #ef4444;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-full);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 16px;
  margin-bottom: 20px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.highlighted {
  border: 2px solid var(--primary);
  background: linear-gradient(180deg, #fffaf5 0%, #ffffff 100%);
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.15);
}

.popular-ribbon {
  position: absolute;
  top: -10px;
  right: 18px;
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.plan-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.plan-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-cycle {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.plan-cycle {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  flex: 1;
}

.plan-features li {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pricing-card.highlighted .plan-features li {
  color: var(--text-primary);
  font-weight: 500;
}

.btn-plan-outline {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 9px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  width: 100%;
}

.btn-subscribe {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #ff7a00, #ea580c);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-subscribe:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.5);
}

.toss-btn {
  background: linear-gradient(135deg, #0064FF, #0051CC) !important;
  box-shadow: 0 4px 14px rgba(0, 100, 255, 0.35) !important;
}

.toss-btn:hover {
  box-shadow: 0 6px 18px rgba(0, 100, 255, 0.45) !important;
}

.btn-paypal-checkout {
  width: 100%;
  padding: 13px;
  background: #ffc439;
  color: #111;
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(255, 196, 57, 0.4);
  transition: all 0.2s;
}

.btn-paypal-checkout:hover {
  background: #f2ba36;
  transform: translateY(-1px);
}

.payment-method-selector {
  margin: 16px 0 12px 0;
  text-align: left;
}

.method-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.method-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.method-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1.5px solid var(--border-color);
  background: white;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 12px;
  color: var(--text-primary);
  transition: all 0.2s;
}

.method-btn.active {
  border-color: #0064FF;
  background: #f0f7ff;
  font-weight: 700;
}

.method-btn:last-child.active {
  border-color: #f59e0b;
  background: #fffbeb;
}

.payment-action-area {
  margin-top: 10px;
  min-height: 48px;
}

.advanced-settings-details {
  margin-top: 14px;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  font-size: 13px;
  cursor: pointer;
}

.advanced-settings-details summary {
  font-weight: 600;
  color: var(--text-primary);
}

.payment-trust-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.trust-icons {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.payment-logos {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

/* 반응형 */
@media (max-width: 600px) {
  .app-container {
    padding: 14px 10px 32px 10px;
    gap: 14px;
  }
  .app-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .header-actions {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
  }
  .mode-tabs {
    grid-template-columns: repeat(3, 1fr);
  }
  .history-sidebar {
    width: 85%;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-modal-card {
    padding: 20px 16px;
    max-height: 90vh;
    overflow-y: auto;
  }
}
