/* ============================================================
   LawBot.in — Stylesheet  (FIXED v2)
   Clean, modern, mobile-first SaaS UI
   ============================================================ */

:root {
  --blue:      #1a4fc4;
  --blue-light:#3b6fd4;
  --blue-pale: #eff4ff;
  --blue-mid:  #dde8ff;
  --text:      #0f1623;
  --text-2:    #4a5568;
  --text-3:    #718096;
  --border:    #e2e8f0;
  --bg:        #ffffff;
  --bg-2:      #f8fafc;
  --success:   #16a34a;
  --warning:   #d97706;
  --error:     #dc2626;
  --radius:    10px;
  --shadow:    0 2px 12px rgba(26,79,196,0.08);
  --shadow-lg: 0 8px 32px rgba(26,79,196,0.14);
  --font:      'Sora', system-ui, sans-serif;
  --font-serif:'EB Garamond', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 26px; border-radius: var(--radius);
  font-family: var(--font); font-weight: 600; font-size: 15px;
  cursor: pointer; border: none; transition: all .2s ease;
  text-decoration: none; white-space: nowrap;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-light); transform: translateY(-1px); box-shadow: var(--shadow-lg); text-decoration: none; color: #fff; }
.btn--outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn--outline:hover { background: var(--blue-pale); text-decoration: none; }
.btn--lg { padding: 16px 36px; font-size: 17px; border-radius: 12px; }
.btn--nav { padding: 9px 20px; font-size: 14px; background: var(--blue); color: #fff; border-radius: 8px; }
.btn--nav:hover { background: var(--blue-light); text-decoration: none; color: #fff; }
.btn--chat { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn--chat:hover { background: var(--blue-pale); color: var(--blue); text-decoration: none; }
.btn--full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════
   NAV — FIXED: proper alignment + spacing
   ══════════════════════════════════════════ */
.nav {
  position: sticky; top: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 0;                    /* no gap — controlled per item */
  padding: 13px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.nav__logo {
  font-size: 20px; font-weight: 700; color: var(--text);
  letter-spacing: -.01em; flex-shrink: 0;
  text-decoration: none;
}
.nav__logo:hover { text-decoration: none; }
.nav__logo span { color: var(--blue); }

/* Links pushed to the right, before the CTA buttons */
.nav__links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin-left: auto;   /* push to right */
  margin-right: 12px;  /* gap before buttons */
  align-items: center;
}
.nav__links li { display: flex; align-items: center; }
.nav__links a {
  font-size: 13.5px; color: var(--text-2); font-weight: 500;
  padding: 6px 10px; border-radius: 7px;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--blue); background: var(--blue-pale); text-decoration: none; }

/* CTA buttons sit at the far right */
.nav__cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__hamburger {
  display: none; background: none; border: none;
  font-size: 22px; cursor: pointer; margin-left: 12px;
}

/* ══════════════════════════════════════════
   FOOTER — FULLY STYLED (was unstyled)
   ══════════════════════════════════════════ */
.footer {
  background: #0f1623;
  color: #cbd5e1;
  margin-top: 80px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 60px 20px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.footer__brand {}
.footer__logo {
  font-size: 20px; font-weight: 700; color: #fff;
  margin-bottom: 12px;
}
.footer__brand p {
  font-size: 13.5px; color: #94a3b8; line-height: 1.7; margin-bottom: 12px;
}
.footer__disclaimer {
  font-size: 11.5px; color: #64748b; line-height: 1.7;
  border-top: 1px solid #1e293b;
  padding-top: 12px;
  margin-top: 12px;
}
.footer__links h4 {
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #94a3b8;
  margin-bottom: 16px;
}
.footer__links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 14px; color: #94a3b8;
  transition: color .15s;
  text-decoration: none;
}
.footer__links a:hover { color: #fff; text-decoration: none; }
.footer__bottom {
  border-top: 1px solid #1e293b;
  padding: 18px 20px;
  text-align: center;
  font-size: 13px; color: #475569;
}
.footer__bottom .container { max-width: 1100px; margin: 0 auto; }

/* ── Hero ── */
.hero { padding: 80px 0 72px; text-align: center; background: linear-gradient(160deg, #f0f5ff 0%, #fff 60%); }
.hero__badge { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-pale); color: var(--blue); border: 1px solid var(--blue-mid); border-radius: 20px; padding: 5px 14px; font-size: 13px; font-weight: 600; margin-bottom: 24px; letter-spacing: .02em; }
.hero__title { font-size: clamp(30px, 5vw, 52px); font-weight: 700; line-height: 1.18; color: var(--text); max-width: 780px; margin: 0 auto 18px; letter-spacing: -.02em; }
.hero__title span { color: var(--blue); }
.hero__sub { font-size: 18px; color: var(--text-2); max-width: 560px; margin: 0 auto 36px; font-weight: 400; }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__trust { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 44px; }
.hero__trust-item { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--text-2); font-weight: 500; }
.hero__trust-item .icon { font-size: 16px; }

/* ── Section titles ── */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-2); }
.section__tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.section__title { font-size: clamp(24px, 3.5vw, 38px); font-weight: 700; color: var(--text); letter-spacing: -.02em; margin-bottom: 14px; }
.section__sub { font-size: 17px; color: var(--text-2); max-width: 560px; }
.section__head { margin-bottom: 52px; }
.section__head--center { text-align: center; }
.section__head--center .section__sub { margin: 0 auto; }

/* ── How it works ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.step { text-align: center; }
.step__num { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.step__title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.step__desc { font-size: 14px; color: var(--text-2); }

/* ── Use cases ── */
.usecases { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.usecase { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: box-shadow .2s, transform .2s; }
.usecase:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.usecase__icon { font-size: 28px; margin-bottom: 12px; }
.usecase__title { font-size: 15px; font-weight: 600; margin-bottom: 5px; }
.usecase__desc { font-size: 13px; color: var(--text-2); }

/* ── Pricing ── */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; max-width: 960px; margin: 0 auto; }
.plan { border: 2px solid var(--border); border-radius: 14px; padding: 32px; position: relative; background: var(--bg); }
.plan--featured { border-color: var(--blue); background: var(--blue-pale); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 14px; border-radius: 20px; letter-spacing: .06em; white-space: nowrap; }
.plan__name { font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.plan__price { font-size: 40px; font-weight: 700; color: var(--text); letter-spacing: -.03em; margin-bottom: 6px; }
.plan__price span { font-size: 18px; vertical-align: super; margin-right: 2px; }
.plan__desc { font-size: 14px; color: var(--text-2); margin-bottom: 24px; }
.plan__features { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan__features li { font-size: 14px; color: var(--text-2); display: flex; gap: 8px; }
.plan__features li::before { content: '✓'; color: var(--success); font-weight: 700; flex-shrink: 0; }

/* ── FAQ ── */
.faq { display: flex; flex-direction: column; gap: 2px; max-width: 720px; margin: 0 auto; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq__q:hover { background: var(--bg-2); }
.faq__q .arrow { transition: transform .25s; font-style: normal; flex-shrink: 0; color: var(--blue); }
.faq__item.open .faq__q .arrow { transform: rotate(180deg); }
.faq__a { display: none; padding: 0 22px 18px; font-size: 14px; color: var(--text-2); line-height: 1.7; border-top: 1px solid var(--border); padding-top: 14px; }
.faq__item.open .faq__a { display: block; }

/* ── Disclaimer banner ── */
.disclaimer-banner { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--radius); padding: 14px 18px; font-size: 13px; color: #92400e; margin: 24px 0; line-height: 1.6; }

/* ── Form / Generator ── */
.gen-wrap { max-width: 680px; margin: 48px auto; padding: 0 20px 80px; }
.gen-header { text-align: center; margin-bottom: 40px; }
.gen-header__title { font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.gen-header__sub { font-size: 15px; color: var(--text-2); margin-top: 6px; }

/* Step progress */
.progress { display: flex; align-items: center; justify-content: center; gap: 0; margin-bottom: 40px; }
.progress__step { display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; flex: 1; }
.progress__circle { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--border); background: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--text-3); z-index: 1; transition: all .3s; }
.progress__step.active .progress__circle { background: var(--blue); border-color: var(--blue); color: #fff; }
.progress__step.done .progress__circle { background: var(--success); border-color: var(--success); color: #fff; }
.progress__label { font-size: 11px; color: var(--text-3); font-weight: 500; text-align: center; }
.progress__step.active .progress__label { color: var(--blue); font-weight: 600; }
.progress__line { flex: 1; height: 2px; background: var(--border); margin: 0 -1px; margin-bottom: 20px; }
.progress__line.done { background: var(--success); }

/* Card */
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 32px; box-shadow: var(--shadow); }
.card__title { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.card__sub { font-size: 14px; color: var(--text-2); margin-bottom: 28px; }

/* Form */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
label { font-size: 13px; font-weight: 600; color: var(--text); }
label .opt { font-weight: 400; color: var(--text-3); }
input, textarea, select {
  border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 14px;
  font-family: var(--font); font-size: 14px; color: var(--text); background: var(--bg);
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,79,196,.1); }
textarea { resize: vertical; min-height: 80px; }
.form-hint { font-size: 12px; color: var(--text-3); margin-top: 3px; }

/* Radio/option cards */
.option-cards { display: grid; gap: 12px; }
.option-cards--2 { grid-template-columns: 1fr 1fr; }
.option-card { position: relative; }
.option-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.option-card__label { display: block; border: 2px solid var(--border); border-radius: 10px; padding: 14px 16px; cursor: pointer; transition: all .15s; }
.option-card__label strong { display: block; font-size: 14px; margin-bottom: 2px; }
.option-card__label span { font-size: 12px; color: var(--text-3); }
.option-card input:checked + .option-card__label { border-color: var(--blue); background: var(--blue-pale); }
.option-card input:checked + .option-card__label strong { color: var(--blue); }

/* Navigation buttons */
.form-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.form-nav .btn--back { background: none; border: 1.5px solid var(--border); color: var(--text-2); }
.form-nav .btn--back:hover { border-color: var(--text-2); background: var(--bg-2); }

/* Preview */
.notice-preview { font-family: var(--font-serif); font-size: 14.5px; line-height: 1.85; color: var(--text); background: #fffef9; border: 1px solid #e8e0c8; border-radius: 10px; padding: 28px 32px; white-space: pre-wrap; position: relative; overflow: hidden; }
.notice-preview__blur { position: absolute; bottom: 0; left: 0; right: 0; height: 220px; background: linear-gradient(to bottom, transparent 0%, rgba(255,254,249,.95) 50%); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 24px; }
.notice-preview__unlock { text-align: center; }
.notice-preview__unlock p { font-family: var(--font); font-size: 14px; color: var(--text-2); margin-bottom: 12px; font-style: italic; }

/* Checkout */
.checkout-box { background: var(--bg-2); border: 1px solid var(--border); border-radius: 12px; padding: 24px; margin: 24px 0; }
.checkout-box__title { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.checkout-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.checkout-row:last-child { border-bottom: none; }
.checkout-row strong { font-size: 17px; }

/* Success */
.success-box { text-align: center; padding: 48px 32px; }
.success-box__icon { font-size: 56px; margin-bottom: 20px; }
.success-box__title { font-size: 26px; font-weight: 700; margin-bottom: 10px; }
.success-box__sub { color: var(--text-2); font-size: 16px; margin-bottom: 32px; }
.download-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* How to send */
.send-steps { display: flex; flex-direction: column; gap: 20px; max-width: 640px; margin: 0 auto; }
.send-step { display: flex; gap: 18px; align-items: flex-start; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 20px; }
.send-step__icon { font-size: 26px; flex-shrink: 0; margin-top: 2px; }
.send-step__title { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.send-step__desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* Alert */
.alert { padding: 14px 18px; border-radius: 8px; font-size: 14px; margin-bottom: 16px; }
.alert--error { background: #fef2f2; border: 1px solid #fecaca; color: var(--error); }
.alert--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: var(--success); }

/* Sample page */
.sample-notice { font-family: var(--font-serif); font-size: 15px; line-height: 1.9; color: var(--text); background: #fffef9; border: 1px solid #e8e0c8; border-radius: 10px; padding: 36px 40px; white-space: pre-wrap; }
.sample-notice .placeholder { color: var(--blue); font-style: italic; }

/* ══════════════════════════════════════════
   CHATBOT PAGE STYLES
   ══════════════════════════════════════════ */
.chatbot-page {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 60px);
  background: var(--bg-2);
}
.chat-container {
  display: flex;
  flex: 1;
  overflow: hidden;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  gap: 0;
  flex-direction: column;
}
.chat-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.chat-header__status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
}
.online-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.chat-header__credits {
  margin-left: auto;
  font-size: 13px;
  color: var(--text-2);
  background: var(--blue-pale);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.msg {
  display: flex;
  gap: 10px;
  max-width: 85%;
}
.msg--user { align-self: flex-end; flex-direction: row-reverse; }
.msg--bot  { align-self: flex-start; }
.msg__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0; margin-top: 2px;
}
.msg--user .msg__avatar { background: var(--blue); }
.msg--bot  .msg__avatar { background: var(--blue-pale); border: 1px solid var(--blue-mid); }
.msg__bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.65;
}
.msg--user .msg__bubble { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg--bot  .msg__bubble { background: #fff; color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg__bubble p { margin-bottom: 8px; }
.msg__bubble p:last-child { margin-bottom: 0; }
.msg__bubble strong { font-weight: 700; }
.msg__bubble em { font-style: italic; }
.msg__time { font-size: 11px; color: var(--text-3); margin-top: 4px; text-align: right; }

.typing-indicator {
  display: flex; gap: 5px; align-items: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  width: fit-content;
}
.typing-dot {
  width: 7px; height: 7px; background: var(--text-3); border-radius: 50%;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }

.chat-input-area {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 16px 0;
  flex-shrink: 0;
}
.chat-input-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}
.chat-input-row textarea {
  flex: 1;
  min-height: 48px;
  max-height: 140px;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  resize: none;
  font-family: var(--font);
  line-height: 1.5;
}
.chat-input-row textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,79,196,.1); outline: none; }
.chat-send-btn {
  width: 48px; height: 48px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 12px;
  font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, transform .15s;
  flex-shrink: 0;
}
.chat-send-btn:hover { background: var(--blue-light); transform: translateY(-1px); }
.chat-send-btn:disabled { background: var(--border); cursor: not-allowed; transform: none; }

.chat-quick-btns {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px;
}
.chat-quick-btn {
  background: var(--blue-pale); color: var(--blue);
  border: 1px solid var(--blue-mid); border-radius: 20px;
  padding: 5px 12px; font-size: 12px; font-weight: 600;
  cursor: pointer; transition: background .15s;
  font-family: var(--font);
}
.chat-quick-btn:hover { background: var(--blue-mid); }

.lang-selector {
  display: flex; gap: 6px; margin-bottom: 12px; align-items: center;
}
.lang-selector label { font-size: 12px; color: var(--text-3); font-weight: 600; }
.lang-btn {
  padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
  border: 1.5px solid var(--border); background: #fff; cursor: pointer;
  font-family: var(--font); transition: all .15s;
}
.lang-btn.active { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Login wall in chat */
.chat-login-wall {
  background: #fff;
  border: 1.5px solid var(--blue-mid);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  margin: 20px 0;
}
.chat-login-wall h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.chat-login-wall p { font-size: 14px; color: var(--text-2); margin-bottom: 20px; }
.chat-login-wall .wall-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   DASHBOARD STYLES
   ══════════════════════════════════════════ */
.dashboard-page { padding: 40px 0 80px; min-height: calc(100vh - 130px); }
.dashboard-header { margin-bottom: 40px; }
.dashboard-header h1 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.dashboard-header p { color: var(--text-2); font-size: 15px; margin-top: 6px; }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.dash-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-stat__icon { font-size: 24px; }
.dash-stat__value { font-size: 28px; font-weight: 700; color: var(--text); letter-spacing: -.02em; }
.dash-stat__label { font-size: 12px; color: var(--text-3); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.dash-stat--highlight { border-color: var(--blue); background: var(--blue-pale); }
.dash-stat--highlight .dash-stat__value { color: var(--blue); }

.dash-section { margin-bottom: 40px; }
.dash-section__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.dash-section__title { font-size: 17px; font-weight: 700; }
.dash-section__action { font-size: 13px; color: var(--blue); font-weight: 600; }

.dash-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  font-size: 14px;
}
.dash-table th {
  text-align: left;
  padding: 12px 18px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3); background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.dash-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
}
.dash-table tr:last-child td { border-bottom: none; }
.dash-table tr:hover td { background: var(--bg-2); }

.dash-empty {
  text-align: center;
  padding: 48px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.dash-empty__icon { font-size: 40px; margin-bottom: 14px; }
.dash-empty__title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.dash-empty__sub { font-size: 14px; color: var(--text-3); margin-bottom: 20px; }

.badge {
  display: inline-block;
  padding: 3px 9px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
}
.badge--green { background: #dcfce7; color: #166534; }
.badge--blue  { background: var(--blue-pale); color: var(--blue); }
.badge--grey  { background: var(--bg-2); color: var(--text-3); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav__links { gap: 2px; margin-right: 8px; }
  .nav__links a { font-size: 13px; padding: 6px 8px; }
}

@media (max-width: 768px) {
  /* Nav mobile */
  .nav__inner { padding: 13px 16px; flex-wrap: wrap; }
  .nav__links {
    display: none;
    position: fixed; top: 60px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    margin: 0;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
  }
  .nav__links.open { display: flex; }
  .nav__links li a { display: block; padding: 13px 24px; font-size: 15px; border-radius: 0; }
  .nav__cta-group { display: none; }
  .nav__hamburger { display: flex; margin-left: auto; }

  /* Footer mobile */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 40px 20px 32px; }
  .footer__brand { grid-column: 1 / -1; }

  /* General */
  .hero { padding: 52px 0 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: 1; }
  .option-cards--2 { grid-template-columns: 1fr 1fr; }
  .card { padding: 22px 18px; }
  .sample-notice { padding: 22px 20px; font-size: 14px; }
  .progress__label { font-size: 10px; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .dash-table { font-size: 13px; }
  .dash-table th, .dash-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .footer__inner { grid-template-columns: 1fr; }
  .dash-stats { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; }
}
