.reveal{opacity:1;transform:none}
.template-library{padding:80px 0 170px}
.template-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}
.template-tile{grid-column:span 4;display:grid;gap:9px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.template-tile:nth-child(1),.template-tile:nth-child(4){grid-column:span 6}
.template-tile img{display:block;width:100%;aspect-ratio:1.05;object-fit:cover;border-radius:calc(var(--radius) - 4px);filter:saturate(.9);transition:clip-path .45s ease,transform .45s ease,filter .45s ease}
.template-tile:hover img{transform:translateY(-2px);filter:saturate(1.15);clip-path:inset(0 round calc(var(--radius) - 4px))}
.template-tile b{font-size:17px;font-weight:500}.template-tile span{font-size:12px;color:var(--muted)}
.template-tile{position:relative;padding:16px;border:0;border-radius:24px;background:#f0eee8;color:#171714;box-shadow:0 20px 40px -14px rgba(0,0,0,.35);isolation:isolate;overflow:visible;perspective:700px}.template-tile:before{content:"";position:absolute;z-index:-1;inset:0;border-radius:24px;background-image:var(--card-image);background-size:cover;background-position:center;filter:brightness(.74) saturate(.8);transform-origin:bottom;transition:transform .5s ease,filter .5s ease}.template-tile:after{content:'₹300  /  $5';position:absolute;right:28px;top:28px;padding:8px 12px;border-radius:999px;background:var(--accent);color:var(--ink);font-size:11px;font-weight:700;transition:transform .45s ease}.template-tile span{color:#68655d}.template-tile img{position:relative;z-index:1;box-shadow:inset 0 0 0 1px rgba(0,0,0,.16);transition:transform .5s ease,filter .5s ease,clip-path .5s ease}.template-tile:hover:before,.template-tile:focus-visible:before{filter:brightness(.32) saturate(.8);transform:rotateX(56deg)}.template-tile:hover img,.template-tile:focus-visible img{transform:scale(1.14) translateY(-16%);filter:contrast(1.08) saturate(1.08)}.template-tile:hover:after,.template-tile:focus-visible:after{transform:translateY(12px)}
@media(max-width:800px){.template-grid{grid-template-columns:1fr 1fr}.template-tile,.template-tile:nth-child(1),.template-tile:nth-child(4){grid-column:span 1}.template-tile img{aspect-ratio:.9}.template-tile:first-child{grid-column:span 2}}
.hero-carousel{position:relative;width:min(550px,92vw);height:620px}.carousel-track{position:relative;height:560px}.carousel-card{position:absolute;inset:0 auto auto 50%;width:min(340px,68vw);transform:translateX(-50%) scale(.82) rotate(-5deg);opacity:0;pointer-events:none;transition:transform .7s cubic-bezier(.2,.8,.2,1),opacity .7s ease;display:grid;gap:10px}.carousel-card.is-active{opacity:1;pointer-events:auto;transform:translateX(-50%) scale(1) rotate(4deg);z-index:3}.carousel-card img{width:100%;aspect-ratio:.82;object-fit:cover;border-radius:var(--radius);box-shadow:0 35px 80px rgba(0,0,0,.48)}.carousel-card span{font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}.carousel-card b{font-size:19px;font-weight:500}.carousel-controls{position:absolute;bottom:0;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:18px;color:var(--muted);font-size:11px}.carousel-controls button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--paper);cursor:pointer}.carousel-controls button:hover{border-color:var(--accent);color:var(--accent)}
@media(max-width:800px){.hero-carousel{height:540px}.carousel-track{height:470px}.carousel-card{width:min(280px,72vw)}.carousel-controls{bottom:0}}
@media(prefers-reduced-motion:reduce){.carousel-card{transition:none}}
.worlds{position:relative;min-height:700dvh;background:#0b0b0a}.world-stage{position:sticky;top:0;height:100dvh;overflow:hidden}.world-visuals,.world-image{position:absolute;inset:0;width:100%;height:100%}.world-image{object-fit:cover;opacity:0;transform:scale(1.08);filter:saturate(.75);transition:opacity .8s ease,transform 1.4s ease,filter 1s ease}.world-image.is-active{opacity:1;transform:scale(1);filter:saturate(1)}.world-stage:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,8,7,.85),rgba(8,8,7,.2) 65%,rgba(8,8,7,.45)),linear-gradient(0deg,rgba(8,8,7,.7),transparent 45%);pointer-events:none}.world-copy{position:absolute;z-index:2;left:clamp(24px,9vw,140px);top:50%;transform:translateY(-50%);max-width:520px}.world-copy h2{font-size:clamp(50px,7vw,100px);line-height:.92;letter-spacing:-.07em;font-weight:500;margin:0 0 26px}.world-copy h2 em{color:var(--accent);font-style:italic}.world-copy>p:not(.eyebrow){max-width:390px;color:var(--muted);font-size:17px;margin-bottom:30px}.world-index{position:absolute;z-index:3;right:clamp(24px,6vw,80px);bottom:42px;display:flex;align-items:center;gap:14px;color:var(--paper);font-size:11px;letter-spacing:.15em}.world-index i{display:block;width:80px;height:1px;background:var(--accent);transform:scaleX(calc(.1 + var(--world-progress,0) * .9));transform-origin:left}.world-steps{position:absolute;z-index:4;top:0;right:0;width:5px;height:100%;display:grid;grid-template-rows:repeat(7,1fr);gap:2px}.world-steps div{background:rgba(255,255,255,.18)}@media(max-width:800px){.worlds{min-height:560dvh}.world-copy{left:24px;right:24px;top:auto;bottom:100px;transform:none}.world-copy h2{font-size:clamp(46px,14vw,78px)}.world-copy>p:not(.eyebrow){font-size:15px}.world-stage:after{background:linear-gradient(0deg,rgba(8,8,7,.9),rgba(8,8,7,.15) 75%),linear-gradient(90deg,rgba(8,8,7,.45),transparent)}.world-image{object-position:center}.world-index{bottom:32px;right:24px}}
@media(prefers-reduced-motion:reduce){.world-image{transition:none;transform:none}.worlds{min-height:auto}.world-stage{position:relative;height:620px}}
.invoice-card{position:relative;min-height:570px;padding-top:70px}.invoice-slot{height:78px;border-radius:18px;background:#272724;box-shadow:0 12px 30px rgba(0,0,0,.45);padding:15px}.invoice-slot span{display:block;height:13px;border-radius:999px;background:#090908;box-shadow:inset 0 2px 3px #000}.invoice-paper{position:absolute;top:22px;left:8%;width:84%;padding:28px 24px 22px;background:#f8f7f2;color:#222;border-radius:10px;box-shadow:0 20px 50px rgba(0,0,0,.35);transform:rotate(-1.2deg);transition:transform .45s ease}.invoice-card:hover .invoice-paper{transform:rotate(0) translateY(-8px)}.invoice-paper h3{margin:0 0 22px;padding:10px 0;border-top:2px dotted #222;border-bottom:2px dotted #222;text-align:center;font-size:19px;font-weight:600}.invoice-line{display:flex;justify-content:space-between;gap:12px;margin:11px 0;color:#6c6a64;font-size:13px}.invoice-line b{color:#151513;font-weight:700;text-align:right}.invoice-paper hr{border:0;border-top:1px solid #ddd;margin:20px 0}.invoice-status{margin-top:22px;padding:14px;border:1px solid #dedbd3;border-radius:13px}.invoice-status p{display:flex;justify-content:space-between;margin:0 0 18px;color:#555;font-size:13px}.invoice-status p b{color:#1e9b63}.invoice-status>div{height:5px;display:flex;justify-content:space-between;background:linear-gradient(90deg,#1e9b63 75%,#ddd 75%)}.invoice-status i{width:17px;height:17px;margin-top:-6px;border-radius:50%;background:#fff;border:3px solid #1e9b63}.invoice-status i:last-child{border-color:#aaa}.invoice-note{color:#777;font-size:12px;line-height:1.5;margin:18px 0}.invoice-pay{display:flex;justify-content:center;align-items:center;gap:10px;padding:14px;border-radius:999px;background:#171714;color:#fff;font-size:12px;font-weight:700}.invoice-pay span{color:var(--accent)}
.preview-open{overflow:hidden}.preview-modal{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:22px}.preview-modal[hidden]{display:none}.preview-modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.78);backdrop-filter:blur(10px)}.preview-modal-panel{position:relative;z-index:1;width:min(1100px,96vw);height:min(850px,92dvh);display:grid;grid-template-rows:auto 1fr;background:#11110f;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 30px 100px rgba(0,0,0,.65)}.preview-modal-panel header{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}.preview-modal-panel header .eyebrow{margin:0 0 4px}.preview-modal-panel h2{margin:0;font-size:22px;font-weight:500}.preview-modal-panel button{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--paper);font-size:24px;cursor:pointer}.preview-modal-panel iframe{width:100%;height:100%;border:0;background:#09121d}@media(max-width:700px){.preview-modal{padding:0}.preview-modal-panel{width:100vw;height:100dvh;border-radius:0}.preview-modal-panel header{padding-top:max(16px,env(safe-area-inset-top))}}
