/* ==========================================================================
   Business Subscription Plan page (layered on plan.css)
   Gold-led accents, dashboard hero, kinds-of-business grid, dark plan box,
   business loan EMI planner, gold comparison, vertical timeline, chart CTA.
   ========================================================================== */

.kicker--gold { background: var(--accent-50); color: var(--accent-text); }
.kicker--gold span { background: linear-gradient(135deg, #e0b574, #a57d45); }
.kicker--light.kicker--gold { background: rgba(224, 181, 116, 0.14); color: #ecca92; border-color: rgba(224, 181, 116, 0.35); }

/* ---------- 1. Hero ---------- */
.biz-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
}
.dash-stage { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 0.92; margin-inline: auto; }
.dash-stage__photo {
  position: absolute;
  right: 0;
  top: 0;
  width: 66%;
  height: 88%;
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
  border: 5px solid rgba(255, 255, 255, 0.14);
  background: var(--night-3);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.75);
}
.dash-stage__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.dash-stage::before {
  content: "";
  position: absolute;
  right: -14px;
  top: 18px;
  width: 66%;
  height: 88%;
  border-radius: 32px;
  border: 2px solid rgba(224, 181, 116, 0.55);
}
.dash {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: min(320px, 64%);
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  color: var(--ink);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7);
  animation: dash-float 7s var(--ease-in-out) infinite alternate;
}
@keyframes dash-float { from { translate: 0 0; } to { translate: 0 -12px; } }
.dash__head { display: flex; align-items: center; gap: 10px; }
.dash__logo { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--paper); }
.dash__logo img { width: 24px; height: auto; }
.dash__head strong { display: block; font-size: var(--fs-sm); font-weight: 700; }
.dash__head small { display: block; color: var(--muted); font-size: 11px; }
.dash__badge { margin-left: auto; padding: 5px 10px; border-radius: var(--r-pill); background: var(--accent-50); color: var(--accent-text); font-size: 11px; font-weight: 700; white-space: nowrap; }
.dash__bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-top: 16px; padding: 10px; border-radius: 14px; background: var(--paper); }
.dash__bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(to top, #0b4d8c, #2a93ae); transform-origin: bottom; }
.dash__bars i.is-hi { background: linear-gradient(to top, #a57d45, #e0b574); }
.dash__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.dash__team { display: flex; align-items: center; }
.dash__team i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; background: var(--brand); }
.dash__team i + i { margin-left: -8px; }
.dash__team i:nth-child(2) { background: var(--teal); }
.dash__team i:nth-child(3) { background: var(--accent); }
.dash__team b { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -8px; border-radius: 50%; border: 2px solid #fff; background: var(--paper); color: var(--ink-2); font-size: 12px; }
.dash__note { color: var(--muted); font-size: 11px; font-weight: 600; }
.dash-chip {
  position: absolute;
  left: 4%;
  top: 6%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 20px 44px -18px rgba(0, 0, 0, 0.6);
  animation: dash-float 6s var(--ease-in-out) infinite alternate-reverse;
}
.dash-chip__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #b8894a, #74552a); color: #fff; }
.dash-chip__icon svg { width: 18px; height: 18px; }
.dash-chip strong { display: block; font-size: var(--fs-sm); font-weight: 650; }
.dash-chip small { display: block; color: var(--muted); font-size: 11px; }

/* ---------- 2. Kinds of business ---------- */
.kinds__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: var(--s-6); margin-bottom: var(--s-7); }
.kinds__head h2 { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.kinds__head > p { color: var(--muted); font-size: var(--fs-md); }
.kinds__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(190px, auto));
  grid-template-areas: "a . . b" "a . . b";
  gap: 18px;
}
.kind {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 4px;
  overflow: hidden;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow), border-color var(--t-base);
}
.kind:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); border-color: var(--accent-100); }
.kind strong { color: var(--ink); font-family: var(--font-display); font-size: var(--fs-md); font-weight: 650; letter-spacing: -0.01em; }
.kind small { color: var(--muted); font-size: var(--fs-sm); }
.kind__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: auto; border-radius: 16px; background: var(--grad-brand); color: #fff; transition: transform var(--t-slow) var(--ease-out); }
.kind:hover .kind__icon { transform: rotate(-10deg) scale(1.08); }
.kind__icon svg { width: 26px; height: 26px; }
.kind__icon--teal { background: linear-gradient(135deg, #3aa8c4, #1f7690); }
.kind__icon--gold { background: linear-gradient(135deg, #b8894a, #74552a); }
.kind__icon--green { background: linear-gradient(135deg, #1d8a40, #0d5523); }
.kind--photo { padding: 22px; border: 0; background: var(--night-2); }
.kind--a { grid-area: a; }
.kind--b { grid-area: b; }
.kind__img { position: absolute; inset: 0; z-index: 0; }
.kind__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1200ms var(--ease-out); }
.kind--photo:hover .kind__img img { transform: scale(1.08); }
.kind__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(4, 18, 42, 0.92), rgba(4, 18, 42, 0.2) 55%, transparent 75%); }
.kind__label { position: relative; z-index: 2; }
.kind__label strong { display: block; color: #fff; }
.kind__label small { display: block; color: rgba(255, 255, 255, 0.82); }
.kinds__note { margin-top: var(--s-5); color: var(--muted); text-align: center; }

/* ---------- 3. Plan details (dark box on the right) ---------- */
.biz-details__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
@media (min-width: 1081px) { .asklist--biz { position: sticky; top: 112px; } }
.asklist--biz { background: var(--surface); }
.plan-box--dark {
  border-color: transparent;
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(42, 147, 174, 0.35), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(165, 125, 69, 0.3), transparent 60%),
    var(--grad-night);
  color: var(--on-night);
}
.plan-box--dark::before { background: linear-gradient(90deg, #a57d45, #e0b574, #2a93ae); }
.plan-box__ribbon--gold { background: var(--accent); }
.plan-box--dark h2 { color: #fff; }
.plan-box--dark .plan-box__for { color: var(--on-night-muted); }
.plan-box--dark .plan-box__price { background: rgba(255, 255, 255, 0.06); border-color: var(--glass-line); }
.plan-box--dark .plan-box__amount { color: #fff; }
.plan-box--dark .plan-box__amount.is-price { background: linear-gradient(90deg, #ecca92, #5ec4de); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-box--dark .plan-box__note { color: var(--on-night-muted); }
.plan-box--dark .plan-box__facts div { border-color: var(--glass-line); background: rgba(255, 255, 255, 0.04); }
.plan-box--dark .plan-box__facts dt { color: var(--on-night-muted); }
.plan-box--dark .plan-box__facts dd, .plan-box--dark .plan-box__sub { color: #fff; }
.plan-box--dark .glance li { background: rgba(255, 255, 255, 0.06); border-color: var(--glass-line); }
.plan-box--dark .glance li:hover { border-color: rgba(224, 181, 116, 0.5); }
.plan-box--dark .glance strong { color: #fff; }
.plan-box--dark .glance small { color: var(--on-night-muted); }
.ticks-list--light li { color: #fff; }
.ticks-list--light li::before { background-color: rgba(224, 181, 116, 0.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0b574' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E"); }

/* ---------- 4. EMI planner ---------- */
.planner__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.planner__copy h2 { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.planner__copy .lede { margin-top: var(--s-3); }
.planner__photo { margin: var(--s-6) 0 0; max-width: 460px; aspect-ratio: 72 / 52; overflow: hidden; border-radius: 28px; background: var(--brand-50); box-shadow: var(--shadow-3); }
.planner__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

.planner-card { padding: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); border-radius: 30px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-3); }
.planner-card h3 { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -0.03em; }
.amount-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--s-5) 0 0; padding: 0; border: 0; }
.amount-chips legend { width: 100%; margin-bottom: 10px; padding: 0; color: var(--ink); font-weight: 600; }
.amount-chips label { position: relative; cursor: pointer; }
.amount-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.amount-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink-2);
  font-weight: 600;
  font-size: var(--fs-sm);
  transition: background-color var(--t-base), color var(--t-base), border-color var(--t-base), transform var(--t-fast) var(--ease-out);
}
.amount-chips label:hover span { border-color: var(--accent); }
.amount-chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 10px 20px -12px rgba(165, 125, 69, 0.9); }
.amount-chips input:active + span { transform: scale(0.96); }
.amount-chips input:focus-visible + span { box-shadow: var(--focus-ring); }
.pfield { margin-top: var(--s-5); }
.pfield__row { display: flex; align-items: center; justify-content: space-between; }
.pfield label { color: var(--ink); font-weight: 600; }
.pfield output { color: var(--ink); font-family: var(--font-display); font-weight: 650; }
.pfield__scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }

.planner-result { margin-top: var(--s-5); padding: var(--s-5); border-radius: 22px; background: var(--grad-night); color: var(--on-night); }
.planner-result__label { color: var(--on-night-muted); font-size: var(--fs-sm); }
.planner-result__emi { color: #fff; font-family: var(--font-display); font-size: clamp(2.25rem, 1.7rem + 2vw, 3rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; }
.planner-result__emi::after { content: " / month"; color: var(--on-night-muted); font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 500; letter-spacing: 0; }
.split-bar { display: flex; gap: 3px; height: 12px; margin-top: var(--s-4); }
.split-bar i { display: block; height: 100%; border-radius: 6px; transition: flex-grow 600ms var(--ease-out); }
.split-bar i:first-child { flex: 78 1 0; background: var(--chart-p-dark); }
.split-bar i:last-child { flex: 22 1 0; background: var(--chart-i-dark); }
.planner-result__totals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); margin: var(--s-4) 0 0; }
.planner-result__totals dt { display: flex; align-items: center; gap: 6px; color: var(--on-night-muted); font-size: var(--fs-xs); }
.planner-result__totals dd { margin: 2px 0 0; color: #fff; font-weight: 650; }
.planner-result .sw--p { background: var(--chart-p-dark); }
.planner-result .sw--i { background: var(--chart-i-dark); }
.sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; flex: none; }
.planner-card__foot { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-3) var(--s-4); margin-top: var(--s-5); }
.planner-card__foot p { flex: 1 1 220px; color: var(--muted); font-size: var(--fs-xs); }

/* ---------- 5. Comparison (gold variant) ---------- */
.compare-table--biz .ct-col--on { background: var(--accent-50); }
.compare-table--biz .ct-row--head .ct-col--on { background: var(--accent); }

/* ---------- 6. Timeline ---------- */
.timeline-sec__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.timeline-sec__intro { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.timeline-sec__intro h2 { font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.timeline-sec__intro > p:not(.kicker) { margin-top: var(--s-3); margin-bottom: var(--s-5); color: var(--muted); font-size: var(--fs-md); }
.timeline { position: relative; }
.timeline__track { position: absolute; left: 23px; top: 24px; bottom: 24px; width: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.timeline__fill { display: block; width: 100%; height: 100%; background: linear-gradient(to bottom, #0b4d8c, #2a93ae, #a57d45); transform-origin: top; transform: scaleY(1); }
.js .timeline__fill { transform: scaleY(0); }
.timeline__list { display: grid; gap: 22px; }
.tl-step {
  position: relative;
  padding: 22px 24px 22px 76px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color var(--t-base), box-shadow var(--t-slow), transform var(--t-slow) var(--ease-out);
}
.tl-step:hover { transform: translateX(4px); box-shadow: var(--shadow-2); }
.tl-step__dot {
  position: absolute;
  left: 0;
  top: 18px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font-display);
  font-weight: 700;
  transition: background-color var(--t-slow), border-color var(--t-slow), color var(--t-slow), transform var(--t-slow) var(--ease-out);
}
.tl-step.is-active { border-color: var(--accent-100); }
.tl-step.is-active .tl-step__dot { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.06); box-shadow: 0 0 0 6px rgba(165, 125, 69, 0.15); }
.tl-step h3 { font-size: var(--fs-lg); font-weight: 700; letter-spacing: -0.02em; }
.tl-step p { margin-top: 4px; color: var(--ink-2); }

/* ---------- 8. CTA ---------- */
.bcta {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s-6);
  overflow: hidden;
  padding: clamp(2rem, 1.5rem + 3vw, 4rem);
  border-radius: 36px;
  background: var(--grad-night);
  color: var(--on-night);
}
.bcta::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 120% at 100% 100%, rgba(165, 125, 69, 0.45), transparent 60%), radial-gradient(40% 80% at 0% 0%, rgba(42, 147, 174, 0.35), transparent 60%); }
.bcta__chart { position: absolute; right: 4%; bottom: 0; z-index: -1; display: flex; align-items: flex-end; gap: 10px; height: 58%; opacity: 0.2; }
.bcta__chart i { width: 22px; border-radius: 6px 6px 0 0; background: linear-gradient(to top, #e0b574, #5ec4de); animation: bar-breathe 3.6s var(--ease-in-out) infinite alternate; }
.bcta__chart i:nth-child(1) { height: 30%; animation-delay: 0s; } .bcta__chart i:nth-child(2) { height: 42%; animation-delay: .2s; } .bcta__chart i:nth-child(3) { height: 38%; animation-delay: .4s; } .bcta__chart i:nth-child(4) { height: 55%; animation-delay: .6s; }
.bcta__chart i:nth-child(5) { height: 50%; animation-delay: .8s; } .bcta__chart i:nth-child(6) { height: 68%; animation-delay: 1s; } .bcta__chart i:nth-child(7) { height: 80%; animation-delay: 1.2s; } .bcta__chart i:nth-child(8) { height: 96%; animation-delay: 1.4s; }
@keyframes bar-breathe { to { transform: scaleY(0.85); } }
.bcta__chart i { transform-origin: bottom; }
.bcta h2 { color: #fff; font-size: var(--fs-2xl); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.bcta p { margin-top: var(--s-3); color: var(--on-night-muted); font-size: var(--fs-md); max-width: 34rem; }
.bcta__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .biz-hero__layout { grid-template-columns: minmax(0, 1fr); }
  .dash-stage { max-width: 480px; margin-top: var(--s-4); }
  .kinds__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-template-areas: "a b"; grid-auto-rows: minmax(180px, auto); }
  .kind--photo { min-height: 320px; }
  .bcta { grid-template-columns: minmax(0, 1fr); }
  .timeline-sec__intro { position: static; }
}
@media (max-width: 960px) {
  .biz-details__grid, .planner__grid, .timeline-sec__grid, .kinds__head { grid-template-columns: minmax(0, 1fr); }
  .planner__photo { display: none; }
}
@media (max-width: 600px) {
  .dash-stage { max-width: 360px; }
  .dash { width: 78%; padding: 14px; }
  .dash__bars { height: 70px; }
  .dash-chip { left: 0; top: 2%; }
  .kinds__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "a" "b"; }
  .kind--b { order: 0; }
  .planner-result__totals { grid-template-columns: minmax(0, 1fr); }
  .planner-card__foot .btn, .bcta__actions .btn { flex: 1 1 100%; }
  .tl-step { padding: 18px 18px 18px 68px; }
  .bcta__chart { opacity: 0.12; }
}
@media (prefers-reduced-motion: reduce) {
  .dash, .dash-chip, .bcta__chart i { animation: none !important; }
  .js .timeline__fill { transform: scaleY(1); }
}
