/**
 * Pagina prodotto — layout premium, token da page.css + tema chiaro.
 * Prezzi: usare .price-block (prezzo originale → nostro prezzo + % risparmio) per nuove schede.
 * Responsive: preferire @container (main `pp`, dettagli `pp-details`) al posto delle breakpoint viewport, salvo prefers-reduced-motion.
 */

/**
 * Full-width: usa tutta la viewport con “gutter” fluido (mai attaccato ai bordi).
 * max-width none; su schermi enormi il ritmo resta dai clamp e dalla misura in ch del corpo.
 */
main.product-page {
    --pp-gutter: clamp(1.25rem, 4vw + 0.75rem, 5.5rem);
    max-width: none;
    margin: 0 auto;
    padding-top: 0;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
    padding-left: max(var(--pp-gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--pp-gutter), env(safe-area-inset-right, 0px));
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
    isolation: isolate;
    overflow-x: hidden;
    flex: 1;
    /* Container queries: il layout risponde alla larghezza reale del main, non solo alla viewport */
    container-type: inline-size;
    container-name: pp;
}

.product-page {
    --pp-success: #10b981;
    --pp-warning: #f59e0b;
    --pp-accent-hover: #60a5fa;
}

html[data-theme="light"] .product-page {
    --pp-accent-hover: #2563eb;
}

.product-page * {
    box-sizing: border-box;
}

.product-page .page-glow-top {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(900px, 90vw);
    height: 600px;
    background: radial-gradient(
        circle,
        color-mix(in srgb, var(--page-accent) 22%, transparent) 0%,
        transparent 60%
    );
    transform: translate(-50%, -30%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
}

.product-page .breadcrumbs {
    position: relative;
    z-index: 1;
    padding: 1.5rem 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--page-text-muted);
    flex-wrap: wrap;
}

.product-page .breadcrumbs a {
    color: var(--page-text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-page .breadcrumbs a:hover {
    color: var(--page-text);
}

.product-page .breadcrumbs span.sep {
    color: var(--page-text-muted);
    user-select: none;
}

.product-page .product-header {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.product-page .product-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-page .badge {
    padding: 0.4rem 0.8rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-page .badge.bestseller {
    background: rgba(245, 158, 11, 0.12);
    color: var(--pp-warning);
    border: 1px solid rgba(245, 158, 11, 0.25);
}

.product-page .badge.digital {
    background: color-mix(in srgb, var(--page-accent) 14%, transparent);
    color: var(--pp-accent-hover);
    border: 1px solid color-mix(in srgb, var(--page-accent) 28%, transparent);
}

.product-page .product-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--page-text);
    margin: 0;
}

.product-page .product-desc-short {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--page-text-secondary);
    font-weight: 500;
    max-width: min(65ch, 100%);
    margin: 0;
}

.product-page .product-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding: 0 0 3rem;
    align-items: stretch;
}

@container pp (min-width: 720px) {
    .product-page .product-hero {
        grid-template-columns: minmax(0, 1.35fr) minmax(min(100%, 300px), 0.95fr);
        gap: clamp(2rem, 4vw, 5rem);
    }
}

.product-page .product-gallery {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: clamp(1.75rem, 4vw, 3.25rem) clamp(1.25rem, 3vw, 2.5rem);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.015) 100%);
    border: 1px solid var(--page-border);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    min-height: clamp(260px, 36vw, 520px);
}

.product-page .product-cover-img {
    width: 100%;
    max-width: min(520px, 100%);
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

@keyframes product-float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes product-shine {
    0%,
    70% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

.product-page .software-mockup {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #eb3c00 0%, #ff7300 100%);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(235, 60, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 0 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: product-float 6s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.product-page .software-mockup::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-25deg);
    animation: product-shine 8s infinite;
}

@media (prefers-reduced-motion: reduce) {
    .product-page .software-mockup {
        animation: none;
    }

    .product-page .software-mockup::after {
        animation: none;
        display: none;
    }
}

.product-page .mockup-logo svg {
    width: 72px;
    height: 72px;
    fill: #ffffff;
    margin-bottom: 1rem;
}

.product-page .mockup-title {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.45rem;
    text-align: center;
    line-height: 1.2;
}

.product-page .mockup-sub {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-page .pricing-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--page-border);
    border-radius: 24px;
    padding: clamp(1.75rem, 3vw, 2.75rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    height: 100%;
}

.product-page .price-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/**
 * Blocco prezzi riutilizzabile (pagine prodotto):
 * riga 1 = prezzo di listino / originale · riga 2 = prezzo offerta + % risparmio.
 */
.product-page .price-block {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    background: color-mix(in srgb, var(--page-text) 4%, transparent);
    border: 1px solid var(--page-border);
}

.product-page .price-block__row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.product-page .price-block__row--original {
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed color-mix(in srgb, var(--page-text-muted) 35%, transparent);
}

.product-page .price-block__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--page-text-muted);
}

.product-page .price-block__msrp {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--page-text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.product-page .price-block__row--offer .price-block__label {
    color: var(--page-text-secondary);
}

.product-page .price-block__offer-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.65rem 0.85rem;
}

.product-page .price-block__sale {
    font-size: clamp(2.35rem, 4.5vw, 3.35rem);
    font-weight: 800;
    color: var(--page-text);
    line-height: 1;
    letter-spacing: -0.03em;
}

.product-page .price-block__save {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 800;
    background: rgba(16, 185, 129, 0.16);
    color: var(--pp-success);
    border: 1px solid rgba(16, 185, 129, 0.35);
    white-space: nowrap;
}

html[data-theme='light'] .product-page .price-block__save {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.28);
}

.product-page .tax-info {
    font-size: 0.85rem;
    color: var(--page-text-muted);
    font-weight: 500;
}

.product-page .action-buttons {
    display: grid;
    gap: 1rem;
}

.product-page .btn-primary,
.product-sticky-cta .btn-primary {
    background: linear-gradient(135deg, var(--page-accent) 0%, #2563eb 100%);
    color: #ffffff;
    border: none;
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--page-accent) 35%, transparent);
}

.product-page .btn-primary:hover,
.product-sticky-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px color-mix(in srgb, var(--page-accent) 45%, transparent);
}

.product-page .btn-primary:focus-visible,
.product-sticky-cta .btn-primary:focus-visible {
    outline: 2px solid var(--page-accent);
    outline-offset: 3px;
}

.product-page .btn-primary svg,
.product-sticky-cta .btn-primary svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.product-page .trust-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--page-border);
    padding-top: 1.75rem;
}

.product-page .trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--page-text-secondary);
}

.product-page .trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--pp-success);
    flex-shrink: 0;
}

.product-page .details-section {
    padding-top: 3.5rem;
    padding-bottom: 3rem;
    position: relative;
    z-index: 1;
    container-type: inline-size;
    container-name: pp-details;
}

.product-page .tabs-header {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--page-border);
    margin-bottom: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.product-page .tabs-header::-webkit-scrollbar {
    display: none;
}

.product-page .tab-btn {
    background: none;
    border: none;
    padding: 0.85rem 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    color: var(--page-text-muted);
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.product-page .tab-btn:hover {
    color: var(--page-text);
}

.product-page .tab-btn.active {
    color: var(--pp-accent-hover);
}

.product-page .tab-btn:focus-visible {
    outline: 2px solid var(--pp-accent-hover);
    outline-offset: 2px;
    border-radius: 4px;
}

.product-page .tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--pp-accent-hover);
    border-radius: 2px 2px 0 0;
}

.product-page .tab-panel[hidden] {
    display: none;
}

.product-page .tab-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.75rem, 2.5vw, 2.5rem);
    align-items: start;
}

@container pp-details (min-width: 720px) {
    .product-page .tab-content {
        grid-template-columns: minmax(0, 2fr) minmax(min(100%, 280px), 1fr);
        gap: clamp(2rem, 3vw, 4rem);
    }
}

/* Leggibilità: il corpo lungo non diventa una riga infinita su ultra-wide */
.product-page .tab-content .rich-text {
    max-width: min(72ch, 100%);
}

.product-page .rich-text h2 {
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    color: var(--page-text);
}

.product-page .rich-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--page-text-secondary);
    margin: 0 0 1.25rem;
    font-weight: 500;
}

.product-page .rich-text ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin: 0 0 1.75rem;
    padding: 0;
}

.product-page .rich-text li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--page-text-secondary);
    font-weight: 500;
    line-height: 1.5;
}

.product-page .rich-text li::before {
    content: '✓';
    color: var(--pp-success);
    font-weight: 800;
    font-size: 1.05rem;
    flex-shrink: 0;
}

.product-page .req-box {
    background: color-mix(in srgb, var(--page-text) 6%, var(--page-bg));
    border: 1px solid var(--page-border);
    border-radius: 16px;
    padding: 1.75rem;
    height: max-content;
}

.product-page .req-box h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--page-text);
}

.product-page .req-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.1rem;
}

.product-page .req-item:last-child {
    margin-bottom: 0;
}

.product-page .req-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--page-text-muted);
    text-transform: uppercase;
}

.product-page .req-val {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--page-text-secondary);
}

/* Compattezza quando il contenitore pagina è stretto (sidebar, mobile, finestra ridotta) */
@container pp (max-width: 479px) {
    .product-page .product-header {
        margin-bottom: 2rem;
    }

    .product-page .product-gallery {
        padding: 1.5rem 1rem;
        min-height: 240px;
    }

    .product-page .software-mockup {
        max-width: 220px;
    }

    .product-page .pricing-card {
        padding: 1.5rem;
        border-radius: 18px;
    }

    .product-page .btn-primary,
    .product-sticky-cta .btn-primary {
        padding: 1rem;
        font-size: 1rem;
    }
}

/* Tema chiaro: superfici e bordi prodotto */
html[data-theme='light'] .product-page .product-gallery {
    background: #ffffff;
    background-image: linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme='light'] .product-page .pricing-card {
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme='light'] .product-page .price-block {
    background: #f6f7f9;
    border-color: rgba(0, 0, 0, 0.08);
}

html[data-theme='light'] .product-page .price-block__row--original {
    border-bottom-color: rgba(0, 0, 0, 0.12);
}

html[data-theme='light'] .product-page .req-box {
    background: #f8f9fb;
    border-color: rgba(0, 0, 0, 0.08);
}

/* --- Barra acquisto sticky (sotto header; top da JS: --aml-header-offset) --- */
.product-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--aml-header-offset, 88px);
    z-index: 900;
    /* Stessi gutter della scheda prodotto (la barra è fuori da main.product-page). */
    --pp-gutter: clamp(1.25rem, 4vw + 0.75rem, 5.5rem);
    --pp-success: #10b981;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.28s ease,
        box-shadow 0.28s ease;
    background: linear-gradient(
        180deg,
        color-mix(in srgb, var(--page-text) 6%, var(--page-bg)) 0%,
        color-mix(in srgb, var(--page-text) 2.5%, var(--page-bg)) 100%
    );
    backdrop-filter: blur(20px) saturate(1.12);
    -webkit-backdrop-filter: blur(20px) saturate(1.12);
    border-bottom: 1px solid var(--page-border);
    box-shadow: none;
    border-top: 1px solid color-mix(in srgb, var(--page-border) 70%, transparent);
}

.product-sticky-cta.product-sticky-cta--visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow:
        0 1px 0 color-mix(in srgb, var(--page-accent) 18%, transparent),
        0 16px 36px rgba(0, 0, 0, 0.28);
    border-top-color: color-mix(in srgb, var(--page-accent) 22%, transparent);
}

.product-sticky-cta__inner {
    max-width: min(1200px, 100%);
    margin: 0 auto;
    min-height: 56px;
    padding: 0.6rem max(var(--pp-gutter), env(safe-area-inset-right, 0px)) 0.65rem
        max(var(--pp-gutter), env(safe-area-inset-left, 0px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-sticky-cta__title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--page-text);
    letter-spacing: -0.02em;
    line-height: 1.25;
    min-width: 0;
    flex: 1 1 140px;
}

@media (min-width: 641px) {
    .product-sticky-cta__title {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.product-sticky-cta__prices {
    display: inline-flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-shrink: 0;
    padding: 0.4rem 0.85rem;
    border-radius: 12px;
    background: color-mix(in srgb, var(--page-text) 4%, var(--page-bg));
    border: 1px solid var(--page-border);
}

.product-sticky-cta__msrp {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--page-text-muted);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.product-sticky-cta__sale {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--page-text);
    letter-spacing: -0.03em;
    line-height: 1;
}

.product-sticky-cta .btn-primary {
    padding: 0.75rem 1.2rem;
    font-size: 0.95rem;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .product-sticky-cta__title {
        flex: 1 1 100%;
        order: -1;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-sticky-cta {
        transition: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .product-sticky-cta .btn-primary,
    .product-sticky-cta .btn-primary:hover {
        transition: none;
        transform: none;
    }
}

html[data-theme='light'] .product-sticky-cta {
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--page-bg) 55%, #ffffff) 100%);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    border-top-color: rgba(0, 0, 0, 0.06);
}

html[data-theme='light'] .product-sticky-cta.product-sticky-cta--visible {
    box-shadow:
        0 1px 0 color-mix(in srgb, var(--page-accent) 14%, transparent),
        0 14px 34px rgba(0, 0, 0, 0.09);
    border-top-color: color-mix(in srgb, var(--page-accent) 22%, transparent);
}

html[data-theme='light'] .product-sticky-cta__prices {
    background: #f6f7f9;
    border-color: rgba(0, 0, 0, 0.08);
}

.product-page .btn-primary.is-added,
.product-sticky-cta .btn-primary.is-added {
    background: linear-gradient(135deg, var(--pp-success) 0%, #059669 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
}

.product-page .btn-primary.is-added:hover,
.product-sticky-cta .btn-primary.is-added:hover {
    transform: none;
    filter: brightness(1.03);
}

/* --- Sezioni extra (benefici, app, storie, specifiche, FAQ) --- */
.product-section-eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--page-text-muted);
    margin: 0 0 1rem;
}

.product-section-h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--page-text);
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.product-inline-benefits {
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 4vw, 3rem) 0;
    border-top: 1px solid var(--page-border);
}

.product-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: min(65ch, 100%);
}

.product-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--page-text-secondary);
    font-weight: 600;
}

.product-checklist li::before {
    content: '';
    width: 1.35rem;
    height: 1.35rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--pp-success) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--pp-success) 40%, transparent);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 0.85rem;
    background-repeat: no-repeat;
    background-position: center;
}

.product-process-steps {
    position: relative;
    z-index: 1;
    padding: clamp(2rem, 4vw, 3rem) 0;
    border-top: 1px solid var(--page-border);
}

.product-process-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    max-width: min(1100px, 100%);
    margin-inline: auto;
}

@container pp (min-width: 720px) {
    .product-process-steps__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

.product-process-steps__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.2rem 1.25rem;
    border: 1px solid var(--page-border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--page-text) 3.5%, var(--page-bg));
}

.product-process-steps__num {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1;
    background: color-mix(in srgb, var(--page-accent) 16%, transparent);
    color: var(--page-accent);
    border: 1px solid color-mix(in srgb, var(--page-accent) 32%, transparent);
}

.product-process-steps__heading {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--page-text);
}

.product-process-steps__text {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    font-weight: 500;
    color: var(--page-text-secondary);
}

.product-process-steps__text a {
    color: var(--page-accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.product-process-steps__text a:focus-visible {
    outline: 2px solid var(--page-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

html[data-theme='light'] .product-process-steps__item {
    background: #ffffff;
}

.product-apps-band {
    position: relative;
    z-index: 1;
    margin: 0 calc(-1 * max(var(--pp-gutter), env(safe-area-inset-left, 0px)));
    padding: clamp(2.25rem, 4vw, 3.25rem) max(var(--pp-gutter), env(safe-area-inset-right, 0px))
        clamp(2.25rem, 4vw, 3.25rem) max(var(--pp-gutter), env(safe-area-inset-left, 0px));
    border-top: 1px solid var(--page-border);
    border-bottom: 1px solid var(--page-border);
    background: color-mix(in srgb, var(--page-text) 3.5%, var(--page-bg));
}

.product-apps-band__inner {
    max-width: min(1100px, 100%);
    margin: 0 auto;
}

.product-apps-band__title {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--page-text-muted);
    margin: 0 0 2rem;
}

.product-apps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 2.75rem);
}

.product-app-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--page-text-secondary);
    min-width: 4.5rem;
}

.product-app-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: color-mix(in srgb, var(--page-text) 6%, transparent);
    border: 1px solid var(--page-border);
}

.product-app-icon svg {
    width: 26px;
    height: 26px;
}

.product-stories {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 5vw, 4rem);
}

.product-story {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
}

@container pp (min-width: 800px) {
    .product-story {
        grid-template-columns: 1fr 1fr;
        gap: clamp(2rem, 4vw, 4rem);
    }

    .product-story--reverse .product-story__visual {
        order: 1;
    }

    .product-story--reverse .product-story__copy {
        order: 0;
    }
}

.product-story__visual {
    min-height: clamp(200px, 28vw, 320px);
    border-radius: 20px;
    border: 1px solid var(--page-border);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
    display: grid;
    place-items: center;
    padding: 2rem;
}

.product-story__visual svg {
    width: min(120px, 40vw);
    height: auto;
    color: color-mix(in srgb, var(--page-text-muted) 55%, transparent);
}

.product-story__kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--page-accent);
    margin: 0 0 0.75rem;
}

.product-story__copy .product-section-h2 {
    margin-top: 0;
}

.product-story__copy p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--page-text-secondary);
    font-weight: 500;
}

.product-story__copy p + p {
    margin-top: 1rem;
}

.product-specs-band {
    position: relative;
    z-index: 1;
    margin: 0 calc(-1 * max(var(--pp-gutter), env(safe-area-inset-left, 0px)));
    padding: clamp(2.5rem, 5vw, 3.5rem) max(var(--pp-gutter), env(safe-area-inset-right, 0px))
        clamp(2.5rem, 5vw, 3.5rem) max(var(--pp-gutter), env(safe-area-inset-left, 0px));
    background: linear-gradient(165deg, #0c0c0f 0%, #141418 100%);
    color: #fafafa;
    border-top: 1px solid var(--page-border);
    border-bottom: 1px solid var(--page-border);
}

.product-specs-band__title {
    text-align: center;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 clamp(2rem, 4vw, 2.75rem);
}

.product-specs-band__intro {
    text-align: center;
    margin: -1rem auto 2rem;
    max-width: 40rem;
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

.product-specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    max-width: 900px;
    margin: 0 auto;
}

@container pp (min-width: 640px) {
    .product-specs-grid {
        grid-template-columns: 1fr 1fr;
        column-gap: clamp(2rem, 5vw, 4rem);
    }
}

.product-specs-item h3 {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 0.5rem;
}

.product-specs-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.product-faq {
    position: relative;
    z-index: 1;
    padding: clamp(2.5rem, 5vw, 4rem) 0 1rem;
    max-width: min(52rem, 100%);
    margin: 0 auto;
}

.product-faq-intro {
    margin: 0 0 2rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--page-text-secondary);
}

.product-faq details {
    border: 1px solid var(--page-border);
    border-radius: 12px;
    margin-bottom: 0.65rem;
    background: color-mix(in srgb, var(--page-text) 3%, transparent);
    overflow: hidden;
}

.product-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 1.15rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--page-text);
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-faq summary::-webkit-details-marker {
    display: none;
}

.product-faq summary::after {
    content: '+';
    margin-left: auto;
    font-weight: 800;
    color: var(--page-accent);
    font-size: 1.1rem;
    line-height: 1;
}

.product-faq details[open] summary::after {
    content: '−';
}

.product-faq summary:focus-visible {
    outline: 2px solid var(--page-accent);
    outline-offset: -2px;
}

.product-faq .product-faq-body {
    padding: 0 1.15rem 1.15rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--page-text-secondary);
}

.product-faq .product-faq-body a {
    color: var(--page-accent);
    font-weight: 600;
}

html[data-theme='light'] .product-apps-band {
    background: #f4f5f7;
}

html[data-theme='light'] .product-faq details {
    background: #ffffff;
}

html[data-theme='light'] .product-specs-band {
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
}
