@import url("/fonts/montserrat.css?v=20260724-all1");

.pt-page {
    min-height: 100svh;
}

.pt-content {
    padding: 34px 5% 0;
}

.pt-content .section-block {
    margin-top: var(--section-space, 0);
    padding: 34px 0;
}

.pt-content .section-type-normal {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.pt-content .section-type-normal .section-text {
    text-align: center;
}

.pt-hero {
    padding: 24px 0 10px;
}

.pt-hero-inner {
    width: min(980px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(110px, 180px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(20px, 5vw, 56px);
}

.pt-hero-inner.image-position-right {
    grid-template-columns: minmax(0, 1fr) minmax(110px, 180px);
}

.pt-hero-inner.image-position-top,
.pt-hero-inner.image-position-bottom {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
}

.pt-hero-inner.image-position-right .pt-hero-icon-link,
.pt-hero-inner.image-position-bottom .pt-hero-icon-link {
    order: 2;
}

.pt-hero-inner.image-position-right .pt-hero-copy,
.pt-hero-inner.image-position-bottom .pt-hero-copy {
    order: 1;
}

.pt-hero-icon-link {
    display: inline-flex;
    border-radius: 22px;
    text-decoration: none;
}

.pt-hero-icon-link:focus-visible,
.pt-hero-title-link:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 6px;
}

.pt-hero-icon {
    width: 96px;
    aspect-ratio: 1;
    border-radius: 22px;
    box-shadow: 0 0 34px rgba(0, 0, 0, 0.45);
}

.pt-hero-title-link {
    display: inline-block;
    text-decoration: none;
}

.pt-hero-copy h1 {
    margin: 0 0 12px;
    font-family: var(--font-brand);
    font-size: var(--header-size, 3rem);
    line-height: 1.02;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    overflow-wrap: anywhere;
}

.pt-hero-copy p {
    max-width: 620px;
    margin: 0 0 22px;
    color: var(--text-muted);
    font-size: var(--text-size, 1.1rem);
}

.pt-page .section-type-cube-prototype {
    padding-top: 12px;
}

.pt-page .section-type-down-arrows {
    padding: 0;
}

.pt-page .skimmiq-cube-prototype {
    max-width: 1040px;
}

.pt-page .skimmiq-cube-prototype-copy p {
    max-width: min(620px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.pt-page .skimmiq-cube-config {
    width: min(700px, calc(100% - 28px));
    margin: 18px auto 12px;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
}

.pt-page .skimmiq-cube-control-group {
    min-width: 0;
}

.pt-page .skimmiq-cube-control-label {
    display: block;
    margin: 0 0 6px;
    color: var(--text-muted);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

.pt-page .skimmiq-cube-choice-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.pt-page .skimmiq-cube-choice,
.pt-page .skimmiq-cube-expanded-toggle {
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--text-color);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 800;
}

.pt-page .skimmiq-cube-choice {
    min-width: 42px;
    padding: 8px 12px;
    cursor: pointer;
}

.pt-page .skimmiq-cube-choice-layout {
    position: relative;
    width: 91px;
    height: 110px;
    padding: 5px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pt-page .skimmiq-cube-choice-wide {
    min-width: 88px;
}

.pt-page .skimmiq-cube-choice-icon {
    display: block;
    width: 100%;
    height: calc(100% - 19px);
    min-height: 0;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.32));
}

.pt-page .skimmiq-cube-choice-brand-name {
    display: block;
    flex: 0 0 19px;
    max-width: 100%;
    overflow: hidden;
    color: var(--text-color);
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 19px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pt-page .skimmiq-cube-choice-screen-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.pt-page .skimmiq-cube-choice:hover,
.pt-page .skimmiq-cube-choice:focus-visible {
    border-color: var(--accent-color);
    outline: none;
}

.pt-page .skimmiq-cube-choice.is-active,
.pt-page .skimmiq-cube-expanded-toggle.is-active {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(70, 223, 244, 0.26), rgba(255, 230, 111, 0.18));
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(70, 223, 244, 0.28), 0 12px 30px rgba(0, 0, 0, 0.22);
}

.pt-page .skimmiq-cube-expanded-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    justify-self: center;
    white-space: nowrap;
}

.pt-page .skimmiq-cube-expanded-toggle input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-color);
}

.pt-page .skimmiq-cube-config-summary {
    grid-column: 1 / -1;
    min-height: 20px;
    color: var(--text-muted);
    font-size: 0.88rem;
    text-align: center;
}

.pt-page .skimmiq-cube-stage {
    width: min(1040px, calc(100% - 28px));
    height: min(62svh, 620px);
    min-height: 480px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
    box-shadow: inset 0 0 0 1px rgba(70, 223, 244, 0.08), 0 18px 44px rgba(0, 0, 0, 0.18);
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior: contain;
}

.pt-page .skimmiq-cube-stage canvas {
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.pt-page .skimmiq-cube-auto-reset {
    width: min(620px, calc(100% - 28px));
    margin: 14px auto 0;
    padding: 18px;
    display: grid;
    justify-items: center;
    gap: 8px;
    border: 1px solid rgba(70, 223, 244, 0.3);
    border-radius: 16px;
    background:
        linear-gradient(135deg, rgba(255, 54, 171, 0.11), rgba(70, 223, 244, 0.09)),
        rgba(8, 16, 30, 0.9);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.26);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.98rem;
    line-height: 1.45;
    text-align: center;
}

.pt-page .skimmiq-cube-auto-reset[hidden] {
    display: none;
}

.pt-page .skimmiq-cube-auto-reset strong {
    color: var(--text-color);
    font-family: var(--font-brand);
    font-size: 1.12rem;
}

.pt-page .skimmiq-cube-auto-reset-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
}

.pt-page .skimmiq-cube-auto-reset-actions a {
    min-width: 154px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
    background: linear-gradient(110deg, #f5369f, #2a9ff2);
    color: #ffffff;
    font-family: var(--font-brand);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.pt-page .skimmiq-cube-auto-reset-actions a:hover,
.pt-page .skimmiq-cube-auto-reset-actions a:focus-visible {
    border-color: rgba(255, 255, 255, 0.72);
    outline: none;
    box-shadow: 0 0 0 3px rgba(70, 223, 244, 0.16);
}

.pt-page .skimmiq-cube-auto-reset small {
    color: var(--accent-color);
    font-size: 0.8rem;
}

.pt-footer {
    min-height: 0;
    padding: 26px 5% max(34px, env(safe-area-inset-bottom) + 24px);
}

.pt-footer .download-section {
    padding: 0;
}

.pt-footer .download-grid {
    width: min(980px, 100%);
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px;
}

.pt-footer .download-grid.image-position-right {
    grid-template-columns: minmax(0, 1fr) auto;
}

.pt-footer .download-grid.image-position-top,
.pt-footer .download-grid.image-position-bottom {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
}

.pt-footer .download-grid.image-position-right .download-media,
.pt-footer .download-grid.image-position-bottom .download-media {
    order: 2;
}

.pt-footer .download-grid.image-position-right .download-actions,
.pt-footer .download-grid.image-position-bottom .download-actions {
    order: 1;
}

.pt-footer .download-media .app-icon {
    width: 96px;
    border-radius: 22px;
}

.pt-footer .download-grid.image-position-top .store-buttons,
.pt-footer .download-grid.image-position-bottom .store-buttons {
    justify-content: center;
}

.pt-footer .store-buttons {
    justify-content: flex-start;
}

.pt-home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 11px 20px;
    border: 1px solid var(--accent-color);
    border-radius: 999px;
    background: rgba(77, 228, 255, 0.12);
    color: var(--text-color);
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.pt-home-link:hover,
.pt-home-link:focus-visible {
    border-color: #ffffff;
    background: rgba(77, 228, 255, 0.24);
    color: #ffffff;
    outline: none;
    transform: translateY(-1px);
}

@media (max-width: 900px) {
    .pt-hero {
        padding-left: 14px;
        padding-right: 14px;
    }

    .pt-hero-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 18px;
    }

    .pt-hero-copy {
        width: 100%;
        min-width: 0;
    }

    .pt-hero-copy h1 {
        font-size: min(var(--header-size, 2.5rem), 2.45rem);
    }

    .pt-hero-copy p {
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
    }

    .pt-hero .store-buttons {
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    .pt-hero .store-btn {
        width: min(100%, 280px);
        min-width: 0;
    }
}

.pt-error {
    width: min(760px, 100%);
    margin: 80px auto;
    padding: 24px;
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    background: var(--glass-bg);
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 768px) {
    .pt-content {
        padding: 18px 1px 0;
    }

    .pt-content .section-block {
        padding: 24px 0;
    }

    .pt-hero .store-buttons,
    .pt-footer .store-buttons {
        justify-content: center;
    }

    .pt-page .skimmiq-cube-prototype {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .pt-page .skimmiq-cube-prototype-copy {
        padding-left: 14px;
        padding-right: 14px;
    }

    .pt-page .skimmiq-cube-config {
        width: min(520px, calc(100% - 18px));
        margin-bottom: 2px;
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 8px;
    }

    .pt-page .skimmiq-cube-choice-row {
        justify-content: center;
    }

    .pt-page .skimmiq-cube-choice-layout {
        width: 85px;
        height: 104px;
    }

    .pt-page .skimmiq-cube-expanded-toggle {
        justify-self: center;
    }

    .pt-page .skimmiq-cube-stage {
        width: calc(100% - 32px);
        max-width: 520px;
        height: min(52svh, 420px);
        min-height: 320px;
        margin: 0 auto;
        border-radius: 18px;
    }

    .pt-page .skimmiq-cube-auto-reset {
        width: calc(100% - 32px);
        padding: 16px 12px;
    }

    .pt-page .skimmiq-cube-auto-reset-actions {
        width: 100%;
    }

    .pt-page .skimmiq-cube-auto-reset-actions a {
        width: min(100%, 260px);
    }

    .pt-footer {
        padding-left: 14px;
        padding-right: 14px;
        text-align: center;
    }

    .pt-footer .download-grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 16px;
    }
}
