/* CutCraft product page - scoped exclusively to CutCraft. */
body.designic-cutcraft-page {
    background: #F3F7F9;
}
/* Match the actual CineStage product-page header: overlay the hero; no light strip. */
body.designic-cutcraft-page .designic-site-header {
    background: linear-gradient(180deg,rgba(7,12,14,.84),rgba(7,12,14,0)) !important;
    border: 0 !important;
    box-shadow: none !important;
}
body.designic-cutcraft-page .designic-site-header.is-scrolled {
    background: rgba(17,22,23,.96) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}
body.designic-cutcraft-page .designic-site-header .designic-brand,
body.designic-cutcraft-page .designic-site-header .designic-menu-toggle,
body.designic-cutcraft-page .designic-site-header .designic-next-header-contact {
    color: #fff !important;
}
body.designic-cutcraft-page .designic-site-header .designic-primary-nav .designic-menu-list > li > a {
    color: rgba(255,255,255,.83) !important;
}
body.designic-cutcraft-page .designic-site-header .designic-primary-nav .designic-menu-list > li > a:hover {
    color: #fff !important;
}
body.designic-cutcraft-page .designic-custom-logo { filter: brightness(0) invert(1); }
body.designic-cutcraft-page .designic-menu-toggle {
    background: transparent;
    border-color: rgba(255,255,255,.5);
}
body.designic-cutcraft-page .designic-mobile-nav,
body.designic-cutcraft-page .designic-primary-nav .sub-menu {
    background: #1A242A !important;
}
/* When the hero is disabled, preserve room for the site's positioned header. */
body.designic-cutcraft-nohero .designic-site-header { background: #1A242A !important; }
body.designic-cutcraft-nohero .ccft-page { padding-top: var(--designic-header-height,94px); }

/* Exact-black footer; leave every other page's footer untouched. */
body.designic-cutcraft-page .designic-site-footer {
    margin-top: 0;
    background: #000000 !important;
    border-top: 1px solid rgba(255,255,255,.13) !important;
    color: #FFFFFF;
}
body.designic-cutcraft-page .designic-site-footer .designic-footer-brand,
body.designic-cutcraft-page .designic-site-footer p,
body.designic-cutcraft-page .designic-site-footer a {
    color: #FFFFFF !important;
}
body.designic-cutcraft-page .designic-site-footer .designic-back-top b {
    color: #FFFFFF !important;
    border-color: rgba(255,255,255,.34);
    background: transparent;
}
body.designic-cutcraft-page .designic-site-footer .designic-back-top:hover b {
    background: var(--designic-accent);
    border-color: var(--designic-accent);
}

.ccft-page {
    --ccft-page-bg: #F3F7F9;
    --ccft-surface: #FFFFFF;
    --ccft-ink: #22313B;
    --ccft-muted: #5E7180;
    --ccft-accent: #49758C;
    --ccft-hairline: rgba(34,49,59,.14);
    background: var(--ccft-page-bg);
    color: var(--ccft-ink);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    overflow: hidden;
}
.ccft-page, .ccft-page *, .ccft-page *::before, .ccft-page *::after { box-sizing: border-box; }
.ccft-page h1, .ccft-page h2, .ccft-page h3, .ccft-page p, .ccft-page figure { margin: 0; }
.ccft-page h2, .ccft-page h3 { color: var(--ccft-ink); font-family: inherit; }
.ccft-page a { text-decoration: none; }
.ccft-page a:focus-visible, .ccft-page button:focus-visible { outline: 2px solid var(--ccft-accent); outline-offset: 4px; }
.ccft-container { width: min(1140px, calc(100% - 80px)); margin-inline: auto; }
.ccft-section { padding: 82px 0; }
.ccft-eyebrow { font-size: 11px; line-height: 1.5; letter-spacing: .13em; font-weight: 760; color: var(--ccft-accent); margin-bottom: 15px !important; text-transform: uppercase; }
.ccft-eyebrow--light { color: #DAE6ED; }
.ccft-page h2 { font-size: clamp(24px,2.35vw,29px); line-height: 1.26; letter-spacing: -.025em; font-weight: 710; }
.ccft-page h3 { font-size: 17px; line-height: 1.38; font-weight: 680; letter-spacing: -.015em; }
.ccft-page p { font-size: 15px; line-height: 1.8; }

/* Single background image only. No foreground product image. */
.ccft-hero { position: relative; isolation: isolate; min-height: var(--ccft-hero-height,580px); background: #192126; }
.ccft-hero-scene { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ccft-hero-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--ccft-bg,none);
    background-position: var(--ccft-bg-position,center center);
    background-size: cover;
    background-repeat: no-repeat;
}
.ccft-hero-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(10,17,22,.35) 0%,transparent 80%),rgba(13,19,23,var(--ccft-overlay,.68));
}
.ccft-hero-inner { padding-top: clamp(145px, 13vw, 185px); padding-bottom: 72px; min-height: var(--ccft-hero-height,580px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.ccft-page .ccft-hero h1 { max-width: 690px; color: #fff; font-size: clamp(34px,3.75vw,47px); letter-spacing: -.035em; line-height: 1.14; font-weight: 760; margin-bottom: 17px; }
.ccft-page .ccft-hero-subtitle { color: #fff; font-size: clamp(19px,1.9vw,23px); line-height: 1.45; font-weight: 600; max-width: 670px; letter-spacing: -.012em; }
.ccft-page .ccft-hero-description { max-width: 660px; color: #ECF1F3; margin-top: 17px; font-size: 15px; line-height: 1.85; }
.ccft-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 26px; }
.ccft-page .ccft-button { background: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 46px; padding: 12px 19px; border: 0; border-radius: 10px; font-size: 12px; font-weight: 760; letter-spacing: .035em; line-height: 1.25; transition: transform .17s ease, background .17s ease; }
.ccft-page a.ccft-button:hover { transform: translateY(-2px); }
.ccft-page .ccft-button--primary { background: #fff; color: #18252D; }
.ccft-page a.ccft-button--primary:hover { background: #DDEBF2; color: #18252D; }
.ccft-page .ccft-button--secondary { color: #fff; background: #3D667D; }
.ccft-page a.ccft-button--secondary:hover { background: #4C7F9B; color: #fff; }
.ccft-page .ccft-button--disabled { opacity: .6; cursor: not-allowed; }
.ccft-page .ccft-hero-note { margin-top: 12px; font-size: 12px; line-height: 1.55; color: #D4DFE5; }
.ccft-hero-meta { margin-top: 36px; display: flex; gap: 13px 22px; flex-wrap: wrap; }
.ccft-hero-meta span { font-size: 10px; color: #E3EBEE; font-weight: 720; letter-spacing: .09em; line-height: 1.5; }

/* Information that matters, without decorative hero-like slabs. */
.ccft-overview { background: var(--ccft-surface); }
.ccft-feature-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.06fr); gap: clamp(46px,7vw,100px); align-items: start; }
.ccft-feature-intro { max-width: 505px; }
.ccft-feature-intro h2 { margin-bottom: 17px; }
.ccft-page .ccft-section-lead { color: var(--ccft-muted); font-size: 15px; line-height: 1.88; }
.ccft-shape-summary { margin-top: 30px; }
.ccft-shape-summary > div { border-top: 1px solid var(--ccft-hairline); padding: 14px 0; }
.ccft-shape-summary strong { display: block; font-size: 12px; color: var(--ccft-ink); margin-bottom: 6px; }
.ccft-shape-summary p { color: var(--ccft-muted); font-size: 12px; line-height: 1.85; }
.ccft-feature-row { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 14px; padding: 17px 0 21px; border-top: 1px solid var(--ccft-hairline); }
.ccft-feature-row:first-child { padding-top: 6px; border-top: 0; }
.ccft-feature-number { font-size: 11px; font-weight: 780; color: var(--ccft-accent); }
.ccft-feature-row h3 { margin-bottom: 6px; }
.ccft-feature-row p { color: var(--ccft-muted); font-size: 14px; line-height: 1.72; }

/* One selected screenshot + compact, navigable thumbnails. */
.ccft-showcase { background: var(--ccft-page-bg); }
.ccft-section-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.93fr); gap: 50px; align-items: end; margin-bottom: 27px; }
.ccft-section-head > p { max-width: 475px; font-size: 14px; color: var(--ccft-muted); line-height: 1.83; }
.ccft-showcase-body { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr); background: var(--ccft-surface); border-radius: 15px; overflow: hidden; box-shadow: 0 9px 36px rgba(19,37,48,.055); }
.ccft-screen-holder { padding: 21px; min-width: 0; position: relative; }
.ccft-screen-stage { background: #1B2228; width: 100%; aspect-ratio: 16 / 9; min-height: 220px; border-radius: 9px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ccft-screen-stage img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.ccft-expand { position: absolute; right: 31px; bottom: 31px; background: #fff; color: #22313B; font-size: 10px; letter-spacing: .04em; font-weight: 780; border: 0; border-radius: 7px; padding: 9px 12px; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,.13); }
.ccft-expand:hover { background: #E3EBEF; }
.ccft-screen-info { padding: 24px 30px 28px 7px; display: flex; flex-direction: column; min-width: 0; }
.ccft-screen-count { display: block; font-size: 11px; font-weight: 760; color: var(--ccft-accent); letter-spacing: .09em; margin-bottom: 17px; }
.ccft-screen-info h3 { margin-bottom: 10px; }
.ccft-screen-info > p { color: var(--ccft-muted); font-size: 13px; line-height: 1.8; min-height: 65px; }
.ccft-thumbnail-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: auto; padding-top: 21px; }
.ccft-thumb { position: relative; min-width: 0; display: block; height: 70px; padding: 4px; border: 1px solid #D7E0E5; background: #EDF2F4; border-radius: 8px; cursor: pointer; overflow: hidden; }
.ccft-thumb.is-selected { border: 2px solid var(--ccft-accent); padding: 3px; }
.ccft-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ccft-thumb > span { position: absolute; right: 5px; bottom: 5px; background: #1A2730; color: #fff; padding: 2px 4px; border-radius: 3px; font-size: 9px; line-height: 1; }
.ccft-thumb:hover { background: #DDE8EE; }

/* Simple installation and compatibility. */
.ccft-setup { background: var(--ccft-surface); }
.ccft-setup-grid { display: grid; grid-template-columns: minmax(0,1.16fr) minmax(0,.84fr); gap: 55px; align-items: start; }
.ccft-install-step { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--ccft-hairline); }
.ccft-install-step > span { font-size: 12px; font-weight: 800; color: var(--ccft-accent); }
.ccft-install-step h3 { margin-bottom: 7px; }
.ccft-install-step p { font-size: 14px; color: var(--ccft-muted); }
.ccft-compat { padding: 24px 27px; background: var(--ccft-page-bg); border-radius: 13px; }
.ccft-compat-pair { display: flex; align-items: start; justify-content: space-between; gap: 18px; border-top: 1px solid var(--ccft-hairline); padding: 12px 0; }
.ccft-compat-pair span { color: var(--ccft-muted); font-size: 12px; }
.ccft-compat-pair strong { color: var(--ccft-ink); font-size: 12px; font-weight: 650; text-align: right; }
.ccft-compat > p:not(.ccft-eyebrow) { color: var(--ccft-muted); font-size: 13px; line-height: 1.8; margin-top: 7px; }
.ccft-compat .ccft-actions { margin-top: 21px; }
.ccft-compat .ccft-button--primary { background: #253B49; color: #fff; }
.ccft-compat a.ccft-button--primary:hover { background: #426A81; color: #fff; }
.ccft-compat .ccft-button--secondary { background: #DDEAF1; color: #263F50; }
.ccft-compat a.ccft-button--secondary:hover { background: #CFDFE8; color: #263F50; }
.ccft-scope-note { font-size: 12px !important; color: var(--ccft-muted); max-width: 900px; margin-top: 21px !important; }

/* Full-size viewer: only opens when the visitor requests it. */
.ccft-lightbox { margin: auto; width: min(1170px, calc(100% - 28px)); max-width: 1170px; max-height: calc(100dvh - 30px); border: 0; border-radius: 13px; background: #151E24; color: #fff; padding: 16px; box-shadow: 0 20px 75px rgba(0,0,0,.5); overflow: auto; }
.ccft-lightbox::backdrop { background: rgba(7,11,14,.89); }
.ccft-lightbox[open] { display: flex; flex-direction: column; gap: 13px; }
.ccft-lightbox-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #DAE4E9; font-size: 13px; }
.ccft-lightbox-close { background: #2B3B47; border: 0; color: #fff; cursor: pointer; border-radius: 8px; font-size: 25px; width: 36px; height: 36px; line-height: 1; }
.ccft-lightbox-image { display: block; width: auto; height: auto; max-height: calc(100dvh - 169px); max-width: 100%; object-fit: contain; margin: auto; }
.ccft-lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #D4E2E9; font-size: 11px; }
.ccft-lightbox-controls button { border: 0; background: #2B3B47; color: #fff; cursor: pointer; padding: 10px 12px; border-radius: 7px; font-size: 10px; font-weight: 750; letter-spacing: .025em; }
.ccft-lightbox-controls button:hover, .ccft-lightbox-close:hover { background: #42677D; }

@media (max-width: 1050px) {
    .ccft-feature-layout { gap: 44px; }
    .ccft-showcase-body { grid-template-columns: minmax(0,1fr) minmax(0,.9fr); }
    .ccft-screen-info { padding-right: 22px; }
}
@media (max-width: 800px) {
    .ccft-container { width: calc(100% - 42px); }
    .ccft-section { padding: 66px 0; }
    .ccft-hero-scene::before { background-position: var(--ccft-bg-position-mobile,center center); }
    .ccft-hero-inner { padding-top: 132px; padding-bottom: 64px; min-height: 530px; }
    .ccft-feature-layout, .ccft-section-head, .ccft-setup-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .ccft-section-head { margin-bottom: 23px; }
    .ccft-showcase-body { grid-template-columns: minmax(0,1fr); }
    .ccft-screen-holder { padding: 15px 15px 6px; }
    .ccft-screen-stage { min-height: 0; }
    .ccft-screen-info { padding: 12px 21px 24px; }
    .ccft-screen-info > p { min-height: 0; }
    .ccft-thumbnail-list { grid-template-columns: repeat(6, minmax(75px,1fr)); overflow-x: auto; gap: 8px; margin-top: 16px; padding: 0 1px 3px; }
    .ccft-thumb { height: 60px; }
    .ccft-expand { right: 24px; bottom: 14px; }
    .ccft-compat { padding: 21px; }
}
@media (max-width: 440px) {
    .ccft-container { width: calc(100% - 32px); }
    .ccft-page .ccft-hero h1 { font-size: 34px; }
    .ccft-page .ccft-hero-subtitle { font-size: 19px; }
    .ccft-hero-meta { margin-top: 26px; gap: 9px 15px; }
    .ccft-actions { gap: 10px; }
    .ccft-page .ccft-button { padding: 11px 13px; font-size: 11px; min-height: 43px; }
    .ccft-screen-info { padding-inline: 15px; }
    .ccft-compat .ccft-actions { flex-direction: column; align-items: stretch; }
    .ccft-compat .ccft-button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .ccft-page .ccft-button { transition: none; } }
