*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{

    background:
        linear-gradient(
            135deg,
            #eef4ff,
            #f8fbff
        );

    color: #1e293b;

    font-family:
        Inter,
        Arial,
        sans-serif;

    padding: 30px;
}

/* =========================
   CONTAINER
========================= */

.container{

    max-width: 1500px;

    margin: auto;

    background: rgba(255,255,255,0.8);

    backdrop-filter: blur(12px);

    border: 1px solid #e2e8f0;

    border-radius: 28px;

    padding: 30px;

    box-shadow:
        0 10px 35px rgba(15,23,42,0.06);
}

/* =========================
   TOPBAR
========================= */

.topbar{

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    margin-bottom: 30px;

    flex-wrap: wrap;
}

.topbar h1{

    font-size: 34px;

    font-weight: 700;

    color: #0f172a;
}

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

.contact{

    text-align: right;
}

.contact div{

    color: #64748b;

    font-size: 13px;

    margin-bottom: 5px;
}

.contact a{

    color: #3b82f6;

    text-decoration: none;

    font-weight: 600;
}

.contact a:hover{

    color: #2563eb;
}

/* =========================
   INFO
========================= */

.info{

    margin-bottom: 15px;

    color: #64748b;

    font-size: 14px;
}

/* =========================
   TEXTAREA
========================= */

textarea{

    width: 100%;

    height: 260px;

    background: white;

    border: 1px solid #dbe4f0;

    border-radius: 18px;

    padding: 18px;

    color: #0f172a;

    font-size: 14px;

    resize: vertical;

    outline: none;

    transition: 0.2s;

    margin-bottom: 20px;

    box-shadow:
        inset 0 1px 2px rgba(0,0,0,0.03);
}

textarea:focus{

    border-color: #60a5fa;

    box-shadow:
        0 0 0 4px rgba(96,165,250,0.15);
}

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

button{

    background:
        linear-gradient(
            135deg,
            #60a5fa,
            #3b82f6
        );

    color: white;

    border: none;

    padding: 14px 28px;

    border-radius: 14px;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;

    box-shadow:
        0 5px 18px rgba(59,130,246,0.25);
}

button:hover{

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(59,130,246,0.35);
}

/* =========================
   SUMMARY
========================= */

.summary{

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(220px,1fr));

    gap: 18px;

    margin-top: 30px;

    margin-bottom: 30px;
}

/* =========================
   CARD
========================= */

.card{

    background: white;

    border: 1px solid #e2e8f0;

    border-radius: 22px;

    padding: 24px;

    transition: 0.2s;

    box-shadow:
        0 4px 15px rgba(15,23,42,0.04);
}

.card:hover{

    transform: translateY(-3px);

    border-color: #bfdbfe;
}

.card h3{

    font-size: 13px;

    color: #64748b;

    margin-bottom: 12px;

    font-weight: 500;
}

.card p{

    font-size: 30px;

    font-weight: 700;

    color: #0f172a;
}

/* =========================
   TABLE
========================= */

.table-wrapper{

    overflow-x: auto;

    border-radius: 22px;

    border: 1px solid #e2e8f0;

    background: white;
}

table{

    width: 100%;

    border-collapse: collapse;

    min-width: 1000px;
}

thead{

    background: #f8fafc;
}

table th{

    padding: 16px;

    text-align: left;

    font-size: 13px;

    color: #64748b;

    font-weight: 600;

    border-bottom: 1px solid #e2e8f0;
}

table td{

    padding: 16px;

    border-bottom: 1px solid #f1f5f9;

    font-size: 14px;

    color: #0f172a;
}

tbody tr{

    transition: 0.2s;
}

tbody tr:hover{

    background: #f8fbff;
}

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

.footer{

    margin-top: 30px;

    text-align: center;

    color: #94a3b8;

    font-size: 13px;
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar{

    width: 8px;

    height: 8px;
}

::-webkit-scrollbar-track{

    background: #f1f5f9;
}

::-webkit-scrollbar-thumb{

    background: #cbd5e1;

    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover{

    background: #94a3b8;
}

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

@media(max-width:768px){

    body{
        padding: 15px;
    }

    .container{
        padding: 20px;
    }

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

    .topbar h1{
        font-size: 28px;
    }

    .contact{
        width: 100%;
        text-align: left;
    }

    button{
        width: 100%;
    }

    .card p{
        font-size: 24px;
    }

}
/* =========================
   LOADING
========================= */

.loading{

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        rgba(255,255,255,0.65);

    backdrop-filter: blur(6px);

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 9999;

    opacity: 0;

    visibility: hidden;

    transition: 0.3s;
}

.loading.show{

    opacity: 1;

    visibility: visible;
}

.loader-box{

    background: white;

    padding: 30px 40px;

    border-radius: 24px;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08);
}

.loader-box p{

    margin-top: 15px;

    color: #64748b;

    font-size: 14px;

    font-weight: 500;
}
.loader-box{

    position: relative;

    overflow: hidden;
}
.loader-box::before{

    content: "";

    position: absolute;

    width: 200%;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #60a5fa,
            white,
            #60a5fa,
            transparent
        );

    top: 0;
    left: -100%;

    animation:
        lightning 1s linear infinite;

    opacity: 0.8;
}

@keyframes lightning{

    100%{
        left: 100%;
    }
}
/* spinner */

.loading-logo{

    width: 95px;

    position: relative;

    z-index: 2;

    animation:
        pulse 1.2s infinite ease-in-out,
        electric 0.15s infinite;
    
    filter:
        drop-shadow(0 0 8px #60a5fa)
        drop-shadow(0 0 18px #3b82f6);
}

/* denyut */

@keyframes pulse{

    0%{
        transform: scale(1);
    }

    50%{
        transform: scale(1.08);
    }

    100%{
        transform: scale(1);
    }
}

/* efek getar listrik */

@keyframes electric{

    0%{
        transform: translate(0px,0px);
    }

    25%{
        transform: translate(1px,-1px);
    }

    50%{
        transform: translate(-1px,1px);
    }

    75%{
        transform: translate(1px,1px);
    }

    100%{
        transform: translate(0px,0px);
    }
}

/* =========================
   INTRO LOADING
========================= */

.intro-loading{

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background:
        linear-gradient(
            135deg,
            #eef4ff,
            #f8fbff
        );

    display: flex;

    justify-content: center;

    align-items: center;

    z-index: 99999;

    transition: 0.5s;
}

.intro-loading.hide{

    opacity: 0;

    visibility: hidden;
}

.intro-box{

    text-align: center;
}

.intro-logo{

    width: 120px;

    animation:
        logoPulse 1.2s infinite ease-in-out;

    filter:
        drop-shadow(0 0 12px #60a5fa);
}

.intro-box h2{

    margin-top: 15px;

    color: #0f172a;

    font-size: 28px;

    letter-spacing: 3px;
}

/* animasi */

@keyframes logoPulse{

    0%{
        transform: scale(1);
    }

    50%{
        transform: scale(1.08);
    }

    100%{
        transform: scale(1);
    }
}