/* ===== iProSathi Homepage ===== */
html { scroll-behavior: smooth; }
body { font-feature-settings: "ss01", "cv11"; letter-spacing: -0.006em; }
::selection { background: rgba(62, 99, 221, .18); }
.tabular-nums { font-variant-numeric: tabular-nums; }

/* Nav */
.site-nav { transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.site-nav.is-scrolled { background: rgba(246, 245, 242, .78); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 #E7E5E0; }
.nav-a { padding: 8px 14px; border-radius: 99px; transition: color .2s ease, background-color .2s ease; }
.nav-a:hover { color: #0B0B0E; background: rgba(11, 11, 14, .05); }
.m-a { padding: 12px 14px; border-radius: 12px; }
.m-a:hover { background: #F6F5F2; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: #0B0B0E; color: #F6F5F2; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; letter-spacing: -.02em; position: relative; }
.logo-mark::after { content: ''; position: absolute; top: 5px; right: 5px; width: 5px; height: 5px; border-radius: 99px; background: #3E63DD; }
.logo-mark--inv { background: #F6F5F2; color: #0B0B0E; }

.btn-dark, .btn-light { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 99px; font-size: 14px; font-weight: 500; transition: transform .2s ease, background-color .2s ease, box-shadow .3s ease; }
.btn-dark { background: #0B0B0E; color: #fff; }
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(11, 11, 14, .5); }
.btn-light { background: #fff; color: #0B0B0E; height: 50px; padding: 0 24px; font-size: 15px; }
.btn-light:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(255, 255, 255, .35); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; color: #0B0B0E; border-bottom: 1px solid rgba(11, 11, 14, .2); padding-bottom: 2px; transition: gap .2s ease, border-color .2s ease; }
.link-arrow:hover { gap: 10px; border-color: #0B0B0E; }

.store-btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 22px 0 18px; border-radius: 16px; background: #fff; color: #0B0B0E; border: 1px solid #E7E5E0; transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease; }
.store-btn small { display: block; font-size: 10.5px; opacity: .6; letter-spacing: .02em; }
.store-btn b { display: block; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(11, 11, 14, .35); }
.store-btn--dark { background: #0B0B0E; color: #fff; border-color: #0B0B0E; }
.store-btn--light { background: #fff; color: #0B0B0E; border-color: #fff; }
.store-btn--ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .14); }

.pill { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 99px; background: #fff; border: 1px solid #E7E5E0; font-size: 13px; font-weight: 500; transition: border-color .2s ease; }
.pill:hover { border-color: #C9D6FF; }
.pill-dot { width: 7px; height: 7px; border-radius: 99px; background: #12915F; box-shadow: 0 0 0 4px rgba(18, 145, 95, .14); }
.av { width: 34px; height: 34px; border-radius: 99px; border: 2px solid #F6F5F2; color: #fff; font-size: 11px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }
.av--lg { width: 42px; height: 42px; font-size: 13px; border: 0; }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 78% 40%, rgba(62, 99, 221, .10), transparent 60%), #F6F5F2; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(11, 11, 14, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 11, 14, .045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 70% 45%, #000 20%, transparent 75%); }
.line { display: block; overflow: hidden; padding-bottom: .08em; }
.w { display: inline-block; animation: wUp 1.1s cubic-bezier(.22, 1, .36, 1) both; animation-delay: var(--d, 0s); }
@keyframes wUp { from { transform: translateY(105%) rotate(3deg); opacity: 0; } to { transform: none; opacity: 1; } }
.rise { animation: rise .9s cubic-bezier(.22, 1, .36, 1) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

#hero3d { opacity: 0; transition: opacity 1.2s ease; cursor: grab; }
#hero3d.is-ready { opacity: 1; }
#hero3d canvas { display: block; width: 100% !important; height: 100% !important; }
#hero3d.no-webgl { opacity: 1; background: radial-gradient(closest-side, rgba(62, 99, 221, .25), transparent); }
.stage-floor { position: absolute; left: 15%; right: 5%; bottom: 8%; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(11, 11, 14, .18), transparent); filter: blur(10px); pointer-events: none; }

.chip { position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 16px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 20px 40px -18px rgba(11, 11, 14, .28), 0 1px 0 rgba(11, 11, 14, .04); pointer-events: none; animation: chipIn 1s cubic-bezier(.22, 1, .36, 1) both; will-change: transform; }
.chip-ic { width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.chip--a { top: 14%; left: 6%; animation-delay: 1.1s; }
.chip--b { bottom: 16%; right: 8%; animation-delay: 1.3s; }
.chip--c { top: 9%; right: 10%; padding: 12px 16px; display: block; animation-delay: 1.5s; }
@keyframes chipIn { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; } }

.stats { border: 1px solid #E7E5E0; border-radius: 20px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(10px); }
.stat { padding: 26px 28px; border-right: 1px solid #E7E5E0; }
.stat:last-child { border-right: 0; }
@media (max-width: 1023px) { .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid #E7E5E0; } }
.stat b { display: block; font-size: 34px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 2px; font-size: 13.5px; color: #71717A; }

/* Marquee */
.marquee { mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.bank { font-size: 22px; font-weight: 600; letter-spacing: -.03em; color: #A1A1AA; white-space: nowrap; transition: color .2s ease; }
.bank:hover { color: #0B0B0E; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section typography */
.eyebrow { font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #71717A; }
.eyebrow--dark { color: rgba(255, 255, 255, .4); }
.h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.22, 1, .36, 1), transform .9s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* Product cards (3D tilt) */
.cat { height: 36px; padding: 0 15px; border-radius: 99px; font-size: 13.5px; border: 1px solid #E7E5E0; background: #fff; color: #52525B; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.cat:hover { border-color: #A1A1AA; }
.cat.is-on { background: #0B0B0E; border-color: #0B0B0E; color: #fff; }
.pcard { perspective: 900px; }
.pcard.is-hidden { display: none; }
.pcard-in { height: 100%; min-height: 290px; display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: #fff; border: 1px solid #E7E5E0; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.22, 1, .36, 1), box-shadow .4s ease, border-color .3s ease; position: relative; overflow: hidden; }
.pcard-in::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 0%), rgba(62, 99, 221, .09), transparent 45%); opacity: 0; transition: opacity .3s ease; }
.pcard:hover .pcard-in { box-shadow: 0 30px 60px -30px rgba(11, 11, 14, .3); border-color: #D9D7D1; }
.pcard:hover .pcard-in::after { opacity: 1; }
.plogo { width: 48px; height: 48px; border-radius: 14px; background: #F6F5F2; border: 1px solid #E7E5E0; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #3E63DD; position: relative; overflow: hidden; transform: translateZ(30px); }
.plogo img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; background: #F6F5F2; }
.tag { font-size: 12px; padding: 5px 10px; border-radius: 99px; background: #F6F5F2; color: #52525B; border: 1px solid #E7E5E0; white-space: nowrap; }
.round-btn { width: 44px; height: 44px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: #0B0B0E; color: #fff; font-size: 18px; transform: translateZ(40px); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease; }
.round-btn:hover { background: #3E63DD; transform: translateZ(40px) rotate(45deg); }

/* Calculator */
.calc { border-radius: 28px; background: #fff; border: 1px solid #E7E5E0; }
.calc-out { background: #0B0B0E; color: #fff; position: relative; }
.calc-out::before { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 100% 0%, rgba(62, 99, 221, .35), transparent 60%); pointer-events: none; }
.calc-out > * { position: relative; }
.val { min-width: 44px; text-align: center; font-weight: 600; font-size: 15px; padding: 3px 10px; border-radius: 8px; background: #F6F5F2; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, #0B0B0E var(--p, 30%), #E7E5E0 var(--p, 30%)); outline: none; cursor: pointer; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 99px; background: #fff; border: 1px solid #D4D4D8; box-shadow: 0 4px 12px rgba(11, 11, 14, .18); transition: transform .15s ease; }
.range::-webkit-slider-thumb:hover, .range:active::-webkit-slider-thumb { transform: scale(1.15); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 99px; background: #fff; border: 1px solid #D4D4D8; box-shadow: 0 4px 12px rgba(11, 11, 14, .18); }
.bar { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 14px; font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.bar i { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar em { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #5576E6, #ABBDF9); transition: width .6s cubic-bezier(.22, 1, .36, 1); }

/* Dark section */
.dark-sec { background: #0B0B0E; }
.dark-grid { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 24px 24px; mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 30%, transparent 80%); }
.progress-rail { width: 2px; height: 160px; background: rgba(255, 255, 255, .08); border-radius: 2px; overflow: hidden; }
.progress-rail span { display: block; width: 100%; height: 0; background: #8DA4EF; transition: height .2s linear; }
.steps { perspective: 1200px; }
.step { padding: 34px; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .08); transform-origin: 50% 100%; transform: rotateX(28deg) translateY(60px) scale(.94); opacity: 0; transition: transform 1s cubic-bezier(.22, 1, .36, 1), opacity 1s ease, border-color .3s ease; }
.step.is-in { transform: none; opacity: 1; }
.step:hover { border-color: rgba(141, 164, 239, .4); }
.step-ic { width: 52px; height: 52px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }

/* Bento */
.b { position: relative; overflow: hidden; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid #E7E5E0; min-height: 240px; transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s ease; }
.b:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(11, 11, 14, .3); }
.b-ic { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; background: #F6F5F2; border: 1px solid #E7E5E0; flex-shrink: 0; }
.b-t { font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.b-p { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: #71717A; }
.b--feature { min-height: 320px; background: #0B0B0E; color: #fff; border-color: #0B0B0E; }
.b--feature .b-ic { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .1); }
.b--feature .b-p { color: rgba(255, 255, 255, .55); }
.b--iris { background: #3E63DD; color: #fff; border-color: #3E63DD; }
.b--iris .b-ic { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .2); }
.b--iris .b-p { color: rgba(255, 255, 255, .75); }
.b-coins { position: absolute; right: 8%; top: 50%; width: 220px; height: 220px; transform: translateY(-50%); perspective: 600px; pointer-events: none; }
.b-coins i { position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px; border-radius: 99px; background: radial-gradient(circle at 35% 30%, #FBE7B5, #D9A84E 55%, #9C7424); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .18), 0 20px 40px -10px rgba(0, 0, 0, .6); animation: coinSpin 6s linear infinite; }
.b-coins i::after { content: '₹'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 54px; font-weight: 700; color: rgba(110, 78, 18, .75); }
.b-coins i:nth-child(2) { transform: translate(-70px, 40px) scale(.7); animation-delay: -2s; }
.b-coins i:nth-child(3) { transform: translate(70px, -50px) scale(.55); animation-delay: -4s; }
@keyframes coinSpin { 0% { rotate: y 0deg; } 100% { rotate: y 360deg; } }
@media (max-width: 767px) { .b-coins { opacity: .35; right: -20%; } }

/* Testimonials */
.quote { padding: 30px; border-radius: 24px; background: #fff; border: 1px solid #E7E5E0; display: flex; flex-direction: column; justify-content: space-between; }

/* Download / phone */
.dl { border-radius: 32px; background: #0B0B0E; }
.phone-stage { perspective: 1400px; display: flex; align-items: center; justify-content: center; }
.phone { position: relative; width: 270px; height: 550px; border-radius: 46px; background: #18181B; padding: 12px; transform-style: preserve-3d; transform: rotateY(-22deg) rotateX(8deg) rotateZ(2deg); transition: transform .6s cubic-bezier(.22, 1, .36, 1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), 0 60px 80px -40px rgba(62, 99, 221, .55); animation: phoneFloat 6s ease-in-out infinite; }
.phone::before { content: ''; position: absolute; top: 20px; left: 50%; width: 84px; height: 24px; margin-left: -42px; border-radius: 99px; background: #000; z-index: 3; transform: translateZ(2px); }
.phone-side { position: absolute; inset: 0; border-radius: 46px; background: #27272A; transform: translateZ(-14px); }
.phone-screen { position: relative; height: 100%; border-radius: 36px; background: #F6F5F2; padding: 54px 16px 16px; overflow: hidden; transform: translateZ(1px); color: #0B0B0E; }
.phone-shadow { position: absolute; bottom: 6%; left: 30%; right: 30%; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .6), transparent); filter: blur(8px); }
@keyframes phoneFloat { 50% { translate: 0 -12px; } }
.wallet { border-radius: 18px; padding: 14px; color: #fff; background: radial-gradient(200px 120px at 100% 0%, #5576E6, transparent), #0B0B0E; }
.mini { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 12px; background: #fff; border: 1px solid #E7E5E0; font-size: 11.5px; }
.mini b { display: block; font-weight: 600; }
.mini small { display: block; font-size: 10px; color: #71717A; }
.mini em { font-style: normal; font-weight: 600; color: #12915F; }
.mini-ic { width: 30px; height: 30px; border-radius: 9px; background: #F6F5F2; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; color: #3E63DD; }
.qr { width: 64px; height: 64px; border-radius: 16px; background: #fff; color: #0B0B0E; display: inline-flex; align-items: center; justify-content: center; font-size: 44px; }

/* FAQ */
.faq { border-bottom: 1px solid #E7E5E0; }
.faq:first-child { border-top: 1px solid #E7E5E0; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 32px; height: 32px; border-radius: 99px; border: 1px solid #E7E5E0; flex-shrink: 0; transition: background-color .2s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.faq-plus::before, .faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: #0B0B0E; transition: transform .3s ease; }
.faq-plus::after { transform: rotate(90deg); }
.faq[open] .faq-plus { background: #0B0B0E; transform: rotate(180deg); }
.faq[open] .faq-plus::before, .faq[open] .faq-plus::after { background: #fff; }
.faq[open] .faq-plus::after { transform: rotate(0); }
.faq-a p { padding: 0 60px 26px 0; font-size: 15.5px; line-height: 1.7; color: #71717A; animation: rise .5s ease both; }

/* Footer */
.f-h { color: #fff; font-size: 13px; font-weight: 500; margin-bottom: 14px; }
.f-l li { font-size: 14px; padding: 5px 0; }
.f-l a { transition: color .2s ease; }
.f-l a:hover { color: #fff; }
.soc { width: 38px; height: 38px; border-radius: 99px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .06); color: #fff; font-size: 17px; transition: background-color .2s ease; }
.soc:hover { background: #3E63DD; }
.footer-word { margin-top: 40px; font-size: clamp(80px, 19vw, 280px); line-height: .8; font-weight: 700; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1); text-align: center; user-select: none; margin-bottom: -40px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal, .step { opacity: 1; transform: none; } }
