/* Home page product panels: one full screen each, shared layout */
.pp_section { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
#sectionEzdream { background: #5a3fd0; }
#sectionFacejoy { background: #1747b8; }

.pp { position: absolute; top: 64px; bottom: 100px; left: 0; right: 0; width: 84%; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 5fr 6fr; gap: 5%; align-items: center; text-align: left; }
.pp_brand { display: flex; align-items: center; font-size: 26px; font-weight: bold; }
.pp_brand img { margin-right: 14px; border-radius: 14px; background: #fff; }
.pp h2 { margin: 26px 0 18px; font-size: 50px; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.08; letter-spacing: -0.02em; }
.pp p { max-width: 430px; margin-bottom: 30px; font-size: 18px; line-height: 1.55; color: #ebe6ff; }
.p_btn { display: inline-block; padding: 0 30px; line-height: 48px; border-radius: 24px; background: #fff; color: #1d1638; font-size: 16px; font-weight: bold; white-space: nowrap; transition: transform 0.2s ease; }
.p_btn:hover { transform: translateY(-2px); }
.p_btn:active { transform: scale(0.98); }
.pp_tools { margin-top: 30px; }
.pp_tools a { display: inline-block; margin: 0 20px 8px 0; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, 0.45); color: #fff; font-size: 15px; }
.pp_tools a:hover { border-bottom-color: #fff; }
.pp_pic { position: relative; display: block; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 70px rgba(10, 8, 40, 0.4); }
.pp_pic img { display: block; width: 100%; }
.pp a:focus-visible, .ez_compare:focus-within { outline: 3px solid #ffc766; outline-offset: 3px; }

/* EzDream before/after slider */
.ez_compare { --pos: 50%; aspect-ratio: 610 / 426; }
.ez_compare img { position: absolute; top: 0; left: 0; height: 100%; object-fit: cover; }
.ez_compare .ez_before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ez_compare i { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; }
.ez_compare i:after { content: ""; position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; }
.ez_compare input { position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

@media (max-height: 700px) {
    .pp { top: 88px; bottom: 64px; }
    .pp_brand img { width: 44px; height: 44px; }
    .pp h2 { margin: 14px 0 10px; font-size: 38px; }
    .pp p { margin-bottom: 18px; font-size: 16px; }
    .pp_tools { margin-top: 18px; }
}
