:root {
    --bg: #f6f8ff;
    --bg-soft: #ffffff;
    --text: #101436;
    --muted: #4a5578;
    --brand: #3b63ff;
    --brand-2: #0bbd8b;
    --card: #ffffff;
    --stroke: #e6e9f5;
    --shadow: 0 10px 30px rgba(16, 20, 54, .08), inset 0 1px 0 rgba(255, 255, 255, .8);
    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 28px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: sans-serif;
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial;
    color: var(--text);
    background: var(--bg);
    line-height: 1.45;
    letter-spacing: .1px;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-weight: 600;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: .9rem 1.2rem;
    transition: .2s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand), #9aaeff);
    color: white;
    box-shadow: 0 8px 24px rgba(109, 140, 255, .35);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--stroke);
}

.btn-ghost:hover {
    background: #f0f3ff;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .8rem;
    border: 1px solid var(--stroke);
    border-radius: 999px;
    font-size: .85rem;
    color: var(--muted);
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff2b;
    border-bottom: 1px solid #eaeaea;
    backdrop-filter: blur(5px);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.451);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
}

.logo {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: conic-gradient(from 200deg, var(--brand), var(--brand-2));
}

@media (max-width: 480px) {
    .logo {
        margin-left: 10px;
    }
}

.brand h1 {
    font-size: 1.05rem;
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-links a {
    color: var(--muted);
    font-weight: 500;
}

.nav-actions {
    display: flex;
    gap: .6rem;
    align-items: center;
}

.menu-btn {
    display: none;
}

/* Hero */
.hero {
    padding: 72px 0 36px;
    background: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 36px;
}

.hero .card {
    border: 1px solid var(--stroke);
    border-radius: var(--radius-lg);
    background: var(--card);
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.475);
}

.headline {
    font-size: 2.5rem;
    margin: 0 0 16px;
}

.subhead {
    color: var(--muted);
    font-size: 1.15rem;
    margin: 0 0 26px;
}

.input-wrap {
    display: flex;
    gap: .6rem;
    background: var(--bg-soft);
    border: 1px solid var(--stroke);
    border-radius: 999px;
    padding: 6px;
    max-width: 560px;
}

.input-wrap input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    padding: .8rem 1rem;
    color: var(--text);
    font-size: 1rem;
}

.mock {
    padding: 14px;
}

.mock-inner {
    border: 1px solid var(--stroke);
    border-radius: 16px;
    background: var(--bg-soft);
    padding: 18px;
}

.mock .toolbar {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--stroke);
}

.mock .questiondemo {
    border: 1px dashed var(--stroke);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 10px;
}

/* Section */
section {
    padding: 44px 0;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-title {
    font-size: 1.6rem;
    margin: 0;
}

.section-desc {
    color: var(--muted);
    max-width: 760px;
}

/* Features, Types */
.grid {
    display: grid;
    gap: 16px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    background: var(--card);
    box-shadow: var(--shadow);
}

.card .content {
    padding: 18px;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(109, 140, 255, .25), rgba(110, 250, 204, .2));
}

.muted {
    color: var(--muted);
}

.type-chip {
    padding: .55rem .9rem;
    border: 1px dashed var(--stroke);
    border-radius: 999px;
    font-weight: 600;
}

/* How it works */
.steps {
    counter-reset: step;
}

.step {
    position: relative;
    padding: 18px;
    border-left: 3px solid var(--stroke);
    border-radius: 14px;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: -18px;
    top: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(109, 140, 255, .3);
}

/* Footer */
footer {
    padding: 36px 0 60px;
    color: var(--muted);
    background: #fff;
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 18px;
}

.footer-grid a {
    color: var(--muted);
}

.notification {
    position: fixed;
    border: thin solid rgba(0, 0, 0, 0.305);
    right: 20px;
    bottom: 20px;
    padding: 10px;
    font-size: 20px;
    border-radius: 10px;
    background-color: white;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}

.shownotification {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: inline-flex;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .headline {
        font-size: 2rem;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.add {
    border: thin solid rgba(0, 0, 0, 0.375);
    padding: 10px 10px;
    font-size: 20px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 2px 2px 8px black;
}

@media (max-width:480px) {
    .add {
        bottom: 20px;
        right: 20px;
    }
}

.testinfo {
    padding: 20px;
    border: thin solid rgba(0, 13, 255, 0.445);
    position: fixed;
    top: 50px;
    left: 500px;
    border-radius: 20px;
    background-color: white;
    width: 500px;
}

@media (max-width:480px) {
    .testinfo {
        left: 0px;
        width: 500px;
        margin-left: -20%;
        transform: scale(0.6);
    }
}

.question1 {
    padding: 20px;
    border: thin solid rgba(0, 13, 255, 0.445);
    position: fixed;
    top: 50px;
    left: 500px;
    border-radius: 20px;
    background-color: white;
    width: 500px;
    box-shadow: 2px 2px 10px black;
}

@media (max-width:480px) {
    .question1 {
        left: 0px;
        width: 500px;
        margin-left: -70px;
        transform: scale(0.6);
    }
}

.question2 {
    padding: 20px;
    border: thin solid rgba(0, 13, 255, 0.445);
    position: fixed;
    top: 50px;
    left: 500px;
    border-radius: 20px;
    background-color: white;
    width: 500px;
    box-shadow: 2px 2px 10px black;
}

@media (max-width:480px) {
    .question2 {
        left: 0px;
        width: 500px;
        margin-left: -70px;
        transform: scale(0.6);
    }
}


.ansinput {
    margin: 10px;
    border: thin solid blueviolet;
    padding: 10px;
    border-radius: 10px;
}

.closequetiondiv1,
.closequetiondiv2 {
    background-color: white;
    font-size: 15px;
    float: right;
    margin: 20px;
    border-radius: 10px;
    border: thin solid blueviolet;
    padding: 10px;
}

.inputoption {
    position: fixed;
    bottom: 12px;
    right: 50px;
    overflow: hidden;
    width: 3px;
    display: flex;
    height: 60px;
    padding: 10px;
    z-index: 100;
    opacity: 0;
    transition: width 0.5s, opacity 0.5s ease-in-out;
}

.showinputoption {
    width: 300px;
    opacity: 1;
}

.result {
    padding: 20px;
    border: thin solid rgba(0, 13, 255, 0.445);
    border-radius: 20px;
    background-color: white;
    width: 500px;
    margin: auto;
    margin-bottom: 20px;
    box-shadow: 2px 2px 10px black;
}

@media (max-width:480px) {
    .result {
        width: 300px;
        margin-bottom: 20px;
        margin-left: 60px;
    }
}

.submitedform {
    padding: 10px;
    margin: 10px;
    position: fixed;
    top: 200px;
    left: 500px;
    width: 500px;
    background-color: white;
    border: thick solid rgb(13, 255, 0);
    border-radius: 20px;
    box-shadow: 2px 2px 20px rgb(81, 255, 0);
    text-align: center;
}

@media (max-width:480px) {
    .submitedform {
        left: 3px;
        width: 330px;
    }
}

.enterlink {
    padding: 10px;
    margin: 10px;
    position: fixed;
    border: thin solid blueviolet;
    width: 500px;
    background-color: rgb(255, 255, 255);
    top: 100px;
    right: 500px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 2px 2px 8px black;
}

@media (max-width:480px) {
    .enterlink {
        left: 3px;
        width: 330px;
    }
}

.teststart {
    padding: 10px;
    margin: 10px;
    position: fixed;
    border: thin solid blueviolet;
    width: 500px;
    background-color: rgb(255, 255, 255);
    top: 100px;
    right: 500px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 2px 2px 8px black;
}

@media (max-width:480px) {
    .teststart {
        right: 5px;
        width: 330px;
    }
}

.confirmsubmit {
    padding: 10px;
    margin: 10px;
    position: fixed;
    border: thin solid blueviolet;
    width: 500px;
    background-color: rgb(255, 255, 255);
    top: 100px;
    right: 500px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 2px 2px 8px black;
}

@media (max-width:480px) {
    .confirmsubmit {
        right: 5px;
        width: 330px;
    }
}

.loading {
    background-color: rgba(0, 0, 0, 0.374);
    top: 0px;
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: 100;
}

.profile {
    position: fixed;
    top: 100px;
    right: 40px;
    background-color: rgba(255, 255, 255, 0.63);
    width: 400px;
    backdrop-filter: blur(5px);
    padding: 20px;
    border: thin solid black;
    border-radius: 10px;
    z-index: 100;
}

@media (max-width:480px) {
    .profile {
        right: 20px;
        width: 300px;
    }
}

.loadanime {
    width: 100px;
    height: 100px;
    margin: auto;
    justify-content: center;
    margin-top: 20%;
    border: 10px dotted purple;
    border-radius: 50%;
    animation-name: loadingbar;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@media (max-width:480px) {
    .loadanime {
        margin-top: 70%;
    }
}

@keyframes loadingbar {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.childdiv {
    border: 1px solid rgba(0, 0, 0, 0.15);
    margin: 20px;
    padding: 20px;
    width: 300px;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.childdiv:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.child-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 12px;
    text-align: center;
    background-color: #fafafa;
}

.child-label {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.6);
}

.child-value {
    margin: 4px 0 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(140, 0, 255, 0.75);
    word-break: break-word;
}

@media (max-width: 480px) {
    .childdiv {
        width: 320px;
        margin-left: -20px;
        padding: 16px;
    }
}


.testinfodiv {
    background-color: rgba(0, 0, 0, 0.374);
    position: fixed;
    width: 100%;
    height: 100vh;
    z-index: 100;
    top: 1px;
    text-align: center;
    display: none;
}

.qetioncontainer {
    margin: 20px;
    padding: 20px;
    pointer-events: none;
}

@media (max-width:480px) {
    .qetioncontainer {
        margin-left: -15%;
    }
}

.timer {
    display: none;
    font-size: 20px;
    font-weight: bold;
    margin: 20px;
    color: rgba(0, 0, 0, 0.522);
}

@media (max-width:480px) {
    .timer {
        font-size: 10px;
    }
}

.quetiontestcon {
    margin: 20px;
    padding: 20px;
    display: none;

}

@media (max-width:480px) {
    .quetiontestcon {
        width: 300px;
        margin-bottom: 20px;
        margin-left: -50px;
    }
}

.alltestdiv {
    padding: 20px;
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
}

@media (max-width:480px) {
    .alltestdiv {
        padding: 20px;
        margin: 20px;
        display: block;
    }
}

.allquetion {
    padding: 20px;
    margin: 20px;
}

@media (max-width:480px) {
    .allquetion {
        width: 300px;
        margin-bottom: 20px;
        margin-left: -50px;
    }
}