/* =========================================================
   Astro DOB Report Popup
   ========================================================= */

.adrp-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    background: rgba(11, 22, 43, 0.68);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
}

.adrp-overlay.adrp-is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.adrp-popup {
    position: relative;
    width: 920px;
    max-width: 100%;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px;
    box-sizing: border-box;
    background: radial-gradient(circle at top right, rgba(201, 74, 12, .08), transparent 32%), #fffdf9;
    border: 1px solid rgba(201, 74, 12, .14);
    border-radius: 24px;
    box-shadow: 0 35px 100px rgba(7, 20, 40, .28), 0 10px 30px rgba(7, 20, 40, .12);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #13233d;
    transform: translateY(22px) scale(.97);
    transition: transform .4s cubic-bezier(.22,.61,.36,1);
}

.adrp-overlay.adrp-is-visible .adrp-popup {
    transform: translateY(0) scale(1);
}

.adrp-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(19, 35, 61, .08);
    border-radius: 50%;
    background: rgba(255,255,255,.8);
    color: #64748b;
    cursor: pointer;
    font-size: 24px;
    line-height: 34px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.adrp-close:hover,
.adrp-close:focus-visible {
    background: #c94a0c;
    color: #fff;
    transform: rotate(90deg);
    outline: none;
}

.adrp-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    padding-right: 40px;
}

.adrp-om {
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(145deg, #d85a12, #b83d08);
    color: #fff;
    font-family: Georgia, serif;
    font-size: 29px;
    box-shadow: 0 8px 20px rgba(201, 74, 12, .22);
}

.adrp-eyebrow {
    margin-bottom: 3px;
    color: #c94a0c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .11em;
}

.adrp-header h2 {
    margin: 0;
    color: #13233d;
    font-size: 27px;
    line-height: 1.15;
    font-weight: 800;
}

.adrp-header p {
    margin: 5px 0 0;
    color: #68758a;
    font-size: 13px;
    line-height: 1.4;
}

.adrp-reports {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.adrp-card {
    position: relative;
    display: block;
    padding: 18px;
    border: 1px solid #eee5da;
    border-radius: 16px;
    background: #ffffff;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(19, 35, 61, .045);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.adrp-card:hover {
    transform: translateY(-3px);
    border-color: rgba(201, 74, 12, .32);
    box-shadow: 0 14px 32px rgba(19, 35, 61, .11);
}

.adrp-card--popular {
    border-color: rgba(201, 74, 12, .35);
    background: linear-gradient(145deg, #fffaf3 0%, #ffffff 70%);
}

.adrp-popular {
    position: absolute;
    top: 0;
    right: 18px;
    transform: translateY(-50%);
    padding: 5px 9px;
    border-radius: 999px;
    background: #c94a0c;
    color: #fff;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .06em;
    box-shadow: 0 5px 14px rgba(201, 74, 12, .22);
}

.adrp-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.adrp-icon {
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #fff1e6;
    color: #c94a0c;
    font-size: 18px;
    font-weight: 900;
}

.adrp-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.adrp-price strong {
    color: #c94a0c;
    font-size: 22px;
    font-weight: 900;
}

.adrp-price del {
    color: #98a2b3;
    font-size: 11px;
}

.adrp-card h3 {
    margin: 0 0 6px;
    color: #13233d;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.adrp-card p {
    min-height: 39px;
    margin: 0 0 11px;
    color: #667085;
    font-size: 11px;
    line-height: 1.5;
}

.adrp-features {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 9px;
    margin-bottom: 14px;
}

.adrp-features span {
    color: #506078;
    font-size: 9.5px;
    line-height: 1.3;
}

.adrp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 9px 12px;
    border-radius: 9px;
    background: #13233d;
    color: #fff !important;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none !important;
    transition: background .18s ease, transform .18s ease;
}

.adrp-card:hover .adrp-button {
    background: #c94a0c;
}

.adrp-button b {
    margin-left: 5px;
    font-size: 14px;
    transition: transform .18s ease;
}

.adrp-card:hover .adrp-button b {
    transform: translateX(3px);
}

.adrp-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    color: #98a2b3;
    font-size: 9px;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 700px) {
    .adrp-overlay {
        padding: 12px;
    }

    .adrp-popup {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 22px 16px;
        border-radius: 20px;
    }

    .adrp-header {
        margin-bottom: 20px;
    }

    .adrp-om {
        width: 46px;
        height: 46px;
        border-radius: 13px;
        font-size: 24px;
    }

    .adrp-header h2 {
        font-size: 22px;
    }

    .adrp-header p {
        font-size: 12px;
    }

    .adrp-reports {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .adrp-card {
        padding: 14px;
    }

    .adrp-card p {
        min-height: auto;
    }

    .adrp-features {
        margin-bottom: 10px;
    }

    .adrp-footer {
        margin-top: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .adrp-overlay,
    .adrp-popup,
    .adrp-card,
    .adrp-button,
    .adrp-close {
        transition: none !important;
    }
}
