/* Product detail page — page-specific styles */

.breadcrumb {
    padding: 28px 0 0;
    font-size: 13.5px;
    color: var(--text-3);
}

.breadcrumb a {
    color: var(--text-2);
}

.breadcrumb a:hover {
    color: var(--navy-900);
}

.product-hero {
    padding: 36px 0 72px;
}

.product-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.product-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.product-badge-new {
    background: var(--blue-500);
    color: #fff;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.product-hero h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
}

.product-hero h1 span {
    color: var(--blue-500);
}

.product-hero .lead {
    font-size: 17px;
    color: var(--text-2);
    margin-bottom: 28px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    gap: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}

.hero-stat .num {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--navy-900);
}

.hero-stat .lbl {
    font-size: 12.5px;
    color: var(--text-2);
    margin-top: 2px;
}

.product-mockup {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(11, 42, 74, .12);
}

.mock-chrome {
    background: #F8F9FB;
    border-bottom: 1px solid var(--line);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.b-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.b-dot:nth-child(1) { background: #FF6058; }
.b-dot:nth-child(2) { background: #FFBD2E; }
.b-dot:nth-child(3) { background: #27C93F; }

.mock-url {
    flex: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 12px;
    color: var(--text-3);
    margin-left: 8px;
}

.mock-screen {
    height: 280px;
    background: linear-gradient(160deg, var(--navy-800), var(--blue-500));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    overflow: hidden;
}

.mock-screen.has-image {
    background: var(--surface);
    padding: 0;
}

.mock-screen-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* For who */
.forwho-section {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 56px;
    margin-bottom: 80px;
}

.forwho-section h2 {
    font-size: 28px;
    margin-bottom: 36px;
}

.forwho-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.forwho-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
}

.forwho-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--navy-900);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.forwho-icon svg {
    width: 18px;
    height: 18px;
    stroke: #fff;
}

.forwho-card h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 7px;
}

.forwho-card p {
    font-size: 13.5px;
    color: var(--text-2);
}

/* Results */
.results-section {
    padding-bottom: 80px;
}

.results-section h2 {
    font-size: 28px;
    margin-bottom: 8px;
}

.results-section .subhead {
    color: var(--text-2);
    font-size: 15.5px;
    margin-bottom: 40px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.result-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.result-item .result-num {
    font-family: 'Manrope', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--blue-500);
    margin-bottom: 10px;
}

.result-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 7px;
}

.result-item p {
    font-size: 13.5px;
    color: var(--text-2);
}

/* Gallery */
.gallery-section {
    padding-bottom: 80px;
}

.gallery-section h2 {
    font-size: 28px;
    margin-bottom: 24px;
}

.gallery-main {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 14px;
}

.gallery-main .mock-screen {
    height: 360px;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.thumb {
    border: 1px solid var(--line);
    border-radius: 10px;
    aspect-ratio: 4 / 3;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    font-size: 12px;
    cursor: pointer;
    transition: border-color .15s;
    overflow: hidden;
    padding: 0;
    font-family: inherit;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb:hover,
.thumb.active {
    border-color: var(--blue-500);
    border-width: 2px;
}

/* Install */
.install-section {
    background: var(--navy-900);
    border-radius: var(--radius-lg);
    padding: 56px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.install-section::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 108, 181, .4), transparent 70%);
}

.install-section h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.install-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    z-index: 1;
}

.install-step {
    padding: 0 20px 0 0;
    position: relative;
}

.install-step:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -2px;
    top: 10px;
    width: 16px;
    height: 16px;
    background-color: #A9BFDA;
    -webkit-mask: url("../icons/arrow-right.svg") center / contain no-repeat;
    mask: url("../icons/arrow-right.svg") center / contain no-repeat;
}

.install-num {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 13px;
    color: var(--blue-500);
    border: 1.5px solid rgba(255, 255, 255, .2);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.install-step h4 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.install-step p {
    font-size: 13px;
    color: #A9BFDA;
}

/* Pricing */
.pricing-section {
    padding-bottom: 80px;
}

.pricing-section h2 {
    font-size: 28px;
    margin-bottom: 36px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pricing-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.pricing-card.featured {
    border-color: var(--blue-500);
    border-width: 2px;
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--blue-500);
    color: #fff;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 700;
}

.pricing-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-2);
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 12px;
}

.pricing-amount {
    font-family: 'Manrope', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.pricing-period {
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 22px;
}

.pricing-includes {
    list-style: none;
    margin-bottom: 24px;
    padding: 0;
}

.pricing-includes li {
    font-size: 14px;
    color: var(--text-1);
    padding-left: 22px;
    position: relative;
    margin-bottom: 10px;
}

.pricing-includes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue-500);
}

.pricing-includes li.no {
    color: var(--text-3);
}

.pricing-includes li.no::before {
    background: var(--line);
}

.pricing-note {
    font-size: 13px;
    color: var(--text-3);
    margin-top: 16px;
}

/* FAQ */
.faq-section {
    padding-bottom: 80px;
    max-width: 800px;
}

.faq-section h2 {
    font-size: 28px;
    margin-bottom: 32px;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-900);
    padding: 18px 0;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
}

.faq-icon {
    font-size: 20px;
    color: var(--text-3);
    transition: transform .2s;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-a {
    font-size: 14.5px;
    color: var(--text-2);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease, padding .25s;
}

.faq-item.open .faq-a {
    max-height: 400px;
    padding-bottom: 18px;
}

/* CTA */
.product-cta-band {
    background: var(--navy-900);
    border-radius: var(--radius-lg);
    padding: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 96px;
    position: relative;
    overflow: hidden;
}

.product-cta-band::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(45, 108, 181, .45), transparent 70%);
}

.product-cta-band h2 {
    color: #fff;
    font-size: 26px;
    max-width: 420px;
    position: relative;
    z-index: 1;
}

.product-cta-band .cta-band-actions {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.btn-light {
    background: #fff;
    color: var(--navy-900);
    padding: 14px 24px;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-ghost-dark {
    border: 1.5px solid rgba(255, 255, 255, .3);
    color: #fff;
    padding: 13px 22px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

@media (max-width: 1024px) {
    .forwho-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .install-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .install-step::after {
        display: none;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .product-hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-hero h1 {
        font-size: 30px;
    }

    .forwho-section {
        padding: 32px 24px;
    }

    .forwho-grid {
        grid-template-columns: 1fr;
    }

    .results-grid {
        grid-template-columns: 1fr;
    }

    .install-section {
        padding: 36px 24px;
    }

    .install-steps {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .product-cta-band {
        flex-direction: column;
        padding: 36px 24px;
    }

    .product-cta-band .cta-band-actions {
        flex-direction: column;
        width: 100%;
    }

    .product-cta-band .cta-band-actions a {
        justify-content: center;
    }
}

@media (max-width: 560px) {
    .product-hero h1 {
        font-size: 26px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .install-steps {
        grid-template-columns: 1fr;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
}
