/* =========================================================
   INSTAGRAM PAGE
========================================================= */

:root {

    --ig-purple: #833ab4;
    --ig-purple-dark: #5b2a86;

    --ig-pink: #e1306c;
    --ig-pink-hot: #fd1d1d;

    --ig-orange: #f77737;
    --ig-yellow: #fcaf45;

    --ig-blue: #0095f6;

    --ig-dark: #161616;
    --ig-text: #202124;

    --ig-muted: #737373;

    --ig-light: #faf9fc;

    --ig-gradient:
        linear-gradient(
            135deg,
            #833ab4 0%,
            #c13584 28%,
            #e1306c 50%,
            #fd1d1d 70%,
            #f77737 84%,
            #fcaf45 100%
        );

}


/* =========================================================
   COMMON
========================================================= */

.ig-hero *,
.ig-download-types *,
.ig-content-section *,
.ig-how-section *,
.ig-faq-section * {

    box-sizing: border-box;

}


.ig-hero {

    position: relative;

    overflow: hidden;

    color: #fff;

    padding:
        60px
        0
        90px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(252,175,69,.22),
            transparent 30%
        ),

        radial-gradient(
            circle at 85% 15%,
            rgba(131,58,180,.35),
            transparent 32%
        ),

        linear-gradient(
            135deg,
            #3f155f,
            #7c185f 35%,
            #c12567 65%,
            #ed552d
        );

}


.ig-hero::after {

    content: "";

    position: absolute;

    inset: auto 0 0 0;

    height: 180px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(15,11,36,.22)
        );

    pointer-events: none;

}


.ig-hero .container {

    position: relative;

    z-index: 5;

}


.ig-hero-content {

    max-width: 900px;

    margin: auto;

    text-align: center;

}


/* =========================================================
   GLOW
========================================================= */

.ig-hero-glow {

    position: absolute;

    border-radius: 50%;

    filter: blur(5px);

    pointer-events: none;

}


.ig-glow-one {

    width: 360px;

    height: 360px;

    left: -180px;

    top: 15%;

    background:
        radial-gradient(
            circle,
            rgba(252,175,69,.38),
            transparent 70%
        );

}


.ig-glow-two {

    width: 400px;

    height: 400px;

    right: -190px;

    bottom: -100px;

    background:
        radial-gradient(
            circle,
            rgba(131,58,180,.42),
            transparent 70%
        );

}


/* =========================================================
   FLOATING ICONS
========================================================= */

.ig-floating {

    position: absolute;

    width: 58px;

    height: 58px;

    display: grid;

    place-items: center;

    border-radius: 18px;

    color: #fff;

    font-size: 21px;

    background:
        rgba(255,255,255,.13);

    border:
        1px solid
        rgba(255,255,255,.25);

    backdrop-filter:
        blur(12px);

    box-shadow:
        0 20px 50px
        rgba(0,0,0,.16);

    animation:
        igFloat 5s ease-in-out infinite;

}


.ig-floating-one {

    left: 7%;

    top: 22%;

}


.ig-floating-two {

    left: 13%;

    bottom: 18%;

    animation-delay: -1.7s;

}


.ig-floating-three {

    right: 8%;

    top: 28%;

    animation-delay: -3s;

}


@keyframes igFloat {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(0deg);

    }

    50% {

        transform:
            translateY(-16px)
            rotate(4deg);

    }

}


/* =========================================================
   HERO TEXT
========================================================= */

.ig-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding:
        8px
        14px;

    border-radius: 99px;

    color: #fff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .14em;

    background:
        rgba(255,255,255,.11);

    border:
        1px solid
        rgba(255,255,255,.22);

    backdrop-filter:
        blur(10px);

}


.ig-camera-icon {

    width: 27px;

    height: 27px;

    display: grid;

    place-items: center;

    border-radius: 8px;

    background:
        rgba(255,255,255,.2);

    font-size: 13px;

}


.ig-hero h1 {

    max-width: 850px;

    margin:
        25px auto 0;

    font-size:
        clamp(42px, 5vw, 58px);

    line-height: 1.05;

    letter-spacing: -.055em;

}


.ig-hero h1 span {

    display: block;

    color: #ffd7a3;

}


.ig-hero-copy {

    max-width: 680px;

    margin:
        23px auto 30px;

    color:
        rgba(255,255,255,.84);

    font-size: 17px;

    line-height: 1.7;

}


/* =========================================================
   DOWNLOADER CARD
========================================================= */

.ig-download-card {

    max-width: 820px;

    background:
        rgba(255,255,255,.98);

    box-shadow:
        0 30px 90px
        rgba(34,8,45,.28);

}


.ig-link-icon {

    color:
        #c13584;

}


.ig-paste-btn {

    color: #c13584;

    background:
        #f9e9f1;

}


.ig-paste-btn:hover {

    background:
        #f2d7e5;

}


.ig-primary-btn {

    position: relative;

    overflow: hidden;

    background:
        var(--ig-gradient);

    box-shadow:
        0 12px 28px
        rgba(225,48,108,.24);

}


.ig-primary-btn::before {

    content: "";

    position: absolute;

    top: 0;

    left: -100%;

    width: 70%;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.24),
            transparent
        );

    transition:
        left .6s ease;

}


.ig-primary-btn:hover::before {

    left: 130%;

}


.ig-detected {

    color:
        #c13584;

}


/* =========================================================
   FORMAT PILLS
========================================================= */

.ig-format-pills {

    display: flex;

    justify-content: center;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 22px;

}


.ig-format-pills span {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding:
        7px
        11px;

    border-radius: 99px;

    font-size: 11px;

    color:
        rgba(255,255,255,.9);

    background:
        rgba(255,255,255,.08);

    border:
        1px solid
        rgba(255,255,255,.18);

}


/* =========================================================
   RESULT
========================================================= */

.ig-result-card {

    margin-top: 25px;

    border:
        1px solid
        rgba(255,255,255,.25);

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.22);

}


/* =========================================================
   SECTION 2
========================================================= */

.ig-download-types {

    position: relative;

    padding:
        100px
        0;

    background:
        #fff;

    overflow: hidden;

}


.ig-section-head {

    max-width: 760px;

}


.ig-section-label {

    color:
        #c13584;

}


.ig-section-head h2 {

    font-size:
        clamp(35px, 4vw, 52px);

    letter-spacing:
        -.045em;

}


.ig-section-head h2 span {

    background:
        var(--ig-gradient);

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;

}


.ig-section-head p {

    max-width: 690px;

}


.ig-download-layout {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(400px, .85fr);

    gap: 60px;

    align-items: center;

}


.ig-download-options {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0,1fr));

    gap: 16px;

}


.ig-download-box {

    position: relative;

    display: flex;

    gap: 15px;

    min-height: 180px;

    padding: 25px;

    border:
        1px solid
        #ece7ef;

    border-radius: 20px;

    background: #fff;

    box-shadow:
        0 10px 35px
        rgba(30,20,40,.045);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


.ig-download-box:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(193,53,132,.25);

    box-shadow:
        0 22px 50px
        rgba(131,58,180,.11);

}


.ig-box-icon {

    flex:
        0 0 48px;

    width: 48px;

    height: 48px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    color: #fff;

    background:
        var(--ig-gradient);

    box-shadow:
        0 10px 22px
        rgba(193,53,132,.2);

}


.ig-download-box h3 {

    margin:
        2px 0 8px;

    font-size: 16px;

}


.ig-download-box p {

    margin: 0;

    color:
        #777;

    font-size: 13px;

    line-height: 1.65;

}


/* =========================================================
   SECTION 2 VISUAL
========================================================= */

.ig-download-visual {

    position: relative;

    min-height: 540px;

    display: grid;

    place-items: center;

}


.ig-visual-glow {

    position: absolute;

    width: 390px;

    height: 390px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(225,48,108,.18),
            rgba(131,58,180,.08),
            transparent 70%
        );

    filter:
        blur(4px);

}


.ig-phone-back {

    position: relative;

    z-index: 2;

    width: 285px;

    height: 500px;

    padding: 9px;

    border-radius: 38px;

    background:
        linear-gradient(
            145deg,
            #171717,
            #292929
        );

    box-shadow:
        0 35px 80px
        rgba(40,15,45,.25);

    transform:
        rotate(5deg);

}


.ig-phone-back::before {

    content: "";

    position: absolute;

    inset: 6px;

    border-radius: 32px;

    background: #fff;

}


.ig-phone-top {

    position: absolute;

    z-index: 5;

    top: 14px;

    left: 50%;

    width: 85px;

    height: 20px;

    transform:
        translateX(-50%);

    border-radius: 0 0 15px 15px;

    background: #151515;

}


.ig-phone-content {

    position: relative;

    z-index: 3;

    height: 100%;

    padding:
        45px 15px 15px;

    color: #202020;

}


.ig-phone-profile {

    display: flex;

    align-items: center;

    gap: 9px;

    padding-bottom: 14px;

}


.ig-profile-circle {

    width: 35px;

    height: 35px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: #fff;

    background:
        var(--ig-gradient);

}


.ig-phone-profile strong {

    display: block;

    font-size: 11px;

}


.ig-phone-profile small {

    color: #888;

    font-size: 8px;

}


.ig-phone-image {

    height: 285px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    color: #fff;

    font-size: 35px;

    background:
        linear-gradient(
            145deg,
            #833ab4,
            #e1306c 50%,
            #fcaf45
        );

    box-shadow:
        inset 0 0 0 1px
        rgba(255,255,255,.2);

}


.ig-phone-actions {

    display: flex;

    gap: 15px;

    padding:
        15px 3px;

    font-size: 17px;

}


.ig-phone-actions .ig-save {

    margin-left: auto;

}


.ig-download-badge {

    position: absolute;

    z-index: 5;

    left: 5px;

    bottom: 60px;

    display: flex;

    align-items: center;

    gap: 11px;

    padding:
        13px 17px;

    border-radius: 15px;

    background: #fff;

    box-shadow:
        0 20px 50px
        rgba(35,20,50,.17);

    animation:
        igBadgeFloat 4s ease-in-out infinite;

}


.ig-badge-icon {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    color: #fff;

    background:
        var(--ig-gradient);

}


.ig-download-badge strong {

    display: block;

    font-size: 12px;

}


.ig-download-badge small {

    color: #888;

    font-size: 9px;

}


.ig-reel-card {

    position: absolute;

    z-index: 5;

    right: 0;

    top: 75px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        11px 13px;

    border-radius: 14px;

    color: #fff;

    background:
        rgba(25,18,31,.94);

    box-shadow:
        0 20px 45px
        rgba(0,0,0,.18);

    animation:
        igBadgeFloat 4s ease-in-out infinite;

    animation-delay:
        -1.5s;

}


.ig-reel-card > span {

    width: 29px;

    height: 29px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background:
        var(--ig-gradient);

    font-size: 10px;

}


.ig-reel-card strong {

    display: block;

    font-size: 11px;

}


.ig-reel-card small {

    color: #aaa;

    font-size: 8px;

}


@keyframes igBadgeFloat {

    0%,
    100% {

        transform:
            translateY(0);

    }

    50% {

        transform:
            translateY(-9px);

    }

}


/* =========================================================
   SECTION 3
========================================================= */

.ig-content-section {

    padding:
        100px 0;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #181020,
            #35133c 40%,
            #57164b 70%,
            #7b2048
        );

}


.ig-content-header {

    display: grid;

    grid-template-columns:
        1.1fr .9fr;

    gap: 60px;

    align-items: end;

    margin-bottom: 45px;

}


.ig-content-header h2 {

    max-width: 700px;

    margin: 0;

    font-size:
        clamp(34px, 4vw, 52px);

    line-height: 1.05;

    letter-spacing:
        -.045em;

}


.ig-content-header h2 span {

    color:
        #ffb1c8;

}


.ig-content-header p {

    margin: 0;

    color:
        rgba(255,255,255,.7);

    line-height: 1.75;

}


.ig-content-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 15px;

}


.ig-content-card {

    position: relative;

    min-height: 280px;

    padding: 27px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 22px;

    background:
        rgba(255,255,255,.07);

    backdrop-filter:
        blur(12px);

    transition:
        transform .3s ease,
        background .3s ease;

}


.ig-content-card::after {

    content: "";

    position: absolute;

    width: 130px;

    height: 130px;

    right: -55px;

    bottom: -60px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.07);

    transition:
        transform .4s ease;

}


.ig-content-card:hover {

    transform:
        translateY(-8px);

    background:
        rgba(255,255,255,.11);

}


.ig-content-card:hover::after {

    transform:
        scale(2.2);

}


.ig-card-number {

    color:
        rgba(255,255,255,.38);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .15em;

}


.ig-card-icon {

    width: 52px;

    height: 52px;

    display: grid;

    place-items: center;

    margin:
        32px 0 20px;

    border-radius: 15px;

    color: #fff;

    background:
        var(--ig-gradient);

    font-size: 18px;

}


.ig-content-card h3 {

    margin: 0 0 9px;

    font-size: 19px;

}


.ig-content-card p {

    margin: 0;

    color:
        rgba(255,255,255,.65);

    font-size: 13px;

    line-height: 1.65;

}


.ig-card-arrow {

    position: absolute;

    right: 25px;

    bottom: 24px;

    width: 36px;

    height: 36px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.09);

}


/* =========================================================
   SECTION 4 - HOW IT WORKS
========================================================= */

.ig-how-section {

    padding:
        100px 0;

    background:
        #fff;

}


.ig-section-head.centered {

    max-width: 750px;

    margin:
        0 auto 45px;

    text-align: center;

}


.ig-section-head.centered h2,
.ig-how-section .section-head h2,
.ig-faq-section .section-head h2 {

    font-size:
        clamp(34px, 4vw, 50px);

}


.ig-how-section h2 span,
.ig-faq-section h2 span {

    background:
        var(--ig-gradient);

    -webkit-background-clip:
        text;

    background-clip:
        text;

    color:
        transparent;

}


.ig-steps {

    display: grid;

    grid-template-columns:
        1fr 50px 1fr 50px 1fr;

    align-items: center;

}


.ig-step {

    padding:
        30px;

    border:
        1px solid
        #eee9f0;

    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 15px 45px
        rgba(30,15,35,.05);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.ig-step:hover {

    transform:
        translateY(-7px);

    box-shadow:
        0 25px 60px
        rgba(131,58,180,.11);

}


.ig-step-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.ig-step-number {

    color:
        #c13584;

    font-size: 11px;

    font-weight: 900;

    letter-spacing: .15em;

}


.ig-step-icon {

    width: 50px;

    height: 50px;

    display: grid;

    place-items: center;

    border-radius: 15px;

    color: #fff;

    background:
        var(--ig-gradient);

}


.ig-step h3 {

    margin:
        24px 0 9px;

    font-size: 18px;

}


.ig-step p {

    margin: 0;

    color:
        #777;

    font-size: 13px;

    line-height: 1.7;

}


.ig-step-line {

    height: 2px;

    background:
        linear-gradient(
            90deg,
            #833ab4,
            #e1306c,
            #fcaf45
        );

    opacity: .3;

}


/* =========================================================
   FAQ
========================================================= */

.ig-faq-section {

    padding:
        100px 0;

    background:
        #faf9fc;

}


.ig-faq-list {

    max-width: 900px;

    margin: auto;

    display: grid;

    gap: 11px;

}


.ig-faq-list .faq-item {

    overflow: hidden;

    border:
        1px solid
        #e9e3ed;

    border-radius: 15px;

    background: #fff;

    box-shadow:
        0 7px 25px
        rgba(30,15,40,.035);

}


.ig-faq-list .faq-item summary {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding:
        21px 23px;

    cursor: pointer;

    list-style: none;

    font-size: 14px;

    font-weight: 800;

}


.ig-faq-list .faq-item summary::-webkit-details-marker {

    display: none;

}


.ig-faq-list .faq-item summary span {

    width: 30px;

    height: 30px;

    flex: 0 0 30px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    color: #fff;

    background:
        var(--ig-gradient);

    transition:
        transform .25s ease;

}


.ig-faq-list .faq-item[open] summary span {

    transform:
        rotate(45deg);

}


.ig-faq-list .faq-answer {

    padding:
        0 23px 22px;

    color:
        #707070;

    font-size: 13px;

    line-height: 1.75;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .ig-floating {

        opacity: .6;

    }

    .ig-download-layout {

        grid-template-columns:
            1fr 1fr;

        gap: 35px;

    }

    .ig-content-grid {

        grid-template-columns:
            repeat(2,1fr);

    }

}


@media (max-width: 900px) {

    .ig-floating {

        display: none;

    }

    .ig-download-layout {

        grid-template-columns:
            1fr;

    }

    .ig-download-visual {

        min-height: 560px;

        margin-top: 15px;

    }

    .ig-content-header {

        grid-template-columns:
            1fr;

        gap: 20px;

    }

    .ig-steps {

        grid-template-columns:
            1fr;

        gap: 18px;

    }

    .ig-step-line {

        width: 2px;

        height: 35px;

        margin: auto;

    }

}


@media (max-width: 700px) {

    .ig-hero {

        padding:
            50px 0;

    }

    .ig-hero h1 {

        font-size:
            40px;

    }

    .ig-hero-copy {

        font-size: 15px;

    }

    .ig-download-options {

        grid-template-columns:
            1fr;

    }

    .ig-download-box {

        min-height: auto;

    }

    .ig-content-grid {

        grid-template-columns:
            1fr;

    }

    .ig-download-visual {

        min-height: 500px;

        transform:
            scale(.92);

    }

}


@media (max-width: 500px) {

    .ig-hero {

        padding:
            50px 0;

    }

    .ig-eyebrow {

        font-size: 9px;

        letter-spacing: .1em;

    }

    .ig-hero h1 {

        font-size:
            34px;

    }

    .ig-download-card {

        padding: 9px;

    }

    .ig-format-pills {

        gap: 5px;

    }

    .ig-format-pills span {

        font-size: 9px;

    }

    .ig-download-visual {

        min-height: 450px;

        transform:
            scale(.78);

        margin:
            -40px 0;

    }

    .ig-phone-back {

        width: 275px;

    }

    .ig-download-badge {

        left: -20px;

    }

    .ig-reel-card {

        right: -20px;

    }

    .ig-content-section,
    .ig-download-types,
    .ig-how-section,
    .ig-faq-section {

        padding:
            70px 0;

    }

}