* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {

    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #fafafa;
    color: #222;

}

header {

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 25px 8%;

    background: white;

    box-shadow: 0 5px 25px rgba(0, 0, 0, .05);

}

.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 28px;
    font-weight: 800;
    color: #6E187A;
}

.logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo {

    font-size: 25px;
    font-weight: 450;

    color: #070707;

}

nav {

    display: flex;
    gap: 40px;

}

nav a {

    text-decoration: none;
    color: #333;
    font-weight: 600;

}

.hero {

    padding: 90px 8%;

    display: grid;

    grid-template-columns: 1fr 1fr;

    align-items: center;

    gap: 80px;

}

.hero span {

    letter-spacing: 2px;
    font-size: 16px;
    color: #535153;
    font-weight: 800;

}

.hero h1 {

    font-size: 58px;

    margin: 20px 0;

    line-height: 1.1;

}

.hero p {

    font-size: 18px;

    line-height: 1.8;

    color: #666;

    margin-bottom: 40px;

}

.buttons {

    display: flex;
    gap: 20px;

}

button {

    padding: 18px 40px;

    border: none;

    border-radius: 50px;

    cursor: pointer;

    font-size: 22px;

    font-weight: 700;

    transition: .3s;

}

.primary {

    background: #3903ec;

    color: white;

}

.primary-btn {
    display: inline-block;
    padding: 18px 40px;
    background: #3903ec;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 22px;
    font-weight: 700;
    transition: .3s;
}

.primary-btn:hover {
    background: #fff;
    color: #3903ec;
    border: 2px solid #3903ec;
}


.primary:hover {

    transform: translateY(-4px);

    background: white;

    border: 2px solid #3903ec;

    color: #3903ec;

}

.secondary {

    background: white;

    border: 2px solid #6E187A;

    color: #6E187A;

}

.hero-image {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 20px;

}

.card {

    height: 220px;

    border-radius: 20px;

}

.card1 {

    background: #f6f3f7;

}

.card2 {
    background: orange;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: black;
}

.card3 {

    background: #0b0b0b;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;

}

.card4 {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: #3903ec;

}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.card2 {
    background: orange;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stat-card h2 {
    margin: 0;
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
    color: #0a0a0a;
}

.stat-card h2 span {
    font-size: 48px;
    vertical-align: top;
    margin-left: 3px;
    color: #0a0a0a;

}

.stat-card p {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
}

.stat-card2 h2 {
    margin: 0;
    font-size: 60px;
    font-weight: 800;
    line-height: 1;
    color: white;
}

.stat-card2 h2 span {
    font-size: 48px;
    vertical-align: top;
    margin-left: 3px;
    color: white;

}

.stat-card2 p {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: white;
}

.features {

    padding: 80px 8%;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

}

.feature {

    background: white;

    padding: 40px;

    border-radius: 20px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, .08);

    transition: .3s;

}

.feature:hover {

    transform: translateY(-8px);

}

.feature h2 {

    margin-bottom: 15px;

    color: #6E187A;

}

.feature p {

    color: #666;

    line-height: 1.7;

}

@media(max-width:900px) {

    .hero {

        grid-template-columns: 1fr;

    }

    .features {

        grid-template-columns: 1fr;

    }

    nav {

        display: none;

    }

    .hero h1 {

        font-size: 42px;

    }

}


.form-section {

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 70px 20px;

    background: #f5f7fb;

    min-height: 90vh;

}

.form-card {

    background: #fff;

    width: 100%;

    max-width: 700px;

    padding: 50px;

    border-radius: 25px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, .08);

}

.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.phase {
    background: #3903ec;
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
}

.back-btn {
    background: #3903ec;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

.back-btn:hover {
    background: #2200a9;
}

.form-card h1 {

    font-size: 42px;

    margin-bottom: 10px;

}

.subtitle {

    color: #666;

    margin-bottom: 40px;

    font-size: 18px;

}

.form-group {

    margin-bottom: 25px;

}

.form-group label {

    display: block;

    font-weight: 700;

    margin-bottom: 10px;

}

.form-group input,
.form-group textarea {

    width: 100%;

    padding: 16px 20px;

    border: 1px solid #ddd;

    border-radius: 12px;

    font-size: 16px;

    font-family: inherit;

    transition: .3s;

}

.form-group textarea {

    height: 120px;

    resize: none;

}

.form-group input:focus,
.form-group textarea:focus {

    outline: none;

    border-color: #3903ec;

    box-shadow: 0 0 0 4px rgba(57, 3, 236, .12);

}

.continue-btn {

    width: 100%;

    padding: 18px;

    border: none;

    border-radius: 50px;

    background: #3903ec;

    color: #fff;

    font-size: 20px;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;

}

.continue-btn:hover {

    background: #2200a9;

}





.assessment-card {

    max-width: 850px;

}

.timer {

    background: #3903ec;

    color: white;

    padding: 8px 18px;

    border-radius: 50px;

    font-weight: 700;

}

.progress-container {

    margin: 35px 0;

}

.progress-bar {

    width: 100%;

    height: 10px;

    background: #ddd;

    border-radius: 50px;

    overflow: hidden;

}

.progress-fill {

    height: 100%;

    width: 0%;

    background: #3903ec;

    transition: .4s;

}

#questionCount {

    margin-top: 15px;

    font-weight: 700;

}

.question {

    margin-top: 30px;

}

.question h2 {

    font-size: 28px;

    margin-bottom: 30px;

}

.option {

    display: flex;

    align-items: center;

    padding: 18px;

    border: 2px solid #ddd;

    border-radius: 15px;

    margin-bottom: 15px;

    cursor: pointer;

    transition: .3s;

}

.option:hover {

    border-color: #3903ec;

    background: #f6f4ff;

}

.option input {

    margin-right: 15px;

}

.assessment-buttons {

    display: flex;

    justify-content: space-between;

    margin-top: 40px;

}

.assessment-buttons button {

    padding: 15px 30px;

    border: none;

    border-radius: 50px;

    background: #3903ec;

    color: white;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;

}

.assessment-buttons button:hover {

    background: #2200a9;

}







.option {

    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border: 2px solid #ddd;
    border-radius: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: .3s;

}

.option:has(input:checked) {

    border-color: #3903ec;
    background: #f3f0ff;

}

.option input {

    accent-color: #3903ec;
    transform: scale(1.2);

}

.assessment-buttons button:disabled {

    background: #bbb;
    cursor: not-allowed;

}






/* ==========================
   Verification Page
========================== */

.verification-card {

    max-width: 850px;

}

.form-group select {

    width: 100%;

    padding: 16px 20px;

    border: 1px solid #ddd;

    border-radius: 12px;

    font-size: 16px;

    font-family: inherit;

    background: #fff;

    transition: .3s;

}

.form-group select:focus {

    outline: none;

    border-color: #3903ec;

    box-shadow: 0 0 0 4px rgba(57, 3, 236, .12);

}

.form-group small {

    display: block;

    margin-top: 10px;

    font-size: 14px;

    line-height: 1.6;

    color: #666;

}

.requirements {

    background: #f8f9fc;

    padding: 25px;

    margin-top: 35px;

    border-radius: 18px;

    border-left: 5px solid #3903ec;

}

.requirements h3 {

    margin-bottom: 15px;

    font-size: 22px;

}

.requirements ul {

    padding-left: 20px;

    line-height: 2;

    color: #555;

}

.requirements li {

    margin-bottom: 5px;

}



/* ===========================================
   CAMERA
=========================================== */

.camera-section {

    margin-top: 40px;

    text-align: center;

}

.camera-section h2 {

    margin-bottom: 10px;

}

.camera-section p {

    margin-bottom: 20px;

    color: #666;

}

.camera-container {

    position: relative;

    width: 100%;

    max-width: 520px;

    margin: auto;

}

#video,
#preview {

    width: 100%;

    height: 390px;

    border-radius: 20px;

    border: 4px solid #3903ec;

    object-fit: cover;

    background: #000;

}

#preview {

    display: none;

}

#canvas {

    display: none;

}

/* Face Guide */

.camera-container {

    position: relative;

    width: 100%;

    max-width: 520px;

    margin: auto;

    overflow: hidden;

}

.camera-corners {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    pointer-events: none;

}

.corner {

    position: absolute;

    width: 45px;

    height: 45px;

    border: 4px solid #ffffff;

}

.top-left {

    top: 20px;

    left: 20px;

    border-right: none;

    border-bottom: none;

}

.top-right {

    top: 20px;

    right: 20px;

    border-left: none;

    border-bottom: none;

}

.bottom-left {

    bottom: 20px;

    left: 20px;

    border-right: none;

    border-top: none;

}

.bottom-right {

    bottom: 20px;

    right: 20px;

    border-left: none;

    border-top: none;

}

.camera-message {

    position: absolute;

    bottom: 18px;

    left: 50%;

    transform: translateX(-50%);

    background: rgba(0, 0, 0, .65);

    color: #fff;

    padding: 10px 18px;

    border-radius: 30px;

    font-size: 14px;

    font-weight: 600;

}

/* Camera Buttons */

.camera-buttons {

    margin-top: 25px;

    display: flex;

    justify-content: center;

    gap: 20px;

    flex-wrap: wrap;

}

.camera-buttons button {

    padding: 15px 28px;

    background: #3903ec;

    color: #fff;

    border: none;

    border-radius: 50px;

    cursor: pointer;

    font-weight: 700;

    transition: .3s;

}

.camera-buttons button:hover {

    background: #2200a9;

}

/* Loading */

.loading-overlay {

    display: none;

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background: rgba(255, 255, 255, .95);

    z-index: 9999;

    justify-content: center;

    align-items: center;

    flex-direction: column;

}

.loader {

    width: 70px;

    height: 70px;

    border: 8px solid #ddd;

    border-top: 8px solid #3903ec;

    border-radius: 50%;

    animation: spin 1s linear infinite;

    margin-bottom: 30px;

}

@keyframes spin {

    100% {

        transform: rotate(360deg);

    }
}

/* ===========================================
   AGREEMENT SECTION
=========================================== */

.agreement {

    margin-top: 35px;

    padding: 25px;

    background: #f8f9fc;

    border: 1px solid #d9dff5;

    border-left: 5px solid #3903ec;

    border-radius: 18px;

}

.agreement label {

    display: flex;

    align-items: flex-start;

    gap: 15px;

    font-size: 16px;

    line-height: 1.8;

    color: #444;

    cursor: pointer;

}

.agreement input[type="checkbox"] {

    margin-top: 4px;

    width: 22px;

    height: 22px;

    accent-color: #3903ec;

    cursor: pointer;

    flex-shrink: 0;

}

.agreement strong {

    color: #111;

    font-weight: 700;

}

/* ==========================================
   COMPLETION PAGE
========================================== */


.completion-card {

    max-width: 850px;

    padding: 60px;

    text-align: center;

    background: #ffffff;

    border-radius: 30px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, .10);

}


/* SUCCESS ICON */

.success-icon {

    width: 120px;

    height: 120px;

    margin: 0 auto 35px;

    border-radius: 50%;

    background: linear-gradient(135deg,

            #22c55e,

            #16a34a);

    display: flex;

    justify-content: center;

    align-items: center;

    color: white;

    font-size: 65px;

    font-weight: 800;

    box-shadow:

        0 20px 45px rgba(34, 197, 94, .30);

}


/* TITLE */

.completion-card h1 {

    font-size: 42px;

    font-weight: 800;

    margin-bottom: 20px;

    color: #111;

}


/* DESCRIPTION */

.completion-card .subtitle {

    max-width: 650px;

    margin: 0 auto 35px;

    font-size: 18px;

    line-height: 1.8;

    color: #666;

}



/* APPLICATION ID CONTAINER */

.application-id-box {

    background: #f8f9ff;

    border: 2px solid #ececff;

    padding: 35px;

    border-radius: 25px;

    margin: 40px 0;

}



.application-id-box label {

    display: block;

    font-size: 15px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    color: #666;

    margin-bottom: 15px;

}



/* ID INPUT + BUTTON */

.application-id-box label {
    text-align: left;
}

.application-id-row {

    display: flex;

    gap: 15px;

    align-items: center;

}



.application-id-row input {

    flex: 1;

    padding: 18px;

    border-radius: 15px;

    border: 2px solid #2c2c2d;

    background: white;

    color: #59585a;

    font-size: 20px;

    font-weight: 700;

    letter-spacing: 2px;

    text-align: left;

    outline: none;

}



.application-id-row button {

    width: 150px;

    padding: 18px;

    background: #3903ec;

    color: white;

    border: none;

    border-radius: 15px;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    transition: .3s;

}



.application-id-row button:hover {

    background: #2200a9;

}



/* NEXT STEPS BOX */


.completion-card .requirements {

    margin-top: 40px;

    text-align: left;

    background: #fcfcff;

    border-left: 5px solid #2705e9;

    border-radius: 20px;

    padding: 30px;

}



.completion-card .requirements h3 {

    font-size: 24px;

    margin-bottom: 20px;

    color: #111;

}



.completion-card .requirements ul {

    padding-left: 25px;

}



.completion-card .requirements li {

    margin-bottom: 12px;

    line-height: 1.7;

    color: #555;

}



/* BUTTON */

.completion-card .assessment-buttons {

    margin-top: 40px;

    justify-content: center;

}



.completion-card .assessment-buttons button {

    background: #3903ec;

    color: white;

    padding: 18px 45px;

    border-radius: 50px;

    font-size: 18px;

    font-weight: 700;

}



.completion-card .assessment-buttons button:hover {

    background: #2200a9;

}



/* MOBILE */

@media(max-width:700px) {


    .completion-card {

        padding: 35px 25px;

    }


    .completion-card h1 {

        font-size: 32px;

    }


    .application-id-row {

        flex-direction: column;

    }


    .application-id-row input,

    .application-id-row button {

        width: 100%;

    }


}

/* ==========================================
   LOADING MESSAGE
========================================== */

.loading-message {

    max-width: 560px;

    margin: 25px auto 0;

    text-align: center;

}

.loading-main {

    font-size: 24px;

    font-weight: 700;

    color: #111827;

    margin-bottom: 10px;

}

.loading-text {

    font-size: 16px;

    line-height: 1.8;

    color: #6b7280;

    margin-bottom: 24px;

}

.loading-notice {

    background: #f8fafc;

    border: 1px solid #dbe4f0;

    border-left: 5px solid #3903ec;

    border-radius: 16px;

    padding: 20px 22px;

    text-align: left;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .05);

}

.loading-heading {

    font-size: 16px;

    font-weight: 700;

    color: #111827;

    margin-bottom: 10px;

}

.loading-notice p {

    margin: 0;

    font-size: 15px;

    line-height: 1.8;

    color: #6b7280;

}

.loading-notice p strong {

    color: #111827;

    font-weight: 700;

}