/* =========================================================
   DownloadPinVideo
   Homepage Hero + Downloader
========================================================= */


/* =========================================================
   HERO
========================================================= */

.dpv-hero-section {
    position: relative;
    isolation: isolate;

    width: 100%;

    padding:
        28px
        0
        32px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 10% 28%,
            rgba(230, 0, 35, 0.06),
            transparent 27%
        ),
        radial-gradient(
            circle at 90% 25%,
            rgba(230, 0, 35, 0.05),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #fff8fa 0%,
            #fff9fb 58%,
            #ffffff 100%
        );
}

.dpv-hero-section::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 25% 8%,
            rgba(255, 210, 220, 0.18),
            transparent 24%
        ),
        radial-gradient(
            circle at 76% 8%,
            rgba(255, 214, 222, 0.17),
            transparent 24%
        );
}


/* =========================================================
   PINTEREST WATERMARK
========================================================= */

.dpv-pinterest-mark-left {
    display: none !important;
}

.dpv-pinterest-mark-right {
    position: absolute;

    top: 150px;
    right:
        max(
            42px,
            calc(50% - 710px)
        );

    z-index: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 94px;
    height: 94px;

    border:
        1px solid
        rgba(230, 0, 35, 0.04);

    border-radius: 50%;

    background:
        rgba(230, 0, 35, 0.04);

    color:
        rgba(230, 0, 35, 0.11);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 57px;
    line-height: 1;

    font-style: italic;
    font-weight: 700;

    transform:
        rotate(10deg);

    pointer-events: none;
    user-select: none;
}


/* =========================================================
   HERO WRAPPER
========================================================= */

.dpv-hero-section .dpv-wrap {
    position: relative;
    z-index: 2;

    width:
        min(
            1120px,
            calc(100% - 40px)
        );

    margin:
        0 auto;

    padding:
        34px
        20px
        14px;
}

.dpv-hero-section .dpv-hero-grid {
    width: 100%;
}

.dpv-hero-section .dpv-hero-main {
    width: 100%;
    max-width: 960px;

    margin:
        0 auto;

    text-align: center;
}


/* =========================================================
   EYEBROW
========================================================= */

.dpv-hero-section .dpv-eyebrow {
    margin-bottom: 12px;
}


/* =========================================================
   HERO HEADING
========================================================= */

.dpv-hero-section .dpv-wrap h1 {
    margin-bottom: 12px;

    font-size:
        clamp(
            40px,
            4.5vw,
            56px
        );

    line-height: 1.05;

    letter-spacing: -2px;
}


/* =========================================================
   HERO SUBTITLE
========================================================= */

.dpv-hero-section .dpv-subtitle {
    max-width: 760px;

    margin-bottom: 25px;

    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   DOWNLOAD FORM
========================================================= */

.dpv-hero-section .dpv-form {
    display: flex;

    width: 100%;
    max-width: 760px;

    margin:
        0 auto;

    gap: 0;

    border-radius: 12px;

    box-shadow:
        0 10px 28px
        rgba(17, 24, 39, 0.07);
}

.dpv-hero-section .dpv-input-wrap {
    flex: 1;
    min-width: 0;
}

.dpv-hero-section .dpv-form input {
    width: 100%;
    height: 58px;

    border-color: #e8dde1;
    border-right: 0;

    border-radius:
        12px
        0
        0
        12px;

    box-shadow: none;
}

.dpv-hero-section .dpv-form input:focus {
    position: relative;
    z-index: 2;

    border-color: #e60023;

    box-shadow:
        0 0 0 3px
        rgba(230, 0, 35, 0.06);
}

.dpv-hero-section .dpv-form button {
    min-width: 170px;
    height: 58px;

    margin-left: 0;

    border-radius:
        0
        12px
        12px
        0;

    box-shadow:
        0 8px 20px
        rgba(230, 0, 35, 0.20);
}


/* =========================================================
   RESULT AREA
========================================================= */

.dpv-hero-section .dpv-result:not(:empty) {
    width: 100%;
    max-width: 800px;

    margin:
        24px auto
        5px;
}


/* =========================================================
   RESULT CARD
========================================================= */

.dpv-hero-section .dpv-result-card {
    display: grid;

    grid-template-columns:
        220px
        minmax(0, 1fr);

    align-items: center;

    gap: 18px;

    width: 100%;
    max-width: 800px;

    margin:
        0 auto;

    padding: 14px;

    border:
        1px solid
        #ebe4e7;

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(17, 24, 39, 0.06);

    text-align: left;
}


/* =========================================================
   RESULT PREVIEW
========================================================= */

.dpv-hero-section .dpv-preview-wrap {
    width: 220px;
    height: 160px;

    overflow: hidden;

    border-radius: 10px;

    background: #f6f7f8;
}

.dpv-hero-section .dpv-preview-wrap img,
.dpv-hero-section .dpv-preview-wrap video,
.dpv-hero-section .dpv-preview-wrap .dpv-preview {
    width: 100%;
    height: 100%;

    object-fit: contain;

    background: #f6f7f8;
}


/* =========================================================
   RESULT CONTENT
========================================================= */

.dpv-hero-section .dpv-result-content {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
    justify-content: center;

    min-width: 0;

    padding:
        2px
        2px
        2px
        0;
}


/* =========================================================
   READY BADGE
========================================================= */

.dpv-hero-section .dpv-ready-badge {
    margin-bottom: 6px;

    padding:
        5px
        9px;
}


/* =========================================================
   RESULT TITLE
========================================================= */

.dpv-hero-section .dpv-result-title {
    margin:
        0 0
        3px !important;

    font-size: 18px !important;
    line-height: 1.25;
}


/* =========================================================
   RESULT QUALITY
========================================================= */

.dpv-hero-section .dpv-result-meta {
    margin:
        0 0
        8px;

    color: #667085;

    font-size: 13px;
    line-height: 1.4;

    font-weight: 600;
}


/* =========================================================
   RESULT STATUS
========================================================= */

.dpv-hero-section .dpv-status {
    min-height: 18px;

    margin-bottom: 7px;

    font-size: 12.5px;
}


/* =========================================================
   RESULT PROGRESS
========================================================= */

.dpv-hero-section .dpv-progress {
    width: 100%;
    max-width: none;

    margin-bottom: 10px;
}


/* =========================================================
   DOWNLOAD ACTIONS
========================================================= */

.dpv-hero-section .dpv-download-actions {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 8px;

    width: 100%;
    max-width: none;

    margin-top: 3px;
}


/* =========================================================
   DOWNLOAD BUTTONS
========================================================= */

.dpv-hero-section
.dpv-download-actions
.dpv-download-btn {
    width: 100%;

    min-width: 0;
    min-height: 43px;

    padding:
        0
        10px;

    border-radius: 9px;

    font-size: 12.5px;
    font-weight: 700;

    white-space: nowrap;
}

.dpv-hero-section
.dpv-video-download-btn {
    background: #e60023;

    color: #ffffff !important;
}

.dpv-hero-section
.dpv-cover-download-btn {
    border:
        1px solid
        #e60023;

    background: #ffffff;

    color: #e60023 !important;

    box-shadow: none;
}

.dpv-hero-section
.dpv-mp3-download-btn {
    background: #1f2937;

    color: #ffffff !important;
}


/* =========================================================
   DOWNLOAD ANOTHER
========================================================= */

.dpv-hero-section
.dpv-download-another-btn {
    grid-column:
        1 / -1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    width: 100%;
    min-height: 40px;

    margin-top: 1px;

    padding:
        0
        14px;

    border:
        1px solid
        #e5e7eb;

    border-radius: 9px;

    background: #f9fafb;

    color: #4b5563;

    font: inherit;

    font-size: 12.5px;
    font-weight: 700;

    cursor: pointer;

    box-shadow: none;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.dpv-hero-section
.dpv-download-another-btn:hover {
    border-color: #d1d5db;

    background: #ffffff;

    color: #111827;

    transform:
        translateY(-1px);
}

.dpv-hero-section
.dpv-download-another-btn span {
    color: #e60023;

    font-size: 17px;
    line-height: 1;
}


/* =========================================================
   TRUST ROW
========================================================= */

.dpv-hero-section .dpv-trust-row {
    max-width: 840px;

    margin-top: 22px;
}

.dpv-hero-section .dpv-trust-item {
    padding:
        7px
        10px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .dpv-pinterest-mark-right {
        right: 18px;
    }
}


@media (max-width: 820px) {

    .dpv-pinterest-mark-right {
        display: none;
    }

    .dpv-hero-section {
        padding-top: 18px;
    }

    .dpv-hero-section
    .dpv-wrap {
        width:
            min(
                calc(100% - 24px),
                900px
            );

        padding:
            24px
            12px
            14px;
    }
}


@media (max-width: 760px) {

    .dpv-hero-section
    .dpv-result:not(:empty) {
        max-width: 440px;
    }

    .dpv-hero-section
    .dpv-result-card {
        grid-template-columns: 1fr;

        gap: 12px;

        max-width: 440px;

        padding: 13px;

        text-align: center;
    }

    .dpv-hero-section
    .dpv-preview-wrap {
        width: 100%;
        height: 220px;
    }

    .dpv-hero-section
    .dpv-result-content {
        align-items: center;

        padding:
            0
            3px
            3px;
    }

    .dpv-hero-section
    .dpv-download-actions {
        grid-template-columns: 1fr;

        width: 100%;
        max-width: 360px;

        gap: 9px;
    }

    .dpv-hero-section
    .dpv-download-another-btn {
        min-height: 44px;
    }
}


@media (max-width: 600px) {

    .dpv-hero-section {
        padding:
            8px
            0
            16px;
    }

    .dpv-hero-section
    .dpv-wrap {
        width:
            calc(100% - 16px);

        padding:
            18px
            4px
            8px;
    }

    .dpv-hero-section
    .dpv-wrap h1 {
        font-size: 32px;

        letter-spacing: -0.9px;
    }

    .dpv-hero-section
    .dpv-subtitle {
        max-width: 430px;

        font-size: 14px;
    }

    .dpv-hero-section
    .dpv-form {
        max-width: 100%;

        flex-direction: column;

        gap: 9px;

        box-shadow: none;
    }

    .dpv-hero-section
    .dpv-form input {
        border-right:
            1px solid
            #e8dde1;

        border-radius: 12px;
    }

    .dpv-hero-section
    .dpv-form button {
        width: 100%;

        border-radius: 12px;
    }
}


@media (max-width: 380px) {

    .dpv-hero-section
    .dpv-wrap h1 {
        font-size: 29px;
    }
}