/* =====================================
   RESET
===================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    padding: 30px 15px;

    font-family: 'Poppins', sans-serif;

    background:
        radial-gradient(circle at 15% 20%, rgba(255,255,255,.25), transparent 25%),
        radial-gradient(circle at 85% 80%, rgba(255,255,255,.18), transparent 25%),
        linear-gradient(135deg, #2563eb, #06b6d4);

    color: #1e293b;
}


/* =====================================
   CONTAINER
===================================== */

.container {
    width: 100%;
    max-width: 1000px;
    margin: auto;
}


/* =====================================
   CARD
===================================== */

.card {
    background: rgba(255, 255, 255, 0.96);

    padding: 45px;

    border-radius: 30px;

    text-align: center;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, .25);

    animation: muncul .6s ease;
}

@keyframes muncul {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =====================================
   JUDUL
===================================== */

h1 {
    color: #1d4ed8;

    font-size: 38px;

    font-weight: 700;

    margin-bottom: 8px;
}

h2 {
    color: #0f766e;

    font-size: 24px;

    margin: 20px 0 12px;
}

h3 {
    font-size: 22px;

    margin-bottom: 12px;
}


/* =====================================
   TEKS
===================================== */

p {
    line-height: 1.7;

    margin-bottom: 10px;
}

.deskripsi {
    color: #64748b;

    font-size: 17px;

    margin: 15px auto 30px;

    max-width: 700px;
}


/* =====================================
   MENU
===================================== */

.menu {
    display: flex;

    justify-content: center;

    gap: 25px;

    flex-wrap: wrap;

    margin-top: 25px;
}

.menu-card {
    flex: 1;

    min-width: 280px;

    padding: 32px 25px;

    border-radius: 22px;

    background: linear-gradient(
        145deg,
        #f8fafc,
        #eff6ff
    );

    border: 2px solid #dbeafe;

    color: #1e293b;

    text-decoration: none;

    box-shadow:
        0 8px 20px rgba(37, 99, 235, .10);

    transition: .3s;

    cursor: pointer;
}

.menu-card:hover {
    transform: translateY(-8px);

    color: white;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #0891b2
        );

    box-shadow:
        0 15px 30px rgba(37, 99, 235, .30);
}

.menu-card i {
    display: block;

    font-size: 50px;

    color: #2563eb;

    margin-bottom: 18px;

    transition: .3s;
}

.menu-card:hover i {
    color: white;

    transform: scale(1.1);
}


/* =====================================
   INPUT AREA
===================================== */

.input-area {
    max-width: 500px;

    margin: 25px auto;

    text-align: left;
}

.input-area label {
    display: block;

    margin: 15px 0 7px;

    color: #334155;

    font-weight: 600;
}

.input-area input {
    width: 100%;

    padding: 14px 16px;

    border: 2px solid #dbeafe;

    border-radius: 13px;

    outline: none;

    background: #f8fafc;

    color: #1e293b;

    font-family: 'Poppins', sans-serif;

    font-size: 16px;

    transition: .25s;
}

.input-area input:focus {
    border-color: #2563eb;

    background: white;

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, .10);
}

.input-area input::placeholder {
    color: #94a3b8;
}


/* =====================================
   BUTTON
===================================== */

button {
    border: none;

    padding: 14px 28px;

    margin: 15px 0 25px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #0891b2
        );

    color: white;

    font-family: 'Poppins', sans-serif;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 8px 18px rgba(37, 99, 235, .25);

    transition: .3s;
}

button:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(37, 99, 235, .35);
}

button:active {
    transform: translateY(0);
}


/* =====================================
   HASIL
===================================== */

.hasil {
    max-width: 650px;

    margin: 20px auto 30px;

    padding: 25px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #f0f9ff,
            #ecfeff
        );

    border: 2px solid #bae6fd;

    min-height: 120px;

    animation: hasilMuncul .4s ease;
}

@keyframes hasilMuncul {

    from {
        opacity: 0;
        transform: scale(.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hasil h2 {
    color: #2563eb;

    margin-top: 5px;
}

.hasil p {
    color: #475569;
}


/* =====================================
   GAMBAR / IKON HASIL
===================================== */

.hasil-gambar {
    font-size: 75px;

    margin-bottom: 10px;

    animation: loncat .5s ease;
}

@keyframes loncat {

    0% {
        transform: scale(.5);
    }

    70% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}


/* =====================================
   LINK KEMBALI
===================================== */

.card > a {
    display: inline-block;

    margin-top: 10px;

    padding: 11px 20px;

    border-radius: 12px;

    background: #eff6ff;

    color: #2563eb;

    text-decoration: none;

    font-weight: 600;

    transition: .3s;
}

.card > a:hover {
    background: #2563eb;

    color: white;

    transform: translateY(-2px);
}


/* =====================================
   FOOTER
===================================== */

.footer {
    margin-top: 35px;

    padding-top: 20px;

    border-top: 1px solid #e2e8f0;

    color: #64748b;

    font-size: 14px;
}

.nama {
    color: #2563eb;

    font-weight: 700;
}


/* =====================================
   RESPONSIVE HP
===================================== */

@media (max-width: 700px) {

    body {
        padding: 15px 10px;
    }

    .card {
        padding: 30px 18px;

        border-radius: 22px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 21px;
    }

    .menu {
        flex-direction: column;
    }

    .menu-card {
        min-width: 100%;
    }

    .input-area {
        width: 100%;
    }

    button {
        width: 100%;
    }

}