/* v4: investor franchise page */
.inv-hero { position: relative; background: var(--ink); color: var(--cream); padding: 150px 0 90px; overflow: hidden; }
.inv-hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(232,51,109,.45), transparent 65%); animation: pulse 9s ease-in-out infinite; }
.inv-hero::after { content: ""; position: absolute; width: 600px; height: 600px; left: -260px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(61,190,107,.25), transparent 65%); }
.inv-hero .wrap { position: relative; z-index: 2; }
.inv-hero .eyebrow { color: #FF8FB1; }
.inv-title { font-size: clamp(3rem, 8vw, 6.6rem); line-height: .93; letter-spacing: -.045em; margin-bottom: 0; }
.inv-title .line { display: block; overflow: hidden; padding-bottom: .05em; }
.inv-title .line > span { display: inline-block; transform: translateY(110%); animation: rise .9s cubic-bezier(.2,.8,.2,1) forwards; }
.inv-title .line:nth-child(2) > span { animation-delay: .12s; }
.inv-title .line:nth-child(3) > span { animation-delay: .24s; }
.inv-title em { font-style: normal; background: linear-gradient(90deg, #FF5C8D, #FFB27A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.inv-hero .lead { color: rgba(255,246,236,.8); margin: 26px 0 30px; max-width: 58ch; }
.inv-hero .lead b { color: #fff; }
.inv-hero .btn-ghost { border-color: rgba(255,246,236,.6); color: var(--cream); }
.inv-hero .btn-ghost:hover { background: var(--cream); color: var(--ink); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 60px; }
.kpi { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; padding: 24px 22px; backdrop-filter: blur(6px); transition: transform .3s, background .3s; }
.kpi:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.kpi b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1; color: #FFB27A; letter-spacing: -.03em; }
.kpi b i { font-style: normal; font-size: .5em; }
.kpi:nth-child(3) b { color: #7BE0A0; }
.kpi:nth-child(4) b { color: #FFD27A; }
.kpi span { display: block; margin-top: 10px; font-weight: 700; }
.kpi small { font-weight: 400; color: rgba(255,246,236,.6); font-size: .82rem; }

/* proof */
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.proof { background: var(--white); border-radius: 26px; padding: 32px; text-align: center; box-shadow: 0 16px 36px -24px rgba(59,31,20,.5); transition: transform .3s; }
.proof:hover { transform: translateY(-6px) rotate(-.5deg); }
.proof .score { font-family: var(--font-head); font-weight: 800; font-size: 4rem; line-height: 1; color: var(--cocoa); }
.proof .stars { position: relative; display: inline-block; font-size: 1.5rem; letter-spacing: 4px; margin: 8px 0 12px; color: #E8D8C8; }
.proof .stars::before { content: "★★★★★"; }
.proof .stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: 0; overflow: hidden; white-space: nowrap; color: #F5B400; transition: width 1.4s cubic-bezier(.2,.8,.2,1) .3s; }
.proof.in .stars::after, .no-js .proof .stars::after { width: var(--p); }
.proof h3 { margin-bottom: 4px; }
.proof p { color: var(--muted); margin: 0; }
.loved { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-top: 34px; }
.loved span { font-weight: 700; color: var(--cocoa-soft); margin-right: 6px; }
.loved b { background: var(--cream-2); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: .92rem; }
.source { text-align: center; font-size: .8rem; color: var(--muted); margin-top: 18px; }

/* ₹100 split */
.split-card { background: var(--white); border-radius: 32px; padding: 50px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; box-shadow: var(--shadow); }
.bar100 { display: flex; height: 120px; border-radius: 20px; overflow: hidden; }
.bar100 .seg { width: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 14px; color: #fff; overflow: hidden; white-space: nowrap; transition: width 1.4s cubic-bezier(.2,.8,.2,1); }
.split-card.in .bar100 .seg { width: var(--w); }
.split-card.in .bar100 .seg.roy { transition-delay: .3s; }
.split-card.in .bar100 .seg.rest { transition-delay: .6s; }
.bar100 .seg b { font-family: var(--font-head); font-size: 1.5rem; }
.bar100 .seg span { font-size: .8rem; opacity: .9; }
.seg.ing, i.ing { background: var(--berry); }
.seg.roy, i.roy { background: var(--sizzle); }
.seg.rest, i.rest { background: #2FA36B; }
.seg.roy { padding: 0; }
.split { position: relative; padding-top: 52px; }
.roy-tag {
  position: absolute; top: 0; left: 30.5%; transform: translateX(-50%);
  background: var(--sizzle); color: #fff; font-size: .85rem; font-weight: 600; white-space: nowrap;
  padding: 6px 12px; border-radius: 10px; box-shadow: 0 8px 18px -10px rgba(194,65,12,.8);
  opacity: 0; transition: opacity .5s .9s, transform .5s .9s;
}
.roy-tag b { font-family: var(--font-head); font-size: 1rem; margin-right: 2px; }
.split::after { content: ""; position: absolute; left: 30.5%; top: 34px; transform: translateX(-50%); border: 8px solid transparent; border-bottom: 0; border-top-color: var(--sizzle); opacity: 0; transition: opacity .5s .9s; }
.split-card.in .roy-tag, .split-card.in .split::after { opacity: 1; }
@media (max-width: 520px) { .roy-tag { left: 0; transform: none; } }
.split-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: .85rem; color: var(--muted); }
.split-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }

/* money bar */
.money-bar { display: flex; border-radius: 18px; overflow: hidden; margin-top: 26px; height: 92px; }
.money-bar > div { display: flex; flex-direction: column; justify-content: center; padding: 0 16px; color: #fff; }
.money-bar b { font-family: var(--font-head); font-size: 1.4rem; }
.money-bar span { font-size: .8rem; opacity: .9; }
.mb-fee { background: var(--cocoa); flex: 35; }
.mb-setup { background: var(--berry); flex: 55; }
.mb-total { margin-top: 12px; font-size: 1.1rem; }

/* calculator */
.calc-sec { background: var(--ink); color: var(--cream); }
.calc-sec .lead { color: rgba(255,246,236,.75); }
.calc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; margin-top: 44px; }
.calc-inputs { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 26px; padding: 30px; display: grid; gap: 22px; }
.sl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
.sl span { font-weight: 600; }
.sl small { font-weight: 400; color: rgba(255,246,236,.55); }
.sl output { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: #FFB27A; }
.sl input { grid-column: 1 / -1; width: 100%; accent-color: var(--berry); height: 6px; cursor: pointer; }
.fixed { margin: 0; font-size: .85rem; color: rgba(255,246,236,.6); }
.calc-out { background: linear-gradient(160deg, var(--berry), var(--berry-dark)); border-radius: 26px; padding: 34px; display: flex; flex-direction: column; box-shadow: 0 30px 60px -30px rgba(232,51,109,.7); }
.out-label { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.out-big { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.8rem, 6vw, 4.2rem); line-height: 1.05; margin: 8px 0 6px; letter-spacing: -.03em; }
.out-big.neg { color: #FFD27A; }
.out-sub { opacity: .9; }
.stack { display: flex; height: 26px; border-radius: 999px; overflow: hidden; margin-top: 24px; background: rgba(255,255,255,.15); }
.stack i { display: block; height: 100%; transition: width .5s ease; }
.s-food { background: #FFD6E3; } .s-pack { background: #FFB27A; } .s-roy { background: #F28C28; } .s-fixed { background: #6B4636; } .s-profit { background: #7BE0A0; }
.stack-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 10px; font-size: .76rem; opacity: .9; }
.stack-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.calc-out .btn-primary { background: var(--cream); color: var(--berry-dark); box-shadow: none; }
.disclaimer { font-size: .74rem; opacity: .75; margin: 14px 0 0; line-height: 1.5; }

@media (max-width: 980px) {
  .kpis { grid-template-columns: 1fr 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .split-card, .calc { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .inv-hero { padding: 120px 0 70px; }
  .split-card { padding: 28px 20px; }
  .bar100 { height: 100px; }
  .bar100 .seg b { font-size: 1.1rem; }
  .calc-inputs, .calc-out { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .inv-title .line > span { transform: none; }
  .bar100 .seg { width: var(--w); }
  .proof .stars::after { width: var(--p); }
}
