/* Live today — FinanceBee theme bento (navy glass over abstract bg, 9 features) */

.feat-live-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #E8EEF6;
  background:
    linear-gradient(180deg, rgba(4, 24, 46, .22), rgba(11, 37, 69, .36) 50%, rgba(4, 24, 46, .48)),
    url("assets/features/feat-live-bg.svg?v=2") center / cover no-repeat,
    #0B2545;
}
.feat-live-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(65% 50% at 8% 12%, rgba(79, 209, 255, .28), transparent 58%),
    radial-gradient(55% 48% at 94% 90%, rgba(26, 143, 212, .22), transparent 52%),
    radial-gradient(40% 35% at 80% 18%, rgba(248, 180, 0, .14), transparent 55%);
}
.feat-live-band > .wrap {
  position: relative;
  z-index: 1;
}
.feat-live-band .co-intro h2 { color: #fff; }
.feat-live-band .co-intro .mark {
  background-image: linear-gradient(transparent 62%, rgba(248, 180, 0, .55) 62%);
}
.feat-live-band .co-intro p { color: rgba(232, 238, 246, .78); }

.feat-bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(168px, auto);
  gap: 12px;
  margin-top: 28px;
  align-items: stretch;
}

/* Solid white tiles over abstract navy bg */
.feat-tile {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  box-shadow: 0 18px 40px -24px rgba(4, 24, 46, .55);
  color: inherit;
  text-decoration: none;
  transition: border-color .25s ease, box-shadow .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.feat-tile:hover {
  border-color: #F8B400;
  box-shadow: 0 22px 48px -22px rgba(4, 24, 46, .6);
  transform: translateY(-2px);
}
.feat-tile:focus-visible {
  outline: 2px solid #F8B400;
  outline-offset: 3px;
}

.feat-tile-hero {
  grid-column: span 2;
  grid-row: span 2;
}
.feat-tile-wide { grid-column: span 2; }

.feat-tile-viz {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  min-height: 120px;
  padding: 18px 16px 8px;
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(248, 180, 0, .1), transparent 62%),
    linear-gradient(180deg, #f4f8fc, #fff);
}
.feat-tile-hero .feat-tile-viz {
  min-height: 220px;
  background:
    radial-gradient(70% 65% at 70% 28%, rgba(248, 180, 0, .18), transparent 55%),
    radial-gradient(55% 50% at 18% 78%, rgba(2, 65, 123, .1), transparent 60%),
    linear-gradient(180deg, #eef4fb, #fff);
}

.feat-tile-copy {
  display: grid;
  gap: 6px;
  align-content: start;
  padding: 14px 16px 16px;
  border-top: 1px solid #e8eef5;
  background: #fff;
}
.feat-tile-hero .feat-tile-copy { padding: 16px 18px 18px; }

.feat-pill {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd45c, #F8B400);
  color: #0B2545;
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.feat-tile h3 {
  margin: 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  color: #0B2545;
}
.feat-tile-hero h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}
.feat-tile p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5a6b80;
}
.feat-tile-hero p { max-width: 38ch; }

/* --- tile visuals --- */
.feat-pay {
  width: min(100%, 250px);
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: linear-gradient(145deg, #0B2545, #02417B);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 36px -20px rgba(11, 37, 69, .65);
  transform: rotate(-4deg) translateY(4px);
  transition: transform .35s ease;
}
.feat-tile-hero:hover .feat-pay { transform: rotate(0deg) translateY(-2px); }
.feat-pay span {
  display: block;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(232, 238, 246, .55);
}
.feat-pay b {
  display: block;
  margin-top: 12px;
  font-size: 30px;
  letter-spacing: -.045em;
  color: #fff;
}
.feat-pay em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-style: normal;
  font-size: 12px;
  color: #F8B400;
}
.feat-pay em::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #F8B400;
  box-shadow: 0 0 0 3px rgba(248, 180, 0, .22);
}

.feat-drop {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  width: 100%;
}
.feat-drop i {
  flex: 0 0 100%;
  height: 56px;
  border-radius: 12px;
  border: 1.5px dashed #b7c7d9;
  background: linear-gradient(180deg, #fff, #f3f7fb);
  transition: border-color .25s ease, background .25s ease, transform .3s ease;
}
.feat-drop span {
  padding: 6px 10px;
  border-radius: 999px;
  background: #0B2545;
  color: #fff;
  font-size: 11.5px;
  font-weight: 650;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
}
.feat-drop span:nth-child(3) { background: #02417B; }
.feat-drop span:nth-child(4) {
  background: #F8B400;
  color: #0B2545;
}

.feat-batch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.feat-batch li {
  display: grid;
  gap: 3px;
  padding: 12px 8px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e6edf5;
  text-align: center;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
}
.feat-batch b {
  font-size: 17px;
  color: #0B2545;
  letter-spacing: -.03em;
}
.feat-batch span {
  font-size: 10.5px;
  color: #6b7c90;
}
.feat-batch .is-navy {
  background: linear-gradient(160deg, #1A3A63, #0B2545);
  border-color: #0B2545;
  box-shadow: 0 10px 20px -14px rgba(11, 37, 69, .7);
}
.feat-batch .is-navy b,
.feat-batch .is-navy span { color: #E8EEF6; }
.feat-batch .is-navy span { color: rgba(232, 238, 246, .7); }
.feat-batch .is-sky {
  background: linear-gradient(160deg, #0369a8, #02417B);
  border-color: #02417B;
  box-shadow: 0 10px 20px -14px rgba(2, 65, 123, .65);
}
.feat-batch .is-sky b { color: #fff; }
.feat-batch .is-sky span { color: rgba(232, 238, 246, .72); }
.feat-batch .is-gold {
  background: linear-gradient(180deg, #ffd45c, #F8B400);
  border-color: #F8B400;
  box-shadow: 0 10px 20px -12px rgba(248, 180, 0, .85);
}
.feat-batch .is-gold b { color: #0B2545; }
.feat-batch .is-gold span { color: rgba(11, 37, 69, .72); }

.feat-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  background: #fff;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .25s ease;
}
.feat-mini-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #e8eef5;
  color: #0B2545;
  transition: background .25s ease, color .25s ease;
}
.feat-mini-table tr:last-child td { border-bottom: 0; }
.feat-mini-table td:last-child {
  text-align: right;
  font-weight: 700;
  font-size: 11.5px;
}
.feat-mini-table .st-matched {
  color: #0a7a4a;
  background: rgba(10, 122, 74, .1);
}
.feat-mini-table .st-rule {
  color: #02417B;
  background: rgba(2, 65, 123, .1);
}
.feat-mini-table .st-suggest {
  color: #9a6b00;
  background: rgba(248, 180, 0, .18);
}

.feat-viz-chart {
  align-content: end;
  justify-items: stretch;
  gap: 6px;
  width: 100%;
}
.feat-viz-chart svg {
  width: 100%;
  height: 64px;
  display: block;
}
.feat-viz-chart .feat-chart-fill,
.feat-viz-chart .feat-chart-line {
  transition: opacity .3s ease;
}
.feat-viz-chart .feat-chart-line {
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 180;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .7s cubic-bezier(.2, .8, .2, 1), stroke-width .25s ease;
}
.feat-viz-chart strong {
  justify-self: start;
  font-size: 18px;
  color: #02417B;
  letter-spacing: -.03em;
  transition: transform .3s ease, color .25s ease;
}

.feat-viz-avatars {
  display: flex;
  align-items: center;
  justify-content: center;
}
.feat-viz-avatars span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-left: -10px;
  border-radius: 999px;
  background: #02417B;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 0 2px #fff;
  border: 1px solid #e6edf5;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease;
}
.feat-viz-avatars span:first-child { margin-left: 0; background: #0B2545; }
.feat-viz-avatars span:nth-child(2) { background: #02417B; }
.feat-viz-avatars span:nth-child(3) { background: #3d6b94; }
.feat-viz-avatars span:last-child {
  background: linear-gradient(180deg, #ffd45c, #F8B400);
  color: #0B2545;
  border-color: #F8B400;
}

.feat-viz-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.feat-viz-chips span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef3f8;
  border: 1px solid #e0e7f0;
  color: #0B2545;
  font-size: 11.5px;
  font-weight: 650;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, filter .25s ease;
}
.feat-viz-chips .is-navy {
  background: #0B2545;
  border-color: #0B2545;
  color: #fff;
}
.feat-viz-chips .is-sky {
  background: #02417B;
  border-color: #02417B;
  color: #fff;
}
.feat-viz-chips .is-mint {
  background: rgba(10, 122, 74, .12);
  border-color: rgba(10, 122, 74, .28);
  color: #0a7a4a;
}
.feat-viz-chips .is-on {
  background: linear-gradient(180deg, #ffd45c, #F8B400);
  border-color: #F8B400;
  color: #0B2545;
}

.feat-viz-kpi { text-align: center; }
.feat-viz-kpi b {
  display: block;
  font-size: 36px;
  letter-spacing: -.05em;
  color: #0B2545;
  line-height: 1;
  transition: transform .3s ease, letter-spacing .3s ease;
}
.feat-viz-kpi span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  color: #0a7a4a;
  font-weight: 650;
  transition: transform .3s ease;
}
.feat-viz-kpi span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #0a7a4a;
  box-shadow: 0 0 0 3px rgba(10, 122, 74, .15);
  transition: box-shadow .3s ease, transform .3s ease;
}

.feat-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  width: min(100%, 230px);
}
.feat-cal span {
  aspect-ratio: 1;
  border-radius: 7px;
  background: #e8eef5;
  border: 1px solid #dde5ef;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, filter .25s ease;
}
.feat-cal .is-idle {
  background: #E8EEF6;
  border-color: #d5deea;
}
.feat-cal .is-navy {
  background: #0B2545;
  border-color: #0B2545;
  box-shadow: 0 6px 14px -8px rgba(11, 37, 69, .7);
}
.feat-cal .is-sky {
  background: #02417B;
  border-color: #02417B;
  box-shadow: 0 6px 14px -8px rgba(2, 65, 123, .65);
}
.feat-cal .is-mint {
  background: rgba(10, 122, 74, .2);
  border-color: rgba(10, 122, 74, .35);
}
.feat-cal .on {
  background: linear-gradient(180deg, #ffd45c, #F8B400);
  border-color: #F8B400;
  box-shadow: 0 6px 14px -8px rgba(248, 180, 0, .85);
}

/* Tile hover — wake the mock UI */
.feat-tile:hover .feat-drop i {
  border-color: #02417B;
  background: linear-gradient(180deg, #fff, #e8f1fb);
  transform: scaleY(1.04);
}
.feat-tile:hover .feat-drop span { transform: translateY(-3px); }
.feat-tile:hover .feat-drop span:nth-child(3) { transition-delay: .04s; }
.feat-tile:hover .feat-drop span:nth-child(4) {
  transition-delay: .08s;
  box-shadow: 0 8px 16px -10px rgba(248, 180, 0, .9);
}

.feat-tile:hover .feat-batch li { transform: translateY(-4px); }
.feat-tile:hover .feat-batch li:nth-child(2) { transition-delay: .04s; }
.feat-tile:hover .feat-batch li:nth-child(3) { transition-delay: .08s; }
.feat-tile:hover .feat-batch .is-gold {
  box-shadow: 0 14px 24px -12px rgba(248, 180, 0, .95);
}

.feat-tile:hover .feat-mini-table {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -20px rgba(11, 37, 69, .45);
}
.feat-tile:hover .feat-mini-table .st-matched { background: rgba(10, 122, 74, .18); }
.feat-tile:hover .feat-mini-table .st-rule { background: rgba(2, 65, 123, .18); }
.feat-tile:hover .feat-mini-table .st-suggest { background: rgba(248, 180, 0, .32); }

.feat-tile:hover .feat-chart-line {
  stroke-dashoffset: -24;
  stroke-width: 3;
}
.feat-tile:hover .feat-viz-chart strong {
  transform: translateY(-2px);
  color: #0B2545;
}

.feat-tile:hover .feat-viz-avatars span { transform: translateY(-4px); }
.feat-tile:hover .feat-viz-avatars span:nth-child(2) { transition-delay: .04s; }
.feat-tile:hover .feat-viz-avatars span:nth-child(3) { transition-delay: .08s; }
.feat-tile:hover .feat-viz-avatars span:last-child {
  transition-delay: .12s;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 0 0 2px #fff, 0 8px 16px -8px rgba(248, 180, 0, .85);
}

.feat-tile:hover .feat-viz-chips span { transform: translateY(-3px); }
.feat-tile:hover .feat-viz-chips span:nth-child(2) { transition-delay: .04s; }
.feat-tile:hover .feat-viz-chips span:nth-child(3) { transition-delay: .08s; }
.feat-tile:hover .feat-viz-chips .is-on {
  transition-delay: .12s;
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 18px -10px rgba(248, 180, 0, .95);
}

.feat-tile:hover .feat-viz-kpi b {
  transform: scale(1.06);
  letter-spacing: -.06em;
}
.feat-tile:hover .feat-viz-kpi span { transform: translateY(-2px); }
.feat-tile:hover .feat-viz-kpi span::before {
  transform: scale(1.2);
  box-shadow: 0 0 0 5px rgba(10, 122, 74, .2);
}

.feat-tile:hover .feat-cal span { transform: translateY(-2px); }
.feat-tile:hover .feat-cal span:nth-child(odd) { transition-delay: .03s; }
.feat-tile:hover .feat-cal span:nth-child(3n) { transition-delay: .06s; }
.feat-tile:hover .feat-cal .on {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 18px -8px rgba(248, 180, 0, .95);
}
.feat-tile:hover .feat-cal .is-navy,
.feat-tile:hover .feat-cal .is-sky {
  transform: translateY(-3px) scale(1.05);
}

@media (max-width: 980px) {
  .feat-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat-tile-hero {
    grid-column: span 2;
    grid-row: span 1;
  }
  .feat-tile-hero .feat-tile-viz { min-height: 160px; }
  .feat-tile-wide { grid-column: span 2; }
}
@media (max-width: 640px) {
  .feat-bento { grid-template-columns: 1fr; gap: 10px; }
  .feat-tile-hero,
  .feat-tile-wide { grid-column: auto; grid-row: auto; }
  .feat-batch { grid-template-columns: 1fr; }
  .feat-tile-viz { min-height: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .feat-tile,
  .feat-pay,
  .feat-drop i,
  .feat-drop span,
  .feat-batch li,
  .feat-mini-table,
  .feat-mini-table td,
  .feat-viz-chart .feat-chart-line,
  .feat-viz-chart strong,
  .feat-viz-avatars span,
  .feat-viz-chips span,
  .feat-viz-kpi b,
  .feat-viz-kpi span,
  .feat-cal span { transition: none; }
  .feat-tile:hover { transform: none; }
  .feat-tile-hero:hover .feat-pay { transform: rotate(-4deg) translateY(4px); }
  .feat-tile:hover .feat-drop i,
  .feat-tile:hover .feat-drop span,
  .feat-tile:hover .feat-batch li,
  .feat-tile:hover .feat-mini-table,
  .feat-tile:hover .feat-viz-chart strong,
  .feat-tile:hover .feat-viz-avatars span,
  .feat-tile:hover .feat-viz-chips span,
  .feat-tile:hover .feat-viz-kpi b,
  .feat-tile:hover .feat-viz-kpi span,
  .feat-tile:hover .feat-cal span { transform: none; }
  .feat-tile:hover .feat-chart-line { stroke-dashoffset: 0; stroke-width: 2.4; }
}
