:root {
    --ez-primary: #14b8a6;
    --ez-primary-dark: #0f766e;
    --ez-secondary: #2563eb;
    --ez-bg: #f8fafc;
    --ez-card: #ffffff;
    --ez-border: #e5e7eb;
    --ez-text: #0f172a;
    --ez-muted: #64748b;
    --ez-shadow: 0 12px 40px rgba(15, 23, 42, .08);
}

body.ezin-public-shell,
body.ezin-student-shell {
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(20, 184, 166, .12), transparent 26rem),
        var(--ez-bg);
    color: var(--ez-text);
    font-family: Inter, Poppins, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.ezin-student-shell .student-quick-actions {
    display: none !important;
}

.ezin-public-shell .topbar,
.ezin-student-shell .topbar {
    position: sticky;
    top: 0;
    z-index: 70;
    min-height: 78px;
    border-bottom: 1px solid rgba(226, 232, 240, .95);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
}

.ezin-public-shell .container,
.ezin-student-shell .container {
    width: min(1120px, calc(100% - 28px));
    max-width: 1120px;
}

.ezin-public-shell .menu-toggle {
    display: none;
}

.ezin-student-shell .menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 44px;
    margin-left: auto;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #fff;
}

.ezin-student-shell .menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #0f172a;
}

.ezin-student-shell .nav {
    display: flex;
    gap: 10px;
}

.ezin-student-shell .mobile-bottom-nav,
.ezin-student-shell .mobile-fab {
    display: none;
}

.public-landing,
.student-dashboard {
    display: grid;
    gap: 24px;
    padding-block: clamp(24px, 5vw, 56px);
}

.landing-hero-card,
.student-hero-card,
.student-active-card,
.student-history-card {
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--ez-shadow);
}

.landing-hero-card,
.student-hero-card {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 5vw, 44px);
    background: linear-gradient(135deg, #f8fffd, #ffffff);
    color: #0f172a;
    border-left: 8px solid #14b8a6;
}

.landing-hero-card {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 5vw, 44px);
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
}

.landing-hero-card::after,
.student-hero-card::after {
    content: "";
    position: absolute;
    inset: auto -80px -100px auto;
    width: 280px;
    height: 280px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
}

.landing-hero-card > *,
.student-hero-card > * {
    position: relative;
    z-index: 1;
}

.landing-badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #eafffb;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.student-eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ccfbf1;
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.landing-hero-card h1 {
    margin: 0;
    font-size: clamp(34px, 8vw, 56px);
    line-height: 1.05;
    letter-spacing: 0;
}

.student-hero-card h1 {
    margin: 0;
    max-width: 780px;
    color: #0f172a;
    font-size: clamp(34px, 8vw, 52px);
    line-height: 1.08;
    letter-spacing: 0;
}

.landing-hero-card p {
    max-width: 720px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(17px, 3vw, 24px);
    line-height: 1.55;
}

.student-hero-card p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #64748b;
    font-size: clamp(17px, 3vw, 24px);
    line-height: 1.55;
}

.student-role-pill {
    display: inline-flex;
    width: fit-content;
    margin-top: 22px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #ccfbf1;
    color: #0f766e;
    font-size: 15px;
    font-weight: 900;
}

.landing-actions,
.student-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.modern-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 18px;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease;
}

.modern-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, .16);
}

.modern-action.primary {
    background: #0f766e;
}

.modern-action.light {
    border-color: rgba(255, 255, 255, .55);
    background: #fff;
    color: #0f172a;
}

.modern-action.blue {
    background: var(--ez-secondary);
}

.modern-action.orange {
    background: #f97316;
}

.landing-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.landing-info-grid article {
    display: grid;
    gap: 8px;
    min-height: 132px;
    padding: 20px;
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
}

.landing-info-grid span {
    font-size: 28px;
}

.landing-info-grid strong {
    font-size: 17px;
}

.landing-info-grid small {
    color: var(--ez-muted);
    font-size: 13px;
    line-height: 1.45;
}

.student-hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 20px;
}

.student-quick-actions {
    grid-column: 1 / -1;
}

.student-status-card {
    align-self: end;
    padding: 18px;
    border: 1px solid rgba(20, 184, 166, .2);
    border-radius: 20px;
    background: rgba(240, 253, 250, .8);
}

.student-status-card span,
.student-status-card small {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.student-status-card strong {
    display: block;
    margin: 8px 0;
    color: #0f766e;
    font-size: 20px;
}

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

.student-stat-grid article {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 132px;
    padding: 22px;
    border: 1px solid rgba(226, 232, 240, .95);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
}

.student-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 25px;
    font-weight: 900;
}

.student-stat-icon.teal { background: #ccfbf1; color: #0f766e; }
.student-stat-icon.amber { background: #fef3c7; color: #b45309; }
.student-stat-icon.blue { background: #e0f2fe; color: #0369a1; }
.student-stat-icon.green { background: #dcfce7; color: #15803d; }

.student-stat-grid strong {
    display: block;
    color: #0f172a;
    font-size: 36px;
    line-height: 1;
}

.student-stat-grid small {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
}

.student-active-card,
.student-history-card {
    padding: clamp(18px, 4vw, 28px);
}

.student-active-card h2,
.student-history-card h2 {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: clamp(24px, 5vw, 34px);
}

.student-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.student-section-head span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #ccfbf1;
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
}

.student-permit-list {
    display: grid;
    gap: 12px;
}

.student-permit-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
}

.student-avatar-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, #14b8a6, #2563eb);
    color: #fff;
    font-weight: 900;
}

.permit-item-main strong,
.permit-item-main small {
    display: block;
}

.permit-item-main small {
    margin-top: 5px;
    color: var(--ez-muted);
    font-size: 13px;
}

.permit-item-side {
    display: grid;
    justify-items: end;
    gap: 8px;
}

.permit-item-side a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 0 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #0f766e;
    font-weight: 900;
    text-decoration: none;
}

.modern-empty-state {
    display: grid;
    place-items: center;
    gap: 8px;
    min-height: 220px;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    background: #f8fafc;
    text-align: center;
}

.modern-empty-state span {
    font-size: 42px;
}

.modern-empty-state h3,
.modern-empty-state p {
    margin: 0;
}

.modern-empty-state p {
    color: var(--ez-muted);
}

/* Landing page final: premium SaaS identity. */
.ezin-public-shell {
    background: #f8fafc;
}

.ezin-public-shell .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 1180px;
}

.landing-v2 {
    display: grid;
    gap: 28px;
    padding-block: clamp(26px, 5vw, 64px);
}

.landing-v2-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
    gap: clamp(22px, 4vw, 38px);
    align-items: stretch;
    overflow: hidden;
    min-height: 560px;
    padding: clamp(24px, 5vw, 48px);
    border: 1px solid rgba(226, 232, 240, .9);
    border-radius: 32px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(248, 250, 252, .88)),
        url("../images/gedung-smkn1-kepil.jpg") center / cover no-repeat;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
}

.landing-v2-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 18%, rgba(20, 184, 166, .22), transparent 28rem),
        linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .5));
    backdrop-filter: blur(2px);
}

.landing-v2-hero::after {
    content: "";
    position: absolute;
    inset: auto -90px -130px auto;
    width: 320px;
    height: 320px;
    border-radius: 999px;
    background: rgba(20, 184, 166, .18);
}

.landing-v2-copy,
.landing-login-card {
    position: relative;
    z-index: 1;
}

.landing-v2-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.landing-v2-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: clamp(28px, 5vw, 56px);
}

.landing-v2-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.landing-v2-brand strong,
.landing-v2-brand small {
    display: block;
}

.landing-v2-brand strong {
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
}

.landing-v2-brand small {
    margin-top: 3px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.landing-v2-badge,
.login-card-kicker {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ccfbf1;
    color: #0f766e;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.landing-v2 h1 {
    margin: 18px 0 0;
    color: #0f172a;
    font-size: clamp(48px, 8vw, 86px);
    line-height: .96;
    letter-spacing: 0;
}

.landing-v2 h1 span {
    color: #0f766e;
    font-size: clamp(28px, 4vw, 48px);
}

.landing-v2-copy p {
    max-width: 720px;
    margin: 24px 0 0;
    color: #475569;
    font-size: clamp(17px, 2.2vw, 22px);
    line-height: 1.65;
}

.landing-v2-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.landing-v2-points span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 15px;
    border: 1px solid rgba(20, 184, 166, .22);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #0f766e;
    font-size: 13px;
    font-weight: 900;
}

.landing-login-card {
    display: grid;
    align-content: center;
    gap: 22px;
    padding: clamp(22px, 4vw, 32px);
    border: 1px solid rgba(226, 232, 240, .94);
    border-radius: 28px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 24px 60px rgba(15, 23, 42, .14);
    backdrop-filter: blur(18px);
}

.landing-login-card h2 {
    margin: 14px 0 0;
    color: #0f172a;
    font-size: clamp(26px, 4vw, 34px);
    letter-spacing: 0;
}

.landing-login-card p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.55;
}

.login-card-actions {
    display: grid;
    gap: 12px;
}

.login-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 66px;
    padding: 13px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.login-action:hover {
    transform: translateY(-3px);
    border-color: rgba(20, 184, 166, .32);
    box-shadow: 0 16px 34px rgba(15, 23, 42, .1);
}

.login-action span,
.login-action small {
    display: block;
}

.login-action span {
    font-size: 16px;
    font-weight: 900;
}

.login-action small {
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.login-action.primary {
    border-color: transparent;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: #fff;
}

.login-action.primary small {
    color: rgba(255, 255, 255, .78);
}

.login-action.outline {
    border-color: rgba(37, 99, 235, .28);
    color: #2563eb;
}

.landing-feature-grid,
.landing-stat-grid {
    display: grid;
    gap: 18px;
}

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

.landing-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-feature-grid article,
.landing-stat-grid article,
.landing-announcement {
    border: 1px solid rgba(226, 232, 240, .94);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 38px rgba(15, 23, 42, .07);
}

.landing-feature-grid article {
    padding: 24px;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    font-weight: 900;
}

.feature-icon.shield { background: #ccfbf1; color: #0f766e; }
.feature-icon.fast { background: #dbeafe; color: #2563eb; }
.feature-icon.sync { background: #dcfce7; color: #15803d; }

.landing-feature-grid h2 {
    margin: 18px 0 0;
    color: #0f172a;
    font-size: 22px;
}

.landing-feature-grid p {
    margin: 9px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.landing-stat-grid article {
    padding: 22px;
}

.landing-stat-grid small,
.landing-stat-grid span {
    display: block;
    color: #64748b;
    font-weight: 800;
}

.landing-stat-grid small {
    font-size: 12px;
    text-transform: uppercase;
}

.landing-stat-grid strong {
    display: block;
    margin: 12px 0 8px;
    color: #0f172a;
    font-size: clamp(26px, 4vw, 38px);
    line-height: 1;
}

.landing-stat-grid span {
    font-size: 13px;
}

.landing-announcement {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px;
}

.landing-announcement > div {
    display: flex;
    align-items: center;
    gap: 16px;
}

.announcement-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 18px;
    background: #fef3c7;
    color: #b45309;
    font-size: 22px;
    font-weight: 900;
}

.landing-announcement h2,
.landing-announcement p {
    margin: 0;
}

.landing-announcement h2 {
    color: #0f172a;
    font-size: 22px;
}

.landing-announcement p {
    margin-top: 6px;
    color: #64748b;
    line-height: 1.55;
}

.landing-announcement a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 15px;
    background: #0f766e;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.ezin-public-shell .footer {
    margin-top: 28px;
    padding: 24px clamp(18px, 4vw, 40px);
    border-radius: 28px 28px 0 0;
    background: #0f766e;
    color: rgba(255, 255, 255, .88);
}

@media (max-width: 768px) {
    body.ezin-student-shell.drawer-open {
        overflow: hidden;
        touch-action: none;
    }

    .ezin-public-shell .topbar,
    .ezin-student-shell .topbar {
        min-height: 72px;
        padding-inline: 16px;
    }

    .ezin-student-shell .topbar {
        position: fixed !important;
        inset: 0 0 auto 0 !important;
        z-index: 130;
        display: flex;
        align-items: center;
        flex-wrap: nowrap !important;
        width: 100%;
        height: 72px;
        min-height: 72px;
        overflow: visible;
    }

    .ezin-student-shell main.container {
        margin-top: 92px;
    }

    .ezin-public-shell .brand-logo,
    .ezin-student-shell .brand-logo {
        width: 48px;
        height: 48px;
    }

    .ezin-public-shell .brand strong,
    .ezin-student-shell .brand strong {
        font-size: 18px;
    }

    .ezin-public-shell .brand small,
    .ezin-student-shell .brand small {
        font-size: 12px;
        line-height: 1.25;
    }

    .public-landing,
    .student-dashboard {
        padding-block: 22px 36px;
    }

    .landing-hero-card,
    .student-hero-card {
        border-radius: 24px;
        padding: 26px;
    }

    .landing-actions,
    .student-quick-actions,
    .landing-info-grid,
    .student-hero-card,
    .student-stat-grid {
        grid-template-columns: 1fr;
    }

    .ezin-student-shell .student-quick-actions {
        display: none !important;
    }

    .ezin-student-shell.drawer-open .shell-drawer-backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .ezin-student-shell.drawer-open .topbar {
        z-index: 130;
    }

    .ezin-student-shell .shell-drawer-backdrop {
        position: fixed;
        inset: 0;
        z-index: 110;
        background: rgba(15, 23, 42, .28);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
    }

    .ezin-student-shell .nav {
        position: fixed !important;
        inset: 0 auto 0 0 !important;
        z-index: 120;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: min(74vw, 278px);
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        padding: 78px 12px 116px;
        border-right: 1px solid #e2e8f0;
        background: #fff;
        box-shadow: 24px 0 50px rgba(15, 23, 42, .16);
        transform: translate3d(-105%, 0, 0);
        transition: transform .3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: contain;
        touch-action: pan-y;
        will-change: transform;
    }

    .ezin-student-shell .nav.show {
        transform: translate3d(0, 0, 0);
    }

    .ezin-student-shell.drawer-open .nav.show {
        position: fixed !important;
        inset: 0 auto 0 0 !important;
        height: 100vh !important;
        max-height: 100vh !important;
        transform: translate3d(0, 0, 0) !important;
    }

    .ezin-student-shell .nav-user {
        margin: 4px 4px 10px;
        padding: 10px 12px;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        background: #f8fafc;
        color: #64748b;
        font-size: 11px;
    }

    .ezin-student-shell .nav a {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: 42px;
        padding: 0 12px;
        border-radius: 14px;
        color: #334155;
        font-size: 13px;
        font-weight: 800;
        text-decoration: none;
    }

    .ezin-student-shell .nav a::before {
        content: attr(data-icon);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        border-radius: 10px;
        background: #f1f5f9;
        color: #475569;
    }

    .ezin-student-shell .nav a.active {
        background: #ccfbf1;
        color: #0f766e;
    }

    .ezin-student-shell .nav a.active::before {
        background: #fff;
        color: #0f766e;
    }

    .ezin-student-shell .mobile-bottom-nav {
        position: fixed;
        inset: auto 10px 10px;
        z-index: 100;
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 4px;
        padding: 8px;
        border: 1px solid rgba(226, 232, 240, .95);
        border-radius: 24px;
        background: rgba(255, 255, 255, .94);
        box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
        backdrop-filter: blur(18px);
    }

    .ezin-student-shell .mobile-bottom-nav a,
    .ezin-student-shell .mobile-bottom-nav button {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 3px;
        min-height: 52px;
        border: 0;
        border-radius: 17px;
        background: transparent;
        color: #64748b;
        font-size: 10px;
        font-weight: 800;
        text-decoration: none;
    }

    .ezin-student-shell .mobile-bottom-nav .active {
        background: #ccfbf1;
        color: #0f766e;
    }

    .ezin-student-shell .mobile-bottom-nav .scan-action {
        transform: translateY(-12px);
        background: linear-gradient(135deg, #14b8a6, #0f766e);
        color: #fff;
        box-shadow: 0 14px 28px rgba(15, 118, 110, .25);
    }

    .ezin-student-shell .mobile-fab {
        position: fixed;
        left: 50% !important;
        right: auto !important;
        bottom: 92px !important;
        z-index: 106;
        display: block;
        width: 1px !important;
        height: 1px !important;
        transform: translateX(-50%) !important;
    }

    .ezin-student-shell .fab-toggle {
        display: none !important;
        align-items: center;
        justify-content: center;
        width: 58px;
        height: 58px;
        border: 0;
        border-radius: 999px;
        background: linear-gradient(135deg, #14b8a6, #0f766e);
        color: #fff;
        font-size: 30px;
        box-shadow: 0 18px 40px rgba(15, 118, 110, .32);
    }

    .ezin-student-shell .fab-menu {
        position: absolute;
        left: 50%;
        right: auto;
        bottom: 14px;
        display: grid;
        gap: 10px;
        min-width: 178px;
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, 12px);
        transition: .3s ease;
    }

    .ezin-student-shell .mobile-fab.is-open .fab-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0);
    }

    .ezin-student-shell .fab-menu a {
        display: flex;
        min-height: 46px;
        align-items: center;
        justify-content: center;
        padding: 0 16px;
        border: 1px solid #e2e8f0;
        border-radius: 999px;
        background: #fff;
        color: #0f172a;
        font-size: 13px;
        font-weight: 900;
        text-decoration: none;
        box-shadow: 0 12px 30px rgba(15, 23, 42, .12);
    }

    .ezin-student-shell .footer {
        padding-bottom: 94px;
    }

    .student-status-card {
        align-self: stretch;
    }

    .student-permit-item {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .permit-item-side {
        grid-column: 1 / -1;
        grid-template-columns: 1fr auto;
        justify-items: start;
    }
}

@media (max-width: 420px) {
    .ezin-public-shell .container,
    .ezin-student-shell .container {
        width: min(100% - 18px, 100%);
    }

    .landing-hero-card,
    .student-hero-card,
    .student-active-card,
    .student-history-card {
        border-radius: 20px;
    }

    .modern-action {
        min-height: 50px;
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .landing-v2-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .landing-feature-grid,
    .landing-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .landing-v2 {
        gap: 18px;
        padding-block: 20px 34px;
    }

    .landing-v2-hero {
        gap: 20px;
        padding: 22px;
        border-radius: 26px;
    }

    .landing-v2-brand {
        margin-bottom: 24px;
    }

    .landing-v2-brand img {
        width: 48px;
        height: 48px;
    }

    .landing-v2 h1 {
        font-size: clamp(42px, 14vw, 62px);
    }

    .landing-v2 h1 span {
        font-size: clamp(24px, 7vw, 34px);
    }

    .landing-v2-copy p {
        font-size: 16px;
    }

    .landing-v2-points {
        gap: 8px;
    }

    .landing-v2-points span {
        min-height: 34px;
        font-size: 12px;
    }

    .landing-login-card {
        padding: 18px;
        border-radius: 22px;
    }

    .login-action {
        min-height: 60px;
        border-radius: 16px;
    }

    .landing-feature-grid,
    .landing-stat-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .landing-feature-grid article,
    .landing-stat-grid article,
    .landing-announcement {
        border-radius: 20px;
    }

    .landing-announcement {
        align-items: stretch;
        flex-direction: column;
    }

    .landing-announcement > div {
        align-items: flex-start;
    }

    .landing-announcement a {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .landing-v2-hero {
        padding: 18px;
        border-radius: 22px;
    }

    .landing-v2-brand strong {
        font-size: 17px;
    }

    .landing-v2-brand small {
        font-size: 12px;
    }

    .landing-v2 h1 {
        font-size: 39px;
    }

    .landing-v2 h1 span {
        font-size: 23px;
    }

    .feature-icon,
    .announcement-icon {
        width: 46px;
        height: 46px;
        border-radius: 15px;
    }
}

/* Landing visual lock: closer to the supplied SaaS mockup. */
.ezin-public-shell .container:has(.landing-v2) {
    width: min(1440px, calc(100% - 48px));
    max-width: 1440px;
    margin-top: 32px;
}

.landing-v2 {
    gap: 32px;
    padding-block: 28px 56px;
}

.landing-v2-hero {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 48px;
    min-height: 720px;
    padding: 56px;
    border-radius: 36px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 48%, rgba(255, 255, 255, .66) 100%),
        radial-gradient(circle at 15% 15%, rgba(20, 184, 166, .2), transparent 24rem),
        linear-gradient(135deg, rgba(20, 184, 166, .18), rgba(37, 99, 235, .08)),
        url("../images/gedung-smkn1-kepil.jpg") center / cover no-repeat;
}

.landing-v2-hero::before {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .12)),
        radial-gradient(circle at 8% 86%, rgba(20, 184, 166, .22), transparent 21rem);
    backdrop-filter: blur(3px);
}

.landing-v2-copy {
    justify-content: center;
    padding-right: 24px;
}

.landing-v2-brand {
    margin-bottom: 48px;
}

.landing-v2-badge {
    min-height: 40px;
    padding-inline: 18px;
    font-size: 13px;
}

.landing-v2 h1 {
    margin-top: 24px;
    font-size: 48px;
    line-height: 1.08;
    font-weight: 900;
}

.landing-v2 h1 span {
    display: inline-block;
    margin-top: 10px;
    color: #0f172a;
    font-size: 36px;
    font-weight: 600;
}

.landing-v2-copy p {
    max-width: 760px;
    margin-top: 28px;
    color: #475569;
    font-size: 18px;
    line-height: 1.8;
}

.landing-v2-points {
    gap: 24px;
    margin-top: 34px;
}

.landing-v2-points span {
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0f766e;
    font-size: 15px;
}

.landing-v2-points span::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 9px;
    border-radius: 999px;
    background: #14b8a6;
}

.landing-login-card {
    width: 420px;
    align-self: center;
    justify-self: end;
    padding: 30px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .16);
}

.landing-login-card h2 {
    font-size: 30px;
}

.login-card-actions {
    gap: 14px;
}

.login-action {
    min-height: 72px;
    border-radius: 18px;
    padding: 14px 18px;
}

.login-action.primary {
    background: linear-gradient(135deg, #14b8a6, #0f766e);
}

.login-action.admin {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.login-action.outline {
    background: #fff;
}

.landing-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 8px 6px 4px;
}

.landing-feature-grid article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px 16px;
    align-items: start;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.landing-feature-grid h2 {
    margin: 0;
    font-size: 20px;
}

.landing-feature-grid p {
    grid-column: 2;
    margin-top: -6px;
    font-size: 15px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
}

.landing-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.landing-stat-grid article {
    min-height: 150px;
    padding: 26px;
    border-radius: 24px;
}

.landing-stat-grid strong {
    margin: 14px 0 10px;
    color: #0f172a;
    font-size: 46px;
    font-weight: 900;
}

.landing-announcement {
    min-height: 112px;
    padding: 22px 26px;
    border-radius: 22px;
}

@media (max-width: 992px) {
    .ezin-public-shell .container:has(.landing-v2) {
        width: min(100% - 32px, 100%);
    }

    .landing-v2-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 36px;
    }

    .landing-login-card {
        width: 100%;
        justify-self: stretch;
    }

    .landing-feature-grid,
    .landing-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ezin-public-shell .container:has(.landing-v2) {
        width: min(100% - 22px, 100%);
        margin-top: 20px;
    }

    .landing-v2 {
        gap: 22px;
        padding-block: 20px 34px;
    }

    .landing-v2-hero {
        gap: 28px;
        padding: 24px;
        border-radius: 28px;
    }

    .landing-v2-brand {
        margin-bottom: 28px;
    }

    .landing-v2 h1 {
        font-size: 46px;
    }

    .landing-v2 h1 span {
        font-size: 30px;
    }

    .landing-v2-copy p {
        font-size: 17px;
        line-height: 1.75;
    }

    .landing-v2-points,
    .landing-feature-grid {
        gap: 18px;
    }

    .landing-login-card {
        padding: 22px;
    }

    .landing-feature-grid,
    .landing-stat-grid {
        grid-template-columns: 1fr;
    }

    .landing-stat-grid article {
        min-height: 126px;
    }

    .landing-announcement {
        align-items: stretch;
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .landing-v2-hero {
        padding: 20px;
        border-radius: 24px;
    }

    .landing-v2 h1 {
        font-size: 40px;
    }

    .landing-v2 h1 span {
        font-size: 25px;
    }

    .landing-v2-copy p {
        font-size: 16px;
    }

    .login-action {
        min-height: 66px;
    }
}

/* Landing v3: compact login-focused reference layout. */
.ezin-public-shell {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(248, 250, 252, .9)),
        radial-gradient(circle at 20% 8%, rgba(20, 184, 166, .12), transparent 24rem),
        url("../images/gedung-smkn1-kepil.jpg") center / cover fixed no-repeat;
}

.ezin-public-shell .topbar {
    box-shadow: none;
}

.ezin-public-shell .container:has(.landing-v3) {
    width: min(1060px, calc(100% - 48px));
    max-width: 1060px;
    margin-top: 28px;
}

.landing-v3 {
    padding-block: clamp(18px, 4vw, 44px);
}

.landing-v3-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: clamp(28px, 6vw, 72px);
    align-items: center;
    min-height: min(680px, calc(100vh - 190px));
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid rgba(226, 232, 240, .86);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .8)),
        linear-gradient(135deg, rgba(20, 184, 166, .07), rgba(37, 99, 235, .04));
    box-shadow: 0 24px 70px rgba(15, 23, 42, .11);
    backdrop-filter: blur(10px);
}

.landing-v3-copy {
    min-width: 0;
}

.landing-v3-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: #ccfbf1;
    color: #0f766e;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.landing-v3 h1,
.landing-v3 h2,
.landing-v3 p {
    margin: 0;
}

.landing-v3 h1 {
    margin-top: 22px;
    color: #0f172a;
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
}

.landing-v3 h2 {
    margin-top: 10px;
    color: #0f172a;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
}

.landing-v3 p {
    max-width: 560px;
    margin-top: 16px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.75;
}

.landing-v3-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 560px;
    margin-top: 34px;
}

.landing-v3-features article {
    display: grid;
    justify-items: center;
    gap: 6px;
    text-align: center;
}

.feature-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    font-size: 18px;
    font-weight: 900;
}

.feature-dot.shield {
    background: #dcfce7;
    color: #16a34a;
}

.feature-dot.fast {
    background: #dbeafe;
    color: #2563eb;
}

.feature-dot.sync {
    background: #ffedd5;
    color: #f59e0b;
}

.landing-v3-features strong {
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.landing-v3-features small {
    color: #64748b;
    font-size: 11px;
    line-height: 1.35;
}

.landing-v3-card {
    display: grid;
    gap: 12px;
    width: 100%;
    padding: 18px;
    border: 1px solid rgba(226, 232, 240, .92);
    border-radius: 18px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 30px rgba(2, 6, 23, .08);
    backdrop-filter: blur(16px);
}

.access-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    min-height: 64px;
    padding: 12px 14px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    text-align: left;
    text-decoration: none;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.access-row:hover,
.access-row:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(20, 184, 166, .35);
    box-shadow: 0 6px 16px rgba(20, 184, 166, .25);
    outline: none;
}

.access-row.primary {
    border-color: transparent;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: #fff;
}

.access-row.admin {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.access-row.outline {
    background: #fff;
}

.access-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #f1f5f9;
    color: currentColor;
    font-size: 17px;
    font-weight: 900;
}

.access-row.primary .access-icon {
    background: rgba(255, 255, 255, .16);
}

.access-row strong,
.access-row small {
    display: block;
}

.access-row strong {
    font-size: 14px;
    font-weight: 800;
}

.access-row small {
    margin-top: 3px;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
}

.access-row.primary small {
    color: rgba(255, 255, 255, .8);
}

.ezin-public-shell .footer {
    width: min(1060px, calc(100% - 48px));
    margin: 0 auto;
    padding: 18px 24px;
    border-radius: 0 0 18px 18px;
    background: linear-gradient(135deg, #0f766e, #0b6b62);
    color: rgba(255, 255, 255, .9);
}

@media (max-width: 900px) {
    .ezin-public-shell .container:has(.landing-v3) {
        width: min(100% - 28px, 640px);
        margin-top: 18px;
    }

    .landing-v3-shell {
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: 0;
        padding: 24px;
        border-radius: 22px;
    }

    .landing-v3 h1 {
        font-size: 34px;
    }

    .landing-v3 h2 {
        font-size: 20px;
    }

    .landing-v3 p {
        font-size: 14px;
        line-height: 1.72;
    }

    .landing-v3-features {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 24px;
    }

    .landing-v3-card {
        padding: 12px;
    }

    .access-row {
        min-height: 58px;
        padding: 10px 12px;
    }

    .ezin-public-shell .footer {
        width: min(100% - 28px, 640px);
        padding: 14px 18px;
        font-size: 11px;
    }
}

@media (max-width: 420px) {
    .ezin-public-shell .container:has(.landing-v3) {
        width: min(100% - 18px, 420px);
    }

    .landing-v3-shell {
        padding: 18px;
    }

    .feature-dot {
        width: 40px;
        height: 40px;
    }

    .landing-v3-features small {
        font-size: 10px;
    }

    .ezin-public-shell .footer {
        width: min(100% - 18px, 420px);
    }
}
