:root {
    --navy: #082b50;
    --blue: #1268d8;
    --light-blue: #eaf3ff;
    --white: #ffffff;
    --text: #172337;
    --muted: #64748b;
    --border: #dbe4ef;
    --pink: #ff1680;
    --shadow: 0 8px 25px rgba(15, 42, 70, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f6f8fb;
    color: var(--text);
    line-height: 1.6;
}

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

/* =========================
   HEADER
========================= */

.main-header {
    background: #ffffff;
    border-bottom: 1px solid #dfe6ef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
    max-width: 1400px;
    margin: auto;
    min-height: 82px;
    padding: 0 30px;

    display: flex;
    align-items: center;
    gap: 28px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
}

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

.logo-area strong {
    display: block;
    font-size: 20px;
    color: var(--navy);
}

.logo-area span {
    display: block;
    font-size: 10px;
    color: var(--muted);
}

/* NAVIGATION */

.main-nav {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.main-nav > a,
.nav-dropdown button {
    border: none;
    background: transparent;
    color: #26364a;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
    padding: 30px 3px;
}

.main-nav > a:hover,
.nav-dropdown button:hover {
    color: var(--blue);
}

/* DROPDOWN */

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;

    position: absolute;
    top: 75px;
    left: -10px;

    width: 190px;
    background: white;

    border: 1px solid var(--border);
    box-shadow: var(--shadow);

    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    color: #26364a;
}

.dropdown-menu a:hover {
    background: var(--light-blue);
    color: var(--blue);
}

/* HEADER BUTTONS */

.header-buttons {
    display: flex;
    gap: 8px;
}

.btn-login,
.btn-register {
    padding: 9px 15px;
    border-radius: 4px;

    font-size: 12px;
    font-weight: 700;
}

.btn-login {
    color: var(--blue);
    border: 1px solid var(--blue);
    background: white;
}

.btn-register {
    background: var(--navy);
    color: white;
}

.btn-login:hover {
    background: var(--light-blue);
}

.btn-register:hover {
    background: var(--blue);
}


/* =========================
   HERO
========================= */

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(4, 16, 48, 0.98),
            rgba(8, 35, 76, 0.93)
        );

    color: white;
}

.hero-content {
    max-width: 1400px;
    min-height: 400px;

    margin: auto;
    padding: 0 50px;

    display: flex;
    align-items: stretch;
}

.hero-text {
    width: 52%;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 55px 0;
}

.small-title {
    color: #ff4d9b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    margin-bottom: 14px;
}

.hero h1 {
    font-size: 48px;
    line-height: 1.08;
    margin-bottom: 20px;
}

.hero h1 span {
    color: #2681ff;
}

.hero p {
    max-width: 600px;
    color: #d5e0ef;
    font-size: 16px;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
}

.primary-btn,
.secondary-btn {
    display: inline-block;

    padding: 13px 22px;
    border-radius: 4px;

    font-size: 13px;
    font-weight: 700;
}

.primary-btn {
    background: var(--blue);
    color: white;
}

.primary-btn:hover {
    background: #0d58b9;
}

.secondary-btn {
    border: 1px solid white;
    color: white;
}

.secondary-btn:hover {
    background: white;
    color: var(--navy);
}


/* EINSTEIN IMAGE */

.hero-einstein {
    width: 48%;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-einstein img {
    width: 100%;
    max-width: 560px;
    height: 400px;

    object-fit: cover;
    object-position: center;

    display: block;
}


/* =========================
   FEATURES
========================= */

.features {
    max-width: 1300px;
    margin: 0 auto;

    padding: 28px 20px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.feature-card {
    background: white;

    border: 1px solid #e4eaf1;
    border-radius: 8px;

    padding: 20px;

    display: flex;
    align-items: center;
    gap: 15px;

    transition: 0.2s;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 45px;
    height: 45px;

    border-radius: 50%;

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

    background: #f0f6ff;
    font-size: 21px;
}

.feature-card h3 {
    font-size: 14px;
    margin-bottom: 4px;
}

.feature-card p {
    color: var(--muted);
    font-size: 12px;
}


/* =========================
   EXAMS
========================= */

.exam-section {
    max-width: 1300px;
    margin: auto;
    padding: 55px 20px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;

    margin-bottom: 25px;
}

.section-title span {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-title h2 {
    color: var(--navy);
    font-size: 30px;
    margin-top: 5px;
}

.section-title a {
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
}

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

.exam-card {
    background: white;

    border: 1px solid var(--border);
    border-radius: 7px;

    padding: 20px 15px;

    min-height: 150px;

    transition: 0.2s;
}

.exam-card:hover {
    border-color: var(--blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.exam-card h3 {
    color: var(--blue);
    font-size: 17px;
    margin-bottom: 2px;
}

.exam-card small {
    color: var(--muted);
    font-size: 11px;
}

.exam-card p {
    font-size: 11px;
    margin-top: 10px;
}


/* =========================
   STATISTICS
========================= */

.statistics {
    background: var(--navy);
    color: white;

    min-height: 105px;

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

    padding: 25px max(20px, calc((100% - 1200px) / 2));
}

.statistics div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.statistics strong {
    font-size: 25px;
}

.statistics span {
    color: #cbd8e8;
    font-size: 12px;
}


/* =========================
   CTA
========================= */

.cta {
    text-align: center;

    padding: 70px 20px;

    background: #eef5fc;
}

.cta > span {
    color: var(--pink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.cta h2 {
    color: var(--navy);
    font-size: 34px;
    margin: 8px 0 10px;
}

.cta p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 22px;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #061f3b;
    color: white;
}

.footer-inner {
    max-width: 1200px;
    margin: auto;

    padding: 45px 20px;

    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-inner h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.footer-inner h4 {
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-inner p {
    color: #cbd8e8;
    font-size: 12px;
    max-width: 350px;
}

.footer-inner a {
    display: block;

    color: #cbd8e8;
    font-size: 12px;

    margin-bottom: 7px;
}

.footer-inner a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.12);

    text-align: center;

    padding: 15px;

    color: #b9c7d8;
    font-size: 11px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {

    .main-nav {
        gap: 10px;
    }

    .main-nav > a,
    .nav-dropdown button {
        font-size: 10px;
    }

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

    .exam-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 800px) {

    .header-inner {
        flex-wrap: wrap;
        padding: 15px 20px;
    }

    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
    }

    .main-nav > a,
    .nav-dropdown button {
        padding: 12px 3px;
        white-space: nowrap;
    }

    .hero-content {
        flex-direction: column;
        padding: 0 25px;
    }

    .hero-text,
    .hero-einstein {
        width: 100%;
    }

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

    .hero-einstein img {
        height: 300px;
    }

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

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

    .statistics {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}


@media (max-width: 500px) {

    .header-buttons {
        width: 100%;
    }

    .btn-login,
    .btn-register {
        flex: 1;
        text-align: center;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        text-align: center;
    }

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

    .statistics {
        grid-template-columns: 1fr 1fr;
    }
}
.btn-admin {
    padding: 9px 15px;
    border-radius: 4px;
    background: #ffb703;
    color: #082b50;
    font-size: 12px;
    font-weight: 700;
}

.btn-admin:hover {
    background: #f59e0b;
}