.optimization-page {
    min-height: 100vh;
    padding: 125px 20px 70px;
    color: #f5f5f5;
    background: linear-gradient(135deg, #050505 0%, #181818 52%, #0b0b0b 100%)
}

.optimization-shell {
    width: min(1060px, 100%);
    margin: 0 auto
}

.optimization-head {
    margin-bottom: 30px;
    animation: fade-up .55s ease-out both
}

.optimization-head h1 {
    font-size: clamp(38px, 6vw, 62px);
    margin: 8px 0
}

.optimization-head p {
    color: #999;
    max-width: 700px
}

.download-card {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .15);
    background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
    animation: fade-up .55s ease-out both
}

.download-card:before {
    content: "";
    position: absolute;
    inset: -60% auto auto -10%;
    width: 340px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 68%);
    pointer-events: none
}

.download-icon {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #292929;
    color: #eee;
    font-size: 1.45rem
}

.download-copy {
    position: relative
}

.download-copy .eyebrow {
    color: #aaa;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .14em
}

.download-copy h2 {
    margin: 5px 0 7px;
    font-size: 1.5rem
}

.download-copy p {
    color: #aaa;
    line-height: 1.55;
    font-size: .86rem
}

.download-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 170px;
    padding: 13px 20px;
    border-radius: 11px;
    background: #f1f1f1;
    color: #111;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 900;
    transition: .2s
}

.download-button:hover {
    transform: translateY(-2px);
    background: #fff;
    box-shadow: 0 12px 30px rgba(255, 255, 255, .12)
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px
}

.download-meta span {
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 8px;
    color: #888;
    font-size: .68rem
}

@media(max-width:700px) {
    .download-card {
        grid-template-columns: 1fr;
        text-align: center
    }

    .download-icon {
        margin: auto
    }

    .download-button {
        width: 100%
    }

    .download-meta {
        justify-content: center
    }
}

.optimization-panel-card {
    margin-top: 18px;
    animation-delay: .08s;
}

.optimization-panel-card .download-icon {
    background: #eee;
    color: #111;
    border: 1px solid rgba(255, 255, 255, .12);
}

.optimization-panel-card .download-button {
    min-width: 170px;
}
@media(prefers-reduced-motion:reduce){.optimization-head,.download-card{animation:none}}

.product-actions { justify-self: end; }
@media(max-width:700px) { .product-actions { width: 100%; } }
