.folder-demo{max-width:1100px;margin:0 auto;padding:42px 24px 65px;text-align:center;min-height:100vh;background:radial-gradient(ellipse at 50% 70%,#ff150712,transparent 60%)}
.demo-logo{display:inline-block;width:190px}.demo-logo img{width:100%}.demo-logo .logo-on-light{display:none}html[data-theme=light] .demo-logo .logo-on-dark{display:none}html[data-theme=light] .demo-logo .logo-on-light{display:block}.demo-heading{margin:35px auto 0}.demo-heading .micro{color:var(--brand-orange);font-size:14px}.demo-heading h1{font-size:clamp(2rem,4vw,3.2rem);margin:12px 0}.demo-heading h1>span{color:var(--brand-orange)}.demo-heading p{color:var(--muted);font-size:16px;margin:12px 0}
.glass-folder{position:relative;display:block;width:min(430px,90%);height:325px;margin:105px auto 50px;text-decoration:none;perspective:1000px;color:var(--ink);isolation:isolate}
.folder-back{position:absolute;inset:0 10px 10px;background:linear-gradient(130deg,#ff451242,#ff15070c);border:1px solid #ff451259;border-radius:28px;box-shadow:inset 0 1px 0 #ffffff40,0 0 70px #ff15071a}
.folder-papers{position:absolute;inset:0 30px;z-index:1}.folder-papers>span{position:absolute;left:12%;top:-48px;width:77%;height:260px;border-radius:18px;border:1px solid #ffffff88;background:linear-gradient(145deg,#ffffffee,#ffffffcc);box-shadow:0 12px 25px #0002;transform:rotate(-14deg) translateX(-30px);transition:transform .8s cubic-bezier(.16,1,.3,1)}
.folder-papers>span:nth-child(2){transform:rotate(-5deg) translate(5px,15px)}.folder-papers>span:nth-child(3){transform:rotate(6deg) translate(30px,32px)}
.folder-papers>span:before{content:'';position:absolute;left:25px;right:25px;top:25px;height:115px;border-radius:10px;background-position:center;background-size:cover;opacity:.9}.folder-papers>span:after{content:'';position:absolute;left:25px;right:25px;top:160px;height:8px;border-radius:9px;background:#ff451230;box-shadow:0 23px #ff451220,0 46px #ff451215}
.folder-front{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:absolute;inset:70px 0 0;padding:30px 35px;border:1px solid #ffffff33;border-bottom-color:#ff451259;border-radius:17px 36px 32px 32px;background:linear-gradient(135deg,#ff45121f,#ff15070a),linear-gradient(135deg,#10101099,#10101066);backdrop-filter:blur(18px) saturate(130%);-webkit-backdrop-filter:blur(18px) saturate(130%);box-shadow:inset 0 1px 0 #ffffff42,inset 0 -1px 0 #ff451242,0 25px 40px #0003,0 0 35px #ff15071a;z-index:2;text-align:left}
.folder-front:before{content:'';position:absolute;left:-1px;top:-29px;width:44%;height:36px;border-radius:18px 26px 0 0;border:1px solid #ffffff33;border-bottom:0;background:linear-gradient(135deg,#ff45122c,#ff15071c);backdrop-filter:blur(18px);z-index:-1}
.folder-eyebrow{font-size:14px;color:var(--muted)}.folder-front strong{font-size:80px;line-height:1.2;margin:8px 0;font-weight:500;letter-spacing:-.04em;background:var(--brand-gradient);background-clip:text;color:transparent}.folder-front strong b{font-weight:500}.folder-front small{font-size:24px;margin-left:12px;letter-spacing:0}.folder-brands{font-size:16px}.folder-action{position:absolute;right:30px;bottom:25px;font-size:13px;color:var(--brand-orange)}
.glass-folder:hover .folder-papers>span:first-child,.glass-folder:focus-visible .folder-papers>span:first-child{transform:rotate(-18deg) translate(-35px,-25px)}.glass-folder:hover .folder-papers>span:nth-child(2){transform:rotate(-3deg) translate(5px,-5px)}.glass-folder:hover .folder-papers>span:nth-child(3){transform:rotate(10deg) translate(40px,10px)}
.demo-controls{display:flex;gap:20px;justify-content:center;flex-wrap:wrap;align-items:center;font-size:14px}.demo-controls button{font:inherit;padding:11px 20px;border:1px solid var(--line);border-radius:999px;background:transparent;color:var(--ink)}.demo-controls a{color:var(--muted)}
html[data-theme=light] .folder-front{background:linear-gradient(135deg,#ffffff50,#ff45121c);border-color:#ff451233;box-shadow:inset 0 1px #fff,0 25px 45px #ff150712}html[data-theme=light] .folder-front:before{border-color:#ff451233;background:#ffffff60}
@media(max-width:520px){.folder-demo{padding-top:30px}.glass-folder{height:285px;margin-top:90px}.folder-front{padding:25px}.folder-front strong{font-size:65px}.folder-action{right:25px;bottom:18px;font-size:12px}.folder-papers>span{height:220px}.demo-heading p{font-size:14px}}
@media(prefers-reduced-motion:reduce){.folder-papers>span{transition:none}.glass-folder:hover .folder-papers>span{transform:none}}
