/* ==================================================
   ASTRA JAYA TEKNIK - TERMS AND CONDITIONS
   UNIQUE PREFIX: ajtstx-
================================================== */

body.ajtstx-page {
    margin: 0;
    padding: 0;
    color: #16243d;
    background: #f3f7fc;
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
}

.ajtstx-page *,
.ajtstx-page *::before,
.ajtstx-page *::after {
    box-sizing: border-box;
}

.ajtstx-container {
    width: min(100% - 40px, 1180px);
    margin: 0 auto;
}


/* ==================================================
   HEADER
================================================== */

.ajtstx-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: #061327;
}

.ajtstx-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100% - 40px, 1180px);
    min-height: 84px;
    margin: 0 auto;
}

.ajtstx-header__logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.ajtstx-header__logo {
    display: block;
    width: auto;
    max-width: 220px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.ajtstx-header__home-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.ajtstx-header__home-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
}


/* ==================================================
   HERO
================================================== */

.ajtstx-hero {
    position: relative;
    overflow: hidden;
    padding: 84px 0 98px;
    color: #ffffff;
    background:
        linear-gradient(
            128deg,
            #061326 0%,
            #082b61 54%,
            #0c4a96 100%
        );
}

.ajtstx-hero__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ajtstx-hero__glow--left {
    top: -190px;
    left: -180px;
    width: 500px;
    height: 500px;
    background: rgba(25, 126, 255, 0.18);
    filter: blur(65px);
}

.ajtstx-hero__glow--right {
    right: -180px;
    bottom: -210px;
    width: 530px;
    height: 530px;
    background: rgba(255, 126, 0, 0.18);
    filter: blur(75px);
}

.ajtstx-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, 0.92fr);
    align-items: center;
    gap: 58px;
}

.ajtstx-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 26px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 12px;
}

.ajtstx-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.ajtstx-breadcrumb a:hover {
    color: #ffffff;
}

.ajtstx-hero__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.ajtstx-hero__title {
    max-width: 680px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.ajtstx-hero__title span {
    color: transparent;
    background:
        linear-gradient(
            135deg,
            #ffffff,
            #69b6ff 48%,
            #ff9b27 100%
        );
    background-clip: text;
    -webkit-background-clip: text;
}

.ajtstx-hero__description {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.85;
}

.ajtstx-hero__updated {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 27px;
    padding: 13px 17px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.07);
}

.ajtstx-hero__updated-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #ff9300, #ff6100);
    font-size: 14px;
    font-weight: 900;
}

.ajtstx-hero__updated div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ajtstx-hero__updated strong {
    color: #ffffff;
    font-size: 12px;
}

.ajtstx-hero__updated div > span {
    color: rgba(255, 255, 255, 0.67);
    font-size: 11px;
}


/* ==================================================
   HERO IMAGE
================================================== */

.ajtstx-hero__image-frame {
    position: relative;
    overflow: hidden;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 27px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 35px 75px rgba(0, 0, 0, 0.3);
}

.ajtstx-hero__image {
    display: block;
    width: 100%;
    height: 410px;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
}

.ajtstx-hero__image-shade {
    position: absolute;
    inset: 9px;
    border-radius: 20px;
    background:
        linear-gradient(
            180deg,
            transparent 44%,
            rgba(3, 18, 45, 0.69) 100%
        );
    pointer-events: none;
}

.ajtstx-hero__photo-card {
    position: absolute;
    right: 27px;
    bottom: 27px;
    left: 27px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 17px;
    border: 1px solid rgba(255, 255, 255, 0.23);
    border-radius: 16px;
    background: rgba(6, 23, 54, 0.76);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ajtstx-hero__photo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #18bd62, #078e43);
    font-size: 15px;
    font-weight: 900;
}

.ajtstx-hero__photo-card div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ajtstx-hero__photo-card strong {
    color: #ffffff;
    font-size: 13px;
}

.ajtstx-hero__photo-card div span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    line-height: 1.45;
}


/* ==================================================
   TERMS LAYOUT
================================================== */

.ajtstx-terms {
    padding: 85px 0 105px;
}

.ajtstx-terms__layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    align-items: start;
    gap: 35px;
}

.ajtstx-terms__sidebar {
    position: sticky;
    top: 22px;
}

.ajtstx-terms__toc {
    max-height: calc(100vh - 44px);
    padding: 25px;
    overflow-y: auto;
    border: 1px solid rgba(12, 58, 130, 0.08);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(8, 35, 80, 0.07);
}

.ajtstx-terms__toc::-webkit-scrollbar {
    width: 5px;
}

.ajtstx-terms__toc::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cbd7e8;
}

.ajtstx-terms__toc h2 {
    margin: 0 0 20px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e9eef6;
    color: #10294f;
    font-size: 16px;
}

.ajtstx-terms__toc nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ajtstx-terms__toc a {
    display: block;
    padding: 9px 11px;
    border-radius: 9px;
    color: #64748b;
    text-decoration: none;
    font-size: 12px;
    line-height: 1.5;
    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.ajtstx-terms__toc a:hover {
    color: #0c50aa;
    background: #eef5ff;
    transform: translateX(3px);
}


/* ==================================================
   TERMS ARTICLE
================================================== */

.ajtstx-terms__article {
    padding: 42px;
    border: 1px solid rgba(12, 58, 130, 0.08);
    border-radius: 25px;
    background: #ffffff;
    box-shadow: 0 22px 55px rgba(8, 35, 80, 0.08);
}

.ajtstx-terms__notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 42px;
    padding: 20px;
    border: 1px solid rgba(19, 93, 190, 0.15);
    border-radius: 16px;
    background: #eef6ff;
}

.ajtstx-terms__notice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #0a58bd, #1689eb);
    font-size: 15px;
    font-weight: 900;
}

.ajtstx-terms__notice p {
    margin: 0;
    color: #365675;
    font-size: 13px;
    line-height: 1.75;
}

.ajtstx-terms__section {
    position: relative;
    scroll-margin-top: 25px;
    padding: 0 0 42px 61px;
    margin-bottom: 42px;
    border-bottom: 1px solid #e9eef5;
}

.ajtstx-terms__section:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.ajtstx-terms__number {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 13px;
    color: #ffffff;
    background: linear-gradient(135deg, #0b4fa9, #147ee0);
    box-shadow: 0 10px 24px rgba(14, 94, 198, 0.2);
    font-size: 11px;
    font-weight: 900;
}

.ajtstx-terms__section h2 {
    margin: 0 0 17px;
    color: #10294f;
    font-size: 24px;
    font-weight: 850;
    line-height: 1.35;
}

.ajtstx-terms__section p {
    margin: 0 0 16px;
    color: #56677d;
    font-size: 14px;
    line-height: 1.88;
}

.ajtstx-terms__section p:last-child {
    margin-bottom: 0;
}

.ajtstx-terms__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 21px 0;
    list-style: none;
}

.ajtstx-terms__list li {
    position: relative;
    padding: 13px 16px 13px 43px;
    border: 1px solid #edf1f7;
    border-radius: 12px;
    color: #526277;
    background: #f9fbfe;
    font-size: 13px;
    line-height: 1.65;
}

.ajtstx-terms__list li::before {
    content: "✓";
    position: absolute;
    top: 13px;
    left: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    color: #ffffff;
    background: #0e68c9;
    font-size: 9px;
    font-weight: 900;
}


/* ==================================================
   HIGHLIGHT BOX
================================================== */

.ajtstx-terms__highlight {
    margin: 22px 0;
    padding: 21px;
    border: 1px solid rgba(255, 135, 0, 0.2);
    border-radius: 16px;
    background: #fff8ef;
}

.ajtstx-terms__highlight strong {
    display: block;
    margin-bottom: 14px;
    color: #9a4b00;
    font-size: 14px;
}

.ajtstx-terms__highlight ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.ajtstx-terms__highlight li {
    position: relative;
    padding-left: 24px;
    color: #6f5a43;
    font-size: 13px;
    line-height: 1.65;
}

.ajtstx-terms__highlight li::before {
    content: "•";
    position: absolute;
    top: 0;
    left: 7px;
    color: #ff7a00;
    font-size: 18px;
    font-weight: 900;
}

.ajtstx-terms__inline-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    padding: 10px 18px;
    border-radius: 11px;
    color: #ffffff;
    background: linear-gradient(135deg, #0c55b5, #1683df);
    box-shadow: 0 11px 24px rgba(12, 89, 190, 0.2);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.ajtstx-terms__inline-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(12, 89, 190, 0.28);
}


/* ==================================================
   CONTACT
================================================== */

.ajtstx-contact {
    margin-top: 25px;
    padding: 24px;
    border-radius: 19px;
    color: #ffffff;
    background:
        linear-gradient(
            130deg,
            #071a36,
            #0a3c7b
        );
}

.ajtstx-contact__identity {
    display: flex;
    align-items: center;
    gap: 17px;
}

.ajtstx-contact__identity img {
    display: block;
    width: 150px;
    height: 58px;
    padding: 6px;
    border-radius: 10px;
    background: #ffffff;
    object-fit: contain;
}

.ajtstx-contact__identity div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ajtstx-contact__identity strong {
    color: #ffffff;
    font-size: 16px;
}

.ajtstx-contact__identity span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
}

.ajtstx-contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.ajtstx-contact__whatsapp,
.ajtstx-contact__phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.ajtstx-contact__whatsapp {
    color: #ffffff;
    background: linear-gradient(135deg, #20bd63, #078f43);
    box-shadow: 0 12px 27px rgba(8, 151, 70, 0.27);
}

.ajtstx-contact__phone {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.ajtstx-contact__whatsapp:hover,
.ajtstx-contact__phone:hover {
    transform: translateY(-2px);
}

.ajtstx-contact__phone:hover {
    background: rgba(255, 255, 255, 0.14);
}


/* ==================================================
   FOOTER
================================================== */

.ajtstx-footer {
    padding: 25px 0;
    color: #8291a8;
    background: #061225;
}

.ajtstx-footer__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.ajtstx-footer__content p {
    margin: 0;
    font-size: 12px;
}

.ajtstx-footer__links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.ajtstx-footer__links a {
    color: #9aabc1;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.ajtstx-footer__links a:hover,
.ajtstx-footer__links a[aria-current="page"] {
    color: #ffffff;
}


/* ==================================================
   TABLET
================================================== */

@media (max-width: 950px) {

    .ajtstx-hero__grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .ajtstx-hero__content {
        order: 1;
    }

    .ajtstx-hero__visual {
        order: 2;
    }

    .ajtstx-hero__image {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .ajtstx-terms__layout {
        grid-template-columns: 1fr;
    }

    .ajtstx-terms__sidebar {
        position: static;
    }

    .ajtstx-terms__toc {
        max-height: none;
    }

    .ajtstx-terms__toc nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 650px) {

    .ajtstx-container {
        width: min(100% - 28px, 1180px);
    }

    .ajtstx-header__container {
        width: min(100% - 28px, 1180px);
        min-height: 72px;
    }

    .ajtstx-header__logo {
        max-width: 165px;
        height: 48px;
    }

    .ajtstx-header__home-link {
        min-height: 40px;
        padding: 9px 13px;
        font-size: 11px;
    }

    .ajtstx-hero {
        padding: 60px 0 68px;
    }

    .ajtstx-hero__title {
        font-size: 36px;
        letter-spacing: -0.8px;
    }

    .ajtstx-hero__description {
        font-size: 14px;
        line-height: 1.75;
    }

    .ajtstx-hero__image-frame {
        padding: 6px;
        border-radius: 20px;
    }

    .ajtstx-hero__image,
    .ajtstx-hero__image-shade {
        border-radius: 15px;
    }

    .ajtstx-hero__image-shade {
        inset: 6px;
    }

    .ajtstx-hero__photo-card {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        margin-top: 8px;
        border-radius: 13px;
    }

    .ajtstx-terms {
        padding: 58px 0 75px;
    }

    .ajtstx-terms__toc {
        padding: 20px;
    }

    .ajtstx-terms__toc nav {
        grid-template-columns: 1fr;
    }

    .ajtstx-terms__article {
        padding: 23px 18px;
        border-radius: 19px;
    }

    .ajtstx-terms__notice {
        padding: 16px;
    }

    .ajtstx-terms__section {
        padding: 58px 0 34px;
        margin-bottom: 34px;
    }

    .ajtstx-terms__number {
        width: 39px;
        height: 39px;
    }

    .ajtstx-terms__section h2 {
        font-size: 21px;
    }

    .ajtstx-terms__section p {
        font-size: 13px;
        line-height: 1.8;
    }

    .ajtstx-terms__list li {
        padding:
            12px
            13px
            12px
            39px;
    }

    .ajtstx-terms__highlight {
        padding: 17px;
    }

    .ajtstx-contact {
        padding: 19px;
    }

    .ajtstx-contact__identity {
        align-items: flex-start;
        flex-direction: column;
    }

    .ajtstx-contact__actions {
        flex-direction: column;
    }

    .ajtstx-contact__whatsapp,
    .ajtstx-contact__phone {
        width: 100%;
    }

    .ajtstx-footer__content {
        align-items: flex-start;
        flex-direction: column;
    }

}