:root {
  --nav-offset: 90px;
}

html {
  scroll-padding-top: var(--nav-offset);
}

[id] {
  scroll-margin-top: var(--nav-offset);
}

#mainNav,
#homeNav {
  background-color: #23272a;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.25);
}

body {
  background-color: #2c2f33;
}

.btn-primary {
  background-color: #5B64E9;
  border-color: #5B64E9;
}

.btn-outline-primary {
  color: #5B64E9;
  border-color: #5B64E9;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  background-color: #5B64E9;
  border-color: #5B64E9;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
  color: #fff;
}

#carouselExample .carousel-inner {
  height: clamp(300px, 36vw, 420px);
}

#carouselExample .carousel-item {
  height: 100%;
}

#carouselExample .carousel-item > .text-center {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#carouselExample .carousel-control-prev,
#carouselExample .carousel-control-next {
  opacity: 1;
}

#carouselExample .carousel-control-prev-icon,
#carouselExample .carousel-control-next-icon,
#carouselExample .carousel-control-prev-icon:hover,
#carouselExample .carousel-control-next-icon:hover {
  filter: none;
}

#carouselExample .carousel-control-prev-icon:hover,
#carouselExample .carousel-control-next-icon:hover {
  filter: invert(1);
}

.site-footer {
  grid-column: 1 / -1;
  grid-row: 3;
  position: relative;
  z-index: 2000;
  margin-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #23272a;
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.site-footer .footer-inner {
  max-width: 72rem;
}

.site-footer .footer-grid {
  display: grid;
  gap: 2.5rem;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer .footer-title {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

.site-footer .footer-heading {
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.site-footer .footer-muted {
  color: #9e9e8e;
  font-size: 0.875rem;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer .footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}

.site-footer .footer-list > li > a {
  color: #9e9e8e;
  font-size: 0.875rem;
  font-weight: 400;
}

.site-footer .footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.site-footer .footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: #9e9e8e;
}

.site-footer .footer-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  color: #9e9e8e;
}

@media (min-width: 576px) {
  .site-footer .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .site-footer .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .site-footer {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .site-footer .footer-inner {
    width: 100%;
    max-width: none;
  }

  .site-footer .footer-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .site-footer .footer-bottom {
    width: 100%;
  }
}

.custom-page-main {
  padding-top: 7rem;
  padding-bottom: 3rem;
  min-height: 83vh;
}

.resource-calculator-main {
  padding-top: 5.75rem;
  padding-bottom: 3rem;
}

.resource-page-header {
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  background: rgba(17, 24, 39, 0.52);
}

.resource-hero {
  overflow: hidden;
}

.resource-summary-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .resource-summary-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.resource-summary-card {
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(17, 24, 39, 0.72);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.resource-summary-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.resource-summary-value {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
}

.resource-summary-note {
  margin-top: 0.55rem;
  font-size: 0.84rem;
  color: #9ca3af;
}

.resource-summary-food {
  border-color: rgba(59, 130, 246, 0.25);
}

.resource-summary-wood {
  border-color: rgba(34, 197, 94, 0.25);
}

.resource-summary-stone {
  border-color: rgba(245, 158, 11, 0.25);
}

.resource-summary-gold {
  border-color: rgba(250, 204, 21, 0.25);
}

.resource-summary-food .resource-summary-value {
  color: #93c5fd;
}

.resource-summary-wood .resource-summary-value {
  color: #86efac;
}

.resource-summary-stone .resource-summary-value {
  color: #fcd34d;
}

.resource-summary-gold .resource-summary-value {
  color: #fde68a;
}

.resource-section-shell {
  background: rgba(17, 24, 39, 0.58);
}

.resource-pack-grid {
  display: grid;
  gap: 1rem;
}

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

@media (min-width: 1200px) {
  .resource-pack-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.resource-section-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9ec5fe;
  margin-bottom: 0.45rem;
}

.resource-section-card {
  border-radius: 1rem;
}

.resource-section-card + .resource-section-card {
  margin-top: 1rem;
}

.resource-level-card {
  padding: 0.95rem;
  border-radius: 0.9rem;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.resource-level-card + .resource-level-card {
  margin-top: 1rem;
}

.resource-input-card {
  padding: 0.75rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.resource-pack-card .card-body {
  padding: 1rem;
}

.resource-pack-card .input-group-text,
.resource-pack-card .form-control {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.resource-pack-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.resource-pack-total strong {
  font-size: 1.15rem;
}

.resource-pack-total.food strong {
  color: #93c5fd;
}

.resource-pack-total.wood strong {
  color: #86efac;
}

.resource-pack-total.stone strong {
  color: #fcd34d;
}

.resource-pack-total.gold strong {
  color: #fde68a;
}

.d-flex.gap-2 .resource-pack-total {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  border: none;
  font-size: 0.85rem;
  gap: 0.2rem;
}

.d-flex.gap-2 .resource-pack-total strong {
  font-size: 1rem;
}

.section-summary-card {
  border-radius: 0.9rem;
  overflow: hidden;
}

.section-summary-card .card-body {
  padding: 0.9rem;
}

.section-summary-card .section-level-list > div {
  border-bottom: 1px dashed rgba(255,255,255,0.03);
  padding-bottom: 0.35rem;
}

.section-summary-card .fw-bold {
  color: #fff;
}

.resource-pack-card .card-header {
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.resource-input-card .input-group-text,
.resource-input-card .form-control,
.resource-level-card .input-group-text,
.resource-level-card .form-control {
  border-color: rgba(255, 255, 255, 0.08);
}

.resource-input-card .form-label {
  margin-bottom: 0.45rem;
}

.pick-one-inline-group .input-group-text {
  min-width: 2.6rem;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.16rem 0.26rem;
}

.pick-one-inline-group .form-control {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(255, 255, 255, 0.12);
  color: #111827;
  font-weight: 700;
  font-size: 0.76rem;
  line-height: 1.02;
  padding: 0.16rem 0.28rem;
  min-width: 0;
}

.resource-help-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: #d1d5db;
}

.resource-help-list li {
  position: relative;
  padding-left: 1.25rem;
}

.resource-help-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #5b64e9;
}

.resource-side-note {
  color: #9ca3af;
  font-size: 0.86rem;
}

.resource-skip-link {
  color: #93c5fd;
  text-decoration: none;
}

/* Compact Calculator Styles */
.compact-calculator-section {
  display: grid;
}

.compact-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.compact-section-header h2 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.compact-section-grid {
  display: grid;
  gap: 0.75rem;
}

.resource-level-card {
  border-radius: 0.8rem;
  overflow: hidden;
}

.resource-level-card .card-header {
  padding: 0.8rem 0.95rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
}

.level-name {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.55rem;
  background: rgba(91, 100, 233, 0.15);
  border-radius: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #d1d5db;
  white-space: nowrap;
}

.level-total-group {
  min-width: min(100%, 180px);
}

.level-total-group .input-group-text {
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.4rem;
}

.level-total-group .form-control {
  padding: 0.4rem 0.6rem;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.4rem;
  color: #fff;
}

.resource-level-card .card-body {
  padding: 0.95rem;
}

.compact-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 0.5rem;
}

.compact-resource-input {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.compact-resource-input label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.compact-resource-input .form-control {
  padding: 0.4rem 0.5rem;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.4rem;
  color: #fff;
}

.resource-level-total {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
}

.on-hand-card .card-body {
  padding: 1rem;
}

.on-hand-inline-row {
  display: grid;
  gap: 0.45rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.on-hand-inline-group .input-group-text {
  min-width: 4.35rem;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.45rem;
}

.on-hand-inline-group .form-control {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(255, 255, 255, 0.12);
  color: #111827;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.15;
  padding: 0.3rem 0.46rem;
  min-width: 0;
}

/* keep On Hand at 2 columns consistently */

.resource-skip-link:hover {
  text-decoration: underline;
}

.dashboard-page-main {
  padding-top: 6.5rem;
  padding-bottom: 3rem;
}

.dashboard-hero {
  margin-bottom: 2rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(91, 100, 233, 0.28), transparent 30%),
    radial-gradient(circle at bottom right, rgba(30, 41, 59, 0.8), transparent 36%),
    linear-gradient(145deg, rgba(9, 14, 28, 0.95), rgba(17, 24, 39, 0.82));
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.22);
}

.dashboard-orbit {
  position: absolute;
  border-radius: 9999px;
  filter: blur(12px);
  pointer-events: none;
}

.dashboard-orbit-one {
  top: -3rem;
  right: -2rem;
  width: 12rem;
  height: 12rem;
  background: rgba(91, 100, 233, 0.2);
}

.dashboard-orbit-two {
  bottom: -4rem;
  left: -1rem;
  width: 10rem;
  height: 10rem;
  background: rgba(59, 130, 246, 0.14);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #9ec5fe;
}

.dashboard-panel {
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dashboard-panel-label {
  color: #9ca3af;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.5rem;
}

.dashboard-panel-title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.dashboard-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  color: #d1d5db;
}

.dashboard-checklist li {
  position: relative;
  padding-left: 1.25rem;
}

.dashboard-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #5b64e9;
}

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

.tool-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.18);
}

.tool-card::after {
  content: "";
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 9rem;
  height: 9rem;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(91, 100, 233, 0.2), transparent 70%);
  pointer-events: none;
}

.tool-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgba(91, 100, 233, 0.18);
  color: #c7d2fe;
  font-weight: 700;
  margin-bottom: 1rem;
}

.tool-card p {
  color: #cbd5e1;
  margin-bottom: 1.25rem;
}

.tool-card code {
  color: #93c5fd;
}

.tool-card .btn {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .tool-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.custom-page-card {
  background: rgba(17, 24, 39, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
}

.custom-page-card .card-body {
  padding: 1.5rem;
}

.section-title {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
}

.form-label {
  color: #d1d5db;
}

.form-hint {
  color: #9ca3af;
  font-size: 0.85rem;
}

.talent-block {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.02);
  overflow: visible;
}

.placeholder-box {
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 0.75rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.9rem;
  background: rgba(0, 0, 0, 0.15);
}

.talent-builder-frame-wrap {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.2);
  min-height: 760px;
}

.talent-builder-frame {
  display: block;
  height: 100%;
  width: 100%;
  min-height: 760px;
  border: 0;
  background: #0f172a;
}

.talent-builder-note {
  color: #9ca3af;
  font-size: 0.85rem;
}

.talent-builder-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.talent-builder-toolbar {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.talent-settings-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  left: auto;
  width: fit-content;
  min-width: 0;
  max-width: calc(100vw - 1rem);
  z-index: 40;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.35);
}

.talent-settings-panel[hidden] {
  display: none;
}

.talent-settings-panel .form-check-label {
  white-space: nowrap;
}

.talent-settings-shared-note {
  margin-top: 0.6rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.status-line {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 1rem;
}

.stat-card {
  background: rgba(17, 24, 39, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  cursor: default;
}

.stat-card:hover {
  background: rgba(91, 100, 233, 0.08);
  border-color: rgba(91, 100, 233, 0.4);
  transform: translateY(-2px);
}

.stat-card:hover .stat-icon-wrap {
  filter: brightness(1.2);
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon-wrap svg {
  width: 20px;
  height: 20px;
  color: inherit;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.icon-blue  { background: rgba(56, 138, 221, 0.18); color: #93c5fd; }
.icon-purple{ background: rgba(139, 92, 246, 0.18); color: #c4b5fd; }
.icon-teal  { background: rgba(20, 184, 166, 0.18); color: #5eead4; }
.icon-amber { background: rgba(245, 158, 11, 0.18); color: #fcd34d; }

.num-blue  { color: #60a5fa; }
.num-purple{ color: #a78bfa; }
.num-teal  { color: #2dd4bf; }
.num-amber { color: #fbbf24; }

@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}

.features-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #818cf8;
  margin-bottom: 0.6rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.feature-card {
  background: rgba(17, 24, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(91, 100, 233, 0.45);
  transform: translateY(-2px);
}

.feature-card-wide {
  grid-column: 1 / -1;
}

.feature-card-body {
  padding: 1.5rem;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(91, 100, 233, 0.15);
  border: 1px solid rgba(91, 100, 233, 0.25);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a5b4fc;
  margin-bottom: 1rem;
}

.feature-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.feature-card-text {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.6;
  margin-bottom: 0;
}

.feature-img-wrap {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-img {
  border-radius: 0.5rem;
  max-width: 100%;
  height: auto;
  display: block;
}

.feature-cmd-list {
  margin-top: 0.75rem;
  line-height: 2.2;
}

.cmd-pill {
  display: inline-block;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 0.78rem;
  font-family: monospace;
  color: #93c5fd;
  margin: 2px 2px 2px 0;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card-wide {
    grid-column: 1;
  }
}