* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at 80% 0%,
        rgba(91,33,182,.22),
        transparent 35%),
        radial-gradient(circle at 10% 30%,
        rgba(37,99,235,.12),
        transparent 30%),
        #050507;
    color: white;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

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

button,
input {
    font: inherit;
}


/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    padding: 17px 6%;
    background: rgba(5,5,7,.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
}

.logo-sub {
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: linear-gradient(90deg,#8b5cf6,#3b82f6);
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 700;
}

.desktop-nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
    margin-right: 30px;
}

.desktop-nav a {
    color: #a7a7b5;
    font-size: 14px;
}

.desktop-nav a:hover {
    color: white;
}

.signin-button {
    border: none;
    cursor: pointer;
    color: white;
    padding: 11px 21px;
    border-radius: 11px;
    font-weight: 700;
    background: linear-gradient(135deg,#7c3aed,#2563eb);
}

.menu-button {
    display: none;
    margin-left: auto;
    border: none;
    background: transparent;
    color: white;
    font-size: 27px;
}

.mobile-menu {
    display: none;
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 73px;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 25px;
    background: rgba(7,7,10,.97);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.mobile-menu a,
.mobile-menu button {
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    color: white;
    text-align: left;
}


/* HERO */

.hero {
    position: relative;
    min-height: 86vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 6% 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(135deg,#7c3aed,#2563eb);
    filter: blur(180px);
    opacity: .14;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-content {
    position: relative;
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    margin-bottom: 22px;
    border-radius: 50px;
    border: 1px solid rgba(139,92,246,.25);
    background: rgba(124,58,237,.08);
    color: #c4b5fd;
    font-size: 12px;
    font-weight: 600;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #8b5cf6;
}

.eyebrow {
    color: #8b5cf6;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: clamp(48px,9vw,92px);
    line-height: 1.02;
    font-weight: 900;
    letter-spacing: -3px;
    margin-bottom: 25px;
}

.hero h1 span {
    background: linear-gradient(90deg,#a78bfa,#60a5fa);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-description {
    max-width: 680px;
    margin: auto;
    color: #9b9baa;
    font-size: 17px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
}

.primary-button {
    background: linear-gradient(135deg,#7c3aed,#2563eb);
}

.secondary-button {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
    color: white;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 55px;
}

.hero-stats div {
    display: flex;
    flex-direction: column;
}

.hero-stats strong {
    font-size: 25px;
}

.hero-stats span {
    color: #777784;
    font-size: 12px;
}


/* SECTIONS */

.section {
    max-width: 1250px;
    margin: auto;
    padding: 100px 6%;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: clamp(32px,5vw,52px);
    line-height: 1.1;
    margin-bottom: 15px;
}

.section-heading p:not(.eyebrow) {
    color: #858592;
}


/* GRADES */

.grade-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.grade-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px;
    min-height: 145px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(
        145deg,
        rgba(124,58,237,.10),
        rgba(37,99,235,.035)
    );
    transition: .3s;
}

.grade-card:hover {
    transform: translateY(-6px);
    border-color: rgba(139,92,246,.4);
}

.grade-number {
    font-size: 30px;
    font-weight: 900;
    color: #8b5cf6;
}

.grade-card h3 {
    font-size: 21px;
}

.grade-card p {
    color: #777784;
    font-size: 13px;
}

.arrow {
    margin-left: auto;
    color: #777784;
    font-size: 20px;
}


/* FEATURES */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.feature-card {
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,.07);
    background: rgba(255,255,255,.025);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(124,58,237,.07);
}

.feature-icon {
    font-size: 30px;
    margin-bottom: 18px;
}

.feature-card h3 {
    margin-bottom: 8px;
}

.feature-card p {
    color: #81818e;
    font-size: 14px;
}


/* STEPS */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 15px;
}

.step-card {
    padding: 28px;
    border-radius: 18px;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.07);
}

.step-card > span {
    color: #8b5cf6;
    font-weight: 900;
}

.step-card h3 {
    margin-top: 20px;
    margin-bottom: 8px;
}

.step-card p {
    color: #80808d;
    font-size: 14px;
}


/* ABOUT */

.about-section {
    max-width: 1100px;
    margin: 30px auto 100px;
    padding: 80px 7%;
    border-radius: 30px;
    background: linear-gradient(
        135deg,
        rgba(124,58,237,.13),
        rgba(37,99,235,.05)
    );
    border: 1px solid rgba(255,255,255,.08);
}

.about-content {
    max-width: 760px;
}

.about-content h2 {
    font-size: clamp(34px,5vw,55px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.about-content h2 span {
    background: linear-gradient(90deg,#a78bfa,#60a5fa);
    -webkit-background-clip: text;
    color: transparent;
}

.about-content > p:not(.eyebrow) {
    color: #9797a5;
}

.about-points {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 12px;
    margin-top: 30px;
}

.about-points div {
    padding: 12px 15px;
    border-radius: 10px;
    background: rgba(255,255,255,.04);
    color: #b6b6c2;
}


/* FOOTER */

footer {
    padding: 60px 6% 25px;
    background: #030305;
    border-top: 1px solid rgba(255,255,255,.07);
}

.footer-content {
    max-width: 1250px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    font-size: 22px;
    font-weight: 900;
}

.footer-content p {
    color: #70707d;
}

.creator {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.creator span,
.creator small {
    color: #70707d;
    font-size: 12px;
}

.creator strong {
    margin-top: 3px;
}

.creator small {
    color: #8b5cf6;
}


/* MODAL */

.modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0,0,0,.78);
    backdrop-filter: blur(12px);
}

.modal.active {
    display: flex;
}

.modal-box {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 35px;
    border-radius: 25px;
    background: linear-gradient(145deg,#111116,#09090c);
    border: 1px solid rgba(255,255,255,.1);
}

.close-button {
    position: absolute;
    top: 18px;
    right: 20px;
    border: none;
    background: transparent;
    color: #888895;
    font-size: 27px;
    cursor: pointer;
}

.modal-heading {
    margin-bottom: 25px;
}

.modal-heading h2 {
    font-size: 32px;
}

.modal-heading p:last-child {
    color: #7e7e8a;
}


/* ROLES */

.role-selection {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin-bottom: 25px;
}

.role-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    padding: 14px 6px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.025);
    color: white;
    cursor: pointer;
}

.role-card span {
    font-size: 23px;
}

.role-card strong {
    font-size: 11px;
}

.role-card.active {
    border-color: #8b5cf6;
    background: rgba(124,58,237,.12);
}


/* FORM */

.modal-box form {
    display: flex;
    flex-direction: column;
}

.modal-box label {
    margin-bottom: 7px;
    color: #b4b4c0;
    font-size: 13px;
}

.modal-box input {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 17px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.09);
    background: rgba(255,255,255,.04);
    color: white;
    outline: none;
}

.modal-box input:focus {
    border-color: #7c3aed;
}

.modal-signin {
    padding: 14px;
    border: none;
    border-radius: 11px;
    color: white;
    font-weight: 800;
    background: linear-gradient(
        135deg,
        #7c3aed,
        #2563eb
    );
    cursor: pointer;
}

.login-message {
    min-height: 20px;
    margin-top: 12px;
    text-align: center;
    color: #a78bfa;
    font-size: 13px;
}

.forgot {
    text-align: center;
    margin-top: 10px;
    color: #8b5cf6;
    font-size: 13px;
}


/* MOBILE */

@media (max-width:900px) {

    .desktop-nav {
        display: none;
    }

    .menu-button {
        display: block;
    }

    .signin-button {
        margin-left: auto;
        margin-right: 15px;
    }

    .grade-grid,
    .feature-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2,1fr);
    }
}


@media (max-width:600px) {

    .navbar {
        padding: 15px 5%;
    }

    .hero {
        padding: 80px 5% 60px;
    }

    .hero h1 {
        font-size: 49px;
    }

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

    .hero-stats {
        gap: 30px;
    }

    .section {
        padding: 75px 5%;
    }

    .grade-grid,
    .feature-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        margin: 20px 5% 70px;
        padding: 55px 7%;
    }

    .about-points {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .creator {
        text-align: left;
    }

    .modal-box {
        padding: 28px 20px;
    }
}

/* =================================
   ADMIN DASHBOARD
================================= */

.admin-page {
    max-width: 1250px;
    margin: auto;
    padding: 60px 6% 100px;
}

.admin-title {
    margin-left: auto;
    margin-right: 25px;
}

.admin-badge {
    padding: 6px 12px;
    border-radius: 50px;

    background:
        rgba(124,58,237,.12);

    border: 1px solid
        rgba(139,92,246,.25);

    color: #a78bfa;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 2px;
}

.admin-welcome {
    padding: 45px;

    margin-bottom: 25px;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            rgba(124,58,237,.14),
            rgba(37,99,235,.05)
        );

    border: 1px solid
        rgba(255,255,255,.08);
}

.admin-welcome h1 {
    font-size: clamp(35px,6vw,58px);
    line-height: 1.1;
}

.admin-welcome h1 span {
    background:
        linear-gradient(
            90deg,
            #a78bfa,
            #60a5fa
        );

    -webkit-background-clip: text;
    color: transparent;
}

.admin-welcome p:last-child {
    color: #858592;
    margin-top: 12px;
}


/* STATISTICS */

.admin-stats {
    display: grid;

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

    gap: 15px;

    margin-bottom: 80px;
}

.admin-stat-card {
    display: flex;

    align-items: center;

    gap: 15px;

    padding: 22px;

    border-radius: 18px;

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

    border: 1px solid
        rgba(255,255,255,.07);
}

.stat-icon {
    font-size: 28px;
}

.admin-stat-card strong {
    font-size: 25px;
}

.admin-stat-card p {
    color: #777784;
    font-size: 12px;
}


/* ADMIN GRID */

.admin-heading {
    margin-bottom: 30px;
}

.admin-grid {
    display: grid;

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

    gap: 15px;
}

.admin-card {
    position: relative;

    display: flex;

    align-items: center;

    gap: 18px;

    width: 100%;

    min-height: 150px;

    padding: 25px;

    text-align: left;

    border-radius: 20px;

    border: 1px solid
        rgba(255,255,255,.07);

    background:
        linear-gradient(
            145deg,
            rgba(124,58,237,.08),
            rgba(37,99,235,.025)
        );

    color: white;

    cursor: pointer;

    transition: .25s;
}

.admin-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(139,92,246,.35);
}

.admin-card-icon {
    font-size: 30px;
}

.admin-card h3 {
    margin-bottom: 5px;
}

.admin-card p {
    color: #777784;

    font-size: 13px;

    line-height: 1.5;
}

.card-arrow {
    margin-left: auto;

    color: #777784;

    font-size: 20px;
}


/* MOBILE */

@media (max-width: 900px) {

    .admin-stats {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .admin-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .admin-page {
        padding:
            35px 5% 70px;
    }

    .admin-welcome {
        padding: 30px 22px;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .admin-title {
        display: none;
    }

}

