@import url("https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Foundation:wght@400..700&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400;1,700;1,900&display=swap");

.page4 {
    width: 100%;
    background:
        radial-gradient(
            circle at left top,
            rgba(17, 83, 242, 0.07),
            transparent 18%
        ),
        radial-gradient(
            circle at right top,
            rgba(108, 182, 0, 0.07),
            transparent 20%
        ),
        #ffffff;
    font-family: "Lato", sans-serif;
    padding: 18px 0 26px;
    overflow: hidden;
}

.page4-shell {
    width: 100%;
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-panel {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    gap: 18px;
    align-items: start;
}

.hero-left {
    padding-top: 8px;
}

.brand-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: nowrap;
}

.brand-logo {
    width: 248px;
    height: auto;
    display: block;
}

.brand-copy {
    padding-bottom: 0;
    margin-bottom: 16px;
}

.brand-copy p {
    margin: 0;
    font-size: 22px;
    line-height: 1;
    color: #1f2340;
    font-weight: 700;
}

.brand-copy span {
    color: #1153f2;
    font-weight: 900;
}

.brand-copy p::after {
    content: "";
    display: block;
    width: 74px;
    height: 3px;
    background: #6aad00;
    margin-top: 6px;
    border-radius: 20px;
    transform: skewX(-18deg);
}

.stamp-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(180deg, #f7f9ff, #edf2ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #14308c;
    box-shadow: 0 8px 18px rgba(20, 27, 57, 0.08);
    flex: 0 0 auto;
}

.stamp-icon i {
    font-size: 36px;
}

.stamp-copy {
    min-width: 0;
}

.stamp-copy p {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #111425;
    border-left: 2px solid rgb(120, 120, 120);
    padding-left: 10px;
}

.stamp-copy span {
    color: #1153f2;
}

.hero-left h1 {
    font-size: 55px;
    line-height: 0.95;
    letter-spacing: -1.6px;
    font-weight: 900;
    color: #111425;
    margin: 0 0 14px;
    max-width: 760px;
}

.hero-left h1 span {
    color: #1153f2;
}

.hero-text {
    margin: 0 0 18px;
    font-size: 24px;
    line-height: 1.34;
    color: #20253a;
    max-width: 630px;
}

.hero-text span {
    color: #1153f2;
    font-weight: 700;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    max-width: 760px;
    margin-bottom: 12px;
}

.metric-card {
    background: linear-gradient(180deg, #ffffff, #fbfcff);
    border: 1px solid #edf0f6;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(18, 25, 58, 0.06);
    padding: 14px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 82px;
}

.metric-card i {
    font-size: 34px;
    color: #1153f2;
    flex: 0 0 auto;
}

.metric-card strong {
    display: block;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 900;
    color: #111425;
    margin-bottom: 2px;
}

.metric-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.2;
    color: #20253a;
    font-weight: 700;
}

.hero-right {
    padding-top: 8px;
}

.loop-banner {
    position: relative;
    min-height: 460px;
    border-radius: 26px;
}

.infinity-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 88%;
    transform: translate(-50%, -50%);
}

.infinity-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.service-band {
    margin-top: 0px;
    display: grid;
    grid-template-columns: 1.7fr 1.3fr;
    gap: 10px;
    align-items: stretch;
}

.service-list {
    border: 1px solid #dfe4ef;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #fbfcff);
    box-shadow: 0 10px 22px rgba(18, 25, 58, 0.06);
    padding: 14px 12px;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0;
}

.service-item {
    text-align: center;
    padding: 8px 6px;
    border-right: 1px solid rgba(20, 27, 57, 0.12);
}

.service-item:last-child {
    border-right: none;
}

.service-item i {
    display: block;
    font-size: 34px;
    color: #1153f2;
    margin-bottom: 10px;
}

.service-item p {
    margin: 0;
    font-size: 12px;
    line-height: 1.15;
    font-weight: 900;
    color: #111425;
}

.service-item span {
    display: block;
    font-size: 11px;
    font-weight: 900;
    color: #5d9f00;
}

.build-card {
    border: 1px solid #dfe4ef;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(18, 25, 58, 0.06);
    display: grid;
    grid-template-columns: 0.65fr 1.1fr 1.2fr;
    background: #ffffff;
}

.build-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.build-icon i {
    font-size: 55px;
    color: #1153f2;
}

.build-copy {
    padding: 18px 18px 16px 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.build-copy p {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    color: #111425;
    font-weight: 700;
}

.build-copy span {
    color: #1153f2;
}

.build-copy h3 {
    margin: 6px 0 0;
    font-size: 17px;
    line-height: 1.15;
    font-weight: 900;
    color: #111425;
}

.build-cta {
    background: linear-gradient(135deg, #1153f2, #0a41cb);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 18px;
    position: relative;
}

.build-cta span {
    display: block;
    font-size: 20px;
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: 0.2px;
}

.build-cta b {
    color: #c1e107;
}

.build-cta i {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    background: #ffffff;
    color: #111425;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex: 0 0 auto;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.page4-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding-top: 16px;
}

.footer-line {
    width: 34%;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(17, 83, 242, 0.05),
        rgba(17, 83, 242, 0.35)
    );
}

.footer-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #111425;
}

.footer-center i {
    font-size: 24px;
    color: #1153f2;
}

.footer-center p {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

@media (max-width: 1360px) {
    .hero-panel {
        grid-template-columns: 1fr;
    }

    .loop-banner {
        min-height: 470px;
    }

    .service-band {
        grid-template-columns: 1fr;
    }

    .build-card {
        grid-template-columns: 0.7fr 1fr 1fr;
    }
}

@media (max-width: 980px) {
    .page4-shell {
        padding: 0 14px;
    }

    .brand-row {
        align-items: center;
        flex-wrap: wrap;
    }

    .brand-logo {
        width: 220px;
    }

    .stamp-icon {
        width: 62px;
        height: 62px;
    }

    .stamp-icon i {
        font-size: 32px;
    }

    .stamp-copy p {
        font-size: 20px;
    }

    .brand-copy {
        margin-bottom: 12px;
    }

    .hero-left h1 {
        font-size: 48px;
        max-width: 100%;
    }

    .hero-text {
        font-size: 20px;
    }

    .hero-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 100%;
    }

    .loop-banner {
        min-height: 500px;
    }

    .infinity-wrap {
        width: 92%;
    }

    .service-list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .service-item {
        border-bottom: 1px solid rgba(20, 27, 57, 0.12);
    }

    .service-item:nth-child(4n) {
        border-right: none;
    }

    .build-card {
        grid-template-columns: 1fr;
    }

    .build-icon {
        padding: 16px 0 0;
    }

    .build-cta {
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .footer-line {
        width: 28%;
    }
}

@media (max-width: 640px) {
    .page4 {
        padding: 12px 0 20px;
    }

    .brand-logo {
        width: 180px;
    }

    .brand-copy p {
        font-size: 20px;
    }

    .brand-row {
        gap: 10px;
    }

    .hero-left h1 {
        font-size: 32px;
        line-height: 0.98;
    }

    .hero-text {
        font-size: 16px;
        margin-bottom: 14px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .metric-card {
        min-height: 0;
    }

    .loop-banner {
        min-height: 380px;
    }

    .infinity-wrap {
        width: 100%;
        transform: translate(-50%, -50%);
    }

    .service-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-item:nth-child(2n) {
        border-right: none;
    }

    .service-item:nth-child(n + 5) {
        border-bottom: none;
    }

    .build-copy {
        padding: 16px 14px;
        text-align: center;
    }

    .build-copy p {
        font-size: 16px;
    }

    .build-copy h3 {
        font-size: 18px;
    }

    .build-cta span {
        font-size: 20px;
    }

    .build-cta i {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .page4-footer {
        gap: 12px;
    }

    .footer-line {
        width: 22%;
    }

    .footer-center p {
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .hero-left h1 {
        font-size: 28px;
    }

    .hero-text {
        font-size: 14px;
    }

    .loop-banner {
        min-height: 320px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .service-item {
        border-right: none;
    }

    .service-item:last-child {
        border-bottom: none;
    }

    .page4-footer {
        flex-direction: column;
    }

    .footer-line {
        width: 60%;
    }
}

/* Page4 Creator Footer Styling */
.page4-creator-footer {
    position: relative;
    bottom: auto;
    margin-top: 32px;
    padding: 20px 0;
    z-index: 100;
}

.page4-creator-footer .footer-text {
    color: white;
    font-size: 16px;
    background: black;
    padding: 5px 15px;
    border-radius: 50px;
}

.page4-creator-footer .footer-text p {
    margin: 0;
}

.page4-creator-footer .heart-icon {
    font-size: 18px;
}

.page4-creator-footer .creator-name {
    font-size: 24px;
}
