@import url("flipbook-book.css");
/* Company profile design page */
.cp-head .title-huge { margin-bottom: 24px; }
.cp-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #FFDE59; margin-bottom: 18px; }
.cp-sec-head { margin-bottom: 50px; }
.cp-sec-head .s-label__text { display: block; margin-bottom: 14px; }
.cp-sec-head .title-64 { margin-bottom: 18px; }
.cp-sec-head--center { text-align: center; }
.cp-sec-head--center .s-intro-p { margin: 0 auto; }
.cp-sec-head--center .cp-eyebrow { color: var(--color-contrast-higher); background: #FFDE59; padding: 6px 14px; border-radius: 40px; color: #1b1b1b; }
h2.title-48 { font-size: 48px; font-weight: 700; line-height: 1.15; margin: 0 0 20px; }

/* Hero card */
.cp-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; background: #0d0d0d; color: #fff; border-radius: 40px; padding: 70px 60px; overflow: hidden; }
.cp-hero__title { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.08; font-weight: 600; color: #fff; margin: 0 0 24px; }
.cp-hero__text p { color: #c9c9c9; font-size: 17px; line-height: 1.6; margin: 0 0 24px; max-width: 560px; }
.cp-hero__list { list-style: none; margin: 0 0 34px; padding: 0; }
.cp-hero__list li { position: relative; padding: 6px 0 6px 22px; color: #FFDE59; font-weight: 600; font-size: 16px; }
.cp-hero__list li::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #FFDE59; }
.cp-hero__media img { width: 100%; height: auto; border-radius: 28px; display: block; }

/* Ticker */
.cp-ticker { overflow: hidden; margin: 110px 0 20px; background: #0d0d0d; padding: 28px 0; }
.cp-ticker__track { display: flex; width: max-content; animation: cpTicker 40s linear infinite; }
.cp-ticker__row { display: flex; align-items: center; gap: 36px; padding-right: 36px; }
.cp-ticker__row span { font-family: var(--font-heading); font-size: 56px; font-weight: 600; color: #fff; white-space: nowrap; line-height: 1.1; }
.cp-ticker__row span:nth-of-type(2n) { color: #FFDE59; }
.cp-ticker__row img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #FFDE59; flex: none; }
.cp-ticker:hover .cp-ticker__track { animation-play-state: paused; }
@keyframes cpTicker { to { transform: translateX(-50%); } }

/* Flipbook */
.cp-flip { position: relative; background: linear-gradient(160deg, #1d1d1d 0%, #0d0d0d 100%); border-radius: 32px; padding: 50px 40px 24px; }
.cp-flip__stage { position: relative; max-width: 1100px; margin: 0 auto; min-height: 420px; }
.cp-flip__book { position: relative; }
.cp-flip__book .stf__parent { margin: 0 auto; }
.cp-flip__loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; color: #ddd; font-size: 15px; z-index: 3; }
.cp-flip__loading[hidden] { display: none; }
.cp-flip__loading img { width: min(280px, 60%); border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.5); opacity: .85; }
.cp-flip__bar { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; }
.cp-flip__btn { min-width: 46px; height: 46px; padding: 0 14px; border-radius: 30px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; font-size: 18px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background .2s, color .2s; }
.cp-flip__btn:hover { background: #FFDE59; color: #1b1b1b; border-color: #FFDE59; }
a.cp-flip__btn { font-size: 13px; letter-spacing: .06em; }
.cp-flip__count { min-width: 90px; text-align: center; color: #fff; font-size: 15px; font-variant-numeric: tabular-nums; }
.cp-flip:fullscreen { border-radius: 0; display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.cp-flip:fullscreen .cp-flip__stage { width: min(100%, calc((100vh - 140px) * 1.414)); max-width: none; }
.cp-flip.is-full { position: fixed; inset: 0; z-index: 9999; border-radius: 0; overflow: auto; }

/* Gallery */
.cp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; }
.cp-cover { appearance: none; border: 0; background: none; padding: 0; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.cp-cover__img { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #e9e9e9; box-shadow: 0 18px 40px rgba(0,0,0,.12); aspect-ratio: 720 / 1018; }
.cp-cover__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.cp-cover__open { position: absolute; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: #FFDE59; color: #1b1b1b; font-weight: 600; font-size: 14px; padding: 12px 22px; border-radius: 30px; white-space: nowrap; transition: all .35s; }
.cp-cover:hover .cp-cover__img img, .cp-cover:focus-visible .cp-cover__img img { transform: scale(1.05); }
.cp-cover:hover .cp-cover__open, .cp-cover:focus-visible .cp-cover__open { opacity: 1; transform: translate(-50%, 0); }
.cp-cover__name { display: block; font-size: 22px; font-weight: 600; margin-top: 20px; color: var(--color-contrast-higher); }
.cp-cover__meta { display: block; font-size: 15px; color: var(--color-contrast-medium); margin-top: 4px; }

/* Packages */
.cp-pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: stretch; }
.cp-pack { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 28px; padding: 44px 36px 36px; background: var(--color-bg-light, #fff); }
[data-theme="dark"] .cp-pack { background: hsl(0, 0%, 15%); }
.cp-pack.is-popular { background: #0d0d0d; color: #fff; border-color: #0d0d0d; transform: translateY(-14px); box-shadow: 0 30px 60px rgba(0,0,0,.18); }
[data-theme="dark"] .cp-pack.is-popular { background: #FFDE59; color: #1b1b1b; border-color: #FFDE59; }
.cp-pack__badge { position: absolute; top: -15px; left: 36px; background: #FFDE59; color: #1b1b1b; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 7px 14px; border-radius: 20px; }
[data-theme="dark"] .cp-pack.is-popular .cp-pack__badge { background: #0d0d0d; color: #FFDE59; }
.cp-pack__pages { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .65; }
.cp-pack__name { font-size: 30px; font-weight: 700; margin: 8px 0 12px; color: inherit; }
.cp-pack__lead { font-size: 16px; line-height: 1.5; margin: 0 0 26px; opacity: .8; }
.cp-pack__head { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cp-pack.is-popular .cp-pack__head { border-color: rgba(255,255,255,.18); }
.cp-pack__list { list-style: none; padding: 0; margin: 0 0 30px; flex: 1; }
.cp-pack__list li { position: relative; padding: 11px 0 11px 30px; font-size: 15px; line-height: 1.45; border-bottom: 1px solid var(--line); }
.cp-pack.is-popular .cp-pack__list li { border-color: rgba(255,255,255,.12); }
.cp-pack__list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: #FFDE59 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%231b1b1b'/%3E%3C/svg%3E") center / 12px no-repeat; }
[data-theme="dark"] .cp-pack.is-popular .cp-pack__list li::before { background-color: #1b1b1b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23FFDE59'/%3E%3C/svg%3E"); }
.cp-pack__best { font-size: 14px; line-height: 1.5; margin: 22px 0 0; opacity: .75; }
.cp-pack__note { text-align: center; max-width: 760px; margin: 50px auto 0; font-size: 15px; line-height: 1.6; color: var(--color-contrast-medium); }

/* Stats */
.cp-stats__inner { background: linear-gradient(135deg, #FFE98F 0%, #FFDE59 55%, #F5C518 100%); border-radius: 40px; padding: 70px 60px; color: #1b1b1b; }
.cp-stats__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 50px; }
.cp-stats__head h2 { margin: 0; color: #1b1b1b; max-width: 520px; }
.cp-stats__head p { margin: 0; max-width: 380px; font-size: 17px; line-height: 1.5; }
.cp-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.cp-stat { border-top: 2px solid rgba(0,0,0,.2); padding-top: 22px; }
.cp-stat__num { display: block; font-family: var(--font-heading); font-size: 64px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.cp-stat__label { display: block; font-size: 15px; line-height: 1.4; margin-top: 12px; }

/* Split */
.cp-split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.cp-split__media img { width: 100%; height: auto; border-radius: 32px; display: block; }
.cp-split__text .s-label__text { display: block; margin-bottom: 14px; }
.cp-split__text p { font-size: 17px; line-height: 1.6; color: var(--color-contrast-medium); margin: 0 0 24px; }
.cp-checks { list-style: none; padding: 0; margin: 0; }
.cp-checks li { position: relative; padding: 12px 0 12px 34px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.cp-checks li::before { content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: #FFDE59 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%231b1b1b'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* Modal */
.cp-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cp-modal[hidden] { display: none; }
.cp-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(6px); }
.cp-modal__box { position: relative; width: min(1200px, 100%); max-height: 100%; overflow: auto; }
.cp-modal__top { display: flex; justify-content: space-between; align-items: center; color: #fff; margin-bottom: 14px; padding: 0 6px; }
.cp-modal__title { font-size: 20px; font-weight: 600; }
.cp-modal__close { width: 46px; height: 46px; border-radius: 50%; border: 0; background: #FFDE59; color: #1b1b1b; font-size: 28px; line-height: 1; cursor: pointer; }
.cp-flip--modal { padding-top: 30px; }
.cp-flip--modal .cp-flip__stage { max-width: min(1100px, calc((100vh - 230px) * 1.414)); min-height: 0; }
html.cp-lock, html.cp-lock body { overflow: hidden; }

@media (max-width: 1024px) {
    .cp-hero { grid-template-columns: 1fr; padding: 50px 36px; }
    .cp-pack-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .cp-pack.is-popular { transform: none; }
    .cp-stats__grid { grid-template-columns: repeat(2, 1fr); }
    .cp-split__inner { grid-template-columns: 1fr; gap: 40px; }
    .cp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .cp-hero { border-radius: 26px; padding: 36px 22px; gap: 30px; }
    .cp-ticker { margin-top: 70px; padding: 18px 0; }
    .cp-ticker__row span { font-size: 32px; }
    .cp-ticker__row img { width: 46px; height: 46px; }
    .cp-flip { padding: 26px 12px 18px; border-radius: 22px; }
    .cp-flip__stage { min-height: 300px; }
    .cp-flip--modal .cp-flip__stage { max-width: 100%; }
    .cp-grid { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
    .cp-cover__name { font-size: 17px; margin-top: 12px; }
    .cp-cover__meta { font-size: 13px; }
    .cp-cover__open { display: none; }
    .cp-stats__inner { padding: 44px 24px; border-radius: 26px; }
    .cp-stats__head { flex-direction: column; align-items: flex-start; }
    .cp-stat__num { font-size: 42px; }
    h2.title-48 { font-size: 34px; }
    .cp-pack { padding: 40px 24px 28px; }
    .cp-modal { padding: 10px; }
}

.cp-page { background: #fff; overflow: hidden; }
.cp-page img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; user-select: none; }

/* Cloudly theme adjustments */
.cp-lead { color: rgba(255,255,255,.75); max-width: 640px; margin: 18px auto 0; }
.cp-lead--dark { color: var(--pp-text); }
.cp-featured .cp-flip { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); position: relative; z-index: 2; }
.cp-featured .container { position: relative; z-index: 2; }
.cp-gallery .cp-cover__name { color: var(--pp-header); font-family: "DM Sans", sans-serif; }
.cp-gallery .cp-cover__meta { color: var(--pp-text); }
.cp-gallery .cp-cover__open { background: linear-gradient(270deg, #A121CA 0%, #7B1FE4 100%); color: #fff; }
.cp-flip__btn:hover { background: linear-gradient(270deg, #A121CA 0%, #7B1FE4 100%); color: #fff; border-color: transparent; }
.cp-modal__close { background: linear-gradient(270deg, #A121CA 0%, #7B1FE4 100%); color: #fff; }
.cp-mockup img, .cp-split-img img { width: 100%; height: auto; border-radius: 24px; display: block; position: relative; z-index: 1; }
.cp-mockup .pp-blur-shape { z-index: 0; }

/* Website flipbooks sit on the wooden table too */
.cp-flip, .cp-featured .cp-flip {
    border: 0;
    background-color: #c9a06c !important;
    background-image: radial-gradient(ellipse at 50% 45%, rgba(255,240,215,.18) 0%, rgba(0,0,0,0) 55%, rgba(40,20,5,.38) 100%), url("../img/flipbook-table.webp") !important;
    background-size: cover, cover !important;
    background-position: center, center !important;
}
.cp-flip__btn { background: rgba(26,25,46,.62); border-color: rgba(26,25,46,.25); }
.cp-flip__count { background: rgba(26,25,46,.62); border-radius: 30px; padding: 11px 12px; }
.cp-flip__loading { color: #3a2410; font-weight: 600; }
