
:root {
    --purple: #7657e8;
    --purple-dark: #5632c4;
    --dark: #17152b;
    --muted: #77758c;
    --light: #f8f7ff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    min-height: 100vh;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    min-height: 102px;
    padding: 12px 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #eeeafd;
    position: relative;
    z-index: 5;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -2px;
    color: var(--dark);
}

.logo-image {
    width: 75px;
    height: 75px;
    object-fit: contain;
    display: block;
}

.logo-word {
    color: var(--dark);
}

.logo-word span {
    color: var(--purple);
}

.nav-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.nav-label {
    min-width: 280px;
    padding: 10px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    border-radius: 30px;
    background: linear-gradient(110deg, #815cf0, #6439d8);
    color: white;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-decoration: none;
    text-align: center;
    transition: 0.2s ease;
}

.nav-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(118,87,232,0.2);
}

/* TOMBOL ADMIN NAVBAR */

.nav-admin {
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

/* =========================
   HERO
========================= */

main {
    width: 100%;
}

.hero {
    width: 100%;
    max-width: 1500px;
    margin: auto;
    padding: 18px 30px 35px;
    text-align: center;
    background:
        radial-gradient(ellipse at 0% 35%, #eee8ff 0%, transparent 32%),
        radial-gradient(ellipse at 100% 35%, #eee8ff 0%, transparent 32%),
        linear-gradient(120deg, #faf9ff, #f4f0ff, #faf9ff);
}

/* =========================
   BADGE
========================= */

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #eeebff;
    color: var(--purple);
    padding: 12px 21px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.status-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #8c70f5;
}

/* =========================
   JUDUL
========================= */

.hero-title {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -3px;
    color: var(--dark);
    margin: 20px auto 12px;
    text-align: center;
}

.hero-title span {
    display: block;
}

.hero-title .hero-accent {
    color: var(--purple);
}

/* =========================
   DESKRIPSI
========================= */

.hero-description {
    max-width: 850px;
    margin: 12px auto 10px;
    text-align: center;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.5;
    color: #30294d;
}

.hero-subdescription {
    max-width: 950px;
    margin: 0 auto 13px;
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
}

.hero-highlight {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    font-style: italic;
    line-height: 1.7;
    color: var(--purple);
}

/* =========================
   KARTU USER DAN ASSISTANT
========================= */

.choice-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 960px;
    margin: 23px auto 35px;
    text-align: left;
}

.choice-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: rgba(255,255,255,0.96);
    border: 1.5px solid #ded4ff;
    border-radius: 23px;
    padding: 24px 26px;
    box-shadow: 0 12px 25px rgba(77,49,160,0.09);
    transition: 0.25s ease;
    min-height: 190px;
}

.choice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(77,49,160,0.15);
}

.choice-icon {
    flex: 0 0 78px;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(140deg, #8a62fa, #6034d5);
    color: white;
    display: grid;
    place-items: center;
    font-size: 42px;
}

.assistant-card .choice-icon {
    background: linear-gradient(140deg, #8a62fa, #6034d5);
}

.choice-content {
    flex: 1;
    min-width: 0;
}

.card-tag {
    display: inline-block;
    color: #5732c7;
    background: #eee8ff;
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.choice-card h2 {
    font-size: 20px;
    margin: 10px 0 5px;
}

.choice-card > .choice-content > p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    min-height: 42px;
}

.choice-card button,
.primary-button {
    border: none;
    border-radius: 30px;
    padding: 13px 20px;
    margin-top: 14px;
    background: linear-gradient(110deg, #815cf0, #6035d0);
    color: white;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    font-size: 14px;
    transition: 0.2s ease;
}

.choice-card button:hover,
.primary-button:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.assistant-card button {
    background: linear-gradient(110deg, #815cf0, #6035d0);
}

.choice-card button span {
    margin-left: 8px;
}

/* =========================
   FOOTER
========================= */

.hero-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    color: #8175aa;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 5px 0 0;
}

.hero-footer span:first-child::before,
.hero-footer span:last-child::after {
    content: "";
    display: inline-block;
    width: 75px;
    height: 1px;
    background: #a58aff;
    vertical-align: middle;
    margin: 0 15px;
}

/* =========================
   MODAL
========================= */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10;
    background: rgba(20,17,44,0.6);
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    width: 100%;
    max-width: 430px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-card h2 {
    margin: 13px 0 8px;
}

.modal-card > p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    font-size: 27px;
    cursor: pointer;
    color: var(--muted);
}

.modal-card label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin: 16px 0 8px;
}

.modal-card label span {
    color: var(--muted);
    font-weight: 400;
}

.modal-card input,
.modal-card select {
    width: 100%;
    padding: 13px;
    border: 1px solid #e6e3ef;
    border-radius: 9px;
    outline: none;
    font-family: inherit;
    background: white;
}

.modal-card input:focus,
.modal-card select:focus {
    border-color: var(--purple);
}

.message {
    font-size: 12px;
    color: #d33;
    margin-top: 12px;
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 900px) {

    .hero-title {
        font-size: clamp(42px, 8vw, 65px);
    }

    .choice-container {
        max-width: 750px;
    }

    .choice-card {
        gap: 16px;
        padding: 22px 18px;
    }

    .choice-icon {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
        font-size: 34px;
    }
}

/* =========================
   RESPONSIVE HP
========================= */

@media (max-width: 650px) {

    .navbar {
        padding: 10px 4%;
        min-height: 75px;
    }

    .logo {
        font-size: 27px;
        gap: 5px;
    }

    .logo-image {
        width: 48px;
        height: 48px;
    }

    .nav-right {
        gap: 5px;
    }

    .nav-label {
        min-width: 0;
        padding: 8px 10px;
        font-size: 8px;
        letter-spacing: 0.5px;
    }

    .nav-admin {
        width: auto;
    }

    .hero {
        padding: 45px 18px 25px;
    }

    .hero-badge {
        font-size: 9px;
        padding: 10px 14px;
    }

    .hero-title {
        font-size: clamp(37px, 10vw, 50px);
        letter-spacing: -1.5px;
        margin: 22px auto 15px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-subdescription {
        font-size: 13px;
    }

    .hero-highlight {
        font-size: 12px;
    }

    .choice-container {
        grid-template-columns: 1fr;
        margin: 30px auto;
        gap: 16px;
    }

    .choice-card {
        padding: 22px 18px;
        min-height: 175px;
        gap: 15px;
    }

    .choice-icon {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
        font-size: 30px;
    }

    .choice-card h2 {
        font-size: 17px;
    }

    .choice-card > .choice-content > p {
        font-size: 12px;
    }

    .hero-footer {
        flex-wrap: wrap;
        gap: 10px;
        font-size: 8px;
    }

    .hero-footer span:first-child::before,
    .hero-footer span:last-child::after {
        display: none;
    }
}
