:root {
  --bg: #f4f6fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --dark: #0f172a;
  --dark-2: #111827;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --primary: #111827;
  --primary-2: #2563eb;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.10);
  --shadow-strong: 0 25px 90px rgba(0, 0, 0, 0.35);
  --radius: 24px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.hidden {
  display: none !important;
}

/* ─────────────────────────────────────────────
   LANDING / INDEX
───────────────────────────────────────────── */

.site-body {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(22, 163, 74, 0.10), transparent 32%),
    #f8fafc;
}

.site-container {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.nav-wrapper {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.site-brand-logo,
.brand-logo,
.logo {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, #111827, #2563eb);
  color: white;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 950;
  box-shadow: 0 14px 35px rgba(37, 99, 235, 0.22);
}

.site-brand strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.site-brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #475569;
  font-weight: 800;
  font-size: 14px;
}

.site-nav a:hover {
  color: var(--primary-2);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ghost-link,
.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ghost-link {
  color: #475569;
}

.ghost-link:hover {
  color: var(--primary-2);
}

.primary-link {
  background: var(--dark);
  color: white;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.18);
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.primary-link.large,
.secondary-link.large {
  min-height: 52px;
  padding: 0 22px;
  font-size: 15px;
}

.secondary-link {
  background: white;
  color: var(--dark);
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.hero-section {
  padding: 72px 0 58px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: 58px;
}

.hero-content h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.065em;
  color: var(--dark);
  margin-top: 18px;
}

.hero-content p {
  max-width: 610px;
  color: #475569;
  font-size: 18px;
  line-height: 1.75;
  margin-top: 24px;
}

.hero-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #0f5132;
  background: #dcfce7;
  font-weight: 900;
  font-size: 13px;
}

.hero-badge span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.16);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
  max-width: 620px;
}

.hero-trust div {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  padding: 16px;
}

.hero-trust strong {
  display: block;
  font-size: 20px;
  color: var(--dark);
}

.hero-trust span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 5px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.phone-card {
  width: min(360px, 100%);
  background: #0b1220;
  padding: 14px;
  border-radius: 42px;
  box-shadow: 0 38px 90px rgba(15, 23, 42, 0.35);
  border: 8px solid #111827;
  color: white;
  position: relative;
  z-index: 2;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 8px 16px;
}

.phone-top span {
  width: 52px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.phone-top strong {
  font-size: 14px;
}

.phone-top small {
  color: #93c5fd;
  font-weight: 800;
}

.map-preview {
  position: relative;
  height: 270px;
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 28% 20%, #1d4ed8, transparent 24%),
    radial-gradient(circle at 80% 78%, #16a34a, transparent 26%),
    #1e293b;
  background-size: 36px 36px, 36px 36px, auto, auto, auto;
}

.route-line {
  position: absolute;
  left: 76px;
  top: 72px;
  width: 190px;
  height: 132px;
  border: 5px dashed rgba(255, 255, 255, 0.72);
  border-left: none;
  border-bottom: none;
  border-radius: 0 90px 0 0;
  transform: rotate(8deg);
}

.pin {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 16px 16px 16px 4px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 950;
  transform: rotate(-45deg);
  box-shadow: 0 16px 30px rgba(0,0,0,0.26);
}

.pin::after {
  content: attr(class);
  display: none;
}

.pin-a {
  left: 58px;
  top: 70px;
  background: #2563eb;
}

.pin-b {
  right: 54px;
  bottom: 48px;
  background: #16a34a;
}

.pin-a,
.pin-b {
  color: transparent;
}

.pin-a::before {
  content: "A";
  color: white;
  transform: rotate(45deg);
}

.pin-b::before {
  content: "B";
  color: white;
  transform: rotate(45deg);
}

.car-chip {
  position: absolute;
  left: 145px;
  top: 138px;
  background: white;
  color: var(--dark);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(0,0,0,0.18);
}

.offer-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: white;
  color: var(--dark);
  border-radius: 24px;
  padding: 16px;
  margin-top: 12px;
}

.offer-card.featured {
  border: 2px solid #93c5fd;
}

.offer-card strong,
.offer-card span {
  display: block;
}

.offer-card span {
  color: var(--muted);
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
}

.offer-card b {
  color: var(--success);
}

.mock-button {
  width: 100%;
  height: 52px;
  border: none;
  border-radius: 20px;
  background: #2563eb;
  color: white;
  font-weight: 950;
  margin-top: 14px;
  cursor: default;
}

.floating-card {
  position: absolute;
  width: 230px;
  background: white;
  color: var(--dark);
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  z-index: 3;
}

.floating-card strong,
.floating-card span {
  display: block;
}

.floating-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 5px;
  font-weight: 700;
}

.floating-card.top {
  top: 76px;
  right: 0;
}

.floating-card.bottom {
  left: 0;
  bottom: 92px;
}

.section-block {
  padding: 82px 0;
}

.section-block.soft {
  background: #eef4ff;
}

.section-block.dark {
  background: #0f172a;
  color: white;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.left {
  text-align: left;
  margin: 0;
}

.eyebrow {
  display: inline-block;
  color: var(--primary-2);
  font-weight: 950;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.eyebrow.light {
  color: #93c5fd;
}

.section-heading h2,
.city-grid h2,
.join-card.main h2,
.download-card h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--dark);
}

.section-block.dark h2 {
  color: white;
}

.section-heading p,
.city-grid p,
.join-card p,
.download-card p {
  color: #64748b;
  line-height: 1.75;
  font-size: 16px;
  margin-top: 14px;
}

.section-block.dark p {
  color: #cbd5e1;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.trust-card,
.join-card,
.step-card {
  background: white;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.06);
}

.service-card {
  padding: 24px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #eef2ff;
  display: grid;
  place-items: center;
  font-size: 26px;
  margin-bottom: 18px;
}

.service-card h3,
.join-card h3 {
  font-size: 20px;
  color: var(--dark);
  letter-spacing: -0.02em;
}

.service-card p,
.join-card p {
  color: var(--muted);
  line-height: 1.65;
  margin-top: 10px;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step-card {
  display: flex;
  gap: 16px;
  padding: 20px;
}

.step-card span {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--dark);
  color: white;
  font-weight: 950;
}

.step-card h3 {
  color: var(--dark);
}

.step-card p {
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.6;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-card {
  padding: 22px;
  text-align: center;
}

.trust-card strong {
  display: block;
  font-size: 22px;
  color: var(--dark);
}

.trust-card span {
  display: block;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 700;
  font-size: 14px;
}

.legal-note {
  max-width: 920px;
  margin: 28px auto 0;
  padding: 18px 22px;
  border-radius: 20px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  line-height: 1.65;
  font-weight: 700;
}

.city-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.zone-list span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,0.12);
}

.join-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.75fr 0.75fr;
  gap: 18px;
}

.join-card {
  padding: 28px;
}

.join-card.main {
  background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.join-card.main .primary-link {
  margin-top: 22px;
}

.download-section {
  padding: 42px 0 88px;
}

.download-card {
  background: linear-gradient(135deg, #111827, #1d4ed8);
  color: white;
  border-radius: 34px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  box-shadow: 0 26px 70px rgba(29, 78, 216, 0.28);
}

.download-card h2 {
  color: white;
}

.download-card p {
  color: #dbeafe;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.store-btn {
  min-width: 160px;
  min-height: 64px;
  padding: 12px 18px;
  border-radius: 18px;
  background: white;
  color: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 16px 35px rgba(0,0,0,0.15);
}

.store-btn small {
  color: var(--muted);
  font-weight: 800;
}

.store-btn strong {
  font-size: 18px;
}

.store-btn.admin-store {
  background: #0f172a;
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
}

.store-btn.admin-store small {
  color: #93c5fd;
}

.site-footer {
  background: white;
  border-top: 1px solid var(--border);
  padding: 46px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 28px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
}

.site-footer h4 {
  color: var(--dark);
  margin-bottom: 12px;
}

.site-footer a:not(.site-brand) {
  display: block;
  color: var(--muted);
  font-weight: 800;
  margin-top: 9px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 32px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

/* ─────────────────────────────────────────────
   ADMIN LOGIN
───────────────────────────────────────────── */

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.32), transparent 30%),
    linear-gradient(135deg, #111827, #1f2937);
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: white;
  padding: 32px;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
}

.back-site {
  display: inline-flex;
  color: var(--muted);
  font-weight: 900;
  margin-bottom: 20px;
  font-size: 14px;
}

.back-site:hover {
  color: var(--primary-2);
}

.logo {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  font-size: 26px;
  margin-bottom: 18px;
}

.login-card h1 {
  font-size: 30px;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.login-card p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.55;
}

.form-group {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.form-group label {
  color: #374151;
  font-weight: 900;
  font-size: 13px;
}

.login-card input,
.search {
  width: 100%;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  outline: none;
  background: white;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.login-card input:focus,
.search:focus {
  border-color: var(--primary-2);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.primary-btn,
.secondary-btn,
.login-card button {
  border: none;
  border-radius: 14px;
  font-weight: 950;
  cursor: pointer;
}

.primary-btn,
.login-card button {
  width: 100%;
  padding: 14px;
  background: var(--dark);
  color: white;
}

.primary-btn:disabled,
.login-card button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.login-hint {
  margin-top: 14px;
  margin-bottom: 0 !important;
  font-size: 13px;
}

.error {
  color: var(--danger) !important;
  margin-top: 14px;
  margin-bottom: 0 !important;
  font-size: 14px;
  font-weight: 900;
}

/* ─────────────────────────────────────────────
   ADMIN PANEL
───────────────────────────────────────────── */

.admin-page {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: 280px;
  background: #0f172a;
  color: white;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: sticky;
  top: 0;
  height: 100vh;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 32px;
}

.brand h2 {
  font-size: 23px;
  letter-spacing: -0.03em;
}

.brand p {
  color: #94a3b8;
  margin-top: 3px;
  font-size: 13px;
  font-weight: 800;
}

.sidebar nav,
.nav {
  display: grid;
  gap: 9px;
}

.nav-btn {
  padding: 13px 14px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: #cbd5e1;
  text-align: left;
  cursor: pointer;
  font-weight: 900;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.nav-btn:hover,
.nav-btn.active {
  background: rgba(255, 255, 255, 0.10);
  color: white;
}

.nav-btn:hover {
  transform: translateX(2px);
}

.sidebar-footer {
  display: grid;
  gap: 12px;
}

.sidebar-footer small {
  color: #94a3b8;
  word-break: break-all;
}

.logout-btn {
  padding: 13px 14px;
  border: none;
  border-radius: 14px;
  background: var(--danger);
  color: white;
  font-weight: 950;
  cursor: pointer;
}

.content {
  flex: 1;
  padding: 28px;
  overflow-x: auto;
}

.topbar {
  background: white;
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.topbar h1 {
  font-size: 30px;
  letter-spacing: -0.04em;
}

.topbar p {
  color: var(--muted);
  margin-top: 4px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.last-updated {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

#refreshBtn,
.secondary-btn {
  padding: 12px 16px;
  border: none;
  border-radius: 14px;
  background: var(--primary-2);
  color: white;
  font-weight: 950;
  cursor: pointer;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  background: white;
  padding: 24px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.card span {
  color: var(--muted);
  font-weight: 900;
}

.card strong {
  display: block;
  font-size: 36px;
  margin-top: 12px;
  letter-spacing: -0.04em;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.info-card {
  background: white;
  padding: 22px;
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.info-card h3 {
  margin-bottom: 8px;
}

.info-card p {
  color: var(--muted);
  line-height: 1.6;
}

.table-card {
  background: white;
  padding: 24px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(226, 232, 240, 0.8);
  overflow: hidden;
}

.table-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.table-title h2 {
  letter-spacing: -0.03em;
}

.table-title p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 4px;
}

.search {
  width: 310px;
  max-width: 100%;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

th {
  background: #f8fafc;
  color: #334155;
  text-align: left;
  padding: 14px;
  font-size: 13px;
  white-space: nowrap;
}

td {
  padding: 14px;
  border-bottom: 1px solid #e5e7eb;
  color: #374151;
  font-size: 14px;
  vertical-align: top;
}

td strong {
  display: block;
  color: #111827;
}

td small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

tr:last-child td {
  border-bottom: none;
}

.action-btn {
  border: none;
  padding: 8px 12px;
  border-radius: 10px;
  color: white;
  font-weight: 950;
  cursor: pointer;
  margin: 3px;
  white-space: nowrap;
}

.action-btn.view {
  background: var(--primary-2);
}

.approve {
  background: var(--success);
}

.reject {
  background: var(--danger);
}

.warning {
  background: var(--warning);
}

.actions-cell {
  min-width: 210px;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  background: #dbeafe;
  color: #1d4ed8;
  white-space: nowrap;
  margin: 2px;
}

.badge.good {
  background: #dcfce7;
  color: #15803d;
}

.badge.warn {
  background: #fef3c7;
  color: #b45309;
}

.badge.bad {
  background: #fee2e2;
  color: #b91c1c;
}

.badge.active {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge.muted {
  background: #f1f5f9;
  color: #64748b;
}

.empty {
  text-align: center;
  color: var(--muted);
  font-weight: 800;
  padding: 28px !important;
}

.uid {
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  color: var(--muted);
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─────────────────────────────────────────────
   MODAL / LOADING / TOAST
───────────────────────────────────────────── */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 100;
}

.modal-card {
  width: min(940px, 100%);
  max-height: 86vh;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.modal-header {
  padding: 18px 22px;
  background: #111827;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.modal-header .eyebrow {
  color: #93c5fd;
  margin-bottom: 4px;
}

.modal-header h2 {
  letter-spacing: -0.03em;
}

.modal-header button {
  background: var(--danger);
}

.modal-actions {
  padding: 14px 18px 0;
}

.modal-card pre {
  padding: 22px;
  overflow: auto;
  max-height: 68vh;
  font-size: 13px;
  line-height: 1.5;
  color: #334155;
  background: #f8fafc;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.55);
  z-index: 120;
  padding: 20px;
}

.loading-card {
  width: min(280px, 100%);
  background: white;
  padding: 26px;
  border-radius: 22px;
  text-align: center;
  box-shadow: var(--shadow-strong);
}

.loader {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 4px solid #dbeafe;
  border-top-color: var(--primary-2);
  margin: 0 auto 14px;
  animation: spin 0.8s linear infinite;
}

.loading-card p {
  color: var(--muted);
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 140;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 16px;
  color: white;
  font-weight: 900;
  box-shadow: var(--shadow);
  background: #334155;
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: var(--danger);
}

.toast.info {
  background: var(--primary-2);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */

@media (max-width: 1040px) {
  .site-nav {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .city-grid,
  .download-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .service-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .join-grid {
    grid-template-columns: 1fr;
  }

  .store-buttons {
    justify-content: flex-start;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-page {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }

  .nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-container {
    width: min(100% - 26px, 1160px);
  }

  .nav-wrapper {
    min-height: 70px;
  }

  .site-actions {
    gap: 6px;
  }

  .ghost-link {
    display: none;
  }

  .primary-link,
  .secondary-link {
    min-height: 42px;
    padding: 0 14px;
  }

  .hero-section {
    padding: 44px 0 34px;
  }

  .hero-content h1 {
    font-size: 43px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-trust,
  .service-grid,
  .trust-grid,
  .cards,
  .info-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding: 20px 0 60px;
  }

  .phone-card {
    width: min(340px, 100%);
  }

  .floating-card {
    position: relative;
    width: 100%;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin-top: 14px;
  }

  .section-block {
    padding: 58px 0;
  }

  .download-card {
    padding: 28px;
    border-radius: 28px;
  }

  .store-buttons {
    display: grid;
  }

  .store-btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .content {
    padding: 18px;
  }

  .topbar,
  .table-title {
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-actions {
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
  }

  .search {
    width: 100%;
  }

  .nav {
    grid-template-columns: 1fr;
  }

  .login-card {
    padding: 26px;
  }
}


/* ─────────────────────────────────────────────
   MISTIRIDE LANDING PREMIUM - APP COLORS
   Pegar al final de styles.css
───────────────────────────────────────────── */

:root {
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-high: #F1F5F9;
  --border: #E2E8F0;

  --text: #1E293B;
  --muted: #64748B;

  --primary: #FF5A5F;
  --primary-glow: #FF7A7F;
  --primary-dark: #E6484D;

  --success: #22C55E;
  --info: #3B82F6;
  --error: #E53935;
  --disabled: #CBD5E1;

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-medium: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadow-coral: 0 18px 45px rgba(255, 90, 95, 0.28);

  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
}

.site-body {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 90, 95, 0.13), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.10), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 42%, #F1F5F9 100%);
  color: var(--text);
}

.site-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.82);
}

.nav-wrapper {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}

.site-brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 950;
  font-size: 22px;
  box-shadow: var(--shadow-coral);
}

.site-brand strong {
  display: block;
  font-size: 19px;
  letter-spacing: -0.03em;
  color: var(--text);
}

.site-brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-weight: 700;
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav a,
.ghost-link {
  color: #475569;
  font-weight: 800;
  font-size: 14px;
}

.site-nav a:hover,
.ghost-link:hover {
  color: var(--primary);
}

.site-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* BUTTONS */

.primary-link,
.secondary-link,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary-link {
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: white;
  box-shadow: var(--shadow-coral);
}

.primary-link:hover,
.secondary-link:hover {
  transform: translateY(-2px);
}

.secondary-link {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.primary-link.large,
.secondary-link.large {
  min-height: 56px;
  padding-inline: 26px;
  font-size: 15px;
}

/* HERO */

.hero-section {
  padding: 82px 0 74px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(390px, 1.05fr);
  gap: 70px;
  align-items: center;
}

.hero-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 15px;
  border-radius: 999px;
  background: #FFF1F2;
  color: var(--primary-dark);
  border: 1px solid rgba(255, 90, 95, 0.18);
  font-size: 13px;
  font-weight: 950;
}

.hero-badge span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.14);
}

.hero-content h1 {
  max-width: 720px;
  margin-top: 22px;
  color: var(--text);
  font-size: clamp(42px, 5.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-content p {
  max-width: 650px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-metrics,
.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 660px;
  margin-top: 34px;
}

.hero-metrics div,
.hero-trust div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.05);
}

.hero-metrics strong,
.hero-trust strong {
  display: block;
  color: var(--text);
  font-size: 22px;
  letter-spacing: -0.04em;
}

.hero-metrics span,
.hero-trust span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

/* APP PREVIEW */

.hero-visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}

.app-preview-card {
  width: min(390px, 100%);
  padding: 18px;
  border-radius: 42px;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 40px 100px rgba(15, 23, 42, 0.18);
  position: relative;
  z-index: 2;
}

.app-preview-card::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50px;
  border: 10px solid #1E293B;
  z-index: -1;
  box-shadow: 0 28px 70px rgba(30, 41, 59, 0.22);
}

.app-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 6px 16px;
}

.app-preview-header small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.app-preview-header strong {
  display: block;
  margin-top: 3px;
  color: var(--text);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.app-preview-header span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #DCFCE7;
  color: #15803D;
  font-weight: 950;
  font-size: 13px;
}

.app-map {
  height: 275px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 90, 95, 0.36), transparent 24%),
    radial-gradient(circle at 76% 72%, rgba(34, 197, 94, 0.28), transparent 24%),
    linear-gradient(135deg, #F8FAFC, #E2E8F0);
  border: 1px solid var(--border);
}

.map-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(100, 116, 139, 0.12) 1px, transparent 1px),
    linear-gradient(rgba(100, 116, 139, 0.12) 1px, transparent 1px);
  background-size: 38px 38px;
}

.map-route {
  position: absolute;
  left: 84px;
  top: 72px;
  width: 190px;
  height: 130px;
  border: 5px dashed rgba(255, 90, 95, 0.72);
  border-left: none;
  border-bottom: none;
  border-radius: 0 100px 0 0;
  transform: rotate(8deg);
}

.map-pin {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 17px 17px 17px 6px;
  display: grid;
  place-items: center;
  color: white;
  font-weight: 950;
  transform: rotate(-45deg);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
}

.map-pin.pickup {
  left: 62px;
  top: 76px;
  background: var(--primary);
}

.map-pin.destination {
  right: 58px;
  bottom: 54px;
  background: var(--success);
}

.map-pin::before {
  content: attr(class);
  display: none;
}

.map-pin.pickup {
  color: transparent;
}

.map-pin.destination {
  color: transparent;
}

.map-pin.pickup::after {
  content: "A";
  color: white;
  transform: rotate(45deg);
}

.map-pin.destination::after {
  content: "B";
  color: white;
  transform: rotate(45deg);
}

.driver-marker {
  position: absolute;
  left: 150px;
  top: 132px;
  padding: 11px 15px;
  border-radius: 999px;
  background: white;
  color: var(--text);
  font-weight: 950;
  box-shadow: var(--shadow-soft);
}

.app-offer {
  margin-top: 13px;
  padding: 16px;
  border-radius: 24px;
  background: white;
  border: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.app-offer.selected {
  border-color: rgba(255, 90, 95, 0.45);
  box-shadow: 0 16px 35px rgba(255, 90, 95, 0.13);
}

.app-offer strong {
  display: block;
  color: var(--text);
  letter-spacing: -0.02em;
}

.app-offer span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.app-offer b {
  color: var(--success);
  white-space: nowrap;
}

.mock-button {
  width: 100%;
  height: 54px;
  margin-top: 14px;
  border: none;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: white;
  font-weight: 950;
  box-shadow: var(--shadow-coral);
}

.floating-card {
  position: absolute;
  z-index: 3;
  width: 250px;
  padding: 19px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-medium);
  backdrop-filter: blur(16px);
}

.floating-card strong {
  display: block;
  color: var(--text);
  letter-spacing: -0.02em;
}

.floating-card span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 750;
}

.floating-card.top {
  top: 96px;
  right: 8px;
}

.floating-card.bottom {
  left: 6px;
  bottom: 98px;
}

/* SECTIONS */

.section-block {
  padding: 88px 0;
}

.section-block.soft {
  background:
    radial-gradient(circle at top right, rgba(255, 90, 95, 0.08), transparent 28%),
    #F1F5F9;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: #FFE4E6;
}

.section-heading h2,
.city-grid h2,
.join-card.main h2,
.download-card h2 {
  color: var(--text);
  font-size: clamp(31px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.section-heading p,
.city-grid p,
.join-card p,
.download-card p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

/* CARDS */

.service-grid,
.premium-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card,
.step-card,
.trust-card,
.join-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.service-card {
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 20px;
  background: #FFF1F2;
  color: var(--primary);
  font-size: 27px;
}

.service-icon.small {
  width: 50px;
  height: 50px;
  font-size: 23px;
}

.service-card h3,
.join-card h3,
.step-card h3 {
  color: var(--text);
  font-size: 20px;
  letter-spacing: -0.03em;
}

.service-card p,
.join-card p,
.step-card p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.65;
}

/* STEPS */

.split-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 14px;
}

.step-card {
  display: flex;
  gap: 18px;
  padding: 21px;
}

.step-card > span {
  flex: 0 0 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--primary), var(--primary-glow));
  color: white;
  font-weight: 950;
  box-shadow: 0 12px 25px rgba(255, 90, 95, 0.22);
}

/* TRUST */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.trust-card {
  padding: 24px;
  text-align: center;
}

.trust-card strong {
  display: block;
  color: var(--text);
  font-size: 24px;
  letter-spacing: -0.04em;
}

.trust-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.legal-note {
  max-width: 940px;
  margin: 30px auto 0;
  padding: 19px 22px;
  border-radius: 22px;
  background: #FFF7ED;
  border: 1px solid #FED7AA;
  color: #9A3412;
  line-height: 1.65;
  font-weight: 800;
}

/* CITY */

.city-section {
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 122, 127, 0.34), transparent 30%),
    linear-gradient(135deg, #E6484D, #FF5A5F);
  color: white;
}

.city-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 44px;
  align-items: center;
}

.city-grid h2,
.city-grid p {
  color: white;
}

.city-grid p {
  opacity: 0.92;
}

.zone-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.zone-list span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.20);
  font-weight: 900;
  backdrop-filter: blur(10px);
}

/* JOIN */

.join-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.75fr 0.75fr;
  gap: 18px;
}

.join-card {
  padding: 30px;
}

.join-card.main {
  background:
    radial-gradient(circle at top right, rgba(255, 90, 95, 0.14), transparent 34%),
    linear-gradient(135deg, #FFFFFF, #FFF1F2);
}

.join-card.main .primary-link {
  margin-top: 22px;
}

/* DOWNLOAD */

.download-section {
  padding: 42px 0 90px;
}

.download-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 44px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 16% 20%, rgba(255, 255, 255, 0.22), transparent 28%),
    linear-gradient(135deg, var(--primary-dark), var(--primary), var(--primary-glow));
  color: white;
  box-shadow: var(--shadow-coral);
}

.download-card h2,
.download-card p {
  color: white;
}

.download-card p {
  opacity: 0.93;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.store-btn {
  min-width: 165px;
  min-height: 66px;
  padding: 13px 18px;
  border-radius: 20px;
  background: white;
  color: var(--text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.16);
}

.store-btn small {
  color: var(--muted);
  font-weight: 850;
}

.store-btn strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.store-btn.admin-store {
  background: #1E293B;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.store-btn.admin-store small {
  color: #CBD5E1;
}

/* FOOTER */

.site-footer {
  padding: 48px 0 24px;
  background: white;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 0.7fr;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.65;
}

.site-footer h4 {
  margin-bottom: 12px;
  color: var(--text);
}

.site-footer a:not(.site-brand) {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-weight: 850;
}

.site-footer a:not(.site-brand):hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

/* RESPONSIVE LANDING */

@media (max-width: 1060px) {
  .site-nav {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .city-grid,
  .download-card {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 590px;
  }

  .service-grid,
  .premium-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .join-grid {
    grid-template-columns: 1fr;
  }

  .store-buttons {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-container {
    width: min(100% - 28px, 1180px);
  }

  .nav-wrapper {
    min-height: 72px;
  }

  .ghost-link {
    display: none;
  }

  .site-brand-logo {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .hero-section {
    padding: 48px 0 36px;
  }

  .hero-content h1 {
    font-size: 43px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-metrics,
  .hero-trust,
  .service-grid,
  .premium-grid,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding: 26px 0 72px;
  }

  .app-preview-card {
    width: min(345px, 100%);
  }

  .floating-card {
    position: relative;
    width: 100%;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin-top: 14px;
  }

  .section-block {
    padding: 62px 0;
  }

  .section-heading.left {
    text-align: center;
  }

  .step-card {
    flex-direction: column;
  }

  .download-card {
    padding: 30px;
    border-radius: 30px;
  }

  .store-buttons {
    display: grid;
  }

  .store-btn {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

.legal-page {
  max-width: 900px;
  background: var(--surface, #ffffff);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 42px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.legal-page h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin: 12px 0 18px;
}

.legal-page h2 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.legal-page p,
.legal-page li {
  color: var(--text-secondary, #475569);
  line-height: 1.75;
  font-size: 1rem;
}

.legal-page strong {
  color: var(--text-primary, #0f172a);
}

@media (max-width: 700px) {
  .legal-page {
    padding: 24px;
    border-radius: 18px;
  }
}

/* ================================
   LEGAL PAGES
================================ */

.legal-main {
  min-height: 70vh;
  background:
    radial-gradient(circle at top left, rgba(255, 193, 7, 0.12), transparent 32%),
    radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.08), transparent 30%);
}

.legal-page {
  max-width: 920px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.10);
}

.legal-page h1 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: #0f172a;
}

.legal-page h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.3;
  color: #0f172a;
}

.legal-page p {
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.75;
  font-size: 1rem;
}

.legal-page strong {
  color: #0f172a;
}

.legal-date {
  color: #64748b !important;
  font-weight: 600;
}

@media (max-width: 720px) {
  .legal-page {
    padding: 24px;
    border-radius: 20px;
  }

  .legal-page h1 {
    font-size: 2rem;
  }
}