#navbar-root {
    width: 100%;
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 60;
    border-bottom: 1px solid rgba(119, 78, 210, 0.12);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 14px 32px rgba(45, 20, 92, 0.08);
}

.navbar {
    display: grid;
    width: 100%;
    height: var(--nav-height);
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: clamp(18px, 2.6vw, 44px);
    padding: 0 clamp(24px, 4vw, 56px);
}

.navbar.page-shell {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

.brand {
    display: inline-flex;
    width: 118px;
    height: 44px;
    align-items: center;
    justify-self: start;
    overflow: hidden;
}

.brand img {
    width: 118px;
    height: 44px;
    object-fit: contain;
    object-position: left center;
}

.nav-panel {
    min-width: 0;
    justify-self: center;
}

.nav-links {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 2vw, 34px);
    padding: 0;
    margin: 0;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 0;
    padding: 8px 0;
    color: #09091d;
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color 220ms ease,
        transform 220ms ease;
}

.nav-link::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--purple-3), var(--purple), #0d1235);
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;
    transition:
        opacity 220ms ease,
        transform 220ms ease;
}

.nav-link:hover,
.nav-link.active,
.has-dropdown:hover > .nav-link,
.has-dropdown.is-open > .nav-link {
    color: var(--purple);
    transform: translateY(-1px);
}

.nav-link:hover::after,
.nav-link.active::after,
.has-dropdown:hover > .nav-link::after,
.has-dropdown.is-open > .nav-link::after {
    opacity: 1;
    transform: scaleX(1);
}

.nav-icon-svg {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: currentColor;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition:
        color 220ms ease,
        transform 220ms ease;
}

.nav-link:hover .nav-icon-svg,
.nav-link.active .nav-icon-svg,
.has-dropdown:hover > .nav-link .nav-icon-svg,
.has-dropdown.is-open > .nav-link .nav-icon-svg {
    transform: translateY(-1px);
}

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    display: grid;
    min-width: 190px;
    padding: 10px;
    border: 1px solid rgba(102, 31, 240, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 18px 44px rgba(39, 18, 97, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
    transition:
        opacity 180ms ease,
        transform 180ms ease;
    backdrop-filter: blur(16px);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.is-open .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.dropdown-menu a {
    border-radius: 6px;
    padding: 11px 12px;
    color: #21123a;
    font-size: 13px;
    font-weight: 600;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.dropdown-menu a:hover {
    color: var(--purple);
    background: rgba(102, 31, 240, 0.08);
    transform: translateX(3px);
}

.auth-actions {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 14px;
}

.navbar-profile-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.navbar-profile-chip {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 0;
    border-radius: 14px;
    padding: 4px 4px 4px 6px;
    color: #111633;
    background: transparent;
    box-shadow: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.navbar-profile-chip:hover {
    color: var(--purple);
    background: rgba(246, 242, 255, 0.8);
    box-shadow: 0 10px 22px rgba(39, 18, 97, 0.08);
    transform: translateY(-1px);
}

.navbar-profile-menu.is-open .navbar-profile-chip {
    color: var(--purple);
    background: rgba(246, 242, 255, 0.92);
}

.navbar-avatar {
    position: relative;
    display: inline-grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    overflow: visible;
    border: 3px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    background:
        linear-gradient(135deg, rgba(123, 57, 255, 0.18), rgba(255, 255, 255, 0.74)),
        #f5edff;
    box-shadow:
        0 10px 22px rgba(39, 18, 97, 0.12),
        inset 0 0 0 1px rgba(132, 72, 255, 0.12);
}

.navbar-avatar::before {
    content: none;
}

.navbar-avatar-image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip-path: circle(50% at 50% 50%);
    object-fit: cover;
    object-position: center;
}

.navbar-avatar-face {
    position: relative;
    display: block;
    width: 26px;
    height: 22px;
    margin-top: 9px;
}

.navbar-avatar-face::before,
.navbar-avatar-face::after {
    position: absolute;
    top: 7px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #20244b;
    content: "";
}

.navbar-avatar-face::before {
    left: 5px;
}

.navbar-avatar-face::after {
    right: 5px;
}

.navbar-avatar-status {
    position: absolute;
    right: -2px;
    bottom: 1px;
    z-index: 2;
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #36d67a;
}

.navbar-profile-copy {
    display: grid;
    min-width: 0;
    gap: 2px;
    text-align: left;
}

.navbar-profile-copy strong {
    max-width: 150px;
    overflow: hidden;
    color: #111633;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar-profile-copy small {
    color: #777da0;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.navbar-profile-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 180ms ease;
}

.navbar-profile-menu.is-open .navbar-profile-icon {
    transform: rotate(180deg);
}

.navbar-profile-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    display: grid;
    width: 238px;
    padding: 8px;
    border: 1px solid rgba(190, 145, 255, 0.28);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.035)),
        radial-gradient(circle at 20% 0%, rgba(156, 78, 255, 0.28), transparent 9rem),
        linear-gradient(145deg, rgba(35, 22, 92, 0.9), rgba(23, 14, 68, 0.92));
    box-shadow:
        0 22px 48px rgba(31, 18, 79, 0.24),
        0 0 34px rgba(118, 45, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    z-index: 80;
}

.navbar-profile-dropdown[hidden] {
    display: none;
}

.navbar-profile-dropdown::before {
    position: absolute;
    top: -6px;
    right: 22px;
    width: 12px;
    height: 12px;
    border-top: 1px solid rgba(190, 145, 255, 0.28);
    border-left: 1px solid rgba(190, 145, 255, 0.28);
    background: rgba(42, 25, 101, 0.92);
    content: "";
    transform: rotate(45deg);
}

.navbar-profile-dropdown-head {
    display: grid;
    gap: 3px;
    padding: 10px 11px 12px;
    border-bottom: 1px solid rgba(217, 194, 255, 0.16);
    margin-bottom: 6px;
}

.navbar-profile-dropdown-head strong {
    overflow: hidden;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar-profile-dropdown-head span {
    overflow: hidden;
    color: rgba(221, 209, 255, 0.72);
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar-profile-dropdown a,
.navbar-profile-dropdown button {
    display: flex;
    width: 100%;
    align-items: center;
    border: 0;
    border-radius: 9px;
    padding: 10px 11px;
    color: rgba(250, 247, 255, 0.93);
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease;
}

.navbar-profile-dropdown a:hover,
.navbar-profile-dropdown button:hover,
.navbar-profile-dropdown a:focus-visible,
.navbar-profile-dropdown button:focus-visible {
    color: #fff;
    background: rgba(158, 91, 255, 0.17);
    box-shadow: inset 0 0 0 1px rgba(212, 180, 255, 0.1);
    transform: translateX(2px);
}

.auth-btn {
    display: inline-flex;
    min-width: 118px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 6px;
    border: 1px solid rgba(102, 31, 240, 0.18);
    padding-inline: 16px;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.76);
    box-shadow:
        0 8px 18px rgba(39, 18, 97, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
    font-size: 13px;
    font-weight: 800;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease,
        scale 120ms ease;
}

.auth-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-btn.Connexion {
    background: rgba(255, 255, 255, 0.8);
}

.auth-btn.signup-link {
    color: #fff;
    background: linear-gradient(90deg, #6217F5, #9051F8);
    box-shadow:
        0 6px 14px rgba(102, 31, 240, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 0 2px #7023F7;
}

.auth-btn:hover {
    transform: translateY(-2px);
}

.auth-btn.Connexion:hover {
    color: var(--ink);
    background: #fff;
    box-shadow: 0 12px 24px rgba(39, 18, 97, 0.13);
}

.auth-btn.signup-link:hover {
    color: #fff;
    background: linear-gradient(90deg, #5816df, #9b5dff);
    box-shadow:
        0 12px 26px rgba(102, 31, 240, 0.34),
        inset 0 0 0 1px rgba(255, 255, 255, 0.24),
        inset 0 0 2px #7023F7;
}

.auth-btn:active {
    scale: 0.97;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border: 1px solid rgba(102, 31, 240, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.76);
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--purple);
    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

body.registered-student .nav-panel,
body.registered-student .menu-toggle {
    display: none;
}

body.registered-student .navbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 76px;
    height: 76px;
    justify-content: normal;
}

body.registered-student .auth-actions {
    display: flex;
    justify-self: end;
    gap: 20px;
}

.navbar-notification-chip {
    position: relative;
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 999px;
    color: #111633;
    background: transparent;
    transition:
        color 180ms ease,
        background-color 180ms ease,
        transform 180ms ease,
        box-shadow 180ms ease;
}

.navbar-notification-chip:hover,
.navbar-notification-chip:focus-visible {
    color: var(--purple);
    background: rgba(237, 233, 254, 0.72);
    box-shadow: 0 10px 22px rgba(39, 18, 97, 0.1);
    transform: translateY(-2px);
}

.navbar-notification-icon {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.navbar-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    display: grid;
    min-width: 19px;
    height: 19px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: var(--purple);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.navbar-notification-badge[hidden] {
    display: none;
}

@media (max-width: 1180px) {
    .navbar {
        column-gap: 16px;
        padding-inline: 24px;
    }

    .brand,
    .brand img {
        width: 108px;
        height: 40px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-link {
        gap: 5px;
        font-size: 12px;
    }

    .nav-icon-svg {
        width: 13px;
        height: 13px;
    }

    .auth-actions {
        gap: 8px;
    }

    .navbar-profile-chip {
        min-height: 44px;
        gap: 8px;
        padding: 4px 4px 4px 6px;
    }

    .navbar-notification-chip {
        width: 36px;
        height: 36px;
    }

    .navbar-avatar {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-width: 4px;
    }

    .navbar-profile-copy strong {
        max-width: 120px;
        font-size: 12px;
    }

    .navbar-profile-copy small {
        font-size: 10px;
    }

    .navbar-profile-icon {
        width: 14px;
        height: 14px;
    }

    .auth-btn {
        min-width: 98px;
        min-height: 36px;
        padding-inline: 10px;
        font-size: 11px;
    }

    .auth-icon {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 1024px) {
    .navbar {
        column-gap: 12px;
        padding-inline: 18px;
    }

    .brand,
    .brand img {
        width: 100px;
        height: 38px;
    }

    .nav-links {
        gap: 9px;
    }

    .nav-link {
        gap: 4px;
        font-size: 11px;
    }

    .auth-btn {
        min-width: 88px;
        min-height: 34px;
        padding-inline: 8px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .navbar {
        grid-template-columns: auto 1fr auto;
        padding-inline: 16px;
    }

    .menu-toggle {
        display: inline-flex;
        grid-column: 3;
        justify-self: end;
    }

    .nav-panel {
        position: fixed;
        top: var(--nav-height);
        right: 0;
        left: 0;
        display: none;
        justify-self: stretch;
        padding: 16px 24px 20px;
        border-top: 1px solid rgba(102, 31, 240, 0.12);
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 18px 40px rgba(39, 18, 97, 0.14);
        backdrop-filter: blur(18px);
    }

    body.menu-open .nav-panel {
        display: block;
    }

    .auth-actions {
        display: none;
    }

    body.registered-student .auth-actions {
        display: flex;
        grid-column: 3;
        gap: 10px;
    }

    body.registered-student .navbar {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .nav-links {
        display: grid;
        justify-content: stretch;
        gap: 10px;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        gap: 7px;
        padding: 10px 0;
        font-size: 14px;
    }

    .nav-icon-svg {
        width: 15px;
        height: 15px;
    }

    .dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        margin-top: 4px;
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .has-dropdown:hover .dropdown-menu,
    .has-dropdown.is-open .dropdown-menu {
        display: grid;
        transform: none;
    }
}

@media (max-width: 640px) {
    .navbar {
        padding-inline: 12px;
    }

    body.registered-student .auth-actions {
        gap: 6px;
    }

    body.registered-student .navbar-notification-chip {
        width: 34px;
        height: 34px;
    }

    body.registered-student .navbar-profile-chip {
        gap: 7px;
        padding-inline: 4px 2px;
    }

    body.registered-student .navbar-avatar {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    body.registered-student .navbar-profile-copy strong {
        max-width: 86px;
    }

    body.registered-student .navbar-profile-copy small {
        font-size: 10px;
    }

    body.registered-student .navbar-profile-icon {
        width: 13px;
        height: 13px;
    }

    .navbar-profile-dropdown {
        right: -4px;
        width: min(238px, calc(100vw - 24px));
    }
}

/* Shared Home V2 navigation and footer */
.site-header.pigma-v2-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(197, 184, 233, 0.62);
    background: rgba(247, 245, 250, 0.78);
    box-shadow: 0 12px 32px rgba(60, 42, 120, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar.pigma-v2-navbar {
    display: grid;
    width: 100%;
    height: var(--nav-height);
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    gap: clamp(14px, 2vw, 34px);
    padding: 0 clamp(18px, 4vw, 56px);
}

.brand.pigma-v2-brand {
    display: flex;
    width: auto;
    height: auto;
    min-width: 132px;
    flex-direction: column;
    align-items: flex-start;
    justify-self: start;
    overflow: visible;
    text-decoration: none;
}

.brand.pigma-v2-brand .pigma-v2-brand-logo {
    display: block;
    width: clamp(126px, 10vw, 154px);
    height: clamp(34px, 3vw, 42px);
    object-fit: contain;
    object-position: left center;
}

.pigma-v2-brand-subtitle {
    margin-top: -7px;
    margin-left: clamp(28px, 2.4vw, 36px);
    color: rgba(78, 78, 106, 0.62);
    font-size: clamp(9px, 0.72vw, 11px);
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.pigma-v2-nav-panel {
    justify-self: center;
    min-width: 0;
}

.pigma-v2-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(15px, 2.1vw, 34px);
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-link.pigma-v2-nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 0;
    padding: 10px 0;
    color: #4E4E6A;
    background: transparent;
    font-size: clamp(13px, 0.95vw, 15px);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color 280ms cubic-bezier(.22, .61, .36, 1), transform 280ms cubic-bezier(.22, .61, .36, 1);
}

.nav-link.pigma-v2-nav-item::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #5B32D0 0%, #8B69DC 100%);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 280ms cubic-bezier(.22, .61, .36, 1);
}

.nav-link.pigma-v2-nav-item:hover,
.nav-link.pigma-v2-nav-item:focus-visible,
.nav-link.pigma-v2-nav-item.active {
    color: #5B32D0;
    transform: translateY(-2px);
}

.nav-link.pigma-v2-nav-item:hover::after,
.nav-link.pigma-v2-nav-item:focus-visible::after,
.nav-link.pigma-v2-nav-item.active::after {
    transform: scaleX(1);
}

.auth-actions.pigma-v2-navbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: clamp(10px, 1.3vw, 18px);
}

.pigma-v2-login-item {
    position: relative;
    display: inline-flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid rgba(110, 67, 243, 0.12);
    border-radius: 999px;
    padding: 7px 12px 7px 9px;
    color: #0A0B24;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: none;
    font-size: clamp(13px, 0.92vw, 15px);
    font-weight: 750;
    line-height: 1;
    text-decoration: none;
    transition: border-color 280ms ease, color 280ms ease, background 280ms ease, transform 280ms ease;
}

.pigma-v2-login-icon {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    border: 1px solid rgba(110, 67, 243, 0);
    border-radius: 50%;
    color: #5B32D0;
    background: rgba(110, 67, 243, 0.08);
}

.pigma-v2-login-icon svg,
.pigma-v2-footer svg,
.pigma-v2-footer-bottom svg {
    width: 1em;
    height: 1em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pigma-v2-login-item:hover,
.pigma-v2-login-item:focus-visible {
    border-color: rgba(110, 67, 243, 0.2);
    color: #24106F;
    background: rgba(110, 67, 243, 0.08);
    transform: translateY(-2px);
}

.pigma-v2-navbar-separator {
    width: 1px;
    height: 34px;
    background: #C5B8E9;
}

.pigma-v2-primary-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    padding: 0 clamp(14px, 1.45vw, 22px);
    color: #FFFFFF;
    background: linear-gradient(135deg, #4F2EDB 0%, #6E43F3 45%, #8B5CF6 100%);
    box-shadow: 0 14px 28px rgba(91, 50, 208, 0.22);
    font-size: clamp(12px, 0.94vw, 15px);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.pigma-v2-primary-button:hover,
.pigma-v2-primary-button:focus-visible {
    color: #FFFFFF;
    background: linear-gradient(135deg, #3F1EB8 0%, #5B2BDE 46%, #7748EA 100%);
    box-shadow: 0 18px 36px rgba(91, 50, 208, 0.28);
    transform: translateY(-2px);
}

.menu-toggle.pigma-v2-mobile-menu-btn {
    display: none;
    width: 42px;
    height: 38px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(110, 67, 243, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.menu-toggle.pigma-v2-mobile-menu-btn span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #5B32D0;
}

body.registered-student .navbar.pigma-v2-navbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: var(--nav-height);
    height: var(--nav-height);
}

body.registered-student .pigma-v2-navbar-actions {
    gap: 18px;
}

body.auth-page {
    --nav-height: clamp(82px, 7vw, 104px);
}

.site-header.home-v2-navbar-shell {
    z-index: 100;
    border-bottom: 0;
    background: rgba(247, 245, 250, 0.78);
    box-shadow: 0 14px 45px rgba(33, 20, 84, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar.home-v2-navbar {
    display: grid;
    grid-template-columns: minmax(176px, 220px) minmax(0, 1fr) minmax(342px, 398px);
    column-gap: clamp(24px, 2.8vw, 46px);
    align-items: center;
    width: 100%;
    height: var(--nav-height);
    margin: 0 auto;
    padding: 14px clamp(24px, 5.2vw, 72px);
    color: #111657;
    background: transparent;
    box-shadow: none;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand.home-v2-brand {
    display: flex;
    width: fit-content;
    height: auto;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-self: start;
    overflow: visible;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.brand.home-v2-brand .home-v2-brand-logo {
    display: block;
    width: clamp(136px, 10.2vw, 164px);
    height: clamp(36px, 3vw, 44px);
    object-fit: contain;
    object-position: left center;
}

.home-v2-brand-subtitle {
    margin-top: -6px;
    margin-left: clamp(32px, 2.6vw, 39px);
    color: rgba(78, 78, 106, 0.58);
    font-size: clamp(12px, 0.95vw, 15px);
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0;
    white-space: nowrap;
}

.nav-panel.home-v2-nav {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(15px, calc(3vw - 5px), 43px);
    font-size: clamp(13.5px, 0.98vw, 16px);
    font-weight: 700;
}

.home-v2-nav .pigma-v2-nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 3vw, 48px);
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-link.home-v2-nav-item,
.home-v2-login-item {
    line-height: 1;
    white-space: nowrap;
}

.nav-link.home-v2-nav-item {
    position: relative;
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 0;
    border: 0;
    padding: 0;
    color: #070B3D;
    background: transparent;
    font-size: clamp(13.5px, 0.98vw, 16px);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 280ms cubic-bezier(.22, .61, .36, 1),
        transform 280ms cubic-bezier(.22, .61, .36, 1);
}

.nav-link.home-v2-nav-item::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #4F2EDB 0%, #6E43F3 50%, #9F7BFF 100%);
    opacity: 1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 280ms cubic-bezier(.22, .61, .36, 1);
}

.nav-link.home-v2-nav-item:hover,
.nav-link.home-v2-nav-item:focus-visible,
.nav-link.home-v2-nav-item.active {
    color: #5B32D0;
    transform: translateY(-2px);
}

.nav-link.home-v2-nav-item:hover::after,
.nav-link.home-v2-nav-item:focus-visible::after,
.nav-link.home-v2-nav-item.active::after {
    transform: scaleX(1);
}

.home-v2-nav-item:focus-visible,
.home-v2-brand:focus-visible,
.home-v2-login-item:focus-visible,
.home-v2-primary-button:focus-visible {
    outline: 3px solid rgba(110, 67, 243, 0.28);
    outline-offset: 4px;
}

.auth-actions.home-v2-navbar-actions {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    justify-self: stretch;
    gap: clamp(12px, 1.2vw, 18px);
}

.auth-btn.home-v2-login-item {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 12px;
    color: #5B32D0;
    background: transparent;
    box-shadow: none;
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 300ms cubic-bezier(.22, .61, .36, 1),
        background 300ms cubic-bezier(.22, .61, .36, 1),
        border-color 300ms cubic-bezier(.22, .61, .36, 1),
        box-shadow 300ms cubic-bezier(.22, .61, .36, 1),
        transform 300ms cubic-bezier(.22, .61, .36, 1);
}

.home-v2-login-icon {
    position: relative;
    display: grid;
    width: clamp(25px, 1.9vw, 29px);
    height: clamp(25px, 1.9vw, 29px);
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #5B32D0;
    background: rgba(110, 67, 243, 0.06);
}

.home-v2-login-icon::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 1px solid rgba(110, 67, 243, 0);
    border-radius: 50%;
    opacity: 0;
    transform: scale(.85);
    transition:
        opacity 280ms cubic-bezier(.22, .61, .36, 1),
        border-color 300ms cubic-bezier(.22, .61, .36, 1),
        transform 300ms cubic-bezier(.22, .61, .36, 1);
}

.home-v2-login-icon svg {
    position: relative;
    z-index: 1;
    width: clamp(21px, 1.6vw, 25px);
    height: clamp(21px, 1.6vw, 25px);
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 300ms cubic-bezier(.22, .61, .36, 1);
}

.auth-btn.home-v2-login-item:hover,
.auth-btn.home-v2-login-item:focus-visible {
    border-color: rgba(110, 67, 243, 0.2);
    color: #24106F;
    background: rgba(110, 67, 243, 0.08);
    box-shadow: 0 10px 24px rgba(110, 67, 243, 0.1);
    transform: translateY(-1px);
}

.home-v2-login-item:hover .home-v2-login-icon::after,
.home-v2-login-item:focus-visible .home-v2-login-icon::after {
    opacity: 1;
    border-color: rgba(110, 67, 243, 0.34);
    transform: scale(1);
}

.home-v2-login-item:hover .home-v2-login-icon svg,
.home-v2-login-item:focus-visible .home-v2-login-icon svg {
    transform: translate(1px, -1px);
}

.home-v2-navbar-separator {
    width: 1px;
    height: 36px;
    background: #C5B8E9;
}

.auth-btn.home-v2-primary-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    min-width: clamp(208px, 14vw, 236px);
    height: clamp(44px, 3.5vw, 50px);
    min-height: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 0;
    border-radius: 8px;
    padding: 0;
    color: #FFFFFF;
    background: linear-gradient(135deg, #4F2EDB 0%, #6E43F3 45%, #8B5CF6 100%);
    box-shadow: 0 18px 38px rgba(71, 39, 159, 0.34);
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        transform 300ms cubic-bezier(.22, .61, .36, 1),
        background 300ms cubic-bezier(.22, .61, .36, 1),
        box-shadow 300ms cubic-bezier(.22, .61, .36, 1);
}

.auth-btn.home-v2-primary-button::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -65%;
    z-index: 0;
    width: 44%;
    height: 160%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-18deg);
    transition: left 650ms cubic-bezier(.22, .61, .36, 1);
}

.auth-btn.home-v2-primary-button::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    padding: 1px;
    border-radius: inherit;
    opacity: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.34), rgba(203, 190, 255, 0.24), rgba(139, 92, 246, 0.14));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    transition: opacity 320ms cubic-bezier(.22, .61, .36, 1);
}

.auth-btn.home-v2-primary-button:hover,
.auth-btn.home-v2-primary-button:focus-visible {
    color: #FFFFFF;
    background: linear-gradient(135deg, #3F1EB8 0%, #5B2BDE 46%, #7748EA 100%);
    box-shadow:
        0 18px 38px rgba(91, 37, 201, 0.22),
        0 12px 34px rgba(71, 39, 159, 0.16),
        0 0 42px rgba(139, 92, 246, 0.2),
        0 0 72px rgba(110, 67, 243, 0.1);
    transform: translateY(-2px);
}

.auth-btn.home-v2-primary-button:hover::before,
.auth-btn.home-v2-primary-button:focus-visible::before {
    left: 125%;
}

.auth-btn.home-v2-primary-button:hover::after,
.auth-btn.home-v2-primary-button:focus-visible::after {
    opacity: .36;
}

@media (prefers-reduced-motion: reduce) {
    .home-v2-nav-item,
    .home-v2-nav-item::after,
    .home-v2-login-item,
    .home-v2-login-icon::after,
    .home-v2-login-icon svg,
    .home-v2-primary-button,
    .home-v2-primary-button::before,
    .home-v2-primary-button::after {
        transition: none;
    }

    .home-v2-nav-item:hover,
    .home-v2-nav-item:focus-visible,
    .home-v2-login-item:hover,
    .home-v2-login-item:focus-visible,
    .home-v2-login-item:hover .home-v2-login-icon svg,
    .home-v2-login-item:focus-visible .home-v2-login-icon svg,
    .home-v2-primary-button:hover,
    .home-v2-primary-button:focus-visible {
        transform: none;
    }

    .home-v2-primary-button:hover::before,
    .home-v2-primary-button:focus-visible::before {
        left: -65%;
    }
}

.pigma-v2-footer {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.9);
    background: radial-gradient(circle at 12% 0%, rgba(139, 105, 220, 0.28), transparent 26rem), linear-gradient(135deg, #040930 0%, #111657 45%, #2F2291 100%);
    padding: clamp(58px, 6vw, 82px) clamp(22px, 5vw, 70px) 26px;
}

.pigma-v2-footer-inner {
    display: grid;
    width: min(100%, 1320px);
    grid-template-columns: minmax(240px, 1.35fr) repeat(3, minmax(135px, .78fr)) minmax(220px, 1fr);
    gap: clamp(24px, 3.2vw, 46px);
    margin: 0 auto;
}

.pigma-v2-footer-logo img {
    width: clamp(128px, 11vw, 164px);
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.pigma-v2-footer-brand > p {
    max-width: 330px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.7;
}

.pigma-v2-footer-socials {
    display: flex;
    gap: 14px;
    margin-top: 28px;
}

.pigma-v2-footer-socials a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.06);
    transition: transform 260ms ease, border-color 260ms ease, color 260ms ease, background 260ms ease;
}

.pigma-v2-footer-socials svg {
    width: 22px;
    height: 22px;
}

.pigma-v2-footer-socials a:hover,
.pigma-v2-footer-socials a:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(169, 140, 255, 0.72);
    color: #CBBEFF;
    background: rgba(169, 140, 255, 0.12);
}

.pigma-v2-footer-column,
.pigma-v2-footer-contact {
    padding-left: clamp(18px, 2vw, 32px);
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.pigma-v2-footer-column {
    display: flex;
    flex-direction: column;
}

.pigma-v2-footer-column h3,
.pigma-v2-footer-contact h3 {
    margin: 0 0 22px;
    color: #A98CFF;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0;
}

.pigma-v2-footer-column a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    font-weight: 650;
    text-decoration: none;
    transition: color 260ms ease, transform 260ms ease;
}

.pigma-v2-footer-column a:first-of-type {
    margin-top: 0;
}

.pigma-v2-footer-column a svg {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.92);
}

.pigma-v2-footer-column a:hover,
.pigma-v2-footer-column a:focus-visible,
.pigma-v2-footer-bottom a:hover,
.pigma-v2-footer-bottom a:focus-visible {
    color: #CBBEFF;
    transform: translateX(3px);
}

.pigma-v2-footer-whatsapp-card {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 14px;
    border: 1px solid rgba(37, 211, 102, 0.22);
    border-radius: 8px;
    padding: 18px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.055);
    text-decoration: none;
    transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
}

.pigma-v2-footer-whatsapp-card > svg {
    width: 42px;
    height: 42px;
    color: #25D366;
}

.pigma-v2-footer-whatsapp-card strong,
.pigma-v2-footer-whatsapp-card small,
.pigma-v2-footer-whatsapp-card em {
    display: block;
    font-style: normal;
}

.pigma-v2-footer-whatsapp-card strong {
    margin-bottom: 8px;
    color: #FFFFFF;
    font-size: 19px;
    line-height: 1;
}

.pigma-v2-footer-whatsapp-card small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    font-weight: 500;
}

.pigma-v2-footer-whatsapp-card small b {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #25D366;
}

.pigma-v2-footer-whatsapp-card em {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

.pigma-v2-footer-whatsapp-card:hover,
.pigma-v2-footer-whatsapp-card:focus-visible {
    transform: translateY(-3px);
    border-color: rgba(37, 211, 102, 0.42);
    background: rgba(255, 255, 255, 0.085);
}

.pigma-v2-footer-bottom {
    display: flex;
    width: min(100%, 1320px);
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    margin: clamp(42px, 4vw, 58px) auto 0;
    padding-top: 24px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
}

.pigma-v2-footer-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 260ms ease, transform 260ms ease;
}

.pigma-v2-footer-bottom svg {
    width: 19px;
    height: 19px;
}

@media (max-width: 1120px) {
    .navbar.pigma-v2-navbar {
        gap: 14px;
        padding-inline: 20px;
    }

    .brand.pigma-v2-brand {
        min-width: 118px;
    }

    .pigma-v2-nav-links {
        gap: 14px;
    }

    .pigma-v2-navbar-separator {
        display: none;
    }

    .pigma-v2-footer-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pigma-v2-footer-brand,
    .pigma-v2-footer-contact {
        grid-column: span 3;
    }
}

@media (max-width: 900px) {
    .navbar.pigma-v2-navbar {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
    }

    .menu-toggle.pigma-v2-mobile-menu-btn {
        display: inline-flex;
    }

    .pigma-v2-nav-panel {
        position: fixed;
        top: var(--nav-height);
        right: 0;
        left: 0;
        display: none;
        padding: 16px 22px 20px;
        border-top: 1px solid rgba(110, 67, 243, 0.12);
        background: rgba(247, 245, 250, 0.96);
        box-shadow: 0 18px 40px rgba(39, 18, 97, 0.14);
        backdrop-filter: blur(18px);
    }

    body.menu-open .pigma-v2-nav-panel {
        display: block;
    }

    .pigma-v2-nav-links {
        display: grid;
        justify-content: stretch;
        gap: 10px;
    }

    .nav-link.pigma-v2-nav-item {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 0;
        font-size: 14px;
    }

    .auth-actions.pigma-v2-navbar-actions {
        display: flex;
    }

    .pigma-v2-login-item {
        display: none;
    }
}

@media (max-width: 720px) {
    .pigma-v2-primary-button {
        min-height: 38px;
        padding-inline: 12px;
        font-size: 11px;
    }

    .brand.pigma-v2-brand .pigma-v2-brand-logo {
        width: 112px;
        height: 34px;
    }

    .pigma-v2-brand-subtitle {
        display: none;
    }

    .pigma-v2-footer {
        padding-inline: 20px;
    }

    .pigma-v2-footer-inner {
        grid-template-columns: 1fr;
    }

    .pigma-v2-footer-brand,
    .pigma-v2-footer-contact {
        grid-column: auto;
    }

    .pigma-v2-footer-column,
    .pigma-v2-footer-contact {
        padding-left: 0;
        border-left: 0;
    }

    .pigma-v2-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 460px) {
    .navbar.pigma-v2-navbar {
        gap: 8px;
        padding-inline: 12px;
    }

    .pigma-v2-primary-button {
        max-width: 126px;
        white-space: normal;
        text-align: center;
        line-height: 1.1;
    }
}

@media (max-width: 1180px) {
    .navbar.home-v2-navbar {
        grid-template-columns: minmax(150px, 190px) minmax(0, 1fr) minmax(304px, 360px);
        column-gap: clamp(18px, 2vw, 32px);
        padding-inline: clamp(20px, 4vw, 52px);
    }

    .home-v2-nav .pigma-v2-nav-links {
        gap: clamp(16px, 2.2vw, 32px);
    }

    .auth-btn.home-v2-primary-button {
        min-width: clamp(192px, 16vw, 220px);
    }
}

@media (max-width: 1024px) {
    .navbar.home-v2-navbar {
        grid-template-columns: auto 1fr auto;
        width: 100%;
        height: auto;
        min-height: 72px;
        padding: 12px 24px;
        box-sizing: border-box;
    }

    .nav-panel.home-v2-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 24px;
        border-top: 0;
        border-bottom: 1px solid #E5DFF3;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 14px 45px rgba(33, 20, 84, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        backdrop-filter: blur(18px);
    }

    body.menu-open .nav-panel.home-v2-nav {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .home-v2-nav .pigma-v2-nav-links {
        display: grid;
        width: 100%;
        justify-content: stretch;
        gap: 16px;
    }

    .nav-link.home-v2-nav-item {
        width: 100%;
        justify-content: flex-start;
        padding: 10px 0;
        font-size: 16px;
    }

    .home-v2-navbar-separator {
        display: none;
    }

    .auth-btn.home-v2-login-item {
        display: none;
    }

    .menu-toggle.home-v2-mobile-menu-btn {
        display: flex;
        width: auto;
        height: auto;
        align-items: center;
        justify-content: center;
        margin-left: 12px;
        padding: 4px;
        border: 0;
        border-radius: 0;
        color: #111657;
        background: none;
        box-shadow: none;
        font-size: 28px;
        cursor: pointer;
    }

    .menu-toggle.home-v2-mobile-menu-btn span {
        width: 24px;
        background: #111657;
    }

    .auth-actions.home-v2-navbar-actions {
        gap: 0;
    }
}

@media (max-width: 768px) {
    .auth-btn.home-v2-primary-button {
        min-width: 0;
        width: auto;
        max-width: 190px;
        height: auto;
        min-height: 40px;
        padding: 0 15px;
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .navbar.home-v2-navbar {
        gap: 6px;
        padding: 12px 14px;
    }

    .brand.home-v2-brand .home-v2-brand-logo {
        width: 90px;
    }

    .home-v2-brand-subtitle {
        display: none;
    }

    .auth-btn.home-v2-primary-button {
        max-width: 140px;
        min-height: 34px;
        padding: 8px 10px;
        border-radius: 10px;
        font-size: 11.5px;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    .menu-toggle.home-v2-mobile-menu-btn {
        margin-left: 6px;
    }
}
