/* ==========================================================================
   VeryOTP - Shared design system
   --------------------------------------------------------------------------
   Theme chuẩn dùng chung cho toàn bộ giao diện VeryOTP:
     - Trang chủ / dashboard : public/index.html
     - Trang tĩnh SEO         : /bang-gia /dich-vu /faq /dich-vu/:slug ...
                                /thue-so /thue-sms /mail-ao và các trang pháp lý
   Token (màu, bo góc, đổ bóng) được đồng bộ 1-1 với public/index.html.
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --text: #0f172a;
  --muted: #64748b;
  --soft: #f1f5f9;
  --main: #2563eb;
  --main-2: #4f46e5;
  --main-hover: #1d4ed8;
  --brand: #2563eb;
  --brand-2: #3b82f6;
  --green: #10b981;
  --red: #ef4444;
  --blue: #3b82f6;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --ring: 0 0 0 3px rgba(37, 99, 235, 0.15);
  --radius: 12px;
  --radius-lg: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.1px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }
strong { font-weight: 700; }

/* --------------------------------------------------------------------------
   Topbar
   -------------------------------------------------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.brand-title {
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub { color: var(--muted); font-size: 11px; margin-top: 1px; font-weight: 500; }

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

.user-pill {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 999px;
  height: 36px;
  padding: 0 14px;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 13.5px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.user-pill:hover { border-color: var(--brand); background: var(--soft); }

.balance-pill {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.04));
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 999px;
  height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--brand);
  font-weight: 700;
  font-size: 13.5px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.balance-pill:hover { background: rgba(37, 99, 235, 0.15); }

/* --------------------------------------------------------------------------
   Top tab navigation
   -------------------------------------------------------------------------- */
.top-tabs {
  display: flex;
  align-items: center;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
}
.top-tabs::-webkit-scrollbar { display: none; }

.nav-btn {
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-decoration: none;
}

.nav-btn:hover { color: var(--text); }

.nav-btn.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.nav-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: stroke 0.2s;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.page-wrap { max-width: 1280px; margin: 0 auto; padding: 24px 20px 60px; }

/* Nội dung chữ giới hạn bề ngang cho dễ đọc */
.panel-body > .prose,
.panel-body > .faq-list,
.panel-body > .uses { max-width: 880px; }

/* --------------------------------------------------------------------------
   Hero section
   -------------------------------------------------------------------------- */
.hero-section {
  text-align: center;
  padding: 24px 16px 18px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 8px;
  letter-spacing: -0.8px;
  color: var(--text);
  line-height: 1.2;
}

.hero-section p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* --------------------------------------------------------------------------
   Panel (khối nội dung chính - giống app)
   -------------------------------------------------------------------------- */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 24px;
}

.panel-head {
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(to bottom, #ffffff, #fafafa);
}

.panel-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text);
}

.panel-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
}

.panel-body { padding: 24px 28px; }
.panel-body > *:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text);
  min-height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn:hover { border-color: var(--brand); background: var(--soft); }
.btn.primary { background: var(--main); border-color: var(--main); color: #ffffff; }
.btn.primary:hover { background: var(--main-hover); border-color: var(--main-hover); }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 12.5px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* --------------------------------------------------------------------------
   Prose (nội dung chữ)
   -------------------------------------------------------------------------- */
.prose h3 { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.prose p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0 0 14px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 700; }
.prose em { color: var(--text); font-style: italic; }
.prose .lead { font-size: 15px; color: var(--text); font-weight: 500; line-height: 1.7; }
.prose ul { margin: 0 0 16px; padding-left: 20px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.prose li { margin-bottom: 4px; }
.prose li strong { color: var(--text); }

/* --------------------------------------------------------------------------
   Note / callout
   -------------------------------------------------------------------------- */
.note {
  background: rgba(37, 99, 235, 0.06);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-left: 3px solid var(--main);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #1e40af;
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.note strong { color: #1e3a8a; }

/* --------------------------------------------------------------------------
   Cards & grid
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.card p { font-size: 13.5px; color: var(--muted); line-height: 1.65; margin: 0; }

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.05));
  border: 1px solid rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--brand);
  font-weight: 800;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.step h3 { font-size: 14.5px; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.step p { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }

/* --------------------------------------------------------------------------
   Uses list
   -------------------------------------------------------------------------- */
.uses { list-style: none; display: grid; gap: 10px; }
.uses li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 16px 13px 40px;
  position: relative;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}
.uses li::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 19px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.uses li strong { color: var(--text); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: 12px; }

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  padding: 18px 20px;
}
.faq-item h3 { font-size: 15px; font-weight: 700; color: var(--text); margin: 0 0 8px; }
.faq-item p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin: 0; }

/* --------------------------------------------------------------------------
   Chips
   -------------------------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a,
.chips span {
  background: rgba(37, 99, 235, 0.06);
  color: var(--brand);
  border: 1px solid rgba(37, 99, 235, 0.14);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  display: inline-block;
}
.chips a:hover { background: rgba(37, 99, 235, 0.12); border-color: var(--brand); }

/* --------------------------------------------------------------------------
   Price box
   -------------------------------------------------------------------------- */
.price-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.price-box .amount { font-size: 30px; font-weight: 800; color: var(--brand); line-height: 1.2; }
.price-box .muted { font-size: 13px; color: var(--muted); margin-top: 6px; max-width: 560px; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Modal / Toast (dùng cho đăng nhập - đăng ký trên trang tĩnh)
   -------------------------------------------------------------------------- */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
}
.overlay.on { display: flex; }

.modal {
  width: min(460px, 100%);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-lg);
  padding: 24px;
  position: relative;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; letter-spacing: -0.3px; color: var(--text); }
.modal p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.5; font-weight: 400; }
.modal input {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 0 14px;
  font-size: 14px;
  background: #fff;
  color: var(--text);
  transition: all 0.2s;
}
.modal input:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.auth-error { min-height: 20px; color: var(--red); font-size: 12.5px; margin: 4px 0 10px; font-weight: 500; }
.auth-toggle { margin-top: 16px; text-align: center; color: var(--muted); font-size: 13px; }
.auth-toggle a { color: var(--brand); font-weight: 700; text-decoration: none; cursor: pointer; }

.toast {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  width: 380px;
  max-width: calc(100vw - 48px);
  padding: 16px 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  display: none;
  font-size: 13.5px;
  color: var(--text);
}
.toast.show { display: block; animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.toast.err { border-left-color: var(--red); }
.toast-close { position: absolute; top: 8px; right: 10px; background: none; border: none; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px 5px; border-radius: 6px; }
.toast-close:hover { color: var(--text); background: var(--soft); }


/* --------------------------------------------------------------------------
   Tables
   -------------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
}

th {
  background: #ffffff;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

tr:last-child td { border-bottom: none; }
tbody tr:hover { background: var(--soft); }

td.price, th.price { font-weight: 700; color: var(--brand); white-space: nowrap; }
td a { font-weight: 600; }

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10.5px;
  font-weight: 700;
}
.badge.ok { background: #dcfce7; color: #15803d; }
.badge.info { background: #dbeafe; color: #1d4ed8; }

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb {
  padding: 18px 20px 0;
  max-width: 1280px;
  margin: 0 auto;
  font-size: 12.5px;
  color: var(--muted);
}
.breadcrumb ol { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0; }
.breadcrumb a { color: var(--brand); font-weight: 600; }
.breadcrumb strong { color: var(--muted); font-weight: 600; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--card);
  border-top: 1px solid var(--line);
  padding: 32px 20px 48px;
  margin-top: 48px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand { flex: 1 1 300px; }
.footer-brand p { color: var(--muted); font-size: 13px; margin-top: 8px; line-height: 1.5; margin-bottom: 13px; }

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--brand); }

.footer-col { display: flex; flex-direction: column; gap: 9px; min-width: 150px; }
.footer-col-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text); }
.footer-col a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand); }
.footer-social { display: flex; gap: 10px; margin-top: 4px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--soft); border: 1px solid var(--line);
  color: var(--muted); transition: all 0.2s;
}
.footer-social a:hover { color: #fff; background: var(--brand); border-color: var(--brand); transform: translateY(-1px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social a.footer-fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.footer-social a.footer-fb:hover { background: #0f62d0; border-color: #0f62d0; color: #fff; }
.footer-social a.footer-fb svg { width: 15px; height: 15px; }



.footer-bottom {
  max-width: 1280px;
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   API Documentation Elements
   -------------------------------------------------------------------------- */
.badge-method {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.badge-method.get {
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}
.badge-method.post {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}
.endpoint-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.endpoint-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
}
.code-container {
  margin: 14px 0 20px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #334155;
  background: #0f172a;
}
.code-tabs-bar {
  display: flex;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  padding: 0 8px;
  align-items: center;
  justify-content: space-between;
}
.code-tabs-list {
  display: flex;
  gap: 2px;
}
.code-tab-btn {
  background: none;
  border: none;
  color: #94a3b8;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}
.code-tab-btn.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
}
.code-copy-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  padding: 4px 10px;
  font-size: 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}
.code-copy-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}
.code-content-block {
  padding: 14px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  color: #f8fafc;
  line-height: 1.55;
  overflow-x: auto;
  white-space: pre;
  margin: 0;
}
.code-content-block.hidden {
  display: none;
}
.param-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 18px;
  font-size: 13px;
}
.param-table th, .param-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.param-table th {
  background: #f8fafc;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}
.param-name {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: var(--brand);
}
.param-type {
  font-size: 12px;
  color: var(--muted);
  font-style: italic;
}
.param-badge-req {
  font-size: 10px;
  font-weight: 700;
  background: #fee2e2;
  color: #ef4444;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.param-badge-opt {
  font-size: 10px;
  font-weight: 600;
  background: #f1f5f9;
  color: #64748b;
  padding: 2px 6px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .topbar-inner { padding: 10px 14px; gap: 12px; }
  .brand-title { font-size: 19px; }
  .brand-sub { display: none; }
  .top-tabs { padding: 0 10px; }
  .page-wrap { padding: 0 14px 40px; }
  .breadcrumb { padding: 14px 14px 0; }
  .hero-section { padding: 24px 10px 16px; }
  .hero-section h1 { font-size: 24px; }
  .hero-section p { font-size: 13px; }
  .panel-head { padding: 18px; }
  .panel-body { padding: 18px; }
  .panel-head h2 { font-size: 17px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .footer { padding: 24px 16px; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-links { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 600px) {
  .auth { gap: 6px; }
  .user-pill, .balance-pill, .btn.small { padding: 6px 10px; font-size: 12px; min-height: 32px; }
  .price-box .amount { font-size: 24px; }
  .hero-actions .btn { width: 100%; }
}
