:root {
  --landing-bg: #f5f7fb;
  --landing-card: #ffffff;
  --landing-ink: #1f2937;
  --landing-muted: #667085;
  --landing-border: rgba(15, 23, 42, 0.08);
  --landing-primary: #696cff;
  --landing-primary-2: #7c4dff;
  --landing-soft: linear-gradient(180deg, #f7f8ff 0%, #eef2ff 100%);
  --landing-shadow: 0 18px 50px rgba(31, 41, 55, 0.12);
  --landing-navbar-bg: rgba(255, 255, 255, 0.72);
  --landing-navbar-border: rgba(15, 23, 42, 0.08);
  --landing-navbar-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
  --landing-hero-grad: radial-gradient(circle at top left, rgba(105, 108, 255, 0.18), transparent 30%),
    radial-gradient(circle at 90% 15%, rgba(124, 77, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #f8faff 0%, #f5f7fb 58%, #ffffff 100%);
  --landing-preview-bg: linear-gradient(180deg, rgba(248, 250, 255, 0.95), #fff);
  --landing-row-bg: #f8fafc;
  --landing-cta-grad: linear-gradient(135deg, #696cff, #7c4dff);
}

html[data-bs-theme='dark'] {
  --landing-bg: #111827;
  --landing-card: #1f2937;
  --landing-ink: #f3f4f6;
  --landing-muted: #cbd5e1;
  --landing-border: rgba(148, 163, 184, 0.18);
  --landing-soft: linear-gradient(180deg, #111827 0%, #0f172a 100%);
  --landing-shadow: 0 22px 60px rgba(2, 6, 23, 0.5);
  --landing-navbar-bg: rgba(17, 24, 39, 0.78);
  --landing-navbar-border: rgba(148, 163, 184, 0.18);
  --landing-navbar-shadow: 0 10px 30px rgba(2, 6, 23, 0.4);
  --landing-hero-grad: radial-gradient(circle at top left, rgba(105, 108, 255, 0.22), transparent 30%),
    radial-gradient(circle at 90% 15%, rgba(124, 77, 255, 0.2), transparent 26%),
    linear-gradient(180deg, #0f172a 0%, #111827 58%, #111827 100%);
  --landing-preview-bg: linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(17, 24, 39, 0.98));
  --landing-row-bg: #111827;
  --landing-cta-grad: linear-gradient(135deg, #4f46e5, #7c3aed);
}

html { scroll-behavior: smooth; }
body { font-family: 'Public Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--landing-bg); color: var(--landing-ink); }
a { text-decoration: none; }

.ui-switcher {
  display: inline-flex; align-items: center; min-height: 2.8rem;
}
.ui-switcher-button {
  display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.8rem;
  padding: 0.35rem 0.52rem 0.35rem 0.38rem; border-radius: 999px;
  background: rgba(255,255,255,0.9); border: 1px solid var(--landing-border); color: var(--landing-ink);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07); font-size: 0.9rem; font-weight: 700;
}
.ui-switcher-button::after { display: none; }
html[data-bs-theme='dark'] .ui-switcher-button { background: rgba(31, 41, 55, 0.9); box-shadow: 0 8px 22px rgba(2, 6, 23, 0.22); }
.ui-switcher-icon {
  width: 1.9rem; height: 1.9rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(105,108,255,0.14); color: var(--landing-primary); flex: 0 0 auto;
}
.ui-switcher i { font-size: 0.98rem; color: var(--landing-primary); }
.ui-switcher-label { color: var(--landing-ink); line-height: 1; }
.ui-switcher-caret {
  width: 1rem; height: 1rem; font-size: 0.72rem; color: var(--landing-muted); display: inline-flex; align-items: center; justify-content: center;
}
.ui-switcher-menu {
  margin-top: 0.65rem !important; min-width: 12rem; padding: 0.45rem; border-radius: 1rem; border: 1px solid var(--landing-border);
  background: rgba(255,255,255,0.98); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}
html[data-bs-theme='dark'] .ui-switcher-menu { background: rgba(17, 24, 39, 0.98); box-shadow: 0 18px 40px rgba(2, 6, 23, 0.42); }
.ui-switcher-menu .dropdown-item {
  display: flex; align-items: center; gap: 0.7rem; border-radius: 0.8rem; padding: 0.72rem 0.8rem;
  font-size: 0.95rem; font-weight: 500; color: var(--landing-ink);
}
.ui-switcher-menu .dropdown-item i { color: var(--landing-primary); font-size: 1rem; }
.ui-switcher-menu .dropdown-item.active,
.ui-switcher-menu .dropdown-item:active,
.ui-switcher-menu .dropdown-item:focus,
.ui-switcher-menu .dropdown-item:hover { background: rgba(105,108,255,0.10); color: var(--landing-primary); }
.lang-switcher .ui-switcher-button { min-width: 6.15rem; justify-content: space-between; }
.theme-switcher .ui-switcher-button { min-width: 8.15rem; justify-content: space-between; }
.theme-switcher .theme-icon { display: none; }
html[data-theme-mode='system'] .theme-switcher .theme-icon-system,
html[data-theme-mode='light'] .theme-switcher .theme-icon-light,
html[data-theme-mode='dark'] .theme-switcher .theme-icon-dark { display: inline-flex; }

.landing-shell { max-width: 1200px; }
.landing-navbar { padding-top: 0.95rem; }
.landing-navbar .landing-shell {
  background: var(--landing-navbar-bg); backdrop-filter: blur(14px); border: 1px solid var(--landing-navbar-border);
  border-radius: 18px; padding: 0.75rem 1rem; box-shadow: var(--landing-navbar-shadow);
}
.brand-mark {
  width: 2.1rem; height: 2.1rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.85rem; color: #fff; background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-2));
  font-size: 0.92rem; letter-spacing: 0.02em;
}

.hero-section { padding: 8.75rem 0 4.5rem; background: var(--landing-hero-grad); }
.eyebrow-badge, .section-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--landing-primary);
}
.eyebrow-badge {
  border: 1px solid rgba(105,108,255,0.18); background: rgba(105,108,255,0.08); padding: 0.55rem 0.85rem; border-radius: 999px; margin-bottom: 1rem;
}
.hero-copy .lead, .text-secondary { color: var(--landing-muted) !important; }
.mini-stat {
  display: flex; align-items: flex-start; gap: 0.9rem; padding: 1rem 1.05rem; background: rgba(255,255,255,0.78);
  border: 1px solid var(--landing-border); border-radius: 1rem;
}
.mini-stat p { margin: 0.22rem 0 0; color: var(--landing-muted); font-size: 0.92rem; }
.mini-stat-icon, .feature-icon {
  width: 2.6rem; height: 2.6rem; border-radius: 0.95rem; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: #fff; background: linear-gradient(135deg, var(--landing-primary), var(--landing-primary-2));
  box-shadow: 0 14px 30px rgba(105,108,255,0.28);
}
.feature-icon { width: 3rem; height: 3rem; border-radius: 1rem; box-shadow: none; background: rgba(105,108,255,0.10); color: var(--landing-primary); }
.feature-icon i { color: var(--landing-primary); }
.hero-visual { border-radius: 1.4rem; box-shadow: var(--landing-shadow) !important; }
.visual-topbar { background: linear-gradient(180deg, rgba(105,108,255,0.08), rgba(105,108,255,0.03)); border-bottom: 1px solid var(--landing-border); }
.status-pill {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.7rem; font-size: 0.76rem; font-weight: 700;
  border-radius: 999px; color: #166534; background: #dcfce7;
}
.metric-card, .chart-card, .activity-card, .preview-panel, .feature-card, .analytic-card {
  background: var(--landing-card); border: 1px solid var(--landing-border); border-radius: 1rem;
}
.metric-card { padding: 1rem; }
.metric-card strong { display: block; font-size: 1.25rem; margin-top: 0.2rem; }
.metric-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--landing-muted); }
.preview-panel { padding: 1rem; background: var(--landing-preview-bg); }
.preview-table { display: grid; gap: 0.5rem; }
.preview-row {
  display: grid; grid-template-columns: 0.9fr 1.2fr 1.3fr 0.6fr; gap: 0.75rem; padding: 0.72rem 0.8rem;
  border-radius: 0.8rem; font-size: 0.88rem; background: var(--landing-row-bg);
}
.preview-row.preview-head { color: var(--landing-muted); font-size: 0.75rem; }
.preview-row em.is-yes { color: #15803d; }

.section-gap { padding: 5.5rem 0; }
.section-soft { background: var(--landing-soft); }
.section-title { max-width: 760px; }
.section-title h2 { margin: 0.8rem 0 1rem; }
.features-icon-wrapper { margin-left: -0.75rem; margin-right: -0.75rem; }
.features-icon-wrapper > div { padding-left: 0.75rem; padding-right: 0.75rem; }
.feature-card, .analytic-card { padding: 1.55rem; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); }
.feature-card {
  min-height: 100%; border-radius: 1.15rem; transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover { transform: translateY(-3px); border-color: rgba(105,108,255,0.22); box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08); }
.feature-card h3, .analytic-card h3 { font-size: 1.15rem; margin: 1rem 0 0.75rem; }
.feature-card p, .analytic-card p, .analytic-card ul { color: var(--landing-muted); margin: 0; }
.feature-meta { margin-top: 0.95rem; font-size: 0.76rem; font-weight: 700; color: var(--landing-primary); letter-spacing: 0.02em; }
.analytic-card ul { padding-left: 1.1rem; margin-top: 0.9rem; }

.workflow-list { display: grid; gap: 1rem; }
.workflow-step { display: flex; gap: 1rem; align-items: flex-start; }
.workflow-step span {
  width: 2.5rem; height: 2.5rem; border-radius: 0.9rem; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--landing-primary); background: rgba(105,108,255,0.10);
}
.workflow-step p { margin: 0.2rem 0 0; color: var(--landing-muted); }
.stacked-preview { display: grid; gap: 1rem; }
.stack-card { border-radius: 1rem; }
.stack-title { font-weight: 700; margin-bottom: 0.75rem; }
.stack-line {
  display: flex; justify-content: space-between; align-items: center; padding: 0.78rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06); color: var(--landing-muted);
}
.stack-line:last-child { border-bottom: 0; }

.faq-accordion { max-width: 860px; }
.faq-accordion .accordion-item {
  border: 1px solid var(--landing-border); border-radius: 1rem !important; overflow: hidden; margin-bottom: 1rem; background: #fff;
}
.faq-accordion .accordion-button { font-weight: 600; padding: 1.15rem 1.2rem; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--landing-primary); background: rgba(105,108,255,0.06); box-shadow: none; }

.cta-section { padding: 0 0 5.5rem; }
.cta-card {
  background: linear-gradient(135deg, #111827, #1f2937 45%, #4338ca 140%); color: white; border-radius: 1.7rem; padding: 2.2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1.75rem; box-shadow: var(--landing-shadow);
}
.cta-copy { max-width: 540px; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.app-badges { display: flex; gap: 0.85rem; flex-wrap: wrap; justify-content: flex-end; }
.app-badge {
  display: inline-flex; align-items: center; gap: 0.8rem; min-width: 185px; padding: 0.7rem 0.9rem; border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.08); color: #fff;
}
.app-badge i { font-size: 1.35rem; }
.app-badge-copy { display: flex; flex-direction: column; line-height: 1.1; }
.app-badge-copy small { font-size: 0.68rem; color: rgba(255,255,255,0.72); }
.app-badge-copy strong { font-size: 0.95rem; font-weight: 700; }
.cta-footnote { font-size: 0.8rem; color: rgba(255,255,255,0.72); text-align: right; }

.site-footer {
  border-top: 1px solid rgba(15,23,42,0.08); padding: 1.4rem 0 2rem; background: rgba(255,255,255,0.7);
}
.footer-grid { display: grid; grid-template-columns: 1.25fr auto auto; align-items: center; gap: 1rem; }
.footer-brand { margin-bottom: 0.18rem; }
.site-footer a { color: inherit; }
.footer-apps { display: flex; justify-content: flex-end; gap: 0.75rem; }
.footer-app-link {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.55rem 0.8rem; border-radius: 999px;
  border: 1px solid var(--landing-border); background: rgba(255,255,255,0.66); color: var(--landing-ink); font-size: 0.82rem; font-weight: 600;
}

@media (max-width: 991.98px) {
  .landing-navbar .landing-shell { border-radius: 1rem; }
  .hero-section { padding-top: 7.5rem; }
  .cta-card { flex-direction: column; align-items: flex-start; }
  .cta-actions { align-items: flex-start; }
  .app-badges, .footer-apps { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; align-items: flex-start; }
}

@media (max-width: 767.98px) {
  .section-gap { padding: 4rem 0; }
  .hero-section { padding-bottom: 3.5rem; }
  .preview-row { grid-template-columns: 1fr 1fr; }
  .ui-switcher { width: fit-content; }
  .app-badge { min-width: 100%; }
}

html[data-bs-theme='dark'] body { color-scheme: dark; }
html[data-bs-theme='dark'] .text-dark,
html[data-bs-theme='dark'] .navbar .nav-link,
html[data-bs-theme='dark'] .accordion-button,
html[data-bs-theme='dark'] .section-title h2,
html[data-bs-theme='dark'] .hero-copy h1,
html[data-bs-theme='dark'] .fw-semibold,
html[data-bs-theme='dark'] .stack-card h5 { color: var(--landing-ink) !important; }
html[data-bs-theme='dark'] .preview-row.preview-head,
html[data-bs-theme='dark'] .small.text-muted,
html[data-bs-theme='dark'] .text-muted,
html[data-bs-theme='dark'] .accordion-body,
html[data-bs-theme='dark'] .accordion-button:not(.collapsed) { color: var(--landing-muted) !important; }
html[data-bs-theme='dark'] .accordion-item,
html[data-bs-theme='dark'] .accordion-button { background: var(--landing-card); border-color: var(--landing-border); }
html[data-bs-theme='dark'] .btn-outline-dark { color: #e5e7eb; border-color: rgba(229, 231, 235, 0.42); }
html[data-bs-theme='dark'] .btn-outline-dark:hover { background: #e5e7eb; color: #111827; }
html[data-bs-theme='dark'] .site-footer,
html[data-bs-theme='dark'] .cta-card,
html[data-bs-theme='dark'] .hero-visual,
html[data-bs-theme='dark'] .metric-card,
html[data-bs-theme='dark'] .chart-card,
html[data-bs-theme='dark'] .activity-card,
html[data-bs-theme='dark'] .preview-panel,
html[data-bs-theme='dark'] .feature-card,
html[data-bs-theme='dark'] .analytic-card,
html[data-bs-theme='dark'] .stack-card,
html[data-bs-theme='dark'] .faq-card,
html[data-bs-theme='dark'] .mini-stat { box-shadow: none; }
html[data-bs-theme='dark'] .feature-card:hover { box-shadow: none; }
html[data-bs-theme='dark'] .footer-app-link { background: rgba(31,41,55,0.82); }


/* 2026-03-09 landing polish */
.brand-logo-wrap {
  background: rgba(105,108,255,0.12);
  padding: 0;
  overflow: hidden;
}
.brand-logo-img {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
  display: block;
}
.metrics-row > div { display: flex; }
.metric-card {
  width: 100%;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.metric-card strong {
  font-size: clamp(1.85rem, 2.2vw, 2.35rem);
  line-height: 1.02;
  white-space: nowrap;
  letter-spacing: -0.03em;
}
.metric-card-primary {
  box-shadow: 0 16px 34px rgba(105,108,255,0.14);
  transform: translateY(-4px);
}
.feature-card {
  display: flex;
  flex-direction: column;
}
.feature-card p {
  flex: 1 1 auto;
  min-height: 6.5rem;
}
.feature-meta {
  margin-top: auto;
  padding-top: 1rem;
}
.stack-line span:last-child {
  text-align: right;
}
.cta-main {
  padding: 2rem 2.35rem 1.45rem;
  min-height: 0;
}
.cta-copy h2 {
  font-size: clamp(1.85rem, 2.6vw, 2.8rem);
}
.cta-footer {
  grid-template-columns: 1fr auto;
  padding: 0.95rem 2.35rem 1.05rem;
  min-height: 0;
}
.footer-brand {
  font-size: 1.08rem;
}
.footer-tagline {
  font-size: 0.82rem;
}
@media (max-width: 991.98px) {
  .metric-card-primary { transform: none; }
  .feature-card p { min-height: 0; }
  .cta-footer { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
  .metric-card strong { white-space: normal; }
  .cta-main { padding: 1.7rem 1.4rem 1.2rem; }
  .cta-footer { padding: 0.95rem 1.4rem 1.05rem; }
}


/* 2026-03-09 dropdown restore + logo + metrics alignment */
.brand-logo-wrap {
  width: 2.45rem; height: 2.45rem; border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(105,108,255,0.14), rgba(124,77,255,0.18));
  border: 1px solid rgba(105,108,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 8px 18px rgba(105,108,255,0.10);
}
.brand-logo-img {
  width: 1.7rem; height: 1.7rem; object-fit: contain; display: block;
  filter: drop-shadow(0 1px 1px rgba(17,24,39,0.08));
}
html[data-bs-theme='dark'] .brand-logo-wrap {
  background: linear-gradient(180deg, rgba(105,108,255,0.18), rgba(124,77,255,0.24));
  border-color: rgba(129,140,248,0.26);
}
.landing-navbar .navbar-brand { font-size: 1.05rem; }
.metrics-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.95rem; }
.metrics-row > div { display: block !important; width: auto; padding: 0 !important; margin: 0 !important; }
.metric-card {
  width: 100%; min-height: 134px; padding: 1.05rem 1.15rem;
  display: flex; flex-direction: column; justify-content: center;
}
.metric-card strong {
  font-size: clamp(1.5rem, 1.65vw, 2.15rem); line-height: 1; white-space: nowrap;
  letter-spacing: -0.03em; margin-top: 0.35rem;
}
.metric-card-primary { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(105,108,255,0.12); }
@media (max-width: 991.98px) {
  .metrics-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-switcher .ui-switcher-button { min-width: 7.65rem; }
}
@media (max-width: 575.98px) {
  .metrics-row { grid-template-columns: 1fr; }
  .metric-card-primary { transform: none; }
  .ui-switcher-button { width: 100%; }
}


/* 2026-03-09 dark hero fixes */
.revenue-preview-picture {
  display: block;
  width: 100%;
}

.revenue-preview-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.95rem;
}

html[data-bs-theme='dark'] .mini-stat {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.88), rgba(17, 24, 39, 0.94));
  border-color: rgba(148, 163, 184, 0.2);
}

html[data-bs-theme='dark'] .mini-stat strong {
  color: #f8fafc;
}

html[data-bs-theme='dark'] .mini-stat p {
  color: #cbd5e1;
}

html[data-bs-theme='dark'] .mini-stat-icon {
  background: rgba(105, 108, 255, 0.2);
  color: #a5b4fc;
  box-shadow: none;
}

html[data-bs-theme='dark'] .mini-stat-icon i {
  color: #a5b4fc;
}


/* 2026-03-09 smooth hero + workflow fixes */
.hero-points { margin-top: 0.25rem; }
.hero-points > div { display: flex; }
.mini-stat {
  height: 100%;
  min-height: 112px;
}
.mini-stat strong {
  display: block;
  line-height: 1.2;
}
.revenue-preview-card {
  overflow: hidden;
}
.revenue-preview-card .revenue-preview-image {
  width: 100%;
  height: auto;
}
.preview-row span:last-child em:not(.is-yes) { color: #d97a7a; }
@media (max-width: 767.98px) {
  .hero-points > div { display: block; }
}

.metrics-row .metric-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 110px;
  padding: 0.85rem 0.8rem;
}

.metrics-row .metric-label {
  font-size: 0.7rem;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.42rem;
}

.metrics-row .metric-card strong {
  margin-top: 0;
  font-size: clamp(1.2rem, 1.25vw, 1.65rem);
  line-height: 1;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.site-footer {
  border-top: 1px solid var(--landing-border);
  padding: 1.4rem 0 2rem;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

.footer-links {
  color: var(--landing-muted);
}

.footer-tech {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.86rem;
  border-radius: 999px;
  border: 1px solid var(--landing-border);
  background: rgba(255, 255, 255, 0.66);
  color: var(--landing-ink);
  font-size: 0.82rem;
  font-weight: 600;
}

.footer-tech-pill i {
  color: var(--landing-primary);
  font-size: 0.95rem;
}

html[data-bs-theme='dark'] .site-footer {
  background: rgba(15, 23, 42, 0.9);
  border-top-color: rgba(148, 163, 184, 0.16);
}

html[data-bs-theme='dark'] .footer-links,
html[data-bs-theme='dark'] .footer-tagline {
  color: var(--landing-muted) !important;
}

html[data-bs-theme='dark'] .footer-tech-pill {
  background: rgba(31, 41, 55, 0.82);
  border-color: rgba(148, 163, 184, 0.18);
  color: #e5e7eb;
}

@media (max-width: 991.98px) {
  .footer-tech {
    justify-content: flex-start;
  }
}

.revenue-preview-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 270px;
}

.revenue-preview-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.revenue-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
}

.revenue-preview-card {
  display: flex;
  flex-direction: column;
  padding: 0.9rem 0.9rem 0;
  min-height: 270px;
}

.revenue-preview-card .small.text-muted {
  text-align: center;
  margin: 0 0 0.7rem 0 !important;
  font-size: 0.9rem;
  font-weight: 600;
}

.revenue-preview-picture {
  display: block;
  width: 100%;
  flex: 1 1 auto;
}

.revenue-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  object-position: center top;
  border-radius: 1rem;
}

.activity-card {
  text-align: left;
}

.activity-card > .fw-semibold {
  display: block;
  width: 100%;
  text-align: center !important;
  margin: 0 0 0.8rem 0 !important;
}

.activity-card .activity-list {
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
}

.activity-card .activity-list li {
  display: grid;
  grid-template-columns: 1.2rem minmax(0, 1fr);
  column-gap: 0.55rem;
  align-items: start;
  font-size: 0.95rem !important;
  line-height: 1.55;
  margin-bottom: 0.75rem;
  text-align: left !important;
}

.activity-card .activity-list li i {
  font-size: 0.95rem;
  line-height: 1.55;
  width: 1.2rem;
  text-align: center;
  margin-right: 0;
  margin-top: 0.05rem;
}

.brand-logo-wrap {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 0.95rem;
  background: linear-gradient(180deg, rgba(105,108,255,0.14), rgba(124,77,255,0.18));
  border: 1px solid rgba(105,108,255,0.14);
  box-shadow: 0 8px 18px rgba(105,108,255,0.10); /* removed white inset line */
  overflow: hidden;
}

html[data-bs-theme='dark'] .brand-logo-wrap {
  background: linear-gradient(180deg, rgba(105,108,255,0.18), rgba(124,77,255,0.24));
  border-color: rgba(129,140,248,0.18);
  box-shadow: 0 8px 18px rgba(0,0,0,0.28); /* darker outer shadow only */
}

.brand-logo-img {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
  display: block;
  filter: none;
}

.brand-logo-img {
  width: 1.75rem;
  height: auto;
}