/* ── Root Variables ─────────────────────────────────────────────────────── */
:root {
  --sidebar-width: 260px;
  --sidebar-bg: #102033;
  --sidebar-hover: rgba(255,255,255,0.08);
  --sidebar-active: rgba(248, 180, 64, 0.2);
  --topbar-height: 60px;
}

/* ── Layout ─────────────────────────────────────────────────────────────── */
body {
  background: #f0f2f5;
  font-size: 0.925rem;
}

.app-wrapper {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar ────────────────────────────────────────────────────────────── */
.sidebar {
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--sidebar-bg);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.25s ease;
  overflow: visible;
}

.sidebar-header {
  padding: 20px 20px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.sidebar-nav {
  list-style: none;
  padding: 12px 0;
  margin: 0;
  flex: 1;
  overflow-y: auto;
  overflow-x: visible;
  min-height: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.sidebar-nav::-webkit-scrollbar {
  display: none;
}

.sidebar-item {
  position: relative;
}

.sidebar-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-submenu .sidebar-link {
  padding-left: 44px;
  font-size: 0.85rem;
}

.sidebar-nav .nav-label {
  padding: 6px 20px 2px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  font-size: 0.9rem;
  border-radius: 0;
}

.sidebar-link-toggle {
  width: calc(100% - 20px);
  border: 0;
  background: transparent;
  text-align: left;
}

.submenu-chevron {
  transition: transform 0.18s ease;
}

.sidebar-link:hover {
  background: var(--sidebar-hover);
  color: #ffffff;
}

.sidebar-link.active {
  background: rgba(255,255,255,0.25);
  color: #ffffff;
  font-weight: 600;
  border-left: 4px solid #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* Card hover lift for clickable cards */
a.text-decoration-none .card.stat-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
a.text-decoration-none:hover .card.stat-card {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1) !important;
}

/* Consistent icon-button sizing */
.btn-sm.btn-outline-primary,
.btn-sm.btn-outline-secondary,
.btn-sm.btn-outline-warning,
.btn-sm.btn-outline-danger {
  min-width: 32px;
}

/* Stronger table row hover */
.table-hover tbody tr:hover {
  background-color: rgba(0,0,0,0.04);
}

.sidebar-footer {
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  flex-shrink: 0;
}

/* ── Main Content ───────────────────────────────────────────────────────── */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Top Navbar ─────────────────────────────────────────────────────────── */
.top-navbar {
  height: var(--topbar-height);
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.top-navbar-title {
  font-weight: 600;
  font-size: 1rem;
  color: #333;
}

.sidebar-toggle {
  display: none;
}

.content-area {
  flex: 1;
}

/* ── Dashboard Stat Cards ───────────────────────────────────────────────── */
.stat-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  border-left: 4px solid transparent;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #212121;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* ── Driver Avatar ──────────────────────────────────────────────────────── */
.driver-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5a5a6a, #6e6e6e);
  color: white;
  font-size: 2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Vehicle Avatar ─────────────────────────────────────────────────────── */
.vehicle-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1b5e20, #2e7d32);
  color: white;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Document Drop Zone ─────────────────────────────────────────────────── */
.drop-zone {
  border: 2px dashed #bdbdbd;
  border-radius: 8px;
  padding: 12px 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fafafa;
}

.drop-zone:hover,
.drop-zone.drag-over {
  border-color: #2d2d2d;
  background: #e8e8e8;
}

.drop-zone-active {
  border-color: #2e7d32;
  background: #f1f8e9;
}

.uploaded-doc-checklist {
  display: grid;
  gap: 10px;
}

.uploaded-doc-checklist-item {
  border: 1px solid #d8e6d8;
  border-radius: 8px;
  background: #f8fcf8;
  padding: 10px 12px;
}

.uploaded-doc-checklist-title {
  font-weight: 600;
  color: #1f1f1f;
}

.uploaded-doc-checklist-meta {
  margin-top: 2px;
  color: #6c757d;
  font-size: 0.85rem;
}

.selected-doc-status {
  border: 1px solid #b7ddb7;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.08);
}

.file-selected-banner {
  border: 1px solid #b7ddb7;
  border-radius: 6px;
  background: #f1f8e9;
  color: #1f1f1f;
  padding-left: 12px;
  padding-right: 12px;
}

/* ── Cards ──────────────────────────────────────────────────────────────── */
.card {
  border: 1px solid #e8e8e8;
  border-radius: 8px;
}

.card-header {
  background: #fafafa;
  border-bottom: 1px solid #e8e8e8;
  padding: 12px 16px;
}

/* ── Table ──────────────────────────────────────────────────────────────── */
.table > :not(caption) > * > * {
  padding: 10px 16px;
}

/* ── Flash Messages ─────────────────────────────────────────────────────── */
.flash-container .alert {
  border-radius: 6px;
  font-size: 0.9rem;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.show {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
  }
  .sidebar-toggle {
    display: inline-flex;
  }
  .stat-number {
    font-size: 1.5rem;
  }
}

/* Premium app shell */
.app-body {
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(8, 145, 178, 0.08), transparent 30%),
    radial-gradient(circle at top right, rgba(217, 119, 6, 0.1), transparent 22%),
    linear-gradient(180deg, #f6f6f2 0%, #eceae2 100%);
  color: #1f2937;
}

.sidebar {
  background:
    radial-gradient(circle at top left, rgba(45, 212, 191, 0.12), transparent 20%),
    linear-gradient(180deg, #101820 0%, #0c131a 52%, #090f15 100%);
  border-right: 1px solid rgba(148, 163, 184, 0.1);
  box-shadow: 8px 0 18px rgba(3, 7, 18, 0.12);
  padding: 14px 0 18px;
}

.sidebar-header {
  padding: 14px 20px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.45), 0 1px 2px rgba(0,0,0,0.3);
  flex-shrink: 0;
}
.brand-icon {
  font-size: 1.1rem;
  color: #ffffff;
}
.sidebar-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.brand-name {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.brand-tagline {
  font-size: 0.62rem;
  font-weight: 500;
  color: #64748b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-my {
  color: #94a3b8;
  font-weight: 500;
}
.brand-carrier {
  color: #f1f5f9;
  font-weight: 800;
}
.brand-vault {
  background: linear-gradient(90deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.company-badge {
  background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.company-badge-meta {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.74);
  margin-top: 2px;
}

.sidebar-nav {
  padding: 14px 10px;
}

.sidebar-link {
  margin: 2px 10px;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 600;
  color: #d8e0e8;
  border: 1px solid transparent;
}

.sidebar-submenu .sidebar-link {
  margin-left: 18px;
  padding-left: 16px;
  font-size: 0.82rem;
  color: #edf2f7;
}

.sidebar-item--expandable > .sidebar-submenu {
  position: fixed;
  top: 0;
  left: 0;
  display: none;
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0)),
    linear-gradient(180deg, #16212b, #0c131a);
  box-shadow: 0 24px 46px rgba(3, 7, 18, 0.42);
  pointer-events: none;
  z-index: 2000;
}

.sidebar-item--expandable > .sidebar-submenu .sidebar-link {
  margin: 0;
  padding-left: 14px;
}

.sidebar-item--expandable > .sidebar-submenu.is-measuring {
  display: block;
  visibility: hidden;
}

.sidebar-item--expandable > .sidebar-submenu.is-visible {
  display: block;
  visibility: visible;
  pointer-events: auto;
}

.sidebar-item--expandable.is-hovered > .sidebar-link-toggle .submenu-chevron,
.sidebar-item--expandable.is-open > .sidebar-link-toggle .submenu-chevron {
  transform: rotate(90deg);
  color: #5eead4;
}

.sidebar-link.active {
  border-left: 0;
  color: #f8fffd;
  border-color: rgba(45, 212, 191, 0.22);
  background:
    linear-gradient(135deg, rgba(20, 184, 166, 0.32), rgba(13, 148, 136, 0.24)),
    rgba(255,255,255,0.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 10px 22px rgba(3, 7, 18, 0.26);
}

.sidebar-link:hover,
.sidebar-link:focus-visible {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), rgba(45, 212, 191, 0.06)),
    rgba(255,255,255,0.025);
  border-color: rgba(255,255,255,0.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 8px 18px rgba(3, 7, 18, 0.18);
}

.sidebar-link.is-disabled,
.sidebar-link.is-disabled:hover,
.sidebar-link.is-disabled:focus-visible {
  color: rgba(216, 224, 232, 0.42);
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  cursor: not-allowed;
  pointer-events: none;
}

.main-content {
  position: relative;
}

.top-navbar {
  height: auto;
  min-height: 78px;
  padding: 16px 28px;
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.top-navbar-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.top-navbar-eyebrow {
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.top-navbar-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.top-navbar-actions .btn,
.profile-trigger {
  border-radius: 999px;
  min-height: 40px;
  padding-left: 14px;
  padding-right: 14px;
  border-color: rgba(194, 65, 12, 0.12);
  background: rgba(255,255,255,0.86);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.top-navbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  flex-shrink: 0;
  min-width: max-content;
}

.top-navbar-actions .dropdown {
  position: relative;
  flex: 0 0 auto;
}

.top-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  white-space: nowrap;
  min-width: 158px;
  flex-shrink: 0;
  padding: 0 20px;
  overflow: visible;
  max-width: none;
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.16);
  background: rgba(255,255,255,0.96);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
  text-decoration: none;
}

.top-action-link i,
.top-action-label {
  flex-shrink: 0;
}

.top-action-label {
  display: inline-block;
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
}

.top-action-link:hover,
.top-action-link:focus-visible,
.top-action-link:active {
  color: #1d4ed8;
  border-color: rgba(37, 99, 235, 0.24);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
  text-decoration: none;
}

.top-alert-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
}

.top-alert-button i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.profile-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  white-space: nowrap;
  min-width: 124px;
  padding: 0 18px;
  overflow: visible;
  max-width: none;
  color: #475569;
  flex-shrink: 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(255,255,255,0.96);
}

.profile-trigger::after {
  margin-left: 2px;
  flex-shrink: 0;
}

.profile-trigger i,
.profile-trigger-label {
  flex-shrink: 0;
}

.profile-trigger-label {
  display: inline-block;
  white-space: nowrap;
  opacity: 1;
  visibility: visible;
}

.profile-trigger:hover,
.profile-trigger:focus,
.profile-trigger:active,
.profile-trigger.show {
  color: #334155;
  background: rgba(255,255,255,0.96);
  border-color: rgba(148, 163, 184, 0.28);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.flash-container .alert {
  border: 0;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.07);
}

.content-area {
  padding-top: 14px;
}

.card {
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255, 252, 248, 0.92);
  box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(12px);
}

.card-header {
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,245,237,0.96));
  border-bottom: 1px solid rgba(217, 119, 6, 0.08);
  padding: 14px 18px;
}

.stat-card {
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 24px;
  overflow: hidden;
}

.stat-card .card-body {
  padding: 1.25rem 1.35rem;
}

.stat-card .stat-icon {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}

.btn {
  border-radius: 14px;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #0f766e, #115e59);
  border-color: #0f766e;
  box-shadow: 0 14px 24px rgba(15, 118, 110, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #115e59, #134e4a);
  border-color: #115e59;
}

.btn-outline-secondary,
.btn-outline-primary,
.btn-outline-warning {
  background: rgba(255,255,255,0.86);
}

.form-control,
.form-select {
  min-height: 48px;
  border-radius: 16px;
  border-color: rgba(194, 65, 12, 0.16);
  background: rgba(255,255,255,0.96);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

.form-control:focus,
.form-select:focus {
  border-color: rgba(15, 118, 110, 0.42);
  box-shadow: 0 0 0 0.25rem rgba(15, 118, 110, 0.12);
}

textarea.form-control {
  min-height: 110px;
}

.table {
  --bs-table-bg: transparent;
}

.table thead.table-dark th {
  background: linear-gradient(135deg, #111827, #1f2937);
  border-bottom: 0;
  color: #f8fafc;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-light th {
  background: rgba(247, 239, 227, 0.9);
  color: #6b7280;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-hover tbody tr {
  transition: transform 0.14s ease, background-color 0.14s ease;
}

.table-hover tbody tr:hover {
  background-color: rgba(15, 118, 110, 0.06);
}

.dropdown-menu {
  border: 1px solid rgba(194, 65, 12, 0.1);
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
  background: rgba(255, 252, 248, 0.98);
  padding: 10px;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.dropdown-item {
  border-radius: 12px;
  padding: 10px 12px;
}

@media (max-width: 768px) {
  .top-navbar {
    padding: 14px 18px;
  }

  .top-navbar-heading {
    min-width: 0;
  }

  .top-navbar-title {
    font-size: 1.1rem;
  }

  .sidebar {
    padding-top: 8px;
    overflow: hidden;
  }

  .sidebar-nav {
    overflow-x: hidden;
  }

  .sidebar-link-toggle {
    width: auto;
  }

  .sidebar-item--expandable > .sidebar-submenu {
    position: static;
    min-width: 0;
    padding: 0 0 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    pointer-events: auto;
  }

  .sidebar-item--expandable > .sidebar-submenu .sidebar-link {
    margin-left: 18px;
  }

  .sidebar-item--expandable.is-open > .sidebar-submenu {
    display: block;
  }

  .sidebar-item--expandable.is-open > .sidebar-link-toggle .submenu-chevron {
    transform: rotate(180deg);
  }
}

/* Public marketing site */
.public-body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: #f4efe7;
  background:
    radial-gradient(circle at top left, rgba(224, 122, 95, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(129, 178, 154, 0.22), transparent 24%),
    linear-gradient(180deg, #10212c 0%, #162f3b 44%, #f1eadf 44%, #f1eadf 100%);
}

.public-shell {
  min-height: 100vh;
}

.public-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(16, 33, 44, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.public-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.public-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fffaf2;
}

.public-brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #10212c;
  background: linear-gradient(135deg, #f2cc8f, #e07a5f);
  box-shadow: 0 16px 30px rgba(224, 122, 95, 0.28);
}

.public-brand-name {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.1;
}

.public-brand-tag {
  display: block;
  color: rgba(255, 250, 242, 0.72);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.public-nav-links,
.public-nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.public-nav-links a,
.public-login-link {
  color: rgba(255, 250, 242, 0.82);
  text-decoration: none;
  font-weight: 600;
}

.public-nav-links a.active,
.public-nav-links a:hover,
.public-login-link:hover {
  color: #ffffff;
}

.public-btn-primary,
.public-btn-secondary {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
}

.public-btn-primary {
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  color: #10212c;
  box-shadow: 0 18px 30px rgba(224, 122, 95, 0.28);
}

.public-btn-primary:hover {
  color: #10212c;
  transform: translateY(-1px);
}

.public-btn-secondary {
  background: rgba(255, 250, 242, 0.08);
  border-color: rgba(255, 250, 242, 0.16);
  color: #fffaf2;
}

.public-btn-secondary:hover {
  color: #fffaf2;
  background: rgba(255, 250, 242, 0.14);
}

.public-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #f2cc8f;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-section,
.pricing-page-section,
.signup-section {
  padding: 72px 0 88px;
}

.hero-title,
.pricing-page-heading h1,
.signup-plan-card h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fffaf2;
  margin-bottom: 22px;
}

.hero-copy,
.section-heading p,
.signup-plan-card p,
.signup-form-card p {
  color: rgba(255, 250, 242, 0.78);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions,
.cta-strip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 34px;
}

.public-text-link {
  color: #fffaf2;
  font-weight: 700;
  text-decoration: none;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fffaf2;
  background: rgba(255, 250, 242, 0.06);
  border: 1px solid rgba(255, 250, 242, 0.08);
  border-radius: 18px;
  padding: 14px 16px;
}

.hero-proof-item i {
  color: #81b29a;
}

.hero-panel,
.pricing-card,
.signup-plan-card,
.signup-form-card,
.cta-strip {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 55px rgba(4, 12, 18, 0.18);
}

.hero-panel {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.13), rgba(255, 250, 242, 0.06));
  padding: 28px;
}

.hero-panel-header,
.pricing-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-panel-badge,
.pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(242, 204, 143, 0.14);
  color: #f2cc8f;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-panel-body {
  margin-top: 24px;
}

.journey-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.journey-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.journey-step-number {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #81b29a, #f2cc8f);
  color: #10212c;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.journey-step h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: #fffaf2;
}

.journey-step p {
  margin: 0;
  color: rgba(255, 250, 242, 0.74);
  line-height: 1.65;
}

.public-section {
  padding: 84px 0;
  color: #10212c;
}

.public-section-accent {
  padding-top: 0;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading-left {
  margin: 0 0 24px;
  text-align: left;
}

.section-heading h2,
.signup-form-card h2,
.cta-strip h2 {
  font-family: "Space Grotesk", sans-serif;
  color: #10212c;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.pricing-card,
.signup-form-card {
  background: #fffaf2;
  color: #10212c;
  padding: 28px;
}

.pricing-card.featured {
  background: linear-gradient(180deg, #10212c, #183846);
  color: #fffaf2;
}

.pricing-page-card {
  min-height: 100%;
}

.pricing-label {
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 800;
  color: #4f6b78;
}

.pricing-card.featured .pricing-label,
.pricing-card.featured .pricing-summary,
.pricing-card.featured .pricing-feature-list li,
.pricing-card.featured h2,
.pricing-card.featured h3 {
  color: #fffaf2;
}

.pricing-card h2,
.pricing-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  letter-spacing: -0.04em;
  margin: 0;
}

.pricing-card h2 span,
.pricing-card h3 span,
.signup-price span {
  font-size: 1rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  color: inherit;
  opacity: 0.7;
}

.pricing-summary {
  margin: 22px 0;
  color: #314851;
  line-height: 1.7;
}

.pricing-feature-list,
.signup-benefits {
  margin: 0 0 24px;
  padding-left: 18px;
}

.pricing-feature-list li,
.signup-benefits li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.cta-strip {
  background: linear-gradient(135deg, #f2cc8f, #e07a5f);
  color: #10212c;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-strip .public-eyebrow {
  color: rgba(16, 33, 44, 0.72);
}

.signup-plan-card {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.14), rgba(255, 250, 242, 0.08));
  padding: 30px;
}

.signup-price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 3.1rem;
  letter-spacing: -0.05em;
  margin: 18px 0 12px;
}

.plan-switcher {
  display: inline-flex;
  padding: 6px;
  gap: 6px;
  background: rgba(255, 250, 242, 0.07);
  border: 1px solid rgba(255, 250, 242, 0.1);
  border-radius: 999px;
  margin: 8px 0 24px;
}

.plan-switcher-link {
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(255, 250, 242, 0.82);
  font-weight: 700;
}

.plan-switcher-link.active {
  background: #fffaf2;
  color: #10212c;
}

.signup-note {
  border-radius: 18px;
  padding: 14px 16px;
  background: #f3eee5;
  color: #445760;
  line-height: 1.65;
}

.form-control-lg {
  border-radius: 16px;
  padding: 0.95rem 1rem;
}

@media (max-width: 991px) {
  .public-nav {
    flex-wrap: wrap;
  }

  .public-nav-links {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-section,
  .pricing-page-section,
  .signup-section,
  .public-section {
    padding: 56px 0 68px;
  }

  .public-nav-actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero-title,
  .pricing-page-heading h1,
  .signup-plan-card h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 576px) {
  .public-nav-links,
  .public-nav-actions,
  .hero-actions,
  .cta-strip-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .public-nav-actions .btn,
  .hero-actions .btn,
  .cta-strip-actions .btn {
    width: 100%;
  }

  .pricing-card,
  .signup-plan-card,
  .signup-form-card,
  .hero-panel,
  .cta-strip {
    padding: 22px;
  }
}

/* ── Trial Badge ─────────────────────────────────────────────────────────── */
.trial-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(129, 178, 154, 0.15);
  border: 1px solid rgba(129, 178, 154, 0.3);
  border-radius: 999px;
  color: #81b29a;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
}

/* ── Trust Line ──────────────────────────────────────────────────────────── */
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
}

.trust-line-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.84rem;
  font-weight: 600;
}

.trust-line-item i {
  color: #81b29a;
  font-size: 1rem;
}

/* ── Feature Cards ───────────────────────────────────────────────────────── */
.feature-card {
  padding: 28px;
  background: #fffaf2;
  border: 1px solid rgba(16, 33, 44, 0.08);
  border-radius: 24px;
  height: 100%;
  transition: transform 0.15s, box-shadow 0.15s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(16, 33, 44, 0.1);
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(224, 122, 95, 0.12), rgba(242, 204, 143, 0.22));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #e07a5f;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #10212c;
  margin-bottom: 9px;
}

.feature-card p {
  color: #4a6472;
  line-height: 1.7;
  margin: 0;
  font-size: 0.91rem;
}

/* ── How It Works ────────────────────────────────────────────────────────── */
.public-section-dark {
  padding: 84px 0;
  background: linear-gradient(135deg, #10212c 0%, #183846 100%);
}

.public-section-dark .section-heading h2 {
  color: #fffaf2;
}

.public-section-dark .section-heading p {
  color: rgba(255, 250, 242, 0.72);
}

.public-section-dark .public-eyebrow {
  color: #f2cc8f;
}

.how-step {
  padding: 28px;
  background: rgba(255, 250, 242, 0.06);
  border: 1px solid rgba(255, 250, 242, 0.1);
  border-radius: 24px;
  height: 100%;
}

.how-step-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e07a5f, #f2cc8f);
  color: #10212c;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.how-step h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fffaf2;
  margin-bottom: 9px;
}

.how-step p {
  color: rgba(255, 250, 242, 0.74);
  line-height: 1.7;
  margin: 0;
  font-size: 0.91rem;
}

/* ── Signup Free Trial Panel ─────────────────────────────────────────────── */
.signup-trial-panel {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.14), rgba(255, 250, 242, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 28px 55px rgba(4, 12, 18, 0.18);
  padding: 30px;
  color: #fffaf2;
}

.signup-trial-panel h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fffaf2;
  margin-bottom: 16px;
}

.signup-trial-panel p {
  color: rgba(255, 250, 242, 0.78);
  line-height: 1.7;
}

.signup-trial-include {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.signup-trial-include li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 250, 242, 0.88);
  font-size: 0.92rem;
}

.signup-trial-include li:first-child {
  border-top: 0;
}

.signup-trial-include li i {
  color: #81b29a;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .public-section-dark {
    padding: 56px 0;
  }
}
