/* =====================================
   PRINTINDA HOMEPAGE - ISOLATED CSS
===================================== */

#pi-homepage,
#pi-homepage *,
#pi-homepage *::before,
#pi-homepage *::after {
    box-sizing: border-box;
}

/* HERO */

#pi-homepage .pi-home-hero {
    width: 100%;
    min-height: 545px;
    background-color: #d9dadc;
    background-size: cover;
    background-position: 65% center;
    background-repeat: no-repeat;
}

#pi-homepage .pi-home-hero-overlay {
    width: 100%;
    min-height: 545px;
    display: flex;
    align-items: center;
}

#pi-homepage .pi-home-hero-inner {
    width: 100%;
    max-width: 1360px;
    margin: 0 auto;
    padding: 70px 44px;
}

#pi-homepage .pi-home-hero-content {
    max-width: 450px;
}

#pi-homepage .pi-home-hero h1 {
    font-size: 58px;
    line-height: 1.05;
    font-weight: 800;
    color: #111018;
    margin: 0 0 18px;
}

#pi-homepage .pi-home-hero p {
    font-size: 18px;
    font-weight: 700;
    color: #444;
    margin: 0 0 28px;
}

#pi-homepage .pi-home-hero-features {
    display: flex;
    gap: 24px;
    margin-bottom: 30px;
}

#pi-homepage .pi-home-hero-features div {
    font-size: 15px;
    font-weight: 700;
    color: #4a4a4a;
    line-height: 1.6;
}

#pi-homepage .pi-home-hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

#pi-homepage .pi-home-btn,
#pi-homepage .pi-home-how-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f9469a;
    color: #fff;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.25s ease;
}

#pi-homepage .pi-home-btn {
    padding: 14px 25px;
}

#pi-homepage .pi-home-how-btn {
    padding: 16px 34px;
    font-weight: 900;
    box-shadow: 0 12px 25px rgba(249,70,154,.28);
}

#pi-homepage .pi-home-btn:hover,
#pi-homepage .pi-home-how-btn:hover {
    background: #e93486;
    color: #fff;
}

/* HOW IT WORKS */

#pi-homepage .pi-home-how-section {
    width: 100%;
    padding: 95px 20px;
    background:
        radial-gradient(circle at top left, rgba(249,70,154,.13), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #fff4f8 100%);
}

#pi-homepage .pi-home-how-container {
    max-width: 1180px;
    margin: 0 auto;
}

#pi-homepage .pi-home-how-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 52px;
}

#pi-homepage .pi-home-how-label {
    display: inline-block;
    background: #ffe1ef;
    color: #f9469a;
    padding: 9px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 900;
    margin-bottom: 16px;
}

#pi-homepage .pi-home-how-header h2 {
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 900;
    color: #111018;
    margin: 0 0 16px;
}

#pi-homepage .pi-home-how-header p {
    font-size: 18px;
    line-height: 1.7;
    color: #5b5b5b;
    margin: 0;
}

#pi-homepage .pi-home-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

#pi-homepage .pi-home-how-card {
    position: relative;
    background: rgba(255,255,255,.92);
    border-radius: 30px;
    padding: 38px 30px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(17,16,24,.09);
    border: 1px solid rgba(249,70,154,.15);
    transition: all .25s ease;
    overflow: hidden;
}

#pi-homepage .pi-home-how-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249,70,154,.10), transparent 45%);
    opacity: 0;
    transition: opacity .25s ease;
}

#pi-homepage .pi-home-how-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 58px rgba(17,16,24,.14);
}

#pi-homepage .pi-home-how-card:hover::before {
    opacity: 1;
}

#pi-homepage .pi-home-how-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 46px;
    font-weight: 900;
    color: rgba(249,70,154,.13);
}

#pi-homepage .pi-home-how-icon {
    position: relative;
    width: 82px;
    height: 82px;
    margin: 0 auto 24px;
    border-radius: 26px;
    background: linear-gradient(135deg, #fff4f8, #ffe1ef);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    box-shadow: inset 0 0 0 1px rgba(249,70,154,.12);
}

#pi-homepage .pi-home-how-card h3 {
    position: relative;
    font-size: 23px;
    font-weight: 900;
    color: #111018;
    margin: 0 0 13px;
}

#pi-homepage .pi-home-how-card p {
    position: relative;
    font-size: 16px;
    line-height: 1.65;
    color: #5f5f5f;
    margin: 0;
}

#pi-homepage .pi-home-how-cta {
    text-align: center;
    margin-top: 46px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    #pi-homepage .pi-home-how-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    #pi-homepage .pi-home-hero {
        min-height: 640px;
        background-size: contain;
        background-position: bottom center;
    }

    #pi-homepage .pi-home-hero-overlay {
        min-height: 640px;
        align-items: flex-start;
    }

    #pi-homepage .pi-home-hero-inner {
        padding: 35px 18px 20px;
    }

    #pi-homepage .pi-home-hero-content {
        max-width: 100%;
        text-align: center;
    }

    #pi-homepage .pi-home-hero h1 {
        font-size: 36px;
    }

    #pi-homepage .pi-home-hero p {
        font-size: 16px;
    }

    #pi-homepage .pi-home-hero-features {
        display: none;
    }

    #pi-homepage .pi-home-hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    #pi-homepage .pi-home-how-section {
        padding: 68px 16px;
    }

    #pi-homepage .pi-home-how-header {
        margin-bottom: 34px;
    }

    #pi-homepage .pi-home-how-header h2 {
        font-size: 34px;
    }

    #pi-homepage .pi-home-how-header p {
        font-size: 16px;
    }

    #pi-homepage .pi-home-how-card {
        padding: 32px 22px;
        border-radius: 26px;
    }

    #pi-homepage .pi-home-how-number {
        font-size: 38px;
    }

    #pi-homepage .pi-home-how-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    #pi-homepage .pi-home-how-card h3 {
        font-size: 21px;
    }

    #pi-homepage .pi-home-how-card p {
        font-size: 15px;
    }

    #pi-homepage .pi-home-how-btn {
        width: 100%;
        max-width: 290px;
    }
}