/* PlaybookBunny Financed (tech-financed.html). Theme: site.css variables, 3D icons from img/3d. */
.tf-page { background: radial-gradient(1200px 600px at 85% -10%, rgba(124,58,237,.25), transparent 60%), radial-gradient(900px 500px at -10% 30%, rgba(236,72,153,.12), transparent 60%), var(--dark-bg, #0f0f1e); }
.tf-grad { background: linear-gradient(120deg, #a855f7, #ec4899 55%, #22d3ee); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tf-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #e9d5ff; padding: .35rem .85rem; border: 1px solid rgba(168,85,247,.5); border-radius: 999px; background: rgba(124,58,237,.15); margin-bottom: 1.2rem; }

/* hero */
.tf-hero { position: relative; padding: 4rem 2rem 3rem; overflow: hidden; }
.tf-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(168,85,247,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(168,85,247,.06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(70% 70% at 70% 40%, #000, transparent); pointer-events: none; }
.tf-hero-in { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2.5rem; align-items: center; }
.tf-hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); line-height: 1.08; font-weight: 900; margin-bottom: 1.2rem; color: #fff; }
.tf-lead { color: var(--text-dim, #b0b0c0); font-size: 1.08rem; line-height: 1.75; max-width: 40rem; }
.tf-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 .9rem; }
.tf-note { color: #8b85b8; font-size: .82rem; }
.tf-art { position: relative; aspect-ratio: 560 / 460; }
.tf-journey { width: 100%; height: 100%; display: block; filter: drop-shadow(0 20px 40px rgba(0,0,0,.45)); }
.tf-path { stroke-dasharray: 900; stroke-dashoffset: 900; animation: tfDraw 2.6s .3s cubic-bezier(.6,.05,.3,1) forwards; }
.tf-node { opacity: 0; transform-box: fill-box; transform-origin: center; animation: tfPop .5s cubic-bezier(.3,1.6,.5,1) forwards; }
.tf-node.n0 { animation-delay: .2s } .tf-node.n1 { animation-delay: .75s } .tf-node.n2 { animation-delay: 1.05s } .tf-node.n3 { animation-delay: 1.35s }
.tf-node.n4 { animation-delay: 1.65s } .tf-node.n5 { animation-delay: 1.95s } .tf-node.n6 { animation-delay: 2.45s }
@keyframes tfDraw { to { stroke-dashoffset: 0; } }
@keyframes tfPop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }
.tf-float { position: absolute; object-fit: contain; filter: drop-shadow(0 14px 22px rgba(0,0,0,.55)); animation: tfFloat 6s ease-in-out infinite; pointer-events: none; }
.tf-float.f1 { width: 22%; left: 2%; top: 4%; animation-delay: -1s; }
.tf-float.f2 { width: 17%; left: 58%; top: 52%; animation-delay: -3s; }
.tf-float.f3 { width: 17%; right: -1%; top: 30%; animation-delay: -2s; }
.tf-float.f4 { width: 15%; left: 30%; top: 2%; animation-delay: -4.5s; }
@keyframes tfFloat { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }

/* fact strip */
.tf-facts { position: relative; max-width: 1200px; margin: 2.6rem auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.tf-fact { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; padding: 1rem 1.1rem; border-radius: 16px; background: linear-gradient(160deg, rgba(37,37,74,.85), rgba(26,26,46,.85)); border: 1px solid rgba(168,85,247,.28); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 12px 30px rgba(0,0,0,.25); }
.tf-fact img { grid-row: 1 / 3; width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.tf-fact b { color: #fff; font-size: 1.05rem; }
.tf-fact span { color: var(--text-dim, #b0b0c0); font-size: .84rem; line-height: 1.4; }

/* sections */
.tf-section { padding: 5rem 2rem; }
.tf-alt { background: linear-gradient(180deg, rgba(26,26,46,.6), rgba(37,37,74,.35)); border-top: 1px solid rgba(168,85,247,.12); border-bottom: 1px solid rgba(168,85,247,.12); }
.tf-small { color: #8b85b8; font-size: .84rem; text-align: center; margin-top: 1.4rem; }

/* steps */
.tf-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; counter-reset: s; position: relative; }
.tf-steps::before { content: ""; position: absolute; left: 8%; right: 8%; top: 44px; height: 2px; background: linear-gradient(90deg, transparent, rgba(168,85,247,.6), rgba(236,72,153,.6), transparent); }
.tf-steps li { position: relative; text-align: center; padding: 0 .4rem; }
.tf-steps img { width: 88px; height: 88px; object-fit: contain; display: block; margin: 0 auto .9rem; filter: drop-shadow(0 10px 16px rgba(0,0,0,.55)); position: relative; }
.tf-steps h3 { color: var(--secondary, #a855f7); font-size: 1.05rem; margin-bottom: .45rem; }
.tf-steps p { color: var(--text-dim, #b0b0c0); font-size: .9rem; line-height: 1.6; }

/* worked examples */
.tf-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: stretch; }
.tf-plan { position: relative; padding: 2rem 1.6rem 1.6rem; border-radius: 20px; background: linear-gradient(165deg, #1d1b3a, #14132a 70%); border: 1px solid rgba(168,85,247,.3); box-shadow: 0 20px 50px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06); transition: transform .3s ease, border-color .3s ease; }
.tf-plan:hover { transform: translateY(-6px); border-color: rgba(236,72,153,.7); }
.tf-plan-feat { border-color: rgba(236,72,153,.7); background: linear-gradient(165deg, #2a1c4d, #171433 70%); box-shadow: 0 24px 60px rgba(124,58,237,.35), inset 0 1px 0 rgba(255,255,255,.08); }
.tf-badge { position: absolute; top: -.8rem; left: 50%; transform: translateX(-50%); font-size: .72rem; font-weight: 800; letter-spacing: .06em; padding: .3rem .9rem; border-radius: 999px; background: linear-gradient(135deg, #7c3aed, #ec4899); color: #fff; white-space: nowrap; }
.tf-plan h3 { font-size: 1.35rem; color: #fff; }
.tf-who { color: #8b85b8; font-size: .85rem; margin: .2rem 0 1rem; }
.tf-total { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem; padding-bottom: .9rem; border-bottom: 1px solid rgba(168,85,247,.2); }
.tf-total small { color: var(--text-dim, #b0b0c0); font-size: .8rem; }
.tf-total b { font-size: 1.7rem; font-weight: 900; color: #fff; white-space: nowrap; }
.tf-bars { display: grid; grid-template-columns: 2.1fr repeat(6, 1fr); gap: 5px; align-items: end; height: 62px; margin: 1.1rem 0; }
.tf-bars i { display: block; height: 42%; border-radius: 5px 5px 3px 3px; background: linear-gradient(180deg, #a855f7, #6d28d9); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); transform-origin: bottom; animation: tfGrow .8s cubic-bezier(.3,1.4,.5,1) both; }
.tf-bars i.tf-bar-down { height: 100%; background: linear-gradient(180deg, #f472b6, #db2777); }
.tf-bars i.tf-bar-last { background: linear-gradient(180deg, #34d399, #059669); }
.tf-bars i:nth-child(2) { animation-delay: .08s } .tf-bars i:nth-child(3) { animation-delay: .16s } .tf-bars i:nth-child(4) { animation-delay: .24s }
.tf-bars i:nth-child(5) { animation-delay: .32s } .tf-bars i:nth-child(6) { animation-delay: .4s } .tf-bars i:nth-child(7) { animation-delay: .48s }
@keyframes tfGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.tf-rows { margin: 0; display: grid; gap: .55rem; }
.tf-rows div { display: flex; justify-content: space-between; gap: .6rem; font-size: .92rem; }
.tf-rows dt { color: var(--text-dim, #b0b0c0); }
.tf-rows dd { margin: 0; color: #fff; font-weight: 700; white-space: nowrap; }
.tf-rows .tf-sub { margin-top: .35rem; padding-top: .6rem; border-top: 1px dashed rgba(168,85,247,.3); }
.tf-rows .tf-sub dd { color: #c4b5fd; }

/* calculator */
.tf-calc { display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.5rem; max-width: 1000px; margin: 0 auto; padding: 1.6rem; border-radius: 22px; background: linear-gradient(160deg, rgba(37,37,74,.8), rgba(20,19,42,.9)); border: 1px solid rgba(168,85,247,.35); box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.tf-calc-in { display: grid; gap: 1rem; }
.tf-calc-in label { display: grid; gap: .4rem; color: #e9d5ff; font-weight: 600; font-size: .9rem; }
.tf-calc-in select { padding: .8rem .9rem; border-radius: 10px; border: 1px solid rgba(168,85,247,.4); background: #14132a; color: #fff; font: inherit; font-weight: 500; }
.tf-calc-in output { color: #f9a8d4; font-weight: 800; margin-left: .3rem; }
.tf-calc-in input[type=range] { accent-color: #ec4899; width: 100%; }
.tf-calc-out { padding: 1.3rem; border-radius: 16px; background: rgba(15,15,30,.65); border: 1px solid rgba(168,85,247,.25); }
.tf-big small, .tf-out-grid small { display: block; color: var(--text-dim, #b0b0c0); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.tf-big b { display: block; font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 900; background: linear-gradient(120deg, #fff, #f9a8d4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; margin: .2rem 0 1rem; }
.tf-out-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.tf-out-grid b { color: #fff; font-size: 1.1rem; }
.tf-meter { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); margin-top: 1.1rem; overflow: hidden; }
.tf-meter i { display: block; height: 100%; width: 30%; border-radius: inherit; background: linear-gradient(90deg, #ec4899, #a855f7); transition: width .3s ease; }

/* ways to pay */
.tf-pay { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.tf-pay-card { padding: 1.6rem 1.3rem; border-radius: 18px; text-align: center; background: linear-gradient(165deg, #1d1b3a, #14132a); border: 1px solid rgba(168,85,247,.25); transition: transform .3s ease, border-color .3s ease; }
.tf-pay-card:hover { transform: translateY(-5px) rotate(-.5deg); border-color: rgba(236,72,153,.6); }
.tf-pay-card img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,.55)); margin-bottom: .6rem; }
.tf-pay-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: .4rem; }
.tf-pay-card p { color: var(--text-dim, #b0b0c0); font-size: .88rem; line-height: 1.55; }

/* fine print */
.tf-fine ul { list-style: none; padding: 0; max-width: 860px; margin: 0 auto; display: grid; gap: .8rem; }
.tf-fine li { padding: 1rem 1.2rem 1rem 3rem; border-radius: 12px; background: rgba(26,26,46,.7); border: 1px solid rgba(168,85,247,.18); color: var(--text-dim, #b0b0c0); line-height: 1.6; position: relative; }
.tf-fine li::before { content: ""; position: absolute; left: 1rem; top: 1.1rem; width: 1.3rem; height: 1.3rem; background: url('../img/3d/check2-64.webp') center/contain no-repeat; }
.tf-fine b { color: #fff; }
.tf-fine a { color: #f9a8d4; }

/* final CTA */
.tf-final { padding: 4.5rem 2rem; }
.tf-final-in { max-width: 860px; margin: 0 auto; text-align: center; padding: 3rem 2rem; border-radius: 26px; background: radial-gradient(600px 300px at 50% 0%, rgba(236,72,153,.25), transparent 70%), linear-gradient(160deg, #2a1c4d, #14132a); border: 1px solid rgba(236,72,153,.4); box-shadow: 0 30px 80px rgba(124,58,237,.3); }
.tf-final-in img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0,0,0,.5)); }
.tf-final-in h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); color: #fff; margin: .6rem 0; }
.tf-final-in p { color: var(--text-dim, #b0b0c0); }
.tf-final-in .tf-cta { justify-content: center; }

/* responsive */
@media (max-width: 980px) {
  .tf-hero-in { grid-template-columns: 1fr; }
  .tf-art { max-width: 560px; margin: 0 auto; width: 100%; }
  .tf-facts, .tf-pay { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tf-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .tf-steps::before { display: none; }
  .tf-plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .tf-calc { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .tf-hero, .tf-section, .tf-final { padding-left: 1rem; padding-right: 1rem; }
  .tf-hero { padding-top: 2.5rem; }
  .tf-facts, .tf-pay { grid-template-columns: 1fr; }
  .tf-steps { grid-template-columns: 1fr; }
  .tf-calc { padding: 1rem; }
  .tf-out-grid { grid-template-columns: 1fr 1fr; }
  .tf-cta .btn { flex: 1 1 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .tf-path { animation: none; stroke-dashoffset: 0; }
  .tf-node, .tf-bars i { animation: none; opacity: 1; transform: none; }
  .tf-float { animation: none; }
}
.tf-total { flex-wrap: wrap; }
.tf-total b { font-size: clamp(1.35rem, 2.1vw, 1.7rem); }
.tf-calc-in input[type=range] { height: 32px; }
