/* TutorKST Global Styles */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #dbeafe;
  --accent: #f97316;
  --bg: #0f172a;
  --bg-alt: #020617;
  --card-bg: #0b1220;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --border: #1f2937;
  --danger: #ef4444;
  --success: #22c55e;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
  --shadow-card: 0 14px 30px rgba(15, 23, 42, 0.8);
  --transition-fast: 0.18s ease-out;
  --transition-med: 0.28s ease-out;
}

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

html,
body {
  padding: 0;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top, #1d283a 0, #020617 55%, #000 100%);
  color: var(--text);
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

main {
  flex: 1;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-main {
  flex: 1;
  padding: 5.5rem 1.25rem 3.5rem;
}

@media (min-width: 768px) {
  .page-main {
    padding: 6rem 2.5rem 4rem;
  }
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.card {
  background: radial-gradient(circle at top left, #1e293b 0, #020617 55%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: var(--shadow-card);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(
    circle at 10% 0,
    rgba(56, 189, 248, 0.12),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--transition-med);
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.card-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

.card-badge {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: var(--muted);
}

/* Navbar */

.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.98),
    rgba(15, 23, 42, 0.9),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
}

@media (min-width: 768px) {
  .navbar-inner {
    padding-inline: 2.5rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dbeafe;
  font-size: 0.9rem;
  font-weight: 700;
  overflow: hidden;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-tagline {
  font-size: 0.7rem;
  color: var(--muted);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.1rem;
  font-size: 0.9rem;
}

.nav-link {
  color: var(--muted);
  padding: 0.35rem 0.3rem;
  border-radius: 999px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: #e5e7eb;
  background: rgba(148, 163, 184, 0.12);
}

.nav-cta {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-auth-link {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-auth-link:hover {
  color: #e5e7eb;
}

.btn {
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: #e5e7eb;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, rgba(248, 250, 252, 0.35), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.6);
}

.btn:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.65);
  color: var(--text);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.7);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.9);
}

.btn-ghost {
  background: transparent;
  border-radius: 999px;
  color: var(--muted);
  padding-inline: 0;
  box-shadow: none;
}

.btn-ghost:hover {
  color: #e5e7eb;
  background: none;
  transform: none;
}

.btn-small {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

.btn-danger {
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  box-shadow: 0 12px 30px rgba(220, 38, 38, 0.7);
}

.menu-toggle {
  border: none;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.8);
}

.menu-toggle-icon {
  width: 18px;
  height: 18px;
  position: relative;
}

.menu-toggle-icon span {
  position: absolute;
  inset-inline: 0;
  height: 2px;
  border-radius: 999px;
  background: #e5e7eb;
  transform-origin: center;
  transition: transform var(--transition-fast), opacity var(--transition-fast),
    top var(--transition-fast), bottom var(--transition-fast);
}

.menu-toggle-icon span:nth-child(1) {
  top: 3px;
}

.menu-toggle-icon span:nth-child(2) {
  top: 8px;
}

.menu-toggle-icon span:nth-child(3) {
  bottom: 3px;
}

.menu-toggle.open .menu-toggle-icon span:nth-child(1) {
  top: 8px;
  transform: rotate(45deg);
}

.menu-toggle.open .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .menu-toggle-icon span:nth-child(3) {
  bottom: 8px;
  transform: rotate(-45deg);
}

.nav-mobile {
  position: fixed;
  inset-inline: 0.9rem;
  top: 3.35rem;
  border-radius: var(--radius-lg);
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: var(--shadow-soft);
  padding: 0.5rem 0.75rem 0.75rem;
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 0.55rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav-mobile a:hover {
  background: rgba(148, 163, 184, 0.12);
  color: #e5e7eb;
}

.nav-mobile-divider {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin: 0.25rem 0.2rem;
}

.nav-mobile-auth {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.15rem;
}

@media (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
  .nav-links {
    display: flex;
  }
  .nav-cta {
    display: flex;
  }
  .nav-mobile {
    display: none !important;
  }
}

/* Hero Section */

.hero {
  display: grid;
  gap: 2.75rem;
  align-items: center;
}

.hero-badge-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.15rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.35);
  margin-bottom: 1rem;
}

.hero-badge {
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.2);
  color: #bfdbfe;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero-badge-text {
  font-size: 0.78rem;
  color: var(--muted);
  padding-inline: 0.6rem 0.9rem;
}

.hero-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 0.7rem;
}

.hero-title span {
  background: linear-gradient(135deg, #bfdbfe, #60a5fa);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  max-width: 32rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.hero-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-meta-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.3);
}

.hero-right {
  position: relative;
}

.hero-orbit {
  position: relative;
  width: min(360px, 100%);
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 0, #1f2937, #020617 60%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.95);
  overflow: hidden;
}

.hero-orbit-inner {
  position: absolute;
  inset: 10%;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 0, rgba(56, 189, 248, 0.18), transparent);
}

.hero-orbit-ring {
  position: absolute;
  inset: 15%;
  border-radius: inherit;
  border: 1px dashed rgba(148, 163, 184, 0.22);
}

.hero-orbit-node {
  position: absolute;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #e5e7eb;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.9);
}

.hero-orbit-node.student {
  top: 10%;
  left: 18%;
}

.hero-orbit-node.tutor {
  bottom: 14%;
  right: 16%;
}

.hero-orbit-node.match {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 24px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.hero-pill {
  position: absolute;
  inset-inline: 12%;
  bottom: 12%;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--muted);
}

.hero-pill strong {
  color: #e5e7eb;
}

.hero-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f97316;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 3rem;
  }
}

/* Forms */

.form-card {
  max-width: 460px;
  margin: 0 auto;
}

.form-title {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.form-grid-two {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .form-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.form-label span {
  color: #e5e7eb;
}

.form-label small {
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.85);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.82);
  color: #e5e7eb;
  font-size: 0.88rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), transform var(--transition-fast);
}

.input::placeholder,
.textarea::placeholder {
  color: rgba(148, 163, 184, 0.7);
}

.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(96, 165, 250, 0.9);
  box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.7);
  transform: translateY(-1px);
  background: rgba(15, 23, 42, 0.95);
}

.textarea {
  min-height: 96px;
  resize: vertical;
}

.input-inline {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.checkbox-label,
.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.checkbox,
.radio {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: rgba(15, 23, 42, 0.9);
  appearance: none;
  outline: none;
  display: inline-block;
  position: relative;
}

.radio {
  border-radius: 999px;
}

.checkbox:checked,
.radio:checked {
  border-color: rgba(96, 165, 250, 0.9);
  background: linear-gradient(135deg, #2563eb, #4f46e5);
}

.checkbox:checked::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 3px;
  background: #e5e7eb;
}

.radio:checked::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 999px;
  background: #e5e7eb;
}

.form-help {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.form-footer {
  margin-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.form-switch {
  font-size: 0.8rem;
  color: var(--muted);
}

.form-switch a {
  color: #bfdbfe;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: var(--muted);
  background: rgba(15, 23, 42, 0.8);
}

.chip.selected {
  border-color: rgba(96, 165, 250, 0.9);
  color: #e5e7eb;
  background: rgba(37, 99, 235, 0.35);
}

/* Layout: Dashboards */

.dashboard-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .dashboard-layout {
    grid-template-columns: minmax(0, 2.1fr) minmax(0, 1.1fr);
    align-items: flex-start;
  }
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.dashboard-title {
  font-size: 1.2rem;
}

.dashboard-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .stat-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.stat-card {
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.28);
  padding: 0.85rem 0.9rem;
  background: rgba(15, 23, 42, 0.92);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--muted);
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.stat-pill {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #4ade80;
}

.stat-pill.muted {
  color: var(--muted);
}

/* Tutor cards & filters */

.filters-bar {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.92);
  padding: 0.8rem 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.filters-bar label {
  font-size: 0.78rem;
  color: var(--muted);
}

.filters-bar .select {
  min-width: 130px;
}

.filters-bar .btn {
  margin-left: auto;
}

.tutor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 720px) {
  .tutor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tutor-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
}

.tutor-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #4ade80, #16a34a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #ecfdf5;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.8);
}

.tutor-info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.tutor-name {
  font-size: 1rem;
  font-weight: 600;
}

.tutor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.3rem 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.pill {
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.pill-primary {
  border-color: rgba(96, 165, 250, 0.95);
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.25);
}

.tutor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.tutor-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.rating {
  font-size: 0.82rem;
  color: #fbbf24;
}

.price-tag {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Badges & tags */

.badge {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.7rem;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.badge-success {
  border-color: rgba(34, 197, 94, 0.8);
  color: #bbf7d0;
}

.badge-muted {
  color: var(--muted);
}

/* Tables (for dashboards) */

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.table th,
.table td {
  padding: 0.6rem 0.5rem;
  text-align: left;
}

.table thead {
  background: rgba(15, 23, 42, 0.9);
}

.table thead th {
  font-weight: 500;
  color: var(--muted);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.table tbody tr {
  border-bottom: 1px solid rgba(15, 23, 42, 0.95);
}

.table tbody tr:last-child {
  border-bottom: none;
}

.table tbody tr:hover {
  background: rgba(15, 23, 42, 0.85);
}

/* Modals */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  width: min(420px, 92%);
  background: radial-gradient(circle at top, #111827, #020617 70%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 24px 75px rgba(15, 23, 42, 0.95);
  padding: 1.4rem 1.35rem 1.2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.1rem;
}

.modal-title {
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.modal-body {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* Support / Review / Report pages */

.section-header {
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
}

.support-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 960px) {
  .support-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  }
}

.support-list {
  margin-top: 0.25rem;
  display: grid;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--muted);
}

.support-list span {
  color: #e5e7eb;
}

/* 404 page */

.error-hero {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
  padding-top: 2.5rem;
}

.error-code {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(148, 163, 184, 0.5);
}

.error-title {
  font-size: 1.4rem;
  margin-top: 0.4rem;
}

.error-text {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */

.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.28);
  padding: 1.4rem 1.25rem 1.7rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.95), #020617);
  margin-top: auto;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.footer-nav a {
  color: var(--muted);
}

.footer-nav a:hover {
  color: #e5e7eb;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  align-items: center;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.badge-pill {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.72rem;
}

@media (min-width: 768px) {
  .footer {
    padding-inline: 2.5rem;
  }
}

/* Utility */

.text-muted {
  color: var(--muted);
}

.text-danger {
  color: var(--danger);
}

.text-success {
  color: var(--success);
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mb-0 {
  margin-bottom: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


