.hero .btn {
    background: #ffffff;
    border-color: rgba(255, 255, 255, 0.95);
    color: #173783;
    box-shadow: 0 8px 22px rgba(7, 22, 64, 0.24);
}

.hero .btn:hover {
    background: #eaf1ff;
    border-color: #ffffff;
    color: #102d72;
    box-shadow: 0 12px 28px rgba(7, 22, 64, 0.3);
    transform: translateY(-2px);
}

.hero .btn:active {
    box-shadow: 0 5px 14px rgba(7, 22, 64, 0.22);
    transform: translateY(0);
}

.hero .btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.55);
    outline-offset: 3px;
}

.hero .btn.secondary {
    background: rgba(9, 30, 84, 0.38);
    border-color: rgba(255, 255, 255, 0.62);
    color: #ffffff;
    box-shadow: 0 8px 22px rgba(7, 22, 64, 0.2);
}

.hero .btn.secondary:hover {
    background: rgba(6, 23, 67, 0.62);
    border-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(7, 22, 64, 0.28);
}

.hero .btn .ui-icon {
    transition: transform 0.15s ease;
}

.hero .btn:hover .ui-icon {
    transform: scale(1.08);
}

.stat > .stat-icon {
    display: grid;
    flex: 0 0 45px;
    place-items: center;
    margin-top: 0;
}

.stat > .stat-icon .ui-icon {
    margin: auto;
    stroke-width: 1.9;
}

.profile-menu .profile-menu-head {
    width: 100%;
    padding: 18px;
    border: 0;
    border-bottom: 1px solid #edf0f5;
    border-radius: 0;
    background: #ffffff;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
}

.profile-menu .profile-menu-head:hover {
    background: #f6f8fd;
    color: var(--primary-dark);
}

.profile-menu-head-copy {
    min-width: 0;
}

.profile-menu-head-copy strong,
.profile-menu-head-copy span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-menu .profile-menu-head > .ui-icon {
    color: #75819b;
}

.profile-menu-actions {
    padding: 8px;
}

.profile-menu .profile-menu-action {
    color: #3a4f7c;
}

.profile-menu .profile-menu-action:hover {
    background: #eef2fa;
    color: var(--primary-dark);
}

.profile-menu form.profile-menu-form {
    padding: 0;
}

.profile-menu .profile-menu-action.danger {
    color: var(--danger);
}

.profile-menu .profile-menu-action.danger:hover {
    background: #fff2f4;
    color: var(--danger);
}

.profile-password-section {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e8edf5;
}

.profile-password-section h3 {
    margin: 0;
    color: var(--text);
    font-size: 15px;
}

.profile-password-section h3 span {
    margin-left: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.profile-password-section > p {
    margin: 5px 0 16px;
    color: var(--muted);
    font-size: 12px;
}

.language-wrap {
    position: relative;
}

button.language-pill {
    cursor: pointer;
}

.language-menu {
    position: absolute;
    top: 56px;
    right: 0;
    z-index: 45;
    width: 210px;
    padding: 8px;
    border: 1px solid #e1e7f2;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(24, 43, 90, 0.18);
}

.language-menu[hidden] {
    display: none;
}

.language-menu > strong {
    display: block;
    padding: 9px 10px 7px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.language-menu form {
    margin: 0;
}

.language-option {
    width: 100%;
    padding: 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #3a4f7c;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    cursor: pointer;
}

.language-option span {
    width: 34px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.language-option:hover,
.language-option.active {
    background: #eef2fa;
    color: var(--primary-dark);
}

.language-option.active::after {
    content: "✓";
    margin-left: auto;
    font-weight: 800;
}

.login-language {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 22px;
}

.login-language form {
    margin: 0;
}

.login-language button {
    padding: 6px 9px;
    border: 1px solid #dce3f1;
    border-radius: 8px;
    background: #f8faff;
    color: #66738f;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.login-language button:hover,
.login-language button.active {
    border-color: #294cba;
    background: #294cba;
    color: #ffffff;
}
