
/* =========================================================
   SMPU PAYMENT PORTAL
   Modern Fintech x Premium Education
   ========================================================= */

:root {
    --green-950: #0c2d23;
    --green-900: #103d30;
    --green-800: #174e3c;
    --green-700: #246b4f;
    --green-500: #52936e;
    --green-100: #e8f1e9;

    --gold-500: #c89b52;
    --gold-400: #dfbd7e;
    --gold-100: #f7efdf;

    --ink: #1c3028;
    --muted: #7c8981;
    --line: #e9eee9;
    --paper: #ffffff;
    --canvas: #f5f7f3;

    --font-heading: "Plus Jakarta Sans", sans-serif;
    --font-body: "DM Sans", sans-serif;

    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;

    --shadow-card:
        0 24px 65px rgba(21, 56, 40, 0.09),
        0 4px 14px rgba(21, 56, 40, 0.035);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(
            ellipse at 6% 12%,
            rgba(219, 231, 214, 0.45),
            transparent 34%
        ),
        radial-gradient(
            ellipse at 95% 38%,
            rgba(230, 216, 186, 0.20),
            transparent 31%
        ),
        var(--canvas);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

button,
input {
    font: inherit;
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(200, 155, 82, 0.6);
    outline-offset: 4px;
}

::selection {
    color: #fff;
    background: var(--green-700);
}

/* BACKGROUND DECORATIONS */

.ambient {
    position: fixed;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.ambient-one {
    top: -170px;
    right: -130px;
    width: 390px;
    height: 390px;
    border: 1px solid rgba(43, 103, 75, 0.07);
    box-shadow:
        0 0 0 38px rgba(43, 103, 75, 0.025),
        0 0 0 78px rgba(43, 103, 75, 0.018);
    animation: ambient-drift 15s ease-in-out infinite alternate;
}

.ambient-two {
    bottom: 60px;
    left: -180px;
    width: 350px;
    height: 350px;
    background: rgba(222, 190, 129, 0.09);
    filter: blur(55px);
    animation: ambient-drift 18s ease-in-out infinite alternate-reverse;
}

.page-shell {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}

/* HEADER */

.topbar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 1px solid rgba(28, 70, 49, 0.08);
    animation: slide-down 0.7s ease both;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-symbol {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #1e6047, #0d3024);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(16, 61, 48, 0.17);
}

.brand-symbol svg {
    width: 32px;
    height: 32px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-copy strong {
    font-family: var(--font-heading);
    font-size: 21px;
    line-height: 1;
    letter-spacing: -1.2px;
    font-weight: 800;
    color: var(--green-900);
}

.brand-copy strong span {
    color: var(--gold-500);
}

.brand-copy small {
    color: #87958a;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.4px;
}

.header-right {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #6d7c71;
    font-size: 12px;
    font-weight: 600;
}

.secure-dot,
.footer-status > span {
    position: relative;
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #50a675;
}

.secure-dot::after {
    position: absolute;
    inset: -4px;
    border: 1px solid rgba(80, 166, 117, 0.4);
    border-radius: 50%;
    content: "";
    animation: pulse-ring 2.4s ease-out infinite;
}

/* MAIN HERO */

.main-content {
    padding-top: 43px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(410px, 0.94fr);
    align-items: center;
    gap: clamp(38px, 6vw, 78px);
    min-height: 440px;
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding: 15px 0;
    animation: reveal-up 0.8s 0.08s ease both;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--green-700);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.65px;
}

.eyebrow-icon {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: var(--gold-500);
    background: var(--gold-100);
    border: 1px solid rgba(200, 155, 82, 0.12);
    border-radius: 9px;
}

.eyebrow-icon svg {
    width: 17px;
    height: 17px;
}

.hero-copy h1 {
    max-width: 540px;
    margin: 0;
    color: var(--green-950);
    font-family: var(--font-heading);
    font-size: clamp(39px, 4.4vw, 59px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -3.3px;
}

.headline-accent {
    position: relative;
    display: inline-block;
    color: var(--green-700);
}

.headline-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 11px;
    color: var(--gold-500);
    opacity: 0.78;
    overflow: visible;
}

.hero-description {
    max-width: 410px;
    margin: 22px 0 0;
    color: #77857b;
    font-size: 14px;
    line-height: 1.9;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 23px;
}

.hero-point {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #586b5d;
    font-size: 11px;
    font-weight: 600;
}

.point-check {
    display: grid;
    width: 17px;
    height: 17px;
    place-items: center;
    color: var(--green-700);
    background: #e4eee5;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 800;
}

/* MINI TRUST NOTE */

.mini-note {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    margin-top: 32px;
    padding: 13px 18px 13px 13px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(28, 70, 49, 0.075);
    border-radius: 15px;
    box-shadow: 0 6px 22px rgba(26, 65, 44, 0.035);
    backdrop-filter: blur(12px);
}

.note-icon {
    display: grid;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    place-items: center;
    color: var(--green-700);
    background: #eaf2e9;
    border-radius: 11px;
}

.note-icon svg {
    width: 21px;
    height: 21px;
}

.mini-note > div:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mini-note strong {
    color: #284d38;
    font-size: 11px;
    font-weight: 700;
}

.mini-note span {
    color: #8a958c;
    font-size: 10px;
}

.note-sparkle {
    margin-left: 7px;
    color: var(--gold-500);
    font-size: 19px;
    animation: sparkle 4s ease-in-out infinite;
}

/* SEARCH STAGE */

.search-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 24px 0 30px;
    animation: reveal-up 0.85s 0.2s ease both;
}

.search-stage::before {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 390px;
    height: 390px;
    max-width: 100%;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(202, 222, 199, 0.62) 0%,
            rgba(225, 235, 216, 0.25) 43%,
            transparent 70%
        );
    content: "";
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 350px;
    height: 350px;
    max-width: 94%;
    border: 1px solid rgba(54, 109, 74, 0.11);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.orbit-one {
    animation: orbit-breathe 7s ease-in-out infinite;
}

.orbit-two {
    width: 420px;
    height: 420px;
    max-width: 112%;
    border-color: rgba(190, 153, 91, 0.10);
    animation: orbit-breathe 9s 1s ease-in-out infinite reverse;
}

.float-decoration {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.float-star {
    top: 14px;
    right: 16%;
    color: var(--gold-500);
    font-size: 31px;
    animation: float-slow 5s ease-in-out infinite;
}

.float-plus {
    bottom: 18px;
    left: 7%;
    color: #75a182;
    font-size: 29px;
    font-weight: 400;
    animation: float-slow 4s 0.5s ease-in-out infinite;
}

.float-dot {
    top: 15%;
    left: 5%;
    width: 8px;
    height: 8px;
    background: var(--gold-400);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(223, 189, 126, 0.13);
    animation: float-slow 4.5s 0.8s ease-in-out infinite;
}

/* SEARCH CARD */

.search-card {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 455px;
    padding: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    isolation: isolate;
}

.search-card::before {
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(
        90deg,
        var(--green-800),
        #77a67d 54%,
        var(--gold-400)
    );
    content: "";
}

.search-card::after {
    position: absolute;
    z-index: -1;
    right: -60px;
    bottom: -80px;
    width: 170px;
    height: 170px;
    background: radial-gradient(
        circle,
        rgba(223, 189, 126, 0.10),
        transparent 70%
    );
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.card-top {
    display: flex;
    align-items: center;
    gap: 13px;
}

.card-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #286c4d, #123d2d);
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(23, 78, 60, 0.18);
}

.card-icon svg {
    width: 25px;
    height: 25px;
}

.card-label {
    flex: 1;
    min-width: 0;
}

.card-label > span {
    display: block;
    margin-bottom: 5px;
    color: #9aab9c;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.card-label h2 {
    margin: 0;
    color: var(--green-950);
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.65px;
}

.card-index {
    align-self: flex-start;
    color: #d3dcd2;
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -1px;
}

.card-description {
    margin: 19px 0 23px;
    color: #829087;
    font-size: 12px;
    line-height: 1.85;
}

/* FORM */

.search-form label {
    display: block;
    margin-bottom: 10px;
    color: #314a39;
    font-size: 11px;
    font-weight: 700;
}

.input-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 0 14px;
    background: #f9fbf8;
    border: 1px solid #e2e9e1;
    border-radius: 13px;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.input-wrap:focus-within {
    background: #fff;
    border-color: #6a9b78;
    box-shadow: 0 0 0 4px rgba(70, 137, 88, 0.09);
}

.input-wrap > svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    color: #82968a;
}

.input-wrap input {
    width: 100%;
    min-width: 0;
    height: 51px;
    padding: 0;
    color: var(--green-950);
    background: transparent;
    border: 0;
    outline: none;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.35px;
}

.input-wrap input::placeholder {
    color: #aab5ac;
    font-weight: 400;
    letter-spacing: 0;
}

.input-count {
    flex: 0 0 auto;
    padding: 5px 7px;
    color: #8a998d;
    background: #edf2eb;
    border-radius: 6px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.input-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    color: #96a198;
    font-size: 10px;
    line-height: 1.6;
}

.input-hint svg {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
}

.search-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 53px;
    margin-top: 21px;
    padding: 0 9px 0 19px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(110deg, #174e3c, #226c4b);
    border: 0;
    border-radius: 13px;
    cursor: pointer;
    box-shadow: 0 7px 16px rgba(23, 78, 60, 0.14);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.search-button::before {
    position: absolute;
    top: -40%;
    left: -70%;
    width: 35%;
    height: 180%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    content: "";
    transform: skewX(-25deg);
    transition: left 0.65s ease;
    pointer-events: none;
}

.search-button:hover::before {
    left: 140%;
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 11px 23px rgba(23, 78, 60, 0.22);
    filter: saturate(1.08);
}

.search-button:active {
    transform: translateY(0) scale(0.99);
}

.search-button > span:first-child {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15px;
}

.button-arrow {
    display: grid;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    place-items: center;
    color: var(--green-900);
    background: #e5d0a2;
    border-radius: 10px;
    transition: transform 0.25s ease;
}

.button-arrow svg {
    width: 19px;
    height: 19px;
}

.search-button:hover .button-arrow {
    transform: translateX(2px);
}

.search-button.is-loading {
    opacity: 0.8;
    cursor: wait;
}

.card-bottom {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    padding-top: 16px;
    color: #9aa49b;
    border-top: 1px solid #edf0eb;
    font-size: 9px;
    line-height: 1.5;
}

.bottom-shield {
    display: inline-flex;
    flex: 0 0 14px;
}

.bottom-shield svg {
    width: 14px;
    height: 14px;
    color: #6e9b78;
}

.card-bottom-dot {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    margin-left: auto;
    background: #8dbb91;
    border-radius: 50%;
}

/* FLOATING LABELS */

.floating-tag {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(231, 237, 229, 0.95);
    border-radius: 13px;
    box-shadow: 0 10px 28px rgba(26, 61, 42, 0.09);
    backdrop-filter: blur(12px);
    pointer-events: none;
}

.tag-top {
    top: 0%;
    left: -60px;
    animation: float-slow 5.5s ease-in-out infinite;
}

.tag-bottom {
    right: -10px;
    bottom: 7%;
    animation: float-slow 6s 0.8s ease-in-out infinite;
}

.tag-symbol {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    color: #98702f;
    background: #f7efdf;
    border-radius: 9px;
    font-size: 17px;
}

.tag-live {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    background: #59a675;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #e6f2e7;
}

.floating-tag > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.floating-tag strong {
    color: #2c4835;
    font-size: 10px;
    font-weight: 800;
}

.floating-tag small {
    color: #97a198;
    font-size: 9px;
}

/* NOTIFICATION */

.notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 17px;
    padding: 12px 13px;
    border: 1px solid transparent;
    border-radius: 11px;
    font-size: 11px;
    line-height: 1.7;
    animation: reveal-up 0.35s ease both;
}

.notice-success {
    color: #25633f;
    background: #edf7ed;
    border-color: #d7ead8;
}

.notice-error {
    color: #a13e37;
    background: #fff1ef;
    border-color: #f4dbd7;
}

.notice-icon {
    display: grid;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    place-items: center;
    margin-top: 1px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
}

/* FEATURES */

.features-section {
    margin-top: 29px;
    padding: 25px 27px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(28, 70, 49, 0.065);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(26, 61, 42, 0.025);
    animation: reveal-up 0.8s 0.3s ease both;
}

.features-intro {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 21px;
}

.section-kicker {
    color: #9b865b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.features-intro h2 {
    margin: 6px 0 0;
    color: var(--green-950);
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 7px 18px;
}

.feature-item:first-child {
    padding-left: 0;
}

.feature-item + .feature-item {
    border-left: 1px solid #e9eee8;
}

.feature-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border-radius: 13px;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: translateY(-3px) rotate(-4deg);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-green {
    color: #347450;
    background: #e8f2e8;
}

.feature-gold {
    color: #9e783b;
    background: #f7efdf;
}

.feature-dark {
    color: #426b57;
    background: #eaf0eb;
}

.feature-item h3 {
    margin: 0 0 5px;
    color: #30483a;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
}

.feature-item p {
    max-width: 180px;
    margin: 0;
    color: #8c978e;
    font-size: 10px;
    line-height: 1.65;
}

/* STUDENT RESULT */

.student-result {
    margin-top: 30px;
    padding: 26px;
    background: #fff;
    border: 1px solid #e7eee6;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(26, 61, 42, 0.05);
    animation: reveal-up 0.5s ease both;
}

.result-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.result-heading h2 {
    margin: 6px 0 0;
    color: var(--green-950);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.7px;
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    color: #287047;
    background: #eaf5eb;
    border: 1px solid #dceede;
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
}

.result-badge span {
    width: 6px;
    height: 6px;
    background: #48a26b;
    border-radius: 50%;
}

.student-panel {
    padding: 23px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(223, 189, 126, 0.12),
            transparent 32%
        ),
        #fafcf9;
    border: 1px solid #edf1ea;
    border-radius: 17px;
}

.student-identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

.student-avatar {
    position: relative;
    display: grid;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    place-items: center;
    color: #fff;
    background: linear-gradient(145deg, #3c8060, #123c2c);
    border: 4px solid #e3eee2;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(23, 78, 60, 0.12);
}

.avatar-sparkle {
    position: absolute;
    right: -7px;
    bottom: -5px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: #86652d;
    background: #f4e6c6;
    border: 2px solid #fafcf9;
    border-radius: 50%;
    font-size: 11px;
}

.student-name > span {
    color: #9aa69b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.student-name h3 {
    margin: 6px 0;
    color: var(--green-950);
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.5px;
    overflow-wrap: anywhere;
}

.student-name p {
    margin: 0;
    color: #829087;
    font-size: 11px;
}

.student-divider {
    height: 1px;
    margin: 23px 0;
    background: #e8eee7;
}

.student-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-item > span {
    color: #929d93;
    font-size: 10px;
}

.meta-item strong {
    color: #2b4a36;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.student-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 23px;
    padding: 13px;
    color: #6c7d70;
    background: #edf4eb;
    border-radius: 11px;
}

.message-icon {
    display: grid;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    place-items: center;
    color: #fff;
    background: #659270;
    border-radius: 50%;
    font-family: serif;
    font-size: 12px;
    font-weight: 700;
}

.student-message p {
    margin: 0;
    font-size: 11px;
    line-height: 1.75;
}

.coming-soon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 47px;
    margin-top: 17px;
    padding: 12px;
    color: #77877a;
    background: #eef1eb;
    border: 1px solid #e6ebe3;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 700;
    cursor: not-allowed;
}

.coming-soon-icon {
    color: #b49353;
    font-size: 15px;
}

/* FOOTER */

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 75px;
    margin-top: 14px;
    padding: 15px 0;
    border-top: 1px solid rgba(28, 70, 49, 0.08);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #718076;
    font-size: 10px;
    font-weight: 700;
}

.footer-mark {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    color: #fff;
    background: var(--green-800);
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
}

.footer-copy {
    color: #a1aaa2;
    font-size: 10px;
    text-align: center;
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #718076;
    font-size: 10px;
    font-weight: 600;
}

/* ANIMATIONS */

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(17px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-9px);
    }
}

@keyframes ambient-drift {
    from {
        transform: translate(0, 0) scale(1);
    }
    to {
        transform: translate(-18px, 20px) scale(1.06);
    }
}

@keyframes orbit-breathe {
    0%, 100% {
        opacity: 0.65;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.035);
    }
}

@keyframes pulse-ring {
    0% {
        opacity: 0.8;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.65);
    }
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.75;
        transform: rotate(0deg) scale(1);
    }
    50% {
        opacity: 1;
        transform: rotate(35deg) scale(1.15);
    }
}

/* TABLET */

@media (max-width: 950px) {
    .page-shell {
        width: min(760px, calc(100% - 44px));
    }

    .main-content {
        padding-top: 35px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
        gap: 25px;
        min-height: 400px;
    }

    .hero-copy h1 {
        font-size: clamp(36px, 5vw, 47px);
        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 13px;
    }

    .search-card {
        padding: 23px;
        border-radius: 23px;
    }

    .tag-top {
        left: -5px;
    }

    .tag-bottom {
        right: -5px;
    }

    .floating-tag {
        padding: 9px 11px;
    }

    .features-section {
        padding: 22px;
    }

    .feature-item {
        gap: 9px;
        padding-inline: 12px;
    }

    .feature-icon {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }
}

/* MOBILE */

@media (max-width: 680px) {
    body {
        background:
            radial-gradient(
                ellipse at 100% 10%,
                rgba(222, 234, 215, 0.45),
                transparent 38%
            ),
            var(--canvas);
    }

    .page-shell {
        width: calc(100% - 32px);
    }

    .topbar {
        min-height: 70px;
        gap: 12px;
    }

    .brand {
        gap: 9px;
    }

    .brand-symbol {
        width: 39px;
        height: 39px;
        border-radius: 12px;
    }

    .brand-symbol svg {
        width: 29px;
        height: 29px;
    }

    .brand-copy strong {
        font-size: 19px;
    }

    .brand-copy small {
        font-size: 8px;
        letter-spacing: 1.9px;
    }

    .header-right {
        gap: 7px;
        font-size: 9px;
        text-align: right;
    }

    .main-content {
        padding-top: 24px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
        min-height: auto;
    }

    .hero-copy {
        padding: 0;
    }

    .eyebrow {
        gap: 7px;
        margin-bottom: 14px;
        font-size: 9px;
        letter-spacing: 1.25px;
    }

    .eyebrow-icon {
        width: 25px;
        height: 25px;
        border-radius: 8px;
    }

    .hero-copy h1 {
        max-width: 430px;
        font-size: clamp(36px, 9vw, 47px);
        line-height: 1.14;
        letter-spacing: -2.4px;
    }

    .headline-underline {
        bottom: -4px;
        height: 8px;
    }

    .hero-description {
        max-width: 390px;
        margin-top: 14px;
        font-size: 12px;
        line-height: 1.8;
    }

    .hero-points {
        gap: 9px 15px;
        margin-top: 15px;
    }

    .hero-point {
        font-size: 10px;
    }

    .point-check {
        width: 16px;
        height: 16px;
    }

    .mini-note {
        display: none;
    }

    .search-stage {
        margin-top: 8px;
        padding: 20px 0 19px;
    }

    .search-stage::before {
        width: 320px;
        height: 320px;
    }

    .orbit {
        width: 300px;
        height: 300px;
    }

    .orbit-two {
        width: 340px;
        height: 340px;
    }

    .float-star {
        top: 4px;
        right: 9%;
        font-size: 25px;
    }

    .float-plus {
        bottom: 5px;
        left: 2%;
        font-size: 24px;
    }

    .float-dot {
        top: 11%;
        left: 2%;
        width: 6px;
        height: 6px;
    }

    .search-card {
        max-width: 480px;
        padding: 22px 19px 18px;
        border-radius: 22px;
    }

    .card-icon {
        width: 43px;
        height: 43px;
        flex-basis: 43px;
        border-radius: 13px;
    }

    .card-icon svg {
        width: 23px;
        height: 23px;
    }

    .card-label > span {
        font-size: 8px;
        letter-spacing: 1.15px;
    }

    .card-label h2 {
        font-size: 17px;
    }

    .card-index {
        font-size: 17px;
    }

    .card-description {
        margin: 14px 0 18px;
        font-size: 11px;
        line-height: 1.75;
    }

    .search-form label {
        margin-bottom: 8px;
        font-size: 10px;
    }

    .input-wrap {
        gap: 9px;
        padding-inline: 11px;
    }

    .input-wrap input {
        height: 48px;
        font-size: 12px;
    }

    .input-count {
        padding: 5px;
        font-size: 7px;
    }

    .input-hint {
        margin-top: 8px;
        font-size: 9px;
    }

    .search-button {
        min-height: 49px;
        margin-top: 16px;
        padding-left: 15px;
        border-radius: 11px;
    }

    .search-button > span:first-child {
        font-size: 11px;
    }

    .button-arrow {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 9px;
    }

    .card-bottom {
        gap: 6px;
        margin-top: 15px;
        padding-top: 12px;
        font-size: 8px;
    }

    .floating-tag {
        gap: 7px;
        padding: 8px 10px;
        border-radius: 11px;
    }

    .tag-top {
        top: 0;
        left: -3px;
    }

    .tag-bottom {
        right: -3px;
        bottom: 1px;
    }

    .tag-symbol {
        width: 25px;
        height: 25px;
        border-radius: 8px;
        font-size: 14px;
    }

    .floating-tag strong {
        font-size: 9px;
    }

    .floating-tag small {
        font-size: 8px;
    }

    .features-section {
        margin-top: 19px;
        padding: 19px 16px;
        border-radius: 17px;
    }

    .features-intro {
        display: block;
        margin-bottom: 16px;
    }

    .features-intro h2 {
        font-size: 16px;
    }

    .feature-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .feature-item,
    .feature-item:first-child {
        padding: 12px 0;
    }

    .feature-item + .feature-item {
        border-top: 1px solid #e9eee8;
        border-left: 0;
    }

    .feature-icon {
        width: 39px;
        height: 39px;
        flex-basis: 39px;
    }

    .feature-item h3 {
        font-size: 11px;
    }

    .feature-item p {
        max-width: none;
        font-size: 10px;
    }

    .student-result {
        margin-top: 22px;
        padding: 18px;
        border-radius: 18px;
    }

    .result-heading {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 15px;
    }

    .result-heading h2 {
        font-size: 17px;
    }

    .result-badge {
        padding: 7px 9px;
        font-size: 9px;
        white-space: nowrap;
    }

    .student-panel {
        padding: 17px;
    }

    .student-identity {
        gap: 12px;
    }

    .student-avatar {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
        border-radius: 17px;
        font-size: 23px;
    }

    .student-name h3 {
        font-size: 16px;
    }

    .student-divider {
        margin: 19px 0;
    }

    .student-meta {
        gap: 12px;
    }

    .meta-item strong {
        font-size: 12px;
    }

    .student-message {
        gap: 8px;
        margin-top: 19px;
        padding: 11px;
    }

    .student-message p {
        font-size: 10px;
    }

    .coming-soon-button {
        min-height: 44px;
        font-size: 10px;
    }

    .site-footer {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 10px;
        margin-top: 8px;
        padding: 15px 0 19px;
    }

    .footer-brand {
        font-size: 9px;
    }

    .footer-copy {
        grid-column: 1;
        grid-row: 2;
        font-size: 9px;
        text-align: left;
    }

    .footer-status {
        grid-column: 2;
        grid-row: 1 / span 2;
        justify-self: end;
        font-size: 9px;
    }
}

/* SMALL PHONES */

@media (max-width: 380px) {
    .page-shell {
        width: calc(100% - 24px);
    }

    .header-right {
        max-width: 108px;
        font-size: 8px;
    }

    .hero-copy h1 {
        font-size: 35px;
        letter-spacing: -2px;
    }

    .hero-points {
        gap: 8px 11px;
    }

    .hero-point {
        font-size: 9px;
    }

    .search-card {
        padding: 19px 15px 15px;
    }

    .card-label h2 {
        font-size: 16px;
    }

    .card-index {
        font-size: 15px;
    }

    .input-wrap {
        gap: 7px;
        padding-inline: 9px;
    }

    .input-wrap input {
        font-size: 11px;
    }

    .input-count {
        font-size: 6px;
    }

    .tag-top {
        left: -2px;
    }

    .tag-bottom {
        right: -2px;
    }

    .floating-tag {
        padding: 7px 8px;
    }

    .student-result {
        padding: 14px;
    }

    .student-panel {
        padding: 13px;
    }
}


/* =========================================
   AJAX SEARCH — SMOOTH RESULT APPEARANCE
========================================= */

/* Pastikan elemen tersembunyi tidak mengambil ruang */
[hidden] {
    display: none !important;
}


/* Tombol menuju detail pembayaran siswa */
.detail-payment-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    margin-top: 16px;
    padding: 14px 18px;
    border: 1px solid #245b47;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(120deg, #164b38, #103d30);
    box-shadow: 0 8px 20px rgba(16, 61, 48, .14);
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.detail-payment-button:not([hidden]) {
    display: flex;
}

.detail-payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(16, 61, 48, .2);
}

.detail-button-icon {
    color: #e5c77e;
}

.detail-button-arrow {
    margin-left: auto;
    font-size: 20px;
    transition: transform .2s ease;
}

.detail-payment-button:hover .detail-button-arrow {
    transform: translateX(4px);
}

.detail-payment-button[hidden] {
    display: none !important;
}
