/* =========================================================
   MYCOCOLINK
   SYARAT & KETENTUAN
   ========================================================= */


/* =========================================================
   ROOT
   ========================================================= */

:root{

    --primary:#79C142;
    --primary-dark:#5FA52F;

    --navy:#12204A;

    --text:#1F2937;

    --muted:#6B7280;

    --border:#E5E7EB;

    --background:#F8FAFC;

    --white:#FFFFFF;

}


/* =========================================================
   PAGE
   ========================================================= */

.syarat_ketentuan{

    background:var(--background);

    color:var(--text);

}


.syarat-container{

    width:100%;

    max-width:1200px;

    margin:auto;

    padding:0 24px;

}


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

.syarat-hero{

    padding:90px 0 70px;

    background:#fff;

    border-bottom:1px solid var(--border);

}


.syarat-badge-pill{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:10px 22px;

    border-radius:999px;

    background:#EEF9E5;

    color:var(--primary-dark);

    font-size:.9rem;

    font-weight:700;

    letter-spacing:.5px;

    margin-bottom:22px;

}


.syarat-hero-title{

    font-size:3rem;

    font-weight:800;

    line-height:1.2;

    color:var(--navy);

    margin-bottom:22px;

}


.text-green-cocolink{

    color:var(--primary);

}


.syarat-hero-desc{

    max-width:760px;

    font-size:1.08rem;

    line-height:1.9;

    color:var(--muted);

}


.legal-update{

    margin-top:30px;

    display:inline-block;

    padding:10px 18px;

    border-radius:10px;

    background:#F3F4F6;

    color:#4B5563;

    font-size:.9rem;

}


/* =========================================================
   ALERT
   ========================================================= */

.legal-alert-section{

    padding:60px 0 20px;

}


.legal-alert{

    display:flex;

    align-items:flex-start;

    gap:24px;

    background:#fff;

    border-left:5px solid var(--primary);

    padding:32px;

    border-radius:18px;

    box-shadow:0 10px 25px rgba(0,0,0,.05);

}


.legal-alert-icon{

    width:64px;

    height:64px;

    border-radius:50%;

    background:#EEF9E5;

    color:var(--primary-dark);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    flex-shrink:0;

}


.legal-alert-content h2{

    color:var(--navy);

    margin-bottom:12px;

    font-size:1.5rem;

}


.legal-alert-content p{

    color:var(--muted);

    line-height:1.9;

}


/* =========================================================
   TABLE OF CONTENT
   ========================================================= */

.legal-toc{

    padding:40px 0 60px;

}


.toc-header{

    margin-bottom:30px;

}


.toc-header h2{

    font-size:2rem;

    color:var(--navy);

    margin-bottom:10px;

}


.toc-header p{

    color:var(--muted);

}


.toc-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

}


.toc-grid a{

    display:flex;

    align-items:center;

    gap:18px;

    padding:20px 24px;

    border-radius:16px;

    background:#fff;

    text-decoration:none;

    color:var(--text);

    border:1px solid var(--border);

    transition:.25s;

}


.toc-grid a:hover{

    transform:translateY(-4px);

    border-color:var(--primary);

    box-shadow:0 12px 30px rgba(121,193,66,.15);

}


.toc-grid span{

    width:44px;

    height:44px;

    border-radius:50%;

    background:#EEF9E5;

    display:flex;

    align-items:center;

    justify-content:center;

    color:var(--primary-dark);

    font-weight:700;

    flex-shrink:0;

}

/* =========================================================
   LEGAL CONTENT
========================================================= */

.syarat-content{

    padding:20px 0 80px;

}


.legal-wrapper{

    background:#fff;

    border:1px solid var(--border);

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 12px 35px rgba(0,0,0,.05);

}


/* =========================================================
   LEGAL SECTION
========================================================= */

.legal-section{

    padding:55px 60px;

    scroll-margin-top:120px;

}


.legal-title{

    display:flex;

    align-items:flex-start;

    gap:24px;

    margin-bottom:30px;

}


.legal-number{

    width:70px;

    height:70px;

    border-radius:50%;

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-dark)
    );

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.4rem;

    font-weight:800;

    flex-shrink:0;

    box-shadow:0 10px 25px rgba(121,193,66,.30);

}


.legal-title h2{

    font-size:2rem;

    color:var(--navy);

    margin-bottom:8px;

}


.legal-title p{

    color:var(--muted);

    font-size:1rem;

}


/* =========================================================
   LEGAL BODY
========================================================= */

.legal-body{

    margin-left:94px;

}


.legal-body p{

    font-size:1.05rem;

    line-height:1.9;

    color:var(--text);

    margin-bottom:22px;

}


.legal-body h3{

    color:var(--navy);

    margin-top:28px;

    margin-bottom:18px;

    font-size:1.2rem;

    font-weight:700;

}


.legal-body ul{

    list-style:none;

    margin:0;

    padding:0;

}


.legal-body li{

    position:relative;

    padding-left:38px;

    margin-bottom:16px;

    line-height:1.8;

    color:var(--text);

}


/* Icon checklist */

.legal-body li::before{

    content:"✓";

    position:absolute;

    left:0;

    top:0;

    width:24px;

    height:24px;

    border-radius:50%;

    background:#EEF9E5;

    color:var(--primary-dark);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:.8rem;

    font-weight:bold;

}


/* =========================================================
   DIVIDER
========================================================= */

.legal-divider{

    border:none;

    border-top:1px solid var(--border);

    margin:0 60px;

}

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

.legal-contact{

    padding:80px 0 100px;

}


.legal-contact-card{

    position:relative;

    overflow:hidden;

    border-radius:28px;

    padding:60px;

    background:linear-gradient(
        135deg,
        var(--navy) 0%,
        #1D4ED8 100%
    );

    color:#fff;

    text-align:center;

    box-shadow:0 25px 60px rgba(18,32,74,.25);

}


.legal-contact-card::before{

    content:"";

    position:absolute;

    width:280px;

    height:280px;

    border-radius:50%;

    background:rgba(255,255,255,.08);

    top:-120px;

    right:-120px;

}


.legal-contact-card::after{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    border-radius:50%;

    background:rgba(121,193,66,.18);

    bottom:-70px;

    left:-70px;

}


.contact-badge{

    display:inline-block;

    background:rgba(255,255,255,.15);

    color:#fff;

    padding:8px 18px;

    border-radius:999px;

    font-size:.85rem;

    font-weight:700;

    letter-spacing:1px;

    margin-bottom:20px;

}


.legal-contact-card h2{

    font-size:2.4rem;

    margin-bottom:20px;

}


.legal-contact-card p{

    max-width:760px;

    margin:0 auto 35px;

    line-height:1.9;

    color:rgba(255,255,255,.88);

}


.contact-info{

    display:flex;

    justify-content:center;

    gap:30px;

    flex-wrap:wrap;

    margin-bottom:40px;

}


.contact-item{

    display:flex;

    align-items:center;

    gap:10px;

    padding:14px 20px;

    background:rgba(255,255,255,.10);

    border-radius:12px;

    backdrop-filter:blur(10px);

}


.contact-item i{

    color:#79C142;

}


/* =========================================================
   BUTTON
========================================================= */

.btn-contact{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    min-width:220px;

    padding:16px 34px;

    border-radius:999px;

    background:#79C142;

    color:#fff;

    text-decoration:none;

    font-weight:700;

    transition:.3s;

}


.btn-contact:hover{

    background:#5FA52F;

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(121,193,66,.35);

}


/* =========================================================
   SMOOTH SCROLL
========================================================= */

html{

    scroll-behavior:smooth;

}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width:992px){

    .syarat-hero-title{

        font-size:2.5rem;

    }

    .toc-grid{

        grid-template-columns:1fr;

    }

    .legal-section{

        padding:40px;

    }

    .legal-divider{

        margin:0 40px;

    }

    .legal-body{

        margin-left:0;

        margin-top:25px;

    }

    .legal-title{

        flex-direction:column;

    }

    .legal-number{

        width:60px;

        height:60px;

        font-size:1.2rem;

    }

    .contact-info{

        flex-direction:column;

        align-items:center;

    }

}


@media (max-width:768px){

    .syarat-hero{

        padding:70px 0 50px;

    }

    .syarat-hero-title{

        font-size:2rem;

    }

    .legal-alert{

        flex-direction:column;

        padding:24px;

    }

    .legal-alert-icon{

        width:56px;

        height:56px;

    }

    .legal-section{

        padding:30px 24px;

    }

    .legal-divider{

        margin:0 24px;

    }

    .legal-title h2{

        font-size:1.5rem;

    }

    .legal-contact-card{

        padding:40px 24px;

    }

    .legal-contact-card h2{

        font-size:2rem;

    }

    .contact-item{

        width:100%;

        justify-content:center;

    }

    .btn-contact{

        width:100%;

    }

}


@media (max-width:480px){

    .syarat-container{

        padding:0 18px;

    }

    .syarat-hero-title{

        font-size:1.75rem;

    }

    .syarat-hero-desc{

        font-size:1rem;

    }

    .toc-grid a{

        padding:16px;

    }

    .legal-number{

        width:54px;

        height:54px;

        font-size:1rem;

    }

    .legal-body li{

        padding-left:32px;

    }

}